/* =========================================================
   LL Aesthetic — Linda Losavio
   Feuille de style principale
   ========================================================= */

/* ---------- Polices (hébergées avec le site, aucun appel à Google) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Allura"; font-weight: 400; font-display: swap; src: url("../fonts/allura-latin-400-normal.woff2") format("woff2"); }

:root {
  --cream: #f4efea;
  --cream-2: #ebe3dc;
  --sand: #d9c8ba;
  --taupe: #a88c78;
  --brown: #6e5241;
  --brown-dark: #4b3629;
  --ink: #3b2c23;
  --text: #5a4a40;
  --white: #fbf8f5;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Allura", "Brush Script MT", cursive;

  --wrap: 1180px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(75, 54, 41, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.1; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 400;
  margin: 0 0 14px;
}
.rule { width: 40px; height: 1px; background: var(--brown); border: 0; margin: 22px 0; }
.script { font-family: var(--script); color: var(--brown); font-weight: 400; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--brown); color: var(--white);
  border: 1px solid var(--brown);
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--brown-dark); transform: translateY(-1px); }
.btn .arrow { width: 16px; height: 10px; flex: none; }
.btn--outline {
  background: transparent; color: var(--brown);
  padding: 8px 22px; font-size: 11px; letter-spacing: .12em;
}
.btn--outline:hover { background: var(--brown); color: var(--white); }
.btn--sm { padding: 10px 22px; font-size: 11.5px; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 234, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--cream-2); box-shadow: 0 4px 20px rgba(75,54,41,.05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--brown-dark); }
.logo__mark { font-family: var(--serif); font-size: 46px; line-height: 1; letter-spacing: -.12em; padding-right: 6px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--serif); font-size: 21px; letter-spacing: .28em; }
.logo__sub { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--brown); padding-left: 2px; }

.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav a { font-size: 13.5px; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brown); transform: scaleX(0); transition: transform .25s;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--brown-dark); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #efe6de 0%, #ecdfd4 55%, #e6d6c8 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 560px; }
.hero__content { padding: 60px 40px 60px 0; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.05; }
.hero p { max-width: 470px; margin: 0 0 30px; color: var(--ink); font-size: 16.5px; }
.hero__media { position: relative; align-self: stretch; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; mask-image: linear-gradient(90deg, transparent 0, #000 22%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.hero__script {
  position: absolute; right: 4%; top: 18%; z-index: 2;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; transform: rotate(-12deg);
  color: var(--brown-dark); text-shadow: 0 0 18px rgba(244,239,234,.8);
}
.hero__script span { display: block; }
.hero__script span:nth-child(2) { padding-left: .4em; }
.hero__script span:nth-child(3) { padding-left: .8em; }

/* ---------- Atouts ---------- */
.features { background: var(--white); border-bottom: 1px solid var(--cream-2); }
.features ul { list-style: none; margin: 0; padding: 30px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.features li { display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); line-height: 1.5; }
.features svg { width: 34px; height: 34px; flex: none; stroke: var(--brown); fill: none; stroke-width: 1.1; }

/* ---------- Titres de section ---------- */
.section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.section-title .rule { margin: 16px auto 0; }
.section-title p { max-width: 580px; margin: 20px auto 0; }

/* ---------- Soins ---------- */
.soins__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--white); display: flex; flex-direction: column; text-align: center; box-shadow: var(--shadow); transition: transform .3s; }
.card:hover { transform: translateY(-4px); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 20px 14px 24px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.card h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.card__sub { font-size: 13px; margin: 4px 0 18px; min-height: 1.6em; }
.card .btn { margin-top: auto; }

/* ---------- Modale soin ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(59,44,35,.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { background: var(--cream); max-width: 760px; width: 100%; max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1.3fr; transform: translateY(16px); transition: transform .3s; }
.modal.is-open .modal__box { transform: none; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.modal__content { padding: 40px 34px; position: relative; }
.modal__content h3 { font-size: 34px; margin-bottom: 4px; }
.modal__content ul { padding-left: 18px; margin: 16px 0 26px; }
.modal__close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--brown); cursor: pointer; }

/* ---------- Miaomei ---------- */
.miaomei { background: linear-gradient(90deg, #d8c6b8, #e3d4c7 50%, #e9ded4); position: relative; overflow: hidden; }
.miaomei__inner { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; min-height: 440px; }
.miaomei__media { align-self: stretch; }
.miaomei__media img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); }
.miaomei__content { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 50px 0 50px 30px; }
.miaomei h2 { font-size: clamp(36px, 4vw, 50px); margin-bottom: 18px; }
.miaomei p { color: var(--ink); max-width: 440px; margin: 0 0 28px; }
.badge {
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, #b39784 0%, #a88c78 70%);
  color: var(--white); display: grid; place-items: center; text-align: center;
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
  box-shadow: 0 0 0 6px rgba(168,140,120,.25), 0 0 0 7px rgba(168,140,120,.5);
  padding: 20px;
}
.badge svg { width: 18px; height: 18px; margin: 8px auto 0; stroke: var(--white); fill: none; stroke-width: 1.3; }

/* ---------- À propos ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr .8fr; align-items: center; gap: 50px; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.about h2 { font-size: clamp(36px, 4vw, 48px); }
.about p { margin: 0 0 28px; }
.about__quote { font-size: 32px; line-height: 1.3; transform: rotate(-6deg); margin: 0; }
.about__quote svg { width: 18px; height: 18px; stroke: var(--brown); fill: none; display: inline-block; vertical-align: middle; margin-left: 8px; }

/* ---------- Tarifs ---------- */
.tarifs { background: var(--white); }
.tarifs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 70px; max-width: 960px; margin-inline: auto; }
.tarifs__group h3 { font-size: 28px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--sand); }
.tarifs__group ul { list-style: none; margin: 0; padding: 0; }
.tarifs__group li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; }
.tarifs__group li span:first-child { color: var(--ink); }
.tarifs__group li .dots { flex: 1; border-bottom: 1px dotted var(--taupe); transform: translateY(-4px); }
.tarifs__group li .price { font-weight: 500; color: var(--brown); white-space: nowrap; }
.tarifs__note { text-align: center; font-size: 14px; margin-top: 44px; color: var(--taupe); }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact h2 { font-size: clamp(36px, 4vw, 48px); margin-bottom: 10px; }
.contact__info { list-style: none; padding: 0; margin: 30px 0 0; }
.contact__info li { display: flex; gap: 16px; margin-bottom: 20px; }
.contact__info svg { width: 22px; height: 22px; stroke: var(--brown); fill: none; stroke-width: 1.3; flex: none; margin-top: 3px; }
.contact__info strong { display: block; font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.form { background: var(--white); padding: 40px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand); background: var(--cream);
  font: inherit; color: var(--ink); border-radius: 2px; outline: none; transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brown); }
.form textarea { min-height: 120px; resize: vertical; }
.form__status { font-size: 14px; color: var(--brown); margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta { position: relative; color: var(--white); background: var(--brown-dark) url("../images/footer-bg.jpg") center / cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(59,40,29,.72); }
.cta__inner { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 0; }
.cta__item { display: flex; gap: 22px; }
.cta__item svg { width: 30px; height: 30px; flex: none; stroke: var(--white); fill: none; stroke-width: 1.2; }
.cta__item h3 { font-family: var(--sans); color: var(--white); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.cta__item p { margin: 0 0 20px; font-size: 14px; color: #eadfd6; }
.cta .btn { background: #8a6a55; border-color: #8a6a55; }
.cta .btn:hover { background: var(--white); color: var(--brown-dark); }

/* ---------- Pied de page ---------- */
.footer { background: #33251c; color: #cbb9ab; font-size: 13px; padding: 26px 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer a:hover { color: var(--white); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Bulle WhatsApp ---------- */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__bubble {
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 4px 12px rgba(59,44,35,.18);
  transition: transform .25s, box-shadow .25s; position: relative;
}
.wa__bubble svg { width: 34px; height: 34px; }
.wa__bubble:hover { transform: scale(1.07); }
.wa__bubble::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: wa-pulse 2.4s ease-out infinite;
}
.wa.is-open .wa__bubble::before { animation: none; opacity: 0; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.wa__hint {
  margin: 0; background: var(--white); color: var(--ink); font-size: 14px;
  padding: 10px 16px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s, transform .4s;
}
.wa__hint.is-visible { opacity: 1; transform: none; }

.wa__panel {
  width: 330px; max-width: calc(100vw - 32px); background: var(--white);
  border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(59,44,35,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s, transform .3s, visibility .3s;
}
.wa.is-open .wa__panel { opacity: 1; visibility: visible; transform: none; }
.wa.is-open .wa__hint { display: none; }
.wa__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--brown); color: var(--white); position: relative; }
.wa__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid rgba(255,255,255,.6); }
.wa__name { margin: 0; font-weight: 500; font-size: 15px; }
.wa__status { margin: 0; font-size: 12px; opacity: .85; }
.wa__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: var(--white); font-size: 24px; line-height: 1; cursor: pointer; opacity: .85; }
.wa__body { padding: 20px 18px; background: var(--cream-2); }
.wa__msg { margin: 0; background: var(--white); padding: 12px 14px; border-radius: 4px 14px 14px 14px; font-size: 14px; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); max-width: 92%; }
.wa__start {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 14px 18px 18px; padding: 13px; border-radius: var(--radius-pill);
  background: #25d366; color: #fff; font-weight: 500; font-size: 14px; transition: background .2s;
}
.wa__start:hover { background: #1fb457; }
.wa__start svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .wa { right: 16px; bottom: 16px; }
  .wa__bubble { width: 56px; height: 56px; }
  .wa__bubble svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wa__bubble::before { animation: none; } }

/* ---------- Questionnaires (accueil) ---------- */
.questionnaires { padding: 50px 0 0; }
.questionnaires__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.q-card { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: 1fr auto; column-gap: 26px; row-gap: 14px; align-items: center; background: var(--white); padding: 26px 30px 26px 22px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.q-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(75,54,41,.12); }
.q-card__visual { grid-row: 1 / 3; width: 150px; height: 150px; transition: transform .6s ease; }
.q-card:hover .q-card__visual { transform: rotate(-4deg) scale(1.04); }
.q-card .eyebrow { margin-bottom: 4px; font-size: 11px; }
.q-card h3 { font-size: 28px; margin-bottom: 6px; }
.q-card p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.q-card .btn { justify-self: start; align-self: start; }
.q-card:hover .btn--outline { background: var(--brown); color: var(--white); }

/* ---------- Pages questionnaire ---------- */
.page-head { background: linear-gradient(90deg, #efe6de 0%, #ecdfd4 55%, #e6d6c8 100%); padding: 70px 0 60px; text-align: center; }
.page-head h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 14px; }
.page-head p { max-width: 640px; margin: 0 auto; color: var(--ink); }
.page-head__visual { display: block; width: 130px; height: 130px; margin: 0 auto 10px; }
.page-head .back { display: inline-block; margin-bottom: 26px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.qform { max-width: 820px; margin: -30px auto 90px; position: relative; }
.qform fieldset { border: 0; background: var(--white); box-shadow: var(--shadow); padding: 36px 40px; margin: 0 0 22px; }
.qform legend { float: left; width: 100%; font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 18px; padding: 0; }
.qform legend + * { clear: both; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qfield { margin-bottom: 22px; }
.qfield:last-child { margin-bottom: 0; }
.qfield > label, .qfield > .qlabel { display: block; font-size: 15.5px; color: var(--ink); font-weight: 400; margin-bottom: 8px; line-height: 1.5; }
.qfield .req { color: var(--taupe); }
.qfield .hint { display: block; font-size: 13.5px; color: var(--taupe); font-weight: 300; margin-top: 2px; }
.qform input[type=text], .qform input[type=email], .qform input[type=tel], .qform textarea, .qform select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand); background: var(--cream);
  font: inherit; color: var(--ink); border-radius: 2px; outline: none; transition: border-color .2s;
}
.qform input:focus, .qform textarea:focus, .qform select:focus { border-color: var(--brown); }
.qform textarea { min-height: 110px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices--col { flex-direction: column; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 9px 18px; border: 1px solid var(--sand); background: var(--cream); cursor: pointer; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.choices--col .choice span { display: block; }
.choice input:checked + span { background: var(--brown); border-color: var(--brown); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--taupe); outline-offset: 2px; }
.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.scale .choice span { display: block; text-align: center; padding: 9px 0; }
.scale-legend { display: flex; justify-content: space-between; font-size: 13px; color: var(--taupe); margin-top: 6px; }
.notice { background: var(--cream-2); padding: 18px 22px; font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; cursor: pointer; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--brown); flex: none; }
.qsubmit { text-align: center; }
.qsubmit .form__status { margin-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qfield.is-error > label, .qfield.is-error > .qlabel { color: #a0473a; }
.qfield.is-error input, .qfield.is-error textarea, .qfield.is-error .choice span { border-color: #c98b80; }
.qdone { max-width: 640px; margin: -30px auto 90px; background: var(--white); box-shadow: var(--shadow); padding: 50px 40px; text-align: center; position: relative; }
.qdone h2 { font-size: 40px; margin-bottom: 12px; }

@media (max-width: 860px) {
  .questionnaires__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .q-card { grid-template-columns: 96px 1fr; column-gap: 16px; padding: 22px 18px; }
  .q-card__visual { width: 96px; height: 96px; grid-row: 1; }
  .q-card .btn { grid-column: 1 / -1; justify-self: stretch; }
  .qform fieldset { padding: 28px 20px; }
  .qrow { grid-template-columns: 1fr; gap: 0; }
  .qrow .qfield { margin-bottom: 22px; }
  .scale { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav ul { gap: 20px; }
  .header .btn { padding: 12px 20px; font-size: 11px; }
  .soins__grid { grid-template-columns: repeat(2, 1fr); }
  .features ul { grid-template-columns: repeat(3, 1fr); }
  .miaomei__content { grid-template-columns: 1fr; }
  .badge { width: 170px; height: 170px; font-size: 12px; }
  .about__inner { grid-template-columns: 1fr 1.2fr; }
  .about__quote { grid-column: 1 / -1; text-align: center; transform: none; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .header .btn--header { display: none; }
  .nav {
    position: fixed; top: 80px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--cream-2);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav.is-open { max-height: 480px; }
  .nav ul { flex-direction: column; gap: 0; padding: 10px 20px 24px; }
  .nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--cream-2); }
  .nav a::after { display: none; }
  .nav .nav__cta { display: block; margin-top: 18px; }
  .nav .nav__cta a { border: 0; text-align: center; }
  .burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; height: 380px; margin-inline: -20px; }
  .hero__media img { mask-image: linear-gradient(0deg, transparent 0, #000 25%); -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 25%); }
  .hero__content { padding: 10px 0 60px; }
  .hero__script { top: 10%; right: 6%; }

  .miaomei__inner { grid-template-columns: 1fr; }
  .miaomei__media { height: 300px; margin-inline: -20px; }
  .miaomei__media img { mask-image: linear-gradient(0deg, transparent 0, #000 30%); -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 30%); }
  .miaomei__content { padding: 10px 0 60px; }

  .about__inner, .contact__inner, .tarifs__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .cta__inner { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 70px 0; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .soins__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card h3 { font-size: 11.5px; }
  .card__sub { font-size: 12px; }
  .features ul { grid-template-columns: 1fr 1fr; }
  .logo__mark { font-size: 38px; }
  .logo__name { font-size: 17px; }
  .form { grid-template-columns: 1fr; padding: 26px 20px; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__img img { min-height: 200px; max-height: 220px; }
  .modal__content { padding: 28px 22px; }
}
