/* Styles des pages : charte du site ambconsultant.fr, valeurs dans tokens.css */

@font-face { font-family: "Proxima Nova"; font-weight: 400; font-display: swap; src: url("fonts/proxima-nova-regular.woff") format("woff"); }
@font-face { font-family: "Proxima Nova"; font-weight: 500; font-display: swap; src: url("fonts/proxima-nova-medium.woff") format("woff"); }
@font-face { font-family: "Proxima Nova"; font-weight: 700; font-display: swap; src: url("fonts/proxima-nova-bold.woff") format("woff"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-700.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police-texte); font-size: var(--texte-taille); line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 700; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t1); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--t2); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: var(--t3); line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }

.lien-evitement { position: absolute; left: -9999px; }
.lien-evitement:focus { left: var(--marge); top: 8px; background: var(--texte); color: var(--fond); padding: 8px 12px; border-radius: var(--rayon); z-index: 10; }

.conteneur { width: 100%; max-width: calc(var(--largeur-max) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.conteneur--texte { max-width: calc(var(--largeur-texte) + 2 * var(--marge)); }
.section { padding: var(--section) 0; }
.section--filet { border-top: 1px solid var(--bordure); }
.section--alterne { background: var(--fond-alterne); }
.section__titre { margin-bottom: 48px; display: flex; align-items: center; gap: 16px; }
.section__intro { font-size: var(--intro); color: var(--texte-doux); margin: -32px 0 40px; }
.surtitre { font-size: var(--legende-taille); font-family: var(--police-texte); font-weight: 700; color: var(--legende); margin-bottom: 12px; letter-spacing: 0; }
.legende { font-size: var(--legende-taille); color: var(--legende); }

.entete { padding: 16px 0; }
.entete img { width: 40px; height: 40px; }

/* Bouton : aplat jaune, contour noir, ombre pleine comme sur le site */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 28px; background: var(--accent); color: #000; border: 1px solid #000; border-radius: var(--rayon); box-shadow: 4px 4px 0 #000; font-family: var(--police-texte); font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.bouton:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.bouton:active { transform: translate(4px, 4px); box-shadow: none; }
@media (max-width: 767px) { .bouton { width: 100%; } }
.cta-section { margin-top: 56px; text-align: center; }
.cta-section--gauche { text-align: left; margin-top: 40px; }

/* Hero */
.hero { padding: 24px 0 var(--section); }
.hero__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__in { grid-template-columns: minmax(0, 612fr) minmax(0, 440fr); gap: 72px; } }
.encart { display: inline-block; font-weight: 700; margin-bottom: 20px; padding: 6px 14px; border: 1px solid #000; border-radius: 999px; line-height: 1.3; }
.surligne { background: linear-gradient(transparent 62%, var(--accent) 62%); color: #000; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__sous-titre { font-size: 20px; color: var(--texte-doux); line-height: 1.5; margin: 20px 0 28px; max-width: 52ch; }
.hero .bouton { min-height: 60px; font-size: 19px; padding: 16px 32px; }
@media (min-width: 960px) { .hero h1 { font-size: 50px; } }
.hero__preuve { margin-top: 28px; padding-top: 16px; border-top: 2px solid #000; color: var(--texte-doux); max-width: 52ch; }
.hero__preuve strong { color: #000; }
.hero__visuel { margin: 0; }
.hero__visuel img { width: 100%; height: auto; }

/* Logos : couleurs d'origine de chaque clinique */
.bande-logos { border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); padding: 28px 0; }
.bande-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.bande-logos img { width: auto; max-width: 200px; object-fit: contain; }
.bande-logos li:nth-child(1) img { height: 34px; }
.bande-logos li:nth-child(2) img { height: 56px; }
.bande-logos li:nth-child(3) img { height: 64px; }
.bande-logos li:nth-child(4) img { height: 52px; }
.bande-logos li:nth-child(5) img { height: 22px; }
@media (max-width: 767px) { .bande-logos ul { gap: 20px 28px; justify-content: center; } .bande-logos img { max-width: 140px; } .bande-logos li:nth-child(1) img { height: 28px; } .bande-logos li:nth-child(2) img { height: 44px; } .bande-logos li:nth-child(3) img { height: 52px; } .bande-logos li:nth-child(4) img { height: 42px; } .bande-logos li:nth-child(5) img { height: 15px; } }

/* Marqueurs au trait */
.reticule { width: 40px; height: 40px; flex: none; color: #000; }
.cadran { display: block; width: 180px; height: auto; color: #000; margin-bottom: 20px; }

/* Résultats */
.chiffre { font-family: var(--police-titre); font-weight: 700; font-size: var(--chiffre); line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
.chiffres { display: grid; gap: 28px; }
@media (min-width: 768px) { .chiffres { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.chiffres article { border-top: 2px solid #000; padding-top: 16px; }
.chiffres p:last-child { color: var(--texte-doux); }
.preuves { margin-top: 64px; display: grid; }
.preuve { display: grid; gap: 20px; padding: 32px 0; border-top: 1px solid var(--bordure); align-items: center; }
@media (min-width: 900px) { .preuve { grid-template-columns: 4fr 8fr; gap: 48px; } }
.preuve__chiffre p:nth-child(2) { color: var(--texte-doux); }
.preuve__chiffre .legende { margin-top: 10px; }
.preuve__capture { margin: 0; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; }

/* Méthode : 4 colonnes égales */
.methode-tete { text-align: center; margin-bottom: 40px; }
.methode-tete .section__titre { justify-content: center; margin-bottom: 16px; }
.methode-tete .section__intro { margin: 0 auto; max-width: 52ch; }
.methode { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid #000; }
.methode li { padding: 28px 0; border-top: 1px solid var(--bordure); }
.methode li:first-child { border-top: 0; }
.lettre { display: inline-block; font-family: var(--police-titre); font-weight: 700; font-size: 72px; line-height: 1; padding: 0 6px; margin-bottom: 20px; box-shadow: inset 0 -.22em 0 var(--accent); }
.methode h3 { margin-bottom: 8px; font-size: 22px; }
.methode p { color: var(--texte-doux); }
@media (min-width: 600px) { .methode { grid-template-columns: 1fr 1fr; column-gap: 40px; } .methode li:nth-child(2) { border-top: 0; } }
@media (min-width: 1000px) { .methode { grid-template-columns: repeat(4, 1fr); column-gap: 0; } .methode li { border-top: 0; padding: 28px 28px 0; border-left: 1px solid var(--bordure); } .methode li:first-child { padding-left: 0; border-left: 0; } .methode li:last-child { padding-right: 0; } }

/* Garantie */
.garantie { position: relative; overflow: hidden; background: var(--bloc-sombre); color: #fff; padding: calc(var(--section) * 1.2) 0; text-align: center; }
.garantie .conteneur { position: relative; }
.garantie__promesse { font-family: var(--police-titre); font-weight: 700; font-size: var(--t2); line-height: 1.2; text-wrap: balance; }
.garantie em { font-style: normal; color: var(--accent); }
.garantie__note { margin: 12px 0 28px; font-size: 15px; opacity: .8; }
.garantie .bouton { box-shadow: 4px 4px 0 #fff; }
.garantie .bouton:hover { box-shadow: 2px 2px 0 #fff; }
.coupe-trait { position: absolute; right: -24px; top: 50%; transform: translateY(-50%); width: 300px; color: #fff; opacity: .4; pointer-events: none; }
@media (max-width: 1100px) { .coupe-trait { display: none; } }

/* Conditions */
.conditions { max-width: 720px; margin: 0 auto; }
.conditions h3 { font-size: 20px; padding-top: 16px; margin-bottom: 16px; }
.conditions__oui h3 { border-top: 2px solid #000; }
.conditions__non h3 { border-top: 1px solid var(--bordure); }
.conditions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.conditions li { position: relative; padding-left: 28px; }
.conditions__oui li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; background: var(--accent); border: 1px solid #000; }
.conditions__non li::before { content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 2px; background: var(--texte-discret); }
.conditions__non li { color: var(--texte-doux); }

/* Avis */
.mails { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.avis-tete { display: grid; gap: 24px; margin-bottom: 24px; align-items: start; }
@media (min-width: 800px) { .avis-tete { grid-template-columns: 232px minmax(0, 1fr); gap: 32px; } }
.avis-tete .note-malt { margin: 0; }
.mail-cap { margin: 0; min-width: 0; }
.mail-cap__defile { border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; background: #fff; }
.mail-cap img { display: block; width: 100%; height: auto; }
figcaption { margin-top: 8px; font-size: var(--legende-taille); color: var(--legende); }
@media (max-width: 767px) { .mail-cap__defile { overflow-x: auto; } .mail-cap img { width: 720px; max-width: none; } }
.mur { columns: 1; column-gap: 24px; }
@media (min-width: 700px) { .mur { columns: 2; } }
.mur__bloc { break-inside: avoid; display: block; margin: 0 0 24px; }
.capture img { width: auto; max-width: 100%; height: auto; border: 1px solid var(--bordure); border-radius: var(--rayon); }
.note-malt { margin: 0 0 24px; }
.note-malt img { border: 1px solid #000; border-radius: var(--rayon); box-shadow: 4px 4px 0 #000; }
.mur-plus { margin-top: 8px; }
.mur-plus summary { list-style: none; cursor: pointer; font-weight: 700; text-decoration: underline; text-align: center; padding: 12px 0; }
.mur-plus summary::-webkit-details-marker { display: none; }
.mur-plus[open] summary { display: none; }

/* Qui je suis */
.qui { display: grid; gap: 32px; align-items: center; }
@media (min-width: 768px) { .qui { grid-template-columns: 280px 1fr; gap: 64px; } }
.qui__photo { border: 1px solid #000; border-radius: var(--rayon-cadre); box-shadow: 8px 8px 0 #000; overflow: hidden; max-width: 280px; }
.qui__titre { margin-bottom: 16px; }
.qui__mission { font-size: var(--intro); font-weight: 700; line-height: 1.4; margin-bottom: 20px; }
.qui__texte p + p { margin-top: 12px; }
.qui__signature { margin-top: 20px; color: var(--legende); }

/* Réservation : le calcul au-dessus, l'agenda en grand dessous */
.reserver { border-top: 1px solid var(--bordure); scroll-margin-top: 0; background: var(--fond-alterne); }
.reserver__tete { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 40px; }
@media (min-width: 960px) { .reserver__tete { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.reserver__gauche h2 { font-size: clamp(30px, 3.2vw, 40px); }
.reserver__texte p + p { margin-top: 12px; }
.reserver__texte ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.reserver__texte li { position: relative; padding-left: 24px; }
.reserver__texte li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: var(--accent); border: 1px solid #000; }
.agenda { min-height: 560px; border-radius: var(--rayon-cadre); overflow: hidden; }
.agenda__attente { padding: 24px; color: var(--texte-discret); }
.agenda__secours { margin-top: 20px; font-size: 14px; color: var(--texte-discret); }
.agenda__secours a { color: var(--texte); font-weight: 500; display: inline-block; padding: 12px 0; }
.agenda-apercu { display: block; max-width: 1042px; margin: 0 auto; border-radius: var(--rayon-cadre); overflow: hidden; }
.agenda-apercu img { width: 100%; height: auto; }

/* Pied de page */
.pied { background: var(--fond-alterne); padding: 32px 0; font-size: 14px; color: var(--legende); }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.pied a, .pied button { color: var(--legende); font: inherit; background: none; border: 0; padding: 12px 0; text-decoration: underline; cursor: pointer; }

/* Thank you page */
.carte { background: var(--fond); border: 1px solid var(--bordure); border-radius: var(--rayon-carte); padding: var(--carte-pad); }
.merci-hero { padding: 24px 0 var(--section); }
.merci-hero p { font-size: var(--intro); color: var(--texte-doux); margin-top: 16px; max-width: 52ch; }
.video-attente { background: var(--fond); border-radius: var(--rayon-carte); padding: var(--carte-pad); }
.video-attente p + p { margin-top: 10px; }
.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: q; }
.questions li { counter-increment: q; }
.questions h3 { font-size: 20px; margin-bottom: 8px; }
.questions h3::before { content: counter(q) ". "; }
.questions p { color: var(--texte-doux); }

/* 404 */
.page-404 { min-height: 70vh; display: flex; align-items: center; }
.page-404 p { margin: 16px 0 28px; color: var(--texte-doux); }

/* Bandeau cookies (mode A) : Accepter et Refuser au même niveau, même style */
.bandeau-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--fond); border-top: 2px solid #000; padding: 20px var(--marge) calc(20px + env(safe-area-inset-bottom, 0px)); }
.bandeau-cookies__in { max-width: var(--largeur-max); margin: 0 auto; display: grid; gap: 12px; }
.bandeau-cookies__titre { font-family: var(--police-titre); font-weight: 700; font-size: 18px; }
.bandeau-cookies p { font-size: 15px; color: var(--texte-doux); max-width: 80ch; }
.bandeau-cookies a { color: var(--texte); }
.bandeau-cookies__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; }
.bandeau-cookies__bouton { min-height: 48px; padding: 12px 20px; background: var(--fond); color: var(--texte); border: 2px solid #000; border-radius: var(--rayon); font-family: var(--police-texte); font-size: 16px; font-weight: 500; cursor: pointer; }
.bandeau-cookies__bouton:hover { background: var(--fond-alterne); }
