/* ==========================================================================
   M Clinique Beauté — design tokens
   Palette: dusty rose / deep plum-ink / warm bronze / sage — chosen to feel
   clinical-elegant rather than "spa cream + terracotta" default.
   Signature motif: precision dot-grid (microblading strokes / microneedling
   points) used as texture, dividers and icon language throughout.
   ========================================================================== */

:root{
  --cream:      #F7F3EC;
  --white:      #FFFFFF;
  --ink:        #1E1A19;   /* near-black, warm undertone */
  --ink-soft:   #5C5250;
  --rose:       #B98A7A;
  --rose-deep:  #8B4B3C;   /* wine/rose accent — used sparingly, not as blocks */
  --rose-pale:  #F1E6DF;
  --gold:       #AD8A55;
  --sage:       #8C9986;
  --line:       rgba(30,26,25,0.14);
  --line-soft:  rgba(30,26,25,0.08);
  --stone:      #CFCAC4;   /* replaces rose-deep on solid backgrounds/borders */
  --charcoal:   #121110;   /* dark section backgrounds */

  /* Fonts matched to the reference design: Bodoni headings + Helvetica/Arial text */
  --font-display: 'Bodoni Moda', 'Bodoni 72', 'Didot', Georgia, serif;
  --font-accent:  'Bodoni Moda', 'Bodoni 72', 'Didot', Georgia, serif;
  --font-script:  'Bodoni Moda', 'Bodoni 72', 'Didot', Georgia, serif; /* no more cursive */
  --font-label:   'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --radius-lg: 4px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:80px; }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--cream);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  padding-top:112px;               /* room for the tall header */
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:500; margin:0; color:var(--ink); letter-spacing:.01em; }
/* Bodoni Moda auto-thins its hairlines at large sizes (optical sizing).
   Lock it to the sturdier "text" cut so thin strokes stay readable. */
h1,h2,h3,h4,.script-tag,.spotlight-num,.about-figures strong{
  font-optical-sizing:none;
  font-variation-settings:'opsz' 11;
}
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:var(--container); margin:0 auto; padding:0 32px; }

@media (max-width:640px){ .container{ padding:0 20px; } }

/* -------------------- Utility: dot-grid signature -------------------- */
.dotgrid{
  background-image:radial-gradient(var(--rose) 1.4px, transparent 1.4px);
  background-size:16px 16px;
  opacity:0.35;
}
.dot-divider{
  display:flex; align-items:center; justify-content:center;
  gap:7px; margin:0 auto;
}
.dot-divider span{
  width:4px; height:4px; border-radius:50%; background:var(--rose-deep);
}
.dot-divider span:nth-child(2){ background:var(--gold); }
.dot-divider span:nth-child(3){ background:var(--sage); }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-label);
  font-size:12px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--rose-deep); font-weight:500; margin-bottom:14px;
}
.eyebrow::before{
  content:''; width:22px; height:1px; background:var(--rose-deep);
}

/* -------------------------- Header / Nav -------------------------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  transition:box-shadow .3s ease;
  background:rgba(251,247,243,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line-soft);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  padding:14px 0;
  transition:padding .35s ease;
}

/* Shrinking header: tall with a big logo at the top of the page,
   compact once the visitor scrolls. The header is fixed, so shrinking it
   never makes the page content jump. */
.logo{ display:flex; align-items:center; flex-shrink:0; }
.logo-img{ height:84px; width:auto; max-width:none; object-fit:contain; transition:height .35s ease; }
.site-header.is-scrolled{ box-shadow:0 6px 24px rgba(42,34,41,0.08); }
.site-header.is-scrolled .header-inner{ padding-top:10px; padding-bottom:10px; }
.site-header.is-scrolled .logo-img{ height:46px; }

@media (max-width:900px){
  .logo-img{ height:60px; }
  .site-header.is-scrolled .logo-img{ height:38px; }
}

.footer-logo-img{ height:34px; width:auto; filter:invert(1) brightness(1.6); margin-bottom:16px; }

/* Wider header: spans more of the screen than the page content */
.site-header .container{ max-width:1640px; padding-left:48px; padding-right:48px; }
.site-header nav{ flex:1; display:flex; justify-content:center; }

.nav-links{
  display:flex; align-items:center; gap:40px;
  list-style:none; margin:0; padding:0;
}
.nav-links a, .dropdown-toggle{
  font-family:var(--font-label);
  font-size:15.5px; font-weight:500; letter-spacing:.03em;
  position:relative; padding:4px 0; color:var(--ink);
}

/* ---- "Soins signature" dropdown ---- */
.has-dropdown{ position:relative; }
.dropdown-toggle{
  display:inline-flex; align-items:center; gap:8px;
  background:none; border:none;
}
.dropdown-toggle .chevron{ transition:transform .25s ease; }
.has-dropdown.open .chevron{ transform:rotate(180deg); }
.dropdown{
  position:absolute; top:100%; left:50%;
  min-width:290px; margin:0; padding:14px 0; list-style:none;
  background:var(--cream);
  border:1px solid var(--line-soft); border-top:2px solid var(--gold);
  box-shadow:0 18px 40px rgba(30,26,25,0.12);
  opacity:0; visibility:hidden;
  transform:translate(-50%, 8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
  margin-top:14px;
}
.dropdown::before{               /* invisible bridge so the menu doesn't close on the way down */
  content:''; position:absolute; left:0; right:0; top:-16px; height:16px;
}
.has-dropdown.open .dropdown{
  opacity:1; visibility:visible; transform:translate(-50%, 0);
}
@media (hover:hover) and (min-width:901px){
  .has-dropdown:hover .dropdown{ opacity:1; visibility:visible; transform:translate(-50%, 0); }
  .has-dropdown:hover .chevron{ transform:rotate(180deg); }
}
.dropdown a{
  display:block; padding:10px 26px; font-size:14.5px; white-space:nowrap;
  border-left:2px solid transparent;
  transition:background .2s ease, border-color .2s ease;
}
.dropdown a::after{ display:none; }
.dropdown a:hover, .dropdown a:focus-visible{
  background:rgba(173,138,85,0.08); border-left-color:var(--gold);
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-2px;
  width:0; height:1px; background:var(--rose-deep);
  transition:width .25s ease;
}
.nav-links a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:18px; }

.lang-toggle{
  display:flex; border:1px solid var(--line); border-radius:20px;
  overflow:hidden; font-size:12px; font-weight:600; letter-spacing:.05em;
}
.lang-toggle button{
  border:none; background:transparent; padding:7px 14px;
  color:var(--ink-soft);
}
.lang-toggle button.active{ background:var(--charcoal); color:var(--cream); }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-label);
  padding:12px 24px; font-size:12.5px; font-weight:500;
  letter-spacing:.08em; text-transform:uppercase;
  border-radius:2px; border:1px solid var(--ink); white-space:nowrap;
  transition:all .2s ease;
}
.btn-primary{ background:var(--charcoal); color:var(--cream); }
.btn-primary:hover{ background:var(--stone); border-color:var(--stone); color:var(--ink); }
.btn-ghost{ background:transparent; color:var(--ink); }
.btn-ghost:hover{ background:var(--charcoal); color:var(--cream); }

.nav-toggle{
  display:none; position:relative; z-index:10;
  width:40px; height:40px; padding:0; background:none; border:none;
}
/* hamburger that turns into an X when the menu is open */
.nav-toggle span{
  position:absolute; left:7px; width:26px; height:1.6px; background:var(--ink);
  transition:transform .3s ease, opacity .2s ease, top .3s ease;
}
.nav-toggle span:nth-child(1){ top:12px; }
.nav-toggle span:nth-child(2){ top:19.5px; }
.nav-toggle span:nth-child(3){ top:27px; }
.nav-toggle.is-open span:nth-child(1){ top:19.5px; transform:rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ top:19.5px; transform:rotate(-45deg); }

/* dim the page behind the open mobile menu */
.nav-backdrop{
  position:fixed; inset:0; z-index:90; background:rgba(18,17,16,.35);
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s;
}
.nav-backdrop.show{ opacity:1; visibility:visible; }
body.menu-open{ overflow:hidden; }

/* ------------------------------ Hero slider ------------------------------ */
.hero-slider{
  position:relative; height:calc(100vh - 112px); height:calc(100svh - 112px); min-height:520px;
  overflow:hidden; background:var(--charcoal);
  padding:0;
}
.slides{ position:relative; width:100%; height:100%; }
.slide{
  position:absolute; inset:0; opacity:0; visibility:hidden;
  transition:opacity 1.15s ease;
}
.slide.active{ opacity:1; visibility:visible; z-index:2; }
.slide-bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform:scale(1.06); transition:transform 7s ease-out;
}
.slide.active .slide-bg{ transform:scale(1); }
.slide-overlay{
  position:absolute; inset:0;
  background:rgba(20,17,16,.32);
}
.slide-content{
  position:relative; z-index:2; height:100%;
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding-top:0;
}
.hero-box{
  background:rgba(30,26,25,0.55);
  backdrop-filter:blur(3px);
  border:1px solid rgba(255,255,255,0.25);
  padding:56px 60px;
  max-width:640px;
}
.hero-box .script-tag{
  font-family:var(--font-script); font-size:20px; font-weight:400;
  color:var(--stone); display:block; margin-bottom:14px; line-height:1.2;
}
.hero-box h1{
  color:#fff; font-family:var(--font-display); font-weight:500;
  text-transform:uppercase; letter-spacing:.06em;
  font-size:clamp(28px,4.6vw,50px); line-height:1.15;
}
.hero-box .hero-sub{
  color:rgba(255,255,255,0.82); margin-top:20px; font-size:16px;
  max-width:44ch; margin-left:auto; margin-right:auto;
}
.hero-box .hero-cta{ margin-top:30px; justify-content:center; }
.hero-box .btn-ghost{ border-color:#fff; color:#fff; }
.hero-box .btn-ghost:hover{ background:#fff; color:var(--ink); }

@media (max-width:640px){
  .hero-box{ padding:36px 28px; }
}

.slide-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:46px; height:46px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.5); background:rgba(255,255,255,0.06);
  color:#fff; font-size:20px; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease;
}
.slide-arrow:hover{ background:rgba(255,255,255,0.18); border-color:#fff; }
.slide-arrow.prev{ left:28px; }
.slide-arrow.next{ right:28px; }

.slide-dots{
  position:absolute; left:0; right:0; bottom:28px; z-index:4;
  display:flex; justify-content:center; gap:10px;
}
.slide-dots .dot{
  width:8px; height:8px; border-radius:50%; border:1px solid rgba(255,255,255,0.7);
  background:transparent; padding:0;
}
.slide-dots .dot.active{ background:#fff; }

@media (max-width:640px){
  .hero-slider{ height:80vh; min-height:480px; }
  .slide-arrow{ display:none; }
  .slide-content{ max-width:none; }
}

/* ------------------------------ Photo frame + branded badge (about, etc.) ---- */
.hero-visual{ position:relative; }
.hero-visual .frame{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  aspect-ratio:4/5;
}
.hero-visual img{ width:100%; height:100%; object-fit:cover; }
.hero-visual .dotgrid{
  position:absolute; width:120px; height:120px;
  bottom:-24px; left:-24px; z-index:-1;
}
.hero-visual::after{
  content:''; position:absolute; inset:14px -14px -14px 14px;
  border:1px solid var(--rose); border-radius:var(--radius-lg); z-index:-1;
}

/* Branded watermark badge — sits on stock/placeholder photography so every
   image reads as "yours" rather than generic stock. Swap for real clinic
   photography over time and this badge still works as a signature mark. */
.img-badge{
  position:absolute; right:16px; bottom:16px;
  background:rgba(247,243,236,0.92);
  padding:9px 14px 7px;
  border-radius:2px;
  box-shadow:0 6px 18px rgba(30,26,25,0.16);
}
.img-badge img{ height:20px; width:auto; display:block; }
.img-badge-light{ background:rgba(30,26,25,0.85); }
.img-badge-light img{ filter:invert(1) brightness(1.6); }

/* ------------------------------ Trust bar ------------------------------ */
.trust-bar{
  border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
  padding:22px 0; background:var(--white);
}
.trust-inner{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:18px 40px;
}
.trust-inner div{
  font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink-soft); font-weight:600;
}

/* ------------------------------ Section shell ------------------------------ */
section{ padding:104px 0; }
.section-head{
  max-width:640px; margin:0 auto 56px; text-align:center;
}
.section-head h2{ font-size:clamp(30px,4vw,42px); }
.section-head p{ margin-top:16px; color:var(--ink-soft); font-size:16px; }

/* ------------------------------ "Nos soins" band + carousel ------------------------------ */
.latest{ padding-top:0; }
.latest-band{
  background:var(--stone); padding:20px 0; margin-bottom:56px;
}
.latest-band span{
  display:block; text-align:center;
  font-family:var(--font-label); font-size:13px; font-weight:600;
  letter-spacing:.28em; text-transform:uppercase; color:var(--ink);
}

.carousel-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:36px; flex-wrap:wrap;
}
.carousel-head h2{ font-size:clamp(28px,3.6vw,38px); }
.carousel-head p{ margin-top:14px; color:var(--ink-soft); font-size:15.5px; max-width:56ch; }
.carousel-controls{ display:flex; gap:10px; flex-shrink:0; }
.carousel-arrow{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--ink);
  background:transparent; color:var(--ink); font-size:19px;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, color .2s ease;
}
.carousel-arrow:hover{ background:var(--ink); color:var(--cream); }

.carousel-track{
  display:flex; gap:24px; overflow-x:auto;
  padding-bottom:6px; scrollbar-width:none; -ms-overflow-style:none;
  /* soft fade at both edges so cards glide in and out */
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image:linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.carousel-track::-webkit-scrollbar{ display:none; }
.carousel-card{
  flex:0 0 calc(25% - 18px); display:block;
}
.carousel-img{
  aspect-ratio:4/5; background-size:cover; background-position:center;
  border-radius:var(--radius-lg); margin-bottom:16px;
  transition:transform .4s ease;
}
.carousel-card:hover .carousel-img{ transform:translateY(-4px); }
.carousel-card h3{ font-size:16.5px; margin-bottom:5px; }
.carousel-card .tag{
  display:block; font-family:var(--font-label); font-size:12px;
  letter-spacing:.04em; color:var(--ink-soft);
}

@media (max-width:900px){ .carousel-card{ flex:0 0 calc(46% - 14px); } }
@media (max-width:600px){ .carousel-card{ flex:0 0 78%; } }

/* ------------------------------ Spotlight (Slimwave / Microneedling) --------- */
.spotlight{ background:var(--white); }
.spotlight-row{
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
  margin-bottom:96px;
}
.spotlight-row:last-child{ margin-bottom:0; }
.spotlight-row.reverse .spotlight-visual{ order:2; }
.spotlight-visual{
  border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:5/4; position:relative;
}
.spotlight-visual img{ width:100%; height:100%; object-fit:cover; }
.spotlight-num{
  font-family:var(--font-display); font-style:normal; font-size:16px;
  color:var(--rose-deep); margin-bottom:10px; display:block;
}
.spotlight-copy h3{ font-size:clamp(26px,3vw,34px); margin-bottom:18px; }
.spotlight-copy p{ color:var(--ink-soft); font-size:16px; margin-bottom:26px; }

@media (max-width:820px){
  .spotlight-row, .spotlight-row.reverse .spotlight-visual{ grid-template-columns:1fr; order:0; }
  .spotlight-row{ grid-template-columns:1fr; gap:28px; }
}

/* ------------------------------ Script accent tag ------------------------------ */
.script-tag{
  font-family:var(--font-script); font-weight:400; line-height:1;
  display:inline-block;
}

/* ------------------------------ Wanted (dark signature spotlight) ------------------------------ */
.wanted-split{
  background:var(--charcoal); color:var(--cream);
  padding:110px 0; overflow:hidden;
}
.wanted-grid{
  display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center;
}
.wanted-copy .script-tag{ font-size:22px; color:var(--stone); margin-bottom:12px; }
.wanted-copy h2{
  font-family:var(--font-display); font-weight:500; text-transform:uppercase;
  letter-spacing:.06em; color:var(--cream); font-size:clamp(38px,5.6vw,60px);
}
.wanted-copy p{ color:rgba(247,243,236,0.75); font-size:16px; margin-top:22px; max-width:42ch; }
.wanted-copy .btn{ margin-top:30px; }
.wanted-copy .btn-ghost{ border-color:var(--cream); color:var(--cream); }
.wanted-copy .btn-ghost:hover{ background:var(--cream); color:var(--charcoal); }

.wanted-visual{ position:relative; min-height:420px; }
.wanted-img{
  position:absolute; width:60%; aspect-ratio:4/5;
  background-size:cover; background-position:center;
  border-radius:var(--radius-lg); box-shadow:0 24px 50px rgba(0,0,0,0.35);
}
.wanted-img-1{ left:0; top:0; z-index:1; }
.wanted-img-2{ right:0; bottom:0; z-index:2; border:6px solid var(--charcoal); }

@media (max-width:820px){
  .wanted-split{ padding:80px 0; }
  .wanted-grid{ grid-template-columns:1fr; gap:48px; }
  .wanted-visual{
    width:100%; max-width:440px; margin:0 auto;
    min-height:0; aspect-ratio:1 / 1.08;   /* gives the box a real size so the photos show */
  }
  .wanted-img{ width:62%; }
}
.about{
  background:var(--charcoal); color:var(--cream); position:relative; overflow:hidden;
}
.about .dotgrid{ position:absolute; top:-40px; right:-40px; width:220px; height:220px; opacity:.18; }
.about .eyebrow{ color:var(--rose); }
.about .eyebrow::before{ background:var(--rose); }
.about-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center;
}
.about h2{ color:var(--cream); font-size:clamp(28px,3.6vw,38px); }
.about p{ color:rgba(251,247,243,0.75); font-size:16px; margin-top:20px; }
.about-figures{ display:flex; gap:44px; margin-top:36px; flex-wrap:wrap; }
.about-figures div strong{
  display:block; font-family:var(--font-display); font-size:30px; color:var(--rose);
}
.about-figures div span{ font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; color:rgba(251,247,243,0.6); }

@media (max-width:820px){ .about-grid{ grid-template-columns:1fr; } }

/* ------------------------------ CTA banner ------------------------------ */
.cta-banner{
  background:var(--charcoal);
  color:var(--cream);
  text-align:center;
  padding:100px 0;
}
.cta-banner .eyebrow{ justify-content:center; color:var(--rose); }
.cta-banner .eyebrow::before{ background:var(--rose); }
.cta-banner h2{ color:var(--cream); font-size:clamp(28px,4vw,40px); }
.cta-banner p{ margin-top:14px; color:rgba(247,243,236,0.7); font-size:16px; }
.cta-banner .hero-cta{ justify-content:center; margin-top:32px; }
.cta-banner .btn-ghost{ border-color:var(--cream); color:var(--cream); }
.cta-banner .btn-ghost:hover{ background:var(--cream); color:var(--ink); }
.cta-banner .btn-primary{ background:var(--stone); border-color:var(--stone); color:var(--ink); }
.cta-banner .btn-primary:hover{ background:var(--cream); color:var(--ink); border-color:var(--cream); }

/* ------------------------------ Footer ------------------------------ */
footer{ background:var(--charcoal); color:var(--cream); padding:72px 0 28px; }
.footer-grid{
  display:grid; grid-template-columns:1.3fr .8fr .8fr 1fr; gap:48px;
  padding-bottom:48px; border-bottom:1px solid rgba(251,247,243,0.14);
}
.footer-grid h4{
  color:var(--cream); font-family:var(--font-body); font-size:12.5px;
  letter-spacing:.08em; text-transform:uppercase; font-weight:700; margin-bottom:18px;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.footer-grid a, .footer-grid p{ font-size:14px; color:rgba(251,247,243,0.72); }
.footer-grid a:hover{ color:var(--rose); }
.footer-logo{ font-family:var(--font-display); font-size:22px; color:var(--cream); margin-bottom:14px; display:block; }
.footer-bottom{
  padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:12.5px; color:rgba(251,247,243,0.5);
}

@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }

/* ------------------------------ Mobile nav ------------------------------ */
@media (max-width:900px){
  .nav-links{
    position:fixed; inset:0 0 0 auto; width:78%; max-width:340px;
    background:var(--cream); flex-direction:column; align-items:flex-start;
    padding:100px 32px 32px; gap:26px;
    transform:translateX(100%); transition:transform .3s ease;
    box-shadow:-8px 0 30px rgba(0,0,0,0.08);
  }
  .nav-links{ z-index:5; }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a, .dropdown-toggle{ font-size:17px; }
  .site-header .container{ padding-left:20px; padding-right:20px; }
  .has-dropdown{ width:100%; }
  .dropdown{
    position:static; transform:none; min-width:0; margin:12px 0 0;
    padding:4px 0 4px 4px; box-shadow:none; background:transparent;
    border:none; border-left:1px solid var(--gold);
    display:none; opacity:1; visibility:visible;
  }
  .has-dropdown.open .dropdown{ display:block; transform:none; }
  .dropdown a{ font-size:15px; padding:8px 16px; white-space:normal; border-left:none; }
  .nav-links{ overflow-y:auto; }
  .nav-toggle{ display:block; }
  .header-actions .btn-ghost{ display:none; }
}

/* ------------------------------ Reduced motion ------------------------------ */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}

/* ------------------------------ Focus states ------------------------------ */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--rose-deep); outline-offset:2px;
}

@media (max-width:900px){
  body{ padding-top:88px; }
  .hero-slider{ height:calc(100vh - 88px); height:calc(100svh - 88px); min-height:460px; }
  /* backdrop-filter would trap the slide-out menu inside the header bar */
  .site-header{ backdrop-filter:none; background:var(--cream); }
}

/* ---- Small phones: keep the header inside the screen ---- */
.nav-book{ display:none; }
@media (max-width:900px){
  .nav-book{ display:block; margin-top:10px; }
  .nav-links .nav-book .btn{ color:var(--cream); padding:14px 26px; font-size:13px; }
  .nav-book .btn::after{ display:none; }
}
@media (max-width:520px){
  .header-inner{ gap:12px; }
  .header-actions{ gap:10px; }
  .header-actions .btn-primary{ display:none; }   /* booking button moves into the menu */
  .logo-img{ height:50px; }
  .lang-toggle button{ padding:6px 10px; }
}

/* ------------------------------ Google reviews ------------------------------ */
.reviews{ background:var(--cream); padding:100px 0 92px; }
.reviews-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:28px; flex-wrap:wrap; margin-bottom:44px;
}
.reviews-head h2{ font-size:clamp(28px,3.6vw,38px); }
.g-icon{ width:22px; height:22px; flex-shrink:0; display:block; }
.stars{ color:#D9A43A; letter-spacing:2px; font-size:15px; line-height:1; }

.rating-badge{
  display:flex; align-items:center; gap:16px;
  background:var(--white); border:1px solid var(--line-soft);
  padding:14px 20px; border-radius:var(--radius-lg);
}
.rating-badge .g-icon{ width:30px; height:30px; }
.rating-copy{ display:flex; flex-direction:column; gap:3px; }
.rating-line{ display:flex; align-items:center; gap:8px; }
.rating-line strong{ font-family:var(--font-display); font-size:22px; font-weight:500; line-height:1; }
.rating-copy > span{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); }
.rating-link{
  margin-left:6px; padding-left:16px; border-left:1px solid var(--line);
  font-family:var(--font-label); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink); white-space:nowrap; position:relative;
}
.rating-link:hover{ color:var(--gold); }

.reviews-track{
  display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; scrollbar-width:none; padding:4px 0 8px;
}
.reviews-track::-webkit-scrollbar{ display:none; }
.review-card{
  flex:0 0 calc((100% - 48px) / 3); scroll-snap-align:start;
  background:var(--white); border:1px solid var(--line-soft);
  border-top:2px solid var(--gold);
  padding:30px 30px 26px; border-radius:var(--radius-lg);
  display:flex; flex-direction:column; position:relative;
}
.review-card::before{               /* oversized Bodoni quote mark */
  content:'\201C'; position:absolute; right:26px; bottom:6px;
  font-family:var(--font-display); font-size:110px; line-height:1;
  color:var(--gold); opacity:.12; pointer-events:none;
}
.review-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.review-top .g-icon{ width:18px; height:18px; }
.review-text{ color:var(--ink-soft); font-size:15.5px; line-height:1.7; flex:1; }
.review-author{
  display:flex; align-items:center; gap:12px;
  margin-top:24px; padding-top:20px; border-top:1px solid var(--line-soft);
}
.avatar{
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:var(--charcoal); color:var(--cream);
  font-family:var(--font-display); font-size:17px;
}
.review-author strong{ display:block; font-size:14.5px; font-weight:600; }
.review-author span:not(.avatar){ font-size:12px; letter-spacing:.05em; color:var(--ink-soft); }

.reviews-nav{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top:34px; }
.reviews-dots{ display:flex; gap:9px; }
.reviews-dots button{
  width:8px; height:8px; padding:0; border-radius:50%;
  border:1px solid var(--ink); background:transparent; transition:background .2s ease, width .25s ease;
}
.reviews-dots button.active{ background:var(--ink); width:22px; border-radius:4px; }

@media (max-width:980px){ .review-card{ flex-basis:calc((100% - 24px) / 2); } }
@media (max-width:640px){
  .reviews{ padding:72px 0 64px; }
  .review-card{ flex-basis:88%; padding:26px 24px 22px; }
  .rating-badge{ width:100%; }
  .rating-link{ margin-left:auto; padding-left:14px; font-size:11.5px; white-space:normal; text-align:right; max-width:90px; }
}

/* ------------------------------ Footer social icons ------------------------------ */
.social{ display:flex; gap:12px; margin-top:24px; }
.social a{
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(251,247,243,0.28); color:rgba(251,247,243,0.85);
  transition:background .25s ease, color .25s ease, border-color .25s ease;
}
.social a svg{ width:18px; height:18px; }
.footer-grid .social a:hover{ background:var(--cream); border-color:var(--cream); color:var(--charcoal); }

/* ==========================================================================
   Homepage additions — prices, technologies, packages, founder, training,
   practical info. Built on the same tokens as the rest of the page.
   ========================================================================== */

/* ---- Price tag on service cards ---- */
.carousel-img{ position:relative; overflow:hidden; }
.price-tag{
  position:absolute; left:12px; bottom:12px;
  padding:6px 12px; border-radius:40px;
  background:rgba(247,243,236,.94); backdrop-filter:blur(4px);
  font-family:var(--font-label); font-size:11.5px; font-weight:600; letter-spacing:.06em;
  color:var(--ink); box-shadow:0 6px 16px rgba(30,26,25,.14);
}

/* ---- "Nos technologies" line ---- */
.tech-line{
  display:flex; align-items:center; justify-content:center; gap:28px;
  margin-top:64px; padding-top:34px; border-top:1px solid var(--line-soft);
  flex-wrap:wrap;
}
.tech-label{
  font-family:var(--font-label); font-size:11.5px; font-weight:600;
  letter-spacing:.24em; text-transform:uppercase; color:var(--ink-soft);
}
.tech-line ul{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 0; list-style:none; margin:0; padding:0; }
.tech-line li{
  font-family:var(--font-display); font-style:italic; font-size:22px; color:var(--ink);
  font-variation-settings:'opsz' 11; padding:0 22px; position:relative;
}
.tech-line li + li::before{
  content:''; position:absolute; left:-2px; top:50%; width:4px; height:4px; margin-top:-2px;
  border-radius:50%; background:var(--gold);
}

/* ---- Forfaits ---- */
.packages{ background:var(--cream); }
.packages-head{ max-width:600px; margin:0 auto 56px; text-align:center; }
.packages-head .eyebrow{ justify-content:center; color:var(--gold); }
.packages-head .eyebrow::before{ background:var(--gold); }
.packages-head h2{ font-size:clamp(32px,4vw,46px); line-height:1.1; }
.packages-head p{ margin-top:16px; color:var(--ink-soft); font-size:16.5px; }

.packages-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.pkg{
  display:flex; flex-direction:column;
  background:var(--white); border:1px solid var(--line-soft);
  border-radius:var(--radius-lg); padding:34px 32px 30px;
  transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.pkg:hover{ transform:translateY(-6px); box-shadow:0 24px 50px -24px rgba(30,26,25,.28); }
.pkg-top{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:26px; }
.pkg-kicker{ font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-soft); }
.pkg-save{
  font-size:11px; font-weight:600; letter-spacing:.06em; white-space:nowrap;
  padding:5px 10px; border-radius:40px; color:var(--gold); border:1px solid rgba(173,138,85,.45);
}
.pkg h3{ font-size:30px; line-height:1.1; }
.pkg-sessions{ display:block; margin-top:6px; font-size:14px; color:var(--ink-soft); }
.pkg-price{
  display:flex; align-items:baseline; gap:12px; flex-wrap:wrap;
  margin:26px 0 18px; padding:22px 0; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
}
.pkg-price strong{
  font-family:var(--font-display); font-weight:500; font-size:44px; line-height:1;
  font-variation-settings:'opsz' 11;
}
.pkg-price s{ font-size:15px; color:var(--ink-soft); text-decoration-color:rgba(30,26,25,.4); }
.pkg-from{ flex-basis:100%; margin-bottom:-4px; font-size:11.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-soft); }
.pkg--dark .pkg-from{ color:rgba(247,243,236,.6); }
.pkg-price .pkg-range{ font-size:13.5px; color:var(--ink-soft); }
.pkg p{ color:var(--ink-soft); font-size:15px; line-height:1.7; flex:1; }
.pkg-actions{ display:flex; align-items:center; gap:22px; margin-top:28px; }
.pkg-more{
  font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; font-weight:500;
  border-bottom:1px solid currentColor; padding-bottom:3px;
}
.pkg-more:hover{ color:var(--gold); }

.pkg--dark{ background:var(--charcoal); border-color:var(--charcoal); color:var(--cream); }
.pkg--dark h3, .pkg--dark .pkg-price strong{ color:var(--cream); }
.pkg--dark .pkg-kicker, .pkg--dark .pkg-sessions, .pkg--dark p{ color:rgba(247,243,236,.7); }
.pkg--dark .pkg-price{ border-color:rgba(247,243,236,.14); }
.pkg--dark .pkg-price s{ color:rgba(247,243,236,.55); text-decoration-color:rgba(247,243,236,.45); }
.pkg--dark .pkg-save{ color:var(--stone); border-color:rgba(247,243,236,.3); }
.pkg--dark .pkg-more{ color:var(--cream); }
.btn-light{ background:var(--cream); border-color:var(--cream); color:var(--charcoal); }
.btn-light:hover{ background:var(--stone); border-color:var(--stone); color:var(--charcoal); }
.packages-note{ margin-top:28px; text-align:center; font-size:12.5px; color:var(--ink-soft); letter-spacing:.03em; }

/* ---- Founder (about) ---- */
.about .values{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:26px 0 0; padding:0; }
.about .values li{
  font-size:12.5px; letter-spacing:.06em; padding:7px 14px; border-radius:40px;
  border:1px solid rgba(247,243,236,.22); color:rgba(247,243,236,.85);
}
.founder-sign{ display:flex; flex-direction:column; gap:4px; margin-top:32px; padding-left:18px; border-left:1px solid var(--gold); }
.sig-name{
  font-family:var(--font-display); font-style:italic; font-size:28px; color:var(--cream);
  font-variation-settings:'opsz' 11; line-height:1.15;
}
.sig-role{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:rgba(247,243,236,.6); }
.founder-col{ max-width:460px; justify-self:end; width:100%; }
.founder-visual{ width:100%; }

/* ---- Founder photo slider ---- */
.photo-slider{ position:relative; isolation:isolate; background:#2a2624; }
.ps-slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.08);
  transition:opacity 1.4s ease, transform 7s ease-out;
}
.ps-slide.is-active{ opacity:1; transform:scale(1); }
.ps-nav{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  margin-top:34px; padding-left:4px;
}
.ps-caption{ display:flex; align-items:baseline; gap:12px; min-width:0; }
.ps-count{ font-family:var(--font-display); font-size:13px; color:var(--gold); letter-spacing:.06em; font-variation-settings:'opsz' 11; }
.ps-caption em{
  font-family:var(--font-display); font-style:italic; font-size:20px; color:var(--cream);
  font-variation-settings:'opsz' 11; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:opacity .35s ease;
}
.ps-caption.is-changing em, .ps-caption.is-changing .ps-count{ opacity:0; }
.ps-bars{ display:flex; gap:6px; flex-shrink:0; }
.ps-bar{ position:relative; width:30px; height:14px; padding:0; background:none; border:none; }
.ps-bar::before, .ps-bar span{ content:''; position:absolute; left:0; top:50%; height:1px; margin-top:-.5px; }
.ps-bar::before{ right:0; background:rgba(247,243,236,.22); }
.ps-bar span{ width:0; background:var(--cream); }
.ps-bar.is-done span{ width:100%; }
.ps-bar.is-active span{ animation:psFill var(--ps-ms, 5000ms) linear forwards; }
.ps-nav.is-paused .ps-bar.is-active span{ animation-play-state:paused; }
@keyframes psFill{ from{ width:0; } to{ width:100%; } }
@media (prefers-reduced-motion:reduce){
  .ps-slide{ transition:opacity .4s ease; transform:none; }
  .ps-bar.is-active span{ animation:none; width:100%; }
}
.founder-badge{
  position:absolute; left:-28px; bottom:40px; z-index:2;
  display:flex; flex-direction:column; gap:6px; max-width:230px;
  background:var(--cream); color:var(--ink);
  padding:15px 20px; border-radius:var(--radius-lg); border-left:2px solid var(--gold);
  box-shadow:0 18px 40px rgba(0,0,0,.3);
  font-size:12px; letter-spacing:.06em; line-height:1.5;
}

/* ---- Training ---- */
.training{ background:var(--white); }
.training-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:center; }
.training-visual{ position:relative; }
.training-visual img{
  width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:var(--radius-lg);
  box-shadow:0 30px 60px -28px rgba(30,26,25,.35);
}
.training-badge{
  position:absolute; right:-24px; top:40px;
  background:var(--charcoal); color:var(--cream);
  padding:18px 22px; border-radius:var(--radius-lg); max-width:170px;
  box-shadow:0 18px 40px rgba(30,26,25,.25);
}
.training-badge strong{ display:block; font-family:var(--font-display); font-weight:500; font-size:36px; line-height:1; font-variation-settings:'opsz' 11; }
.training-badge span{ display:block; margin-top:8px; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:rgba(247,243,236,.7); line-height:1.5; }
.training-copy h2{ font-size:clamp(32px,3.8vw,46px); line-height:1.1; }
.training-copy > p{ margin-top:18px; color:var(--ink-soft); font-size:16.5px; line-height:1.75; max-width:52ch; }

.programs{ list-style:none; margin:34px 0 0; padding:0; border-top:1px solid var(--line); }
.programs li{ border-bottom:1px solid var(--line); }
.program{
  display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:22px;
  padding:22px 4px; transition:padding .3s ease, background .3s ease;
}
.program:hover{ background:var(--cream); padding-left:14px; padding-right:14px; }
.program-n{ font-family:var(--font-display); font-size:15px; color:var(--gold); font-variation-settings:'opsz' 11; }
.program-main{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.program-title{ font-family:var(--font-display); font-size:23px; line-height:1.2; font-variation-settings:'opsz' 11; }
.program-meta{ font-size:13px; color:var(--ink-soft); letter-spacing:.02em; }
.program-price{ font-size:14px; font-weight:600; white-space:nowrap; }
.program-arr{ width:18px; height:9px; color:var(--gold); transition:transform .3s ease; }
.program:hover .program-arr{ transform:translateX(4px); }
.training-actions{ display:flex; align-items:center; flex-wrap:wrap; gap:16px 26px; margin-top:34px; }
.training-note{ font-size:12.5px; color:var(--ink-soft); letter-spacing:.04em; }

/* ---- Practical info in the booking banner ---- */
.cta-info{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr));
  max-width:820px; margin:36px auto 0;
  border-top:1px solid rgba(247,243,236,.14); border-bottom:1px solid rgba(247,243,236,.14);
}
.cta-info > div{ padding:24px 20px; }
.cta-info > div + div{ border-left:1px solid rgba(247,243,236,.14); }
.cta-label{
  display:block; margin-bottom:8px;
  font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--rose);
}
.cta-banner .cta-info a, .cta-banner .cta-info p{ margin:0; font-size:15px; line-height:1.6; color:var(--cream); }
.cta-banner .cta-info a:hover{ color:var(--stone); }

/* ---- Responsive ---- */
@media (max-width:980px){
  .packages-grid{ grid-template-columns:1fr; max-width:520px; margin:0 auto; }
  .training-grid{ grid-template-columns:1fr; gap:56px; }
  .training-visual{ max-width:520px; margin-right:24px; }
}
@media (max-width:820px){
  .founder-col{ justify-self:start; max-width:420px; margin-left:24px; width:calc(100% - 24px); }
}
@media (max-width:640px){
  .tech-line{ gap:16px; margin-top:44px; }
  .tech-line li{ font-size:19px; padding:0 14px; }
  .pkg{ padding:28px 24px 26px; }
  .pkg-price strong{ font-size:38px; }
  .program{ grid-template-columns:auto 1fr; gap:6px 14px; }
  .program-price{ grid-column:2; font-size:13px; color:var(--gold); }
  .program-arr{ display:none; }
  .program-title{ font-size:20px; }
  .cta-info{ grid-template-columns:1fr; }
  .cta-info > div + div{ border-left:none; border-top:1px solid rgba(247,243,236,.14); }
  .training-badge{ right:-16px; top:24px; padding:14px 16px; }
  .founder-badge{ left:-18px; bottom:24px; }
}

.about h2{ line-height:1.15; }
@media (max-width:820px){
}
@media (max-width:640px){
  .about-figures{ gap:26px; }
  .about-figures div strong{ font-size:26px; }
  .training-visual{ margin-right:16px; }
}
.founder-col{ min-width:0; }
@media (max-width:820px){ .about-grid{ grid-template-columns:minmax(0,1fr); } }
@media (max-width:640px){ .ps-caption em{ font-size:17px; } .ps-bar{ width:20px; } }

/* ==========================================================================
   DARK VARIANT (index-dark.html)
   - Header is always black: solid at the top, translucent once scrolled
   - Hero box is black at 80% opacity
   ========================================================================== */
.site-header{
  background:#0E0D0C;
  border-bottom-color:rgba(251,247,243,0.08);
  transition:background-color .35s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{
  background:rgba(14,13,12,0.82);
  box-shadow:0 8px 28px rgba(0,0,0,0.25);
}
@media (max-width:900px){
  .site-header{ background:#0E0D0C; }
  .site-header.is-scrolled{ background:rgba(14,13,12,0.88); }
}

/* black logo → light logo on the dark bar */
.logo-img{ filter:invert(1) brightness(1.6); }

/* desktop links on the dark bar (dropdown panel stays cream with dark text) */
@media (min-width:901px){
  .nav-links > li > a,
  .dropdown-toggle{ color:var(--cream); }
  .nav-links > li > a::after{ background:var(--stone); }
}
.site-header .lang-toggle{ border-color:rgba(251,247,243,0.25); }
.site-header .lang-toggle button{ color:rgba(251,247,243,0.7); }
.site-header .lang-toggle button.active{ background:var(--cream); color:var(--charcoal); }
.header-actions .btn-ghost{ border-color:rgba(251,247,243,0.6); color:var(--cream); }
.header-actions .btn-ghost:hover{ background:var(--cream); color:var(--charcoal); }
.header-actions .btn-primary{ background:var(--cream); border-color:var(--cream); color:var(--charcoal); }
.header-actions .btn-primary:hover{ background:var(--stone); border-color:var(--stone); color:var(--charcoal); }

/* hamburger is light on the dark bar; the X stays dark over the cream menu panel */
.nav-toggle:not(.is-open) span{ background:var(--cream); }

/* ---- Hero box: black, 80% ---- */
.hero-box{
  background:rgba(10,9,8,0.8);
  border-color:rgba(255,255,255,0.18);
}
/* the dark button would disappear on the black box → light button instead */
.hero-box .btn-primary{ background:var(--cream); border-color:var(--cream); color:var(--charcoal); }
.hero-box .btn-primary:hover{ background:var(--stone); border-color:var(--stone); color:var(--charcoal); }

/* small phones: header is shorter here, so close the gap under it */
@media (max-width:520px){
  body{ padding-top:79px; }
  .hero-slider{ height:calc(100vh - 79px); height:calc(100svh - 79px); }
}

/* ==========================================================================
   VERSION 2 (index2.html) — black header, light beige accents
   - Beige lightened to #D4C8B3 (was #C2B299)
   - Logo is a ready-coloured file (assets/logo-beige.png): no CSS colour
     filter, so it looks the same on iPhone/Safari as on a computer
   - Hero description text stays white
   ========================================================================== */
:root{
  --beige:       #D4C8B3;
  --beige-hover: #E3DACB;
  --beige-soft:  rgba(212,200,179,0.85);
  --beige-line:  rgba(212,200,179,0.45);
}

/* ---- Logo: already beige in the file, so cancel the inherited white filter ---- */
.logo-img, .footer-logo-img{ filter:none; }

/* ---- Menu links ---- */
@media (min-width:901px){
  .nav-links > li > a,
  .dropdown-toggle{ color:var(--beige); }
  .nav-links > li > a:hover, .dropdown-toggle:hover{ color:var(--beige-hover); }
  .nav-links > li > a::after{ background:var(--beige); }
}
.site-header .lang-toggle{ border-color:var(--beige-line); }
.site-header .lang-toggle button{ color:var(--beige-soft); }
.site-header .lang-toggle button.active{ background:var(--beige); color:var(--charcoal); }
.header-actions .btn-ghost{ border-color:var(--beige-line); color:var(--beige); }
.header-actions .btn-ghost:hover{ background:var(--beige); border-color:var(--beige); color:var(--charcoal); }
.header-actions .btn-primary{ background:var(--beige); border-color:var(--beige); color:var(--charcoal); }
.header-actions .btn-primary:hover{ background:var(--beige-hover); border-color:var(--beige-hover); color:var(--charcoal); }
.nav-toggle:not(.is-open) span{ background:var(--beige); }

/* ---- Hero box: titles in beige, description in white ---- */
.hero-box{ border-color:var(--beige-line); }
.hero-box .script-tag{ color:var(--beige-soft); }
.hero-box h1{ color:var(--beige); }
.hero-box .hero-sub{ color:rgba(255,255,255,0.88); }
.hero-box .btn-primary{ background:var(--beige); border-color:var(--beige); color:var(--charcoal); }
.hero-box .btn-primary:hover{ background:var(--beige-hover); border-color:var(--beige-hover); color:var(--charcoal); }
.hero-box .btn-ghost{ border-color:var(--beige); color:var(--beige); }
.hero-box .btn-ghost:hover{ background:var(--beige); color:var(--charcoal); }
.slide-dots .dot{ border-color:var(--beige-soft); }
.slide-dots .dot.active{ background:var(--beige); }
