/* ===========================================================================
   Secrets de Beauté Marie-Fleur — site vitrine
   Layout & components built on the design-system tokens (../styles.css).
   All copy lives in the HTML; this file is presentation only.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--container-narrow); }

/* Typography helpers ------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-accent);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text-brand);
  margin: 0 0 14px;
}
.eyebrow--rose { color: var(--rose-300); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-primary); margin: 0; }
h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.14; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: 0.05em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: 19px; line-height: 1.7; color: var(--text-secondary); }
.accent-rule { width: 48px; height: 2px; background: var(--brand-primary); border: 0; margin: 18px 0; }
.center .accent-rule { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-title); font-weight: 600; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  padding: 14px 30px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background var(--duration-base) var(--ease-soft),
              transform var(--duration-fast) var(--ease-soft),
              box-shadow var(--duration-base) var(--ease-soft);
}
.btn:active { transform: scale(var(--press-scale)); }
.btn--primary { background: var(--brand-primary); color: var(--text-on-brand); border-color: var(--brand-primary); }
.btn--primary:hover { background: var(--brand-primary-hover); box-shadow: var(--shadow-sm); }
.btn--accent { background: var(--brand-accent); color: var(--taupe-700); border-color: var(--brand-accent); }
.btn--accent:hover { background: var(--brand-accent-hover); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; color: var(--text-brand); border-color: var(--border-strong); }
.btn--outline:hover { background: var(--sand-100); }
.btn--ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(250,247,243,0.5); }
.btn--ghost:hover { background: rgba(250,247,243,0.12); }
.btn--lg { padding: 17px 40px; font-size: 14px; }
.btn--sm { padding: 10px 20px; font-size: 11px; }

/* Header / navigation ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,243,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 32px; max-width: var(--container-max); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand > span { display: inline-block; white-space: nowrap; }
.brand .brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-pre { font-family: var(--font-accent); text-transform: uppercase; font-size: 9px; letter-spacing: 0.34em; color: var(--text-secondary); margin: 0 0 2px 3px; }
.brand-name { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 27px; line-height: 0.92; color: var(--green-700); white-space: nowrap; }

.nav-toggle, .nav-toggle-label { display: none; }

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a, .nav-label {
  display: inline-block;
  font-family: var(--font-title); font-weight: 500; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--text-secondary); padding: 10px 14px; border-radius: var(--radius-sm);
  transition: color var(--duration-base) var(--ease-soft), background var(--duration-base) var(--ease-soft);
  cursor: pointer; white-space: nowrap;
}
.main-nav a:hover, .nav-label:hover { color: var(--text-brand); }
.main-nav a[aria-current="page"] { color: var(--text-brand); }

.has-mega { position: relative; }
.nav-label::after { content: "▾"; font-size: 9px; margin-left: 6px; opacity: 0.6; vertical-align: middle; }
.mega {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
  background: var(--color-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--duration-base) var(--ease-soft), transform var(--duration-base) var(--ease-soft), visibility var(--duration-base);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text-primary); letter-spacing: 0.06em; font-weight: 400; }
.mega a:hover { background: var(--sand-100); color: var(--text-brand); }
.mega .mega-note { font-family: var(--font-body); font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--text-muted); padding: 4px 14px 8px; }
.nav-cta { margin-left: 8px; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: var(--text-on-dark); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video, .hero-media picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,39,31,0.55), rgba(90,70,50,0.72)); }
.hero-content { position: relative; z-index: 1; padding: 120px 32px 128px; max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero h1 { color: var(--text-on-dark); }
.hero .lede { color: rgba(250,247,243,0.92); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero--service .hero-content { padding: 104px 32px 110px; }

/* Home hero: real team banner — keep faces visible, ensure text reads */
.hero--home { min-height: 82vh; }
.hero--home .hero-media img { object-position: center 26%; }
.hero-media .hero-slide { position: absolute; inset: 0; }
.hero-media .hero-slide--b { opacity: 0; object-position: center 58%; }
@media (prefers-reduced-motion: no-preference) {
  .hero--home .hero-slide--a { animation: heroFadeA 16s ease-in-out infinite; }
  .hero--home .hero-slide--b { animation: heroFadeB 16s ease-in-out infinite; }
}
@keyframes heroFadeA { 0%,42%{opacity:1} 50%,92%{opacity:0} 100%{opacity:1} }
@keyframes heroFadeB { 0%,42%{opacity:0} 50%,92%{opacity:1} 100%{opacity:0} }
.hero--home .hero-media::after { background: linear-gradient(180deg, rgba(46,39,31,0.22) 0%, rgba(46,39,31,0.14) 34%, rgba(46,39,31,0.52) 64%, rgba(46,39,31,0.9) 100%); }
.hero--home .hero-content { min-height: 82vh; justify-content: flex-end; padding: 120px 32px 64px; text-shadow: 0 2px 26px rgba(36,28,20,0.85), 0 1px 4px rgba(36,28,20,0.7); }

/* Home hero — editorial split: text on cream (left), full-height photo (right) */
.hero-split { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; background: var(--color-surface-alt); min-height: 70vh; }
.hero-split .hs-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(48px,6vw,88px) clamp(28px,4vw,52px) clamp(48px,6vw,88px) clamp(28px,6vw,96px); max-width: 640px; }
.hero-split .hs-rule { width: 46px; height: 2px; background: var(--bronze); display: block; margin: 2px 0 4px; }
.hero-split .hs-text h1 { color: var(--text-primary); font-size: clamp(26px, 3.1vw, 42px); letter-spacing: 0.05em; line-height: 1.16; }
.hero-split .hs-text h1 .nowrap { white-space: nowrap; }
.hero-split .hs-text .lede { max-width: 38ch; margin: 0; }
.hero-split .hero-actions { justify-content: flex-start; gap: 14px; margin-top: 12px; }

.hero-split .hs-media { background: linear-gradient(150deg, var(--rose-50) 0%, var(--sand-100) 58%, var(--sand-200) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: clamp(40px,5vw,76px) clamp(28px,4vw,60px); }
.hero-split .hs-fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; width: clamp(405px, 51vw, 620px); max-width: 100%; }
.hero-split .hs-script { margin: 0; max-width: 16ch; font-family: 'Dancing Script', cursive; font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; color: var(--green-700); text-align: center; }
.hero-split .hs-photo { position: relative; isolation: isolate; width: 100%; }
.hero-split .hs-photo::before { content: ""; position: absolute; inset: 0; transform: translate(16px, 16px); background: var(--taupe-200); border-radius: 6px; z-index: 0; }
.hero-split .hs-photo picture { display: block; }
.hero-split .hs-photo img { position: relative; z-index: 1; width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 2px 6px rgba(46,39,31,0.10), 0 24px 50px -24px rgba(46,39,31,0.5); }
.hero-split .hs-cap { display: flex; align-items: center; gap: 14px; font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; color: var(--taupe-600); }
.hero-split .hs-cap .ln { width: 28px; height: 1px; background: var(--taupe-300); display: block; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .hs-media { order: -1; padding: 38px 24px 34px; }
  .hero-split .hs-fig { width: 100%; max-width: 380px; }
  .hero-split .hs-text { padding: 28px 24px 8px; max-width: none; }
  .hero-split .hs-text .lede { max-width: none; }
  .hero-split .hero-actions { width: 100%; }
  .hero-split .hero-actions .btn { width: 100%; }
}

/* L'Institut hero — colored gradient band */
.institut-hero { position: relative; color: var(--text-on-dark); padding: 132px 0; min-height: 56vh; display: flex; align-items: center; overflow: hidden; background: var(--bronze); }
.institut-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 92% 82% at 50% 52%, rgba(46,39,31,0.62) 0%, rgba(46,39,31,0.18) 76%), linear-gradient(180deg, rgba(46,39,31,0.4) 0%, rgba(46,39,31,0.58) 100%), url('media/institut-storefront.jpg') center 42%/cover no-repeat; }
.institut-hero > * { position: relative; z-index: 1; text-shadow: 0 2px 16px rgba(36,28,20,0.65); }

/* Gradient hero banner for service sub-pages */
.page-hero { background: radial-gradient(120% 90% at 22% 12%, rgba(255,247,238,0.10) 0%, rgba(255,247,238,0) 48%), linear-gradient(135deg, #6f5a45 0%, #57422f 48%, #34271d 100%); }
.page-hero .eyebrow { color: var(--rose-300); }
.page-hero h1 { color: var(--text-on-dark); text-shadow: 0 2px 16px rgba(36,28,20,0.4); }
.page-hero .accent-rule { background: var(--rose-300); }
.page-hero .lede, .page-hero p { color: rgba(250,247,243,0.94); }
.page-hero .badge-soon { background: rgba(250,247,243,0.16); border-color: rgba(250,247,243,0.34); color: var(--text-on-dark); }
.page-hero .btn--primary { background: var(--mf-white); color: var(--green-700); border-color: var(--mf-white); }
.page-hero .btn--primary:hover { background: var(--sand-100); }
.institut-hero h1 { color: var(--text-on-dark); }
.institut-hero .eyebrow { color: var(--rose-300); }
.institut-hero .accent-rule { background: var(--rose-300); }
.institut-hero .lede, .institut-hero p { color: rgba(250,247,243,0.92); }

/* Sections ---------------------------------------------------------------- */
section { padding: var(--section-y) 0; }
.section--sand { background: var(--color-surface-alt); }
.section--dark { background: var(--color-surface-dark); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark .lede, .section--dark p { color: rgba(250,247,243,0.85); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .accent-rule { margin-left: auto; margin-right: auto; }

/* Cards / grids ----------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card { background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--duration-base) var(--ease-soft), box-shadow var(--duration-base) var(--ease-soft); text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-body h3 { font-size: 18px; }
.card-body p { font-size: 14px; color: var(--text-secondary); margin: 0; flex: 1; }
.card-link { font-family: var(--font-title); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-brand); margin-top: 6px; }

/* Silo block on home ------------------------------------------------------ */
.silo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* Benefits list ----------------------------------------------------------- */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.benefits li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--brand-primary); }

/* Method steps ------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 28px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-title); font-weight: 600; font-size: 15px; letter-spacing: 0.1em; color: var(--text-brand); background: var(--green-50); border: 1px solid var(--green-100); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-secondary); }

/* Split (method / praticiennes) ------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--portrait { grid-template-columns: 0.85fr 1fr; }
.split .media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* Praticiennes ------------------------------------------------------------ */
.prac-names { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.tagchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-title); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--rose-100); color: var(--rose-600); }

/* Gallery ----------------------------------------------------------------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: auto; display: block; transition: transform var(--duration-slow) var(--ease-soft); }
.gallery figure:hover img { transform: scale(1.04); }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border-default); padding: 8px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 4px; font-family: var(--font-title); font-weight: 500; font-size: 17px; letter-spacing: 0.04em; color: var(--text-primary); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 24px; color: var(--text-brand); transition: transform var(--duration-base) var(--ease-soft); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 16px; margin: 0; color: var(--text-secondary); line-height: 1.7; }

/* Price block ------------------------------------------------------------- */
.price-block { background: var(--color-surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 44px; text-align: center; max-width: 560px; margin: 0 auto; }
.price-block .price { font-family: var(--font-title); font-weight: 300; font-size: 44px; letter-spacing: 0.04em; color: var(--text-brand); margin: 8px 0 4px; }
.price-block .price small { font-size: 16px; color: var(--text-muted); }

/* Contact / NAP ----------------------------------------------------------- */
.nap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.nap-item h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--text-secondary); margin-bottom: 10px; }
.nap-item p { margin: 0; line-height: 1.7; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink-900); color: rgba(250,247,243,0.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--font-title); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-on-dark); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; font-size: 14px; color: rgba(250,247,243,0.72); transition: color var(--duration-base) var(--ease-soft); }
.site-footer a:hover { color: var(--rose-300); }
.footer-brand img { width: 46px; height: 46px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(250,247,243,0.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(250,247,243,0.5); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(250,247,243,0.1); display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--brand-primary); }
.socials svg { width: 18px; height: 18px; }

/* Team row (home teaser) -------------------------------------------------- */
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 42px 0 34px; }
.team-card { margin: 0; }
.team-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 28%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: block; }
.team-card figcaption { padding-top: 14px; }
.team-card .tn { display: block; font-family: var(--font-title); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-primary); }
.team-card .tr { display: block; font-family: var(--font-body); font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
@media (max-width: 760px) { .team-row { grid-template-columns: repeat(2, 1fr); } }

/* Instagram band ---------------------------------------------------------- */
.insta { padding-bottom: var(--section-y); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-soft); }
.insta-tile::after { content: ""; position: absolute; inset: 0; background: rgba(46,39,31,0); transition: background var(--duration-base) var(--ease-soft); }
.insta-tile .insta-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--duration-base) var(--ease-soft); z-index: 1; }
.insta-tile .insta-ico svg { width: 30px; height: 30px; }
.insta-tile:hover img { transform: scale(1.06); }
.insta-tile:hover::after { background: rgba(46,39,31,0.34); }
.insta-tile:hover .insta-ico { opacity: 1; }

/* Flexible media slots — photo OR 9:16 click-to-load Instagram video ------ */
.media-slot { border-radius: var(--radius-lg); overflow: hidden; }
.media-slot--video { max-width: 330px; margin-inline: auto; overflow: visible; }
.ig-video { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; margin: 0; cursor: pointer; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--sand-200); }
.ig-video img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-soft); }
.ig-video::before { content: ""; position: absolute; inset: 0; background: rgba(46,39,31,0.16); transition: background var(--duration-base) var(--ease-soft); z-index: 1; }
.ig-video:hover img { transform: scale(1.05); }
.ig-video:hover::before { background: rgba(46,39,31,0.32); }
.ig-video .play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,0.94); display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: var(--shadow-md); transition: transform var(--duration-base) var(--ease-soft); }
.ig-video:hover .play { transform: scale(1.08); }
.ig-video .play svg { width: 26px; height: 26px; margin-left: 3px; fill: var(--brand-primary); }
.ig-video .ig-badge { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(46,39,31,0.6); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--radius-pill); }
.ig-video .ig-badge svg { width: 13px; height: 13px; }
.media-slot figcaption { padding: 14px 6px 0; font-size: 13px; color: var(--text-muted); text-align: center; }
.instagram-media { margin: 0 auto !important; }

/* Offer highlight --------------------------------------------------------- */
.offer-price { font-family: var(--font-body); font-size: 16px; color: var(--text-secondary); margin: 6px 0 18px; }
.offer-price strong { display: block; font-family: var(--font-title); font-weight: 300; font-size: 40px; letter-spacing: 0.02em; color: var(--text-brand); margin-top: 4px; }
.offer-price s { color: var(--text-muted); font-size: 22px; font-weight: 400; margin-left: 10px; }
.fineprint { font-size: 13px; color: var(--text-muted); }

/* Product slider (CSS scroll-snap, no JS) --------------------------------- */
.slider { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.slider .slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.slider .slide img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.slider .slide figcaption { text-align: center; font-size: 13px; color: var(--text-muted); padding-top: 12px; }
.slider::-webkit-scrollbar { height: 6px; }
.slider::-webkit-scrollbar-thumb { background: var(--sand-300); border-radius: 999px; }
.slider-hint { text-align: center; font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); margin: 8px 0 0; }
.slider--product { max-width: 280px; margin-inline: auto; }
.slider--product .slide img { aspect-ratio: 1 / 1; object-fit: contain; background: var(--sand-50); padding: 20px; }

/* Breadcrumb -------------------------------------------------------------- */
.breadcrumb { font-size: 12px; letter-spacing: 0.04em; color: var(--text-muted); padding: 18px 0 0; }
.breadcrumb a { text-decoration: none; color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text-brand); }

/* Stub / à venir ---------------------------------------------------------- */
.coming { text-align: center; padding: 90px 0; }
.coming .badge-soon { display: inline-block; font-family: var(--font-title); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-brand); background: var(--green-50); border: 1px solid var(--green-100); padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 22px; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split--portrait { grid-template-columns: 1fr; gap: 32px; }
  .gallery { columns: 2; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  /* Hamburger button */
  .nav-toggle-label { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; color: var(--text-primary); }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform var(--duration-base) var(--ease-soft), opacity var(--duration-base); }
  .nav-toggle-label span::before { position: absolute; top: -7px; left: 0; }
  .nav-toggle-label span::after { position: absolute; top: 7px; left: 0; }
  /* Morph to an X when open */
  .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }

  /* Drop panel anchored flush under the (variable-height) header */
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg); max-height: 0; overflow: hidden; transition: max-height var(--duration-slow) var(--ease-soft); }
  .nav-toggle:checked ~ .main-nav { max-height: calc(100vh - 70px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px 22px; }
  .has-mega { position: static; }
  .nav-label::after { display: none; }
  /* Comfortable tap targets (>=44px) */
  .main-nav a, .nav-label { display: flex; align-items: center; min-height: 48px; padding: 12px 14px; letter-spacing: 0.1em; }
  .nav-label { color: var(--text-brand); border-bottom: 1px solid var(--border-subtle); border-radius: 0; font-size: 13px; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 2px 0 10px 14px; min-width: 0; }
  .mega a { min-height: 44px; font-size: 14px; }
  .nav-cta { margin: 16px 14px 4px; }
  .nav-cta .btn { width: 100%; min-height: 50px; font-size: 13px; }
  .btn { min-height: 46px; }
}

@media (max-width: 640px) {
  /* Tighter vertical rhythm on phones (desktop --section-y is too tall) */
  section { padding: 58px 0; }
  .section-head { margin-bottom: 32px; }
  .hero-content { padding: 100px 24px 68px; gap: 16px; }
  .hero--service .hero-content { padding: 92px 24px 60px; }
  .hero--home { min-height: 80vh; }
  .hero--home .hero-content { min-height: 80vh; padding: 96px 24px 50px; }
  .institut-hero { padding: 84px 0; min-height: 0; }
  /* Hero CTAs go full-width & stack for easy tapping */
  .hero-actions { width: 100%; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  /* Type fits small screens; relax tracking so long words don't crowd */
  h1 { letter-spacing: 0.05em; }
  h2 { letter-spacing: 0.05em; }
  .lede { font-size: 17px; }
  .eyebrow { font-size: 16px; }
  .steps { gap: 22px; }
  .step { gap: 14px; }
  .step::before { width: 40px; height: 40px; font-size: 13px; }
  .offer-price strong { font-size: 34px; }
  .price-block .price { font-size: 36px; }
  .coming { padding: 36px 0 24px; }
  .breadcrumb { padding-top: 14px; }
}

@media (max-width: 560px) {
  .gallery { columns: 1; }
  .container { padding: 0 20px; }
  .price-block { padding: 30px 22px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Fonds photo des bandeaux ------------------------------------------------ */
/* Pilotes par --hero-bg (desktop, horizontale) et --hero-bg-m (mobile,
   verticale), declares en style inline sur chaque bandeau. Sans variable,
   le bandeau garde son degrade d'origine. */
.page-hero { position: relative; overflow: hidden; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(135deg, rgba(111,90,69,0.88) 0%, rgba(87,66,47,0.86) 48%, rgba(52,39,29,0.90) 100%),
    var(--hero-bg, none);
  background-size: cover; background-position: center 45%; background-repeat: no-repeat;
}
@media (max-width: 760px) {
  .page-hero::before {
    background-image:
      linear-gradient(135deg, rgba(111,90,69,0.88) 0%, rgba(87,66,47,0.86) 48%, rgba(52,39,29,0.90) 100%),
      var(--hero-bg-m, var(--hero-bg, none));
  }
}

/* Accueil : la devanture en fond, voilee pour garder le texte lisible */
.hero-split { position: relative; }
.hero-split > * { position: relative; z-index: 1; }
.hero-split::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(100deg, rgba(250,247,243,0.97) 0%, rgba(250,247,243,0.95) 34%, rgba(250,247,243,0.82) 66%, rgba(250,247,243,0.76) 100%),
    var(--hero-bg, none);
  background-size: cover; background-position: center 45%; background-repeat: no-repeat;
}
.hero-split .hs-media {
  background: linear-gradient(150deg, rgba(247,230,229,0.58) 0%, rgba(245,238,228,0.34) 58%, rgba(235,226,212,0.46) 100%);
}
@media (max-width: 860px) {
  .hero-split::before {
    background-image:
      linear-gradient(180deg, rgba(250,247,243,0.58) 0%, rgba(250,247,243,0.92) 44%, rgba(250,247,243,0.97) 100%),
      var(--hero-bg-m, var(--hero-bg, none));
  }
}

/* Bandeau de L'institut : version verticale en mobile */
@media (max-width: 760px) {
  .institut-hero::before {
    background: radial-gradient(ellipse 92% 82% at 50% 52%, rgba(46,39,31,0.62) 0%, rgba(46,39,31,0.18) 76%), linear-gradient(180deg, rgba(46,39,31,0.4) 0%, rgba(46,39,31,0.58) 100%), url('media/hero-devanture-m.jpg') center 42%/cover no-repeat;
  }
}

/* Accueil : bandeau pleine largeur, texte clair sur la devanture ---------- */
.hero-split { grid-template-columns: 1fr; min-height: 64vh; }
.hero-split .hs-text {
  align-items: center; text-align: center; max-width: 880px;
  margin-inline: auto; padding: clamp(66px,8vw,116px) clamp(24px,5vw,48px);
}
.hero-split .hs-text h1 {
  font-size: clamp(38px, 6vw, 70px); line-height: 1.1; font-weight: 500;
  color: var(--text-on-dark);
  text-shadow: 0 2px 6px rgba(36,28,20,0.55), 0 6px 28px rgba(36,28,20,0.45);
}
.hero-split .hs-text .eyebrow { color: var(--rose-300); }
.hero-split .hs-text .lede {
  max-width: 50ch; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500;
  color: rgba(250,247,243,0.97);
  text-shadow: 0 1px 4px rgba(36,28,20,0.5), 0 3px 16px rgba(36,28,20,0.4);
}
.hero-split .hs-text .eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.22em;
  text-shadow: 0 1px 8px rgba(36,28,20,0.5);
}
.hero-split .hs-script {
  font-size: clamp(25px, 2.3vw, 34px); font-weight: 700;
}
.hero-split .hs-rule { margin-inline: auto; background: var(--rose-300); }
.hero-split .hs-script {
  max-width: 30ch; margin-inline: auto;
  color: rgba(250,247,243,0.96); text-shadow: 0 1px 12px rgba(36,28,20,0.45);
}
.hero-split .hero-actions { justify-content: center; }
.hero-split .btn--outline { color: var(--text-on-dark); border-color: rgba(250,247,243,0.72); }
.hero-split .btn--outline:hover { background: rgba(250,247,243,0.16); }
.hero-split::before {
  background-image:
    linear-gradient(180deg, rgba(46,39,31,0.52) 0%, rgba(46,39,31,0.44) 48%, rgba(46,39,31,0.62) 100%),
    var(--hero-bg, none);
}
@media (max-width: 860px) {
  .hero-split::before {
    background-image:
      linear-gradient(180deg, rgba(46,39,31,0.50) 0%, rgba(46,39,31,0.46) 48%, rgba(46,39,31,0.66) 100%),
      var(--hero-bg-m, var(--hero-bg, none));
  }
}

/* Galerie reduite : une ou deux images restent centrees ------------------- */
.gallery:has(figure:only-child) { columns: 1; max-width: 560px; margin-inline: auto; }
.gallery:has(figure:nth-child(2):last-child) { columns: 2; max-width: 860px; margin-inline: auto; }
@media (max-width: 760px) {
  .gallery:has(figure:nth-child(2):last-child) { columns: 1; max-width: 460px; }
}
