/* ==========================================================================
   Cliché Optique — v8
   Vitrine épurée : fond clair, grille nette, peu d'effets.
   Palette : noir #161514 · ivoire #F2ECDF · rouge #B3341F (accent) · gris #8C8578
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, aucun appel à Google) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/work-sans-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  --noir: #161514;
  --ivoire: #f2ecdf;
  --papier: #faf8f3;
  --rouge: #b3341f;
  --gris: #8c8578;
  --texte-2: #5f5a50;          /* gris lisible sur fond clair (contraste > 5:1) */
  --clair-sur-noir: #b7b0a2;   /* texte secondaire sur fond noir */
  --ligne: rgba(22, 21, 20, 0.14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: hidden;
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--noir);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; }

:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--noir);
  color: var(--papier);
  padding: 12px 18px;
  font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin: 0 0 18px;
  font: 500 12px/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texte-2);
}
.eyebrow--light { color: var(--gris); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--noir);
  font: 500 14px/1 var(--sans);
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--dark { background: var(--noir); color: var(--papier); }
.btn--line { background: transparent; color: var(--noir); }
.btn--light { background: var(--ivoire); color: var(--noir); border-color: var(--ivoire); }
.btn--ghost { background: transparent; color: var(--ivoire); border-color: rgba(242, 236, 223, 0.55); }
.btn:active { opacity: 0.85; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- Bandeau du haut ---------- */
.topbar {
  background: var(--noir);
  color: var(--ivoire);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topbar p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  padding: 11px var(--gutter);
  text-align: center;
}
.topbar span + span::before {
  content: "·";
  margin: 0 16px;
  color: var(--gris);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--papier);
  border-bottom: 1px solid var(--ligne);
}
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  height: var(--nav-h);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  font: 500 21px/1 var(--serif);
  letter-spacing: 0.16em;
}
.logo svg { width: 9px; height: 9px; margin-top: -1px; }
.logo--light { color: var(--ivoire); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  font-size: 14px;
}
.nav__aux { display: none; }   /* WhatsApp et dossier : uniquement dans le menu mobile */
.nav__links a:not(.btn):not(.aux) { position: relative; padding: 6px 0; }
.nav__links a:not(.btn):not(.aux)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links a:not(.btn):not(.aux):hover::after { transform: scaleX(1); }

.nav__back { font-size: 14px; color: var(--texte-2); }
.nav__back:hover { color: var(--noir); }

.burger {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--noir);
  transition: transform 0.3s ease;
}
.menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--top-tight { padding-top: clamp(8px, 2vw, 24px); }
.section--tight { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 96px); }
.section--ivoire { background: var(--ivoire); }

.section__head { margin-bottom: clamp(28px, 4vw, 52px); }
.section__head--split { display: grid; gap: 20px; }
.section__intro { max-width: 34em; font-size: 17px; color: var(--texte-2); }

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(56px, 7vw, 104px); }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero__text { max-width: 640px; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.hero h1 em {
  display: block;
  margin-top: 0.1em;
  font-style: italic;
  font-weight: 300;
  color: var(--texte-2);
}
.lede {
  max-width: 30em;
  margin: 26px 0 32px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--texte-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__prices {
  display: flex;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--ligne);
}
.hero__prices > div { flex: 1 1 0; padding-top: 18px; }
.hero__prices > div + div { padding-left: 24px; border-left: 1px solid var(--ligne); }
.hero__prices dt { font-size: 13px; color: var(--texte-2); }
.hero__prices dd { margin-top: 2px; font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivoire);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
.hero__media figcaption {
  position: absolute;
  left: 16px; bottom: 14px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivoire);
}

/* ---------- Tuiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(12px, 1.6vw, 20px);
}
.tile { display: block; }
.tile__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivoire);
}
.tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.tile__meta { display: block; padding-top: 14px; }
.tile__who {
  display: block;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texte-2);
}
.tile__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font: 400 clamp(18px, 1.9vw, 24px)/1.2 var(--serif);
}
.tile__price { display: block; margin-top: 4px; font-size: 14px; color: var(--texte-2); }
.tile .arrow { flex: none; width: 18px; height: 18px; transition: transform 0.3s ease; }

/* ---------- Prix ---------- */
.group {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  margin: clamp(44px, 6vw, 72px) 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--noir);
}
.section__head + .group { margin-top: 0; }
.group__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.group__sub { font-size: 14px; color: var(--texte-2); }

.plans { display: grid; gap: clamp(12px, 1.6vw, 20px); }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--papier);
  border: 1px solid var(--ligne);
}
.plan--featured { border-color: var(--noir); box-shadow: 0 0 0 1px var(--noir); }
.plan__tag {
  position: absolute;
  top: 0; right: 24px;
  transform: translateY(-50%);
  padding: 7px 10px;
  background: var(--rouge);
  color: var(--papier);
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan__name { font-size: 28px; line-height: 1.15; }
.plan__for { margin-top: 6px; font-size: 15px; color: var(--texte-2); }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ligne);
}
.plan__from { font-size: 14px; color: var(--texte-2); }
.plan__amount { font: 400 clamp(44px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -0.02em; }
.plan__tax { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texte-2); }

.checks { display: grid; gap: 12px; margin-bottom: 32px; flex: 1 1 auto; align-content: start; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; }
.checks li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.3em;
  width: 6px; height: 11px;
  border: solid var(--noir);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(40deg);
}

.plan .checks { margin-bottom: 0; }

/* Bloc « Offert » sous chaque groupe de formules */
.offert {
  margin-top: clamp(12px, 1.6vw, 20px);
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 36px);
  border: 1px solid var(--ligne);
}
.offert__label {
  margin-bottom: 16px;
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rouge);
}
.offert .checks { margin: 0; flex: none; }
.checks--cols { grid-template-columns: minmax(0, 1fr); column-gap: 32px; }

/* 100 % Santé */
.sante {
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--papier);
  border: 1px solid var(--ligne);
}
.sante__grid { display: grid; }
.sante__grid > div { padding: 20px 0; border-top: 1px solid var(--ligne); }
.sante__grid > div:first-child { padding-top: 0; border-top: 0; }
.sante__grid > div:last-child { padding-bottom: 0; }
.sante__grid dt {
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texte-2);
}
.sante__grid dd { margin-top: 10px; }
.sante__big { display: block; font: 400 clamp(34px, 3.6vw, 48px)/1.05 var(--serif); letter-spacing: -0.02em; }
.sante__note { display: block; margin-top: 8px; font-size: 14px; color: var(--texte-2); }
.sante__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ligne);
}
.sante__foot p { max-width: 52em; font-size: 15px; color: var(--texte-2); }

.opts { display: grid; column-gap: clamp(32px, 6vw, 96px); }
.opts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ligne);
}
.opts__price { flex: none; font-weight: 500; white-space: nowrap; }

.fine {
  max-width: 62em;
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--texte-2);
}

/* ---------- Ordonnance ---------- */
.band {
  display: grid;
  gap: 32px;
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--noir);
}
.band h2 { max-width: 12em; }
.band__text { max-width: 32em; margin-top: 20px; color: var(--texte-2); text-wrap: pretty; }
.nb { white-space: nowrap; }
.list { display: grid; gap: 12px; margin-bottom: 32px; }
.list li { position: relative; padding-left: 22px; }
.list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 10px; height: 1px;
  background: var(--noir);
}
.list a { text-decoration: underline; text-underline-offset: 3px; }
.list a:hover { text-decoration-thickness: 2px; }
.band__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.band__note { max-width: 34em; margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--texte-2); }
.band__note a { text-decoration: underline; text-underline-offset: 3px; color: var(--noir); }

/* ---------- Engagements ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
  padding-top: 32px;
  border-top: 1px solid var(--noir);
}
.pillars__n { font: 500 12px/1 var(--sans); letter-spacing: 0.2em; color: var(--rouge); }
.pillars h3 { margin: 14px 0 8px; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; }
.pillars p { font-size: 15px; color: var(--texte-2); }

/* ---------- Lookbook ---------- */
.lookbook {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px clamp(12px, 1.6vw, 20px);
}
.lookbook img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  background: var(--ivoire);
}
.lookbook figcaption {
  margin-top: 10px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.18em;
  color: var(--texte-2);
}

/* ---------- Esprit Cliché ---------- */
.duo { display: grid; gap: 36px; align-items: center; }
.duo__media { overflow: hidden; background: var(--ivoire); }
.duo__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo__text h2 { max-width: 14em; }
.duo__text > p:not(.eyebrow) { max-width: 34em; margin-top: 22px; font-size: 17px; color: var(--texte-2); }
.quote {
  max-width: 28em;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ligne);
}
.quote p { font: italic 300 clamp(20px, 2vw, 26px)/1.4 var(--serif); color: var(--noir); }

/* ---------- Rendez-vous ---------- */
.rdv {
  background: var(--noir);
  color: var(--ivoire);
  padding: clamp(72px, 10vw, 136px) 0;
}
.rdv__grid { display: grid; gap: 48px; }
.rdv h2 { font-size: clamp(34px, 4.8vw, 66px); line-height: 1.04; }
.rdv__text { max-width: 32em; margin: 24px 0 32px; color: var(--clair-sur-noir); }
.rdv__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rdv__note { max-width: 34em; margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--clair-sur-noir); }
.rdv__note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(242, 236, 223, 0.45); color: var(--ivoire); }
.rdv :focus-visible, .footer :focus-visible { outline-color: var(--ivoire); }
.rdv__info > div { padding: 18px 0; border-top: 1px solid rgba(242, 236, 223, 0.18); }
.rdv__info dt {
  margin-bottom: 8px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris);
}
.rdv__info a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(242, 236, 223, 0.4); }
.rdv__info a:hover { text-decoration-color: var(--ivoire); }

/* ---------- Pied de page ---------- */
.footer {
  background: var(--noir);
  color: var(--ivoire);
  padding: clamp(36px, 5vw, 56px) 0 28px;
  border-top: 1px solid rgba(242, 236, 223, 0.14);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 32px;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; }
.footer__nav a { color: var(--clair-sur-noir); transition: color 0.2s ease; }
.footer__nav a:hover { color: var(--ivoire); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-bottom: 32px; font-size: 14px; }
.footer__contact a { color: var(--clair-sur-noir); transition: color 0.2s ease; }
.footer__contact a:hover { color: var(--ivoire); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 28px; font-size: 13px; }
.footer__legal a { color: var(--clair-sur-noir); transition: color 0.2s ease; }
.footer__legal a:hover { color: var(--ivoire); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 236, 223, 0.14);
  font-size: 12px;
  color: var(--gris);
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--ivoire); }

/* ---------- Pages d'information : mentions légales, CGV, confidentialité… ---------- */
.legal { padding: clamp(28px, 5vw, 88px) 0 clamp(64px, 8vw, 120px); }
.info__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.info__body { min-width: 0; max-width: 760px; }

/* Menu des pages — mobile : une rangée de pastilles qui défile jusqu'au bord de l'écran */
.info__nav { min-width: 0; }
.info__nav ul {
  position: relative;
  display: flex;
  gap: 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px 0 8px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
}
.info__nav ul::-webkit-scrollbar { display: none; }
.info__nav ul::after { content: ""; flex: none; width: 28px; }   /* laisse la dernière pastille sortir du dégradé */
.info__nav li { flex: none; }
.info__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ligne);
  background: var(--papier);
  font-size: 14px;
  white-space: nowrap;
  color: var(--texte-2);
}
.info__nav a[aria-current] { background: var(--noir); border-color: var(--noir); color: var(--papier); }
.info__nav a:focus-visible { outline-offset: -4px; }

/* Contenu */
.info__body h1 { margin-bottom: 20px; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.info__body .lead { max-width: 36em; font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.info__body h2 { margin: 44px 0 14px; padding-top: 28px; border-top: 1px solid var(--ligne); font-size: 24px; line-height: 1.2; }
.info__body h3 { margin: 28px 0 8px; font: 500 16px/1.3 var(--sans); letter-spacing: 0.01em; color: var(--noir); }
.info__body p, .info__body li { color: var(--texte-2); }
.info__body p + p { margin-top: 12px; }
.info__body ul + p, .info__body ol + p { margin-top: 16px; }
.info__body ul { display: grid; gap: 6px; margin-top: 12px; }
.info__body li { position: relative; padding-left: 20px; }
.info__body li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--noir); }
.info__body a { text-decoration: underline; text-underline-offset: 3px; color: var(--noir); }
.info__body a:hover { text-decoration-thickness: 2px; }
.info__body strong { font-weight: 500; color: var(--noir); }

/* Encadré (devis gratuit) */
.info__body .notice { margin-top: 24px; padding: 16px 20px; border: 1px solid var(--noir); font-size: 15px; line-height: 1.55; color: var(--noir); }

/* Étapes numérotées */
.info__body .steps { display: grid; gap: 14px; margin-top: 16px; counter-reset: step; }
.info__body .steps li { counter-increment: step; padding-left: 44px; }
.info__body .steps li::before {
  content: counter(step, decimal-leading-zero);
  top: 0.4em;
  width: auto; height: auto;
  background: none;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.14em;
  color: var(--rouge);
}

/* Lignes de prix */
.info__body .rows { gap: 0; margin-top: 16px; border-top: 1px solid var(--noir); }
.info__body .rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ligne);
}
.info__body .rows li::before { display: none; }
.rows__main { min-width: 0; }
.rows__main strong { display: block; }
.rows__note { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; }
.rows__price { flex: none; font: 400 20px/1.2 var(--serif); letter-spacing: -0.01em; color: var(--noir); white-space: nowrap; text-align: right; }

.info__body .legal__date { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--ligne); font-size: 13px; }

/* ---------- Apparition au défilement (si JavaScript actif) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in,
.js.reveal-all .reveal { opacity: 1; transform: none; }

/* ---------- Survol (souris uniquement) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: #000; }
  .btn--line:hover { background: var(--noir); color: var(--papier); }
  .btn--light:hover { background: transparent; color: var(--ivoire); }
  .btn--ghost:hover { background: var(--ivoire); color: var(--noir); border-color: var(--ivoire); }
  .tile:hover .tile__media img { transform: scale(1.035); }
  .tile:hover .arrow { transform: translateX(4px); }
}

/* ---------- Tablette et plus ---------- */
@media (min-width: 600px) {
  .pillars { gap: 36px 32px; }
  .checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 800px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lookbook { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .sante__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sante__grid > div { padding: 0 clamp(20px, 3vw, 40px); border-top: 0; border-left: 1px solid var(--ligne); }
  .sante__grid > div:first-child { padding-left: 0; border-left: 0; }
  .sante__grid > div:last-child { padding-right: 0; }
}

@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 72px; }

  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); }

  .plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .checks--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checks--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .opts { grid-template-columns: 1fr 1fr; }

  .band { grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }

  .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .duo { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 112px); }
  .duo__media { max-width: 560px; }

  .rdv__grid { grid-template-columns: 1.2fr 0.8fr; gap: 96px; align-items: end; }

  /* Pages d'information : menu à gauche (reste visible pendant la lecture), texte à droite */
  .info__grid { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
  .info__nav { position: sticky; top: calc(var(--nav-h) + 28px); }
  .info__nav ul {
    display: block;
    margin: 0;
    padding: 0;
    overflow: visible;
    border-top: 1px solid var(--ligne);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .info__nav ul::after { display: none; }
  .info__nav a {
    position: relative;
    min-height: 0;
    padding: 13px 0 13px 16px;
    border: 0;
    border-bottom: 1px solid var(--ligne);
    background: none;
    font-size: 15px;
    transition: color 0.2s ease;
  }
  .info__nav a:hover { color: var(--noir); }
  .info__nav a[aria-current] { background: none; border-color: var(--ligne); color: var(--noir); font-weight: 500; }
  .info__nav a[aria-current]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--rouge); }
  .info__nav a:focus-visible { outline-offset: -2px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
  .burger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-content: safe center;   /* si le contenu dépasse (petit écran, paysage), il part du haut et défile */
    gap: 6px;
    /* --menu-top : bas réel de la barre de navigation, calculé à l'ouverture (elle est plus basse tant que le bandeau noir est visible) */
    padding: calc(var(--menu-top, var(--nav-h)) + 4px) var(--gutter) 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--papier);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .menu-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn):not(.aux) { padding: 8px 0; font: 400 clamp(30px, 9vw, 44px)/1.2 var(--serif); }
  .nav__links a:not(.btn):not(.aux)::after { display: none; }
  .nav__links .btn { margin-top: 28px; min-height: 52px; font-size: 14px; }
  /* Accès directs sous le bouton : WhatsApp et dépôt du dossier */
  .nav__aux { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 20px; }
  .nav__links a.aux {
    padding: 9px 0;
    font: 500 15px/1.2 var(--sans);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(22, 21, 20, 0.35);
  }

  .hero__text { max-width: none; }

  /* Haut de page : la photo passe en premier, pleine largeur, pour qu'elle soit visible dès l'ouverture */
  .hero { padding-top: 0; }
  .hero__grid { gap: 0; }
  .hero__media {
    order: -1;
    margin-inline: calc(var(--gutter) * -1);
    aspect-ratio: 4 / 3;
    max-height: 78vh;          /* téléphone tenu à l'horizontale : la photo ne mange pas tout l'écran */
  }
  .hero__text { padding-top: 24px; }
  .hero__prices { margin-top: 28px; }

  /* Sans JavaScript : pas de menu plein écran, la page reste lisible et les boutons du corps de page fonctionnent */
  html:not(.js) .burger,
  html:not(.js) .nav__links { display: none; }
}

/* Tablette en portrait : photo moins haute, plus large */
@media (min-width: 600px) and (max-width: 899px) {
  .hero__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 599px) {
  .topbar span:nth-child(3) { display: none; }

  .hero h1 { font-size: clamp(30px, 8.3vw, 38px); }
  .hero .eyebrow { margin-bottom: 12px; }
  .lede { margin: 16px 0 20px; font-size: 16px; text-wrap: pretty; }
  /* Deux boutons côte à côte quand la place le permet, empilés sinon */
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; min-height: 48px; padding: 0 12px; font-size: 13.5px; }
  /* Boutons WhatsApp / dossier : l'un sous l'autre, pleine largeur, faciles à toucher */
  .band__cta .btn, .rdv__cta .btn { flex: 1 1 100%; }

  /* Pied de page : liens plus faciles à toucher, les quatre rubriques tiennent sur une ligne */
  .footer__top { padding-bottom: 12px; }
  .footer__nav { gap: 0 20px; }
  .footer__nav a { padding: 8px 0; }
  .footer__contact { flex-direction: column; gap: 0; padding-bottom: 24px; }
  .footer__contact a { padding: 8px 0; }
  .footer__legal { gap: 0 20px; padding-bottom: 20px; }
  .footer__legal a { padding: 8px 0; }
  .info__body .rows li { gap: 14px; }
  .rows__price { font-size: 18px; }
  .hero__prices > div + div { padding-left: 16px; }
  .tile__price { font-size: 13px; }
  .plan__name { font-size: 26px; }
}

/* ---------- Accessibilité : réduction des animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile__media img, .tile .arrow, .nav__links, .burger span { transition: none; }
}
