:root{
  --bg:#f6f1ea;
  --surface:#ffffff;
  --surface-2:#fbf7f2;

  --text:#141414;
  --muted:#6f655d;

  --beige:#c7b29f;
  --beige-2:#d8c7b6;

  --line: rgba(20,20,20,.12);
  --line-soft: rgba(20,20,20,.08);

  --topbar:#3A231D;
  --topbarH:52px;

  --container:1120px;

  --shadow:0 18px 60px rgba(0,0,0,.08);
  --shadow-soft:0 12px 30px rgba(0,0,0,.06);

  --ease:cubic-bezier(.2,.8,.2,1);

  --font-sans:"Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* =========================
   RESET / BASE
========================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  padding:0;
  font-family:var(--font-sans);
  font-weight:300;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(199,178,159,.22), transparent 60%),
    var(--bg);
  overflow-x:hidden;
}

h1, h2, h3,
.hero-title,
.section-title,
.about-title,
.meet-title,
.modal__title{
  font-family:var(--font-sans);
  font-weight:300;
  letter-spacing:.12em;
  text-transform:uppercase;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
strong{ font-weight:700; }
p{ letter-spacing:.01em; }

.container{
  width:min(var(--container), 92%);
  margin-inline:auto;
}

/* SQUARE HARD RESET (sauf exceptions marquées !important) */
*, *::before, *::after{ border-radius:0 !important; }

/* =========================
   BUTTONS / UI
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;

  font-family:var(--font-sans);
  font-weight:600;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;

  padding:12px 18px;
  border:1px solid transparent;

  transition:
    background .18s var(--ease),
    border-color .18s var(--ease),
    color .18s var(--ease),
    box-shadow .18s var(--ease),
    opacity .18s var(--ease);
}
.btn:hover{ opacity:.9; }

.btn-solid{
  background:#111;
  color:#fff;
}
.btn-solid:hover{ background:#000; }

.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.75);
  color:#fff;
}
.btn-outline:hover{
  background:#fff;
  color:#000;
  border-color:#fff;
}

.btn-outline-black{
  background:transparent;
  border-color:rgba(20,20,20,.18);
  color:var(--text);
}
.btn-outline-black:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}

.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border:1px solid var(--line-soft);
  background:rgba(255,255,255,.78);
  color:#2a2a2a;
  text-decoration:none;
  transition: opacity .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.icon-btn:hover{
  opacity:.85;
  border-color:rgba(20,20,20,.22);
  background:#fff;
}

/* =========================
   HEADER (Topbar + Main)
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:#fff;
}

/* TOPBAR */
.topbar{
  background:var(--topbar);
  color:#fff;
}
.topbar-row{
  height:var(--topbarH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.topbar-left,
.topbar-right{
  display:flex;
  align-items:center;
  gap:18px;
}

/* Fix: icônes alignées + visibles sur mobile */
.topbar-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.topbar-social,
.topbar-phone,
.topbar-cta{
  color:#fff;
  text-decoration:none;
  font-family:var(--font-sans);
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.topbar-social{ letter-spacing:.04em; opacity:.95; }
.topbar-social:hover{ opacity:.8; }

.topbar-cta{
  font-weight:800;
  font-size:12px;
  letter-spacing:.14em;
  padding:10px 16px;
  border:1px solid rgba(255,255,255,.85);
}
.topbar-cta:hover{ background:rgba(255,255,255,.12); }

/* HEADER MAIN */
.header-main{
  position:relative;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.10);
}

.header-grid{
  position:relative;
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

/* NAV */
.nav{
  display:flex;
  align-items:center;
  gap:36px;
  font-family:var(--font-sans);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.nav a{
  color:rgba(0,0,0,.85);
  text-decoration:none;
  padding:10px 0;
  position:relative;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:2px;
  height:1px;
  background:rgba(0,0,0,.25);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s var(--ease);
}
.nav a:hover::after{ transform:scaleX(1); }

.nav-left{ justify-self:start; }
.header-right{
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
}

/* LOGO PNG — centré */
.logo{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  z-index:2;
}
.logo img{
  height:54px;
  width:auto;
  display:block;
}

/* Burger — visible partout (desktop + mobile) */
.burger{
  width:32px;
  height:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:none;
  border:none;
  cursor:pointer;
}
.burger span{
  display:block;
  height:3px;
  width:100%;
  background-color:#3A231D;
  border-radius:2px;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
}
.burger.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav (IMPORTANT: ne jamais forcer display:block en responsive)
   On laisse l'attribut [hidden] gérer l'ouverture via JS */
/* Le header doit laisser déborder le menu */
.header-main{ overflow: visible; }

/* Menu en overlay (ne pousse plus le contenu) */
.mobile-nav{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:9999;

  background:#fff;
  border-top:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 60px rgba(0,0,0,.08);
  padding:18px 0;
}

/* Géré uniquement par l'attribut hidden (JS) */
.mobile-nav[hidden]{ display:none !important; }

/* Alignement propre des liens */
.mobile-nav-inner{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.mobile-nav a{
  display:block;
  padding:10px 0;
  text-decoration:none;
  color:#111;
  font-family:var(--font-sans);
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:11px;
  text-align: center;
}

/* boutons en pleine largeur sur mobile */
@media (max-width:760px){
  .mobile-nav .btn{ width:100%; }
}


/* =========================
   HERO — Clinique (BG SLIDER + filtre noir 60%)
========================= */
.hero.hero--clinique{
  position:relative;
  overflow:hidden;
  min-height:78vh;
}

/* Background container */
.hero.hero--clinique .hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  background-image:url("assets/hero.png"); /* image 1 */
  background-size:cover;
  background-position:center;
  transform:scale(1.05);
}

/* Layers (images qui défilent) */
.hero.hero--clinique .hero-bg::before,
.hero.hero--clinique .hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  animation:heroBgFade 18s infinite ease-in-out;
  will-change:opacity, transform;
}

/* image 2 */
.hero.hero--clinique .hero-bg::before{
  background-image:url("assets/hero3.jpg");
  animation-delay:4s;
}

/* image 3 */
.hero.hero--clinique .hero-bg::after{
  background-image:url("assets/hero2.jpg");
  animation-delay:8s;
}

/* Filtre noir 60% */
.hero.hero--clinique::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:1;
  pointer-events:none;
}

/* Le contenu au-dessus */
.hero-overlay{
  position:relative;
  z-index:2;
  min-height:78vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:90px 0 70px;
}

/* Animation : léger zoom + fade */
@keyframes heroBgFade{
  0%   { opacity:0; transform:scale(1.06); }
  10%  { opacity:1; transform:scale(1.02); }
  30%  { opacity:1; transform:scale(1.00); }
  40%  { opacity:0; transform:scale(1.02); }
  100% { opacity:0; transform:scale(1.06); }
}

@media (prefers-reduced-motion: reduce){
  .hero.hero--clinique .hero-bg::before,
  .hero.hero--clinique .hero-bg::after{
    animation:none;
    opacity:0;
  }
}

.hero-center{
  text-align:center;
  color:#fff;
  max-width:980px;
}

.hero-kicker{
  margin:0 0 12px 0;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:700;
  font-size:12px;
  opacity:.95;
}

.hero-title--spaced{
  margin:0;
  font-family:var(--font-sans);
  font-weight:600;
  font-size:clamp(25px, 4.2vw, 38px);
  letter-spacing:.18em;
  text-transform:uppercase;
  text-shadow:0 10px 30px rgba(0,0,0,.35);
}

.hero-subtitle--script{
  margin:14px 0 18px 0;
  font-family:var(--font-sans);
  font-weight:500;
  font-size:clamp(15px, 1.7vw, 20px);
  opacity:.95;
}

.hero-divider{
  display:block;
  width:min(560px, 86%);
  height:1px;
  margin:0 auto 18px auto;
  background:rgba(255,255,255,.60);
}

.hero-desc{
  margin:0;
  font-family:var(--font-sans);
  font-weight:400;
  font-size:15px;
  line-height:1.9;
  opacity:.95;
}

.hero-actions{
  margin-top:26px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.hero-actions .btn{
  border:1px solid rgba(255,255,255,.75);
  background:transparent;
  color:#fff;
  padding:12px 16px;
  font-family:var(--font-sans);
  font-weight:800;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.hero-actions .btn:hover{ background:rgba(255,255,255,.12); }

.hero-scroll{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  z-index:2;
}
.hero-scroll:hover{ background:rgba(0,0,0,.28); }

/* =========================
   SECTIONS (génériques)
========================= */
.section{ padding:82px 0; }

.section-title{
  text-align:center;
  font-size:clamp(26px, 3.2vw, 44px);
  margin:0 0 10px 0;
  font-weight:600;
}

.section-subtitle{
  text-align:center;
  margin:0 auto 36px auto;
  max-width:760px;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

/* =========================
   ABOUT
========================= */
.about{ padding-top:90px; }

.about-grid{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:56px;
  align-items:center;
}

.about-media img{
  width:100%;
  box-shadow:0 18px 40px rgba(0,0,0,.10);
}

.about-kicker{
  margin:0 0 14px 0;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(20,20,20,.55);
  line-height:1.6;
  font-weight:600;
}

.about-title{
  margin:0 0 14px 0;
  font-size:clamp(26px, 3vw, 44px);
  font-weight:600;
}

.about-text{
  margin:0 0 14px 0;
  color:rgba(20,20,20,.78);
  line-height:1.85;
  font-size:16px;
}

/* =========================
   BAND
========================= */
.band{
  position:relative;
  padding:92px 0;
  overflow:hidden;
}
.band-bg{ position:absolute; inset:-40px; }
.band-inner{
  position:relative;
  z-index:1;
  max-width:980px;
  margin:0 auto;
  text-align:center;
}
.band-quote{
  margin:0 0 16px 0;
  font-size:clamp(24px, 3vw, 38px);
  line-height:1.25;
  font-weight:600;
  color:#fff;
}
.band-subtext{
  margin:0 auto;
  max-width:820px;
  font-size:16px;
  line-height:1.8;
  color:#fff;
}

/* =========================
   SERVICES — Médaillons ronds (exception au square)
========================= */
.services.services--round .cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:26px;
}

.services .card{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:22px 18px 20px 18px;
  text-align:center;
}

.services.services--round .card-media{
  width:160px;
  height:160px;
  margin:0 auto 18px auto;
  border-radius:999px !important;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  box-shadow:0 12px 30px rgba(0,0,0,.10);
}

.services.services--round .card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:999px !important;
  transform:scale(1.05);
}

.services .card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:0 !important;
}

.services.services--round .card h3{
  margin:0 0 10px 0;
  font-size:18px;
  letter-spacing:.02em;
  font-weight:600;
}

.services.services--round .card p{
  margin:0 0 14px 0;
  font-size:14px;
  line-height:1.7;
  color:rgba(0,0,0,.70);
}

.services.services--round .card .btn{
  margin-top:auto;
}

.services.services--round .card-accent{
  background:rgba(199,178,159,.18);
  border-color:rgba(199,178,159,.35);
}

/* =========================
   MODAL
========================= */
.modal{ position:fixed; inset:0; display:none; z-index:999; }
.modal.is-open{ display:block; }
.modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.55); }

.modal__panel{
  position:relative;
  width:min(760px, 92%);
  margin:8vh auto;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(20,20,20,.10);
  box-shadow:0 32px 90px rgba(0,0,0,.22);
  padding:24px 22px 20px 22px;
  text-align:left;
}

.modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:44px;
  height:44px;
  border:1px solid rgba(20,20,20,.10);
  background:rgba(255,255,255,.9);
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.modal__title{ margin:0 0 12px 0; font-size:30px; font-weight:600; }
.modal__text{ margin:0 0 12px 0; color:rgba(20,20,20,.78); line-height:1.8; font-size:15px; }
.modal__list{ margin:12px 0 18px 18px; padding:0; color:rgba(20,20,20,.78); line-height:1.8; font-size:15px; }
.modal__actions{ display:flex; justify-content:flex-start; gap:10px; flex-wrap:wrap; margin-top:10px; }

/* =========================
   MEET
========================= */
.meet-screenshot{ background:transparent; padding:0; }

.meet-wrap{
  width:min(1320px, 96%);
  margin:0 auto;
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:64px;
  align-items:stretch;
  padding:54px 0;

  background:rgba(255,255,255,.78);
  border:1px solid rgba(20,20,20,.08);
  box-shadow:var(--shadow-soft);
}

.meet-photo{ margin:0; padding:18px; }
.meet-photo img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
}

.meet-text{ display:flex; flex-direction:column; padding:40px 34px 34px 0; }
.meet-title{ font-size:clamp(26px, 3vw, 44px); line-height:1.1; font-weight:600; margin:0 0 18px 0; }
.meet-kicker{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:600;
  font-size:12px;
  margin:0 0 18px 0;
  color:rgba(199,178,159,.95);
}
.meet-kicker.light{ color:rgba(20,20,20,.45); margin-bottom:18px; }
.meet-desc{ font-size:16px; line-height:1.85; color:rgba(20,20,20,.78); margin:0 0 14px 0; }
.meet-cta{ margin-top:auto; padding-top:22px; }

/* =========================
   FORM
========================= */
.form-title{
  text-align:center;
  font-size:clamp(24px, 3vw, 40px);
  font-weight:600;
  margin:0 0 26px 0;
}

.contact__form{
  width:min(860px, 100%);
  margin:0 auto;
  background:#C69D84;
  border:1px solid rgba(20,20,20,.08);
  padding:26px;
  box-shadow:var(--shadow-soft);
}
.contact__form .btn{ display:inline-flex; margin:1.6rem auto 0; }

.form__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.form__grid label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#fff;
}

.form__grid .full{ grid-column:1 / -1; }

.field{
  width:100%;
  border:1px solid rgba(20,20,20,.12);
  padding:13px 14px;
  font-family:var(--font-sans);
  font-size:14px;
  outline:none;
  background:rgba(255,255,255,.92);
  transition:border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field:focus{
  border-color:rgba(199,178,159,.85);
  box-shadow:0 0 0 4px rgba(199,178,159,.18);
}
.field--textarea{ resize:vertical; }

.form__note{
  text-align:center;
  margin:14px 0 0 0;
  color:rgba(20,20,20,.52);
  font-size:12px;
}

/* =========================
   INSTAGRAM
========================= */
.insta{
  background:transparent;
  padding:54px 0 30px 0;
  margin-top:28px;
}

.insta-title{
  text-align:center;
  margin:0 0 18px 0;
  color:var(--text);
  font-size:clamp(22px, 3vw, 40px);
  letter-spacing:.02em;
  font-weight:600;
}

.insta-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:12px;
}

.insta-grid img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  background:#fff;
  border:1px solid rgba(20,20,20,.08);
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}

/* =========================
   FOOTER
========================= */
.footer{
  border-top:1px solid rgba(20,20,20,.10);
  padding:26px 0;
  background:rgba(255,255,255,.78);
}

.footer-row{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.footer-links a{
  color:rgba(20,20,20,.72);
  text-decoration:none;
  padding:6px 10px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.footer-links a:hover{
  background:rgba(0,0,0,.06);
  color:rgba(20,20,20,1);
}

.footer-bottom{
  border-top:1px solid rgba(20,20,20,.08);
  margin-top:18px;
  padding-top:14px;
  text-align:center;
}

.footer-bottom p{
  margin:0;
  font-size:12px;
  color:rgba(20,20,20,.55);
}

/* =========================
   FAQ (Accordion)
========================= */
.faq .section-title{ margin-bottom:10px; color:#fff; }
.faq .section-subtitle{ color:#fff; }

.faq-list{
  margin-top:26px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:var(--shadow-soft);
}

.faq-item{ border-top:1px solid rgba(0,0,0,.10); }
.faq-item:first-child{ border-top:0; }

.faq-q{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:22px 22px;
  cursor:pointer;

  font-family:var(--font-sans);
  font-weight:700;
  font-size:13px;
  letter-spacing:.10em;
  text-transform:uppercase;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.faq-q:focus{
  outline:none;
  box-shadow: inset 0 0 0 2px rgba(199,178,159,.55);
}

.faq-icon{
  position:relative;
  width:26px;
  height:26px;
  flex:0 0 26px;
}

.faq-icon::before,
.faq-icon::after{
  content:"";
  position:absolute;
  inset:50% 0 auto 0;
  height:2px;
  background:rgba(177,108,76,1);
  transform:translateY(-50%);
}

.faq-icon::after{
  width:2px;
  height:100%;
  left:50%;
  right:auto;
  transform:translate(-50%, -50%);
}

.faq-q[aria-expanded="true"] .faq-icon::after{ opacity:0; }

.faq-a{
  padding:0 22px 20px 22px;
  color:rgba(20,20,20,.78);
  line-height:1.85;
  font-size:15px;
}
.faq-a p{ margin:0; }

/* Fix liens FAQ (iOS bleu) */
.faq a,
.faq a:visited,
.faq a:hover,
.faq a:active{
  color: inherit !important;
  text-decoration: underline;
  -webkit-text-fill-color: inherit;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1100px){
  .services.services--round .cards{ grid-template-columns:repeat(2, 1fr); }
  .insta-grid{ grid-template-columns:repeat(3, 1fr); }
}

@media (max-width:980px){
  .about-grid{
    grid-template-columns:1fr;
    gap:26px;
    padding:26px;
  }

  .meet-wrap{
    grid-template-columns:1fr;
    gap:22px;
    padding:18px;
  }
  .meet-text{ padding:10px 12px 18px 12px; }
  .meet-photo{ padding:12px; }
  .meet-photo img{ min-height:360px; }

  /* Si tu veux masquer la nav desktop sur mobile */
  .nav-left, .nav-right{ display:none !important; }

  /* Burger un peu plus “tappable” */
  .burger{
    width:44px;
    height:44px;
    padding:10px;
    justify-content:center;
    gap:6px;
  }
  .burger span{ height:2px; }
}

@media (max-width:760px){
  .topbar-row{ height:48px; }

  /* IMPORTANT: on garde Insta + Facebook sur mobile */
  .topbar-left a{ display:inline-flex; }
  .topbar-left a:nth-child(n+3){ display:none; }

  .hero-title--spaced{ letter-spacing:.10em; }

  .form__grid{ grid-template-columns:1fr; }
  .insta-grid{ grid-template-columns:repeat(2, 1fr); }

  .services.services--round .cards{ grid-template-columns:1fr; }
  .services.services--round .card-media{ width:140px; height:140px; }

  .faq-q{
    padding:18px 16px;
    font-size:12px;
    letter-spacing:.08em;
  }
  .faq-a{ padding:0 16px 18px 16px; }

  .mobile-nav:not([hidden]){ text-align:center; }
}
