/* Centre Vitalité 85 — feuille de style unique.
   Pour changer les couleurs du site, modifier uniquement les variables ci-dessous. */
:root {
  --vert: #2f6b57;
  --vert-fonce: #214b3d;
  --vert-clair: #e8f1ed;
  --sable: #f7f3ec;
  --accent: #c8793a;
  --texte: #25302c;
  --gris: #5b6762;
  --blanc: #fff;
  --rayon: 14px;
  --ombre: 0 2px 14px rgba(33, 75, 61, .10);
  --largeur: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--texte);
  background: var(--blanc);
}
img { max-width: 100%; height: auto; }
a { color: var(--vert); }
a:hover { color: var(--vert-fonce); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; color: var(--vert-fonce); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .3em; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.lien-evitement {
  position: absolute; left: -999px; top: 0; background: var(--blanc);
  padding: 10px 16px; z-index: 100;
}
.lien-evitement:focus { left: 10px; top: 10px; }

/* En-tête */
.entete { background: var(--blanc); border-bottom: 1px solid #e3e8e5; position: sticky; top: 0; z-index: 50; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 1.25rem; color: var(--vert-fonce); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo span { color: var(--accent); }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.menu a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--texte); font-size: .97rem; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--vert-clair); color: var(--vert-fonce); }
.menu a.menu-pro { border: 1.5px solid var(--vert); color: var(--vert); font-weight: 600; }

/* Boutons */
.bouton {
  display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600;
  text-decoration: none; background: var(--vert); color: var(--blanc); border: 2px solid var(--vert);
}
.bouton:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: var(--blanc); }
.bouton.secondaire { background: transparent; color: var(--vert-fonce); }
.bouton.secondaire:hover { background: var(--vert-clair); color: var(--vert-fonce); }
.bouton.clair { background: var(--blanc); color: var(--vert-fonce); border-color: var(--blanc); }
.bouton.clair:hover { background: var(--sable); }

/* Bandeau d'accueil */
.hero { background: linear-gradient(135deg, var(--vert-clair), var(--sable)); padding: 64px 0 56px; }
.hero p.chapo { font-size: 1.15rem; max-width: 720px; color: var(--gris); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.surtitre { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.entete-page { background: var(--vert-clair); padding: 40px 0 32px; }
.entete-page p { max-width: 720px; color: var(--gris); margin: 0; }
.fil-ariane { font-size: .9rem; margin-bottom: 10px; color: var(--gris); }

section { padding: 52px 0; }
section.alt { background: var(--sable); }

/* Grilles et cartes */
.grille { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.carte { background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 26px; border: 1px solid #e6ece9; }
.carte p:last-child { margin-bottom: 0; }
.carte.patient { border-top: 5px solid var(--vert); }
.carte.pro { border-top: 5px solid var(--accent); }
.carte .bouton { margin-top: 12px; }

/* Praticiens */
.praticien { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid #e3e8e5; scroll-margin-top: 90px; }
.praticien:last-child { border-bottom: 0; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; background: var(--vert-clair); color: var(--vert-fonce);
  display: flex; align-items: center; justify-content: center; font-size: 1.9rem; font-weight: 700; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.praticien .metier { color: var(--accent); font-weight: 600; margin: 0 0 12px; }
.contact-prat { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.contact-prat a { padding: 9px 16px; font-size: .95rem; }
.apercu { display: flex; gap: 16px; align-items: center; }
.apercu .avatar { width: 64px; height: 64px; font-size: 1.3rem; flex: none; }
.apercu h3 { margin: 0; }
.apercu p { margin: 0; color: var(--gris); font-size: .95rem; }

/* Encadrés */
.encadre { background: var(--vert-clair); border-left: 5px solid var(--vert); padding: 18px 22px; border-radius: 0 var(--rayon) var(--rayon) 0; }
.encadre.pro { background: #fbefe3; border-left-color: var(--accent); }
.encadre p:last-child { margin-bottom: 0; }
.encadre p:first-child { margin-top: 0; }
.liste-coches { list-style: none; padding: 0; }
.liste-coches li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.liste-coches li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 700; }
.deux-col { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.carte-osm { border: 0; width: 100%; height: 340px; border-radius: var(--rayon); }

/* Bandeau appel à l'action */
.appel { background: var(--vert-fonce); color: var(--blanc); text-align: center; }
.appel h2 { color: var(--blanc); }
.appel p { max-width: 640px; margin: 0 auto 20px; }

/* Pied de page */
.pied { background: #1b2d27; color: #d7e2dd; padding: 40px 0 24px; font-size: .95rem; }
.pied a { color: #d7e2dd; }
.pied h2 { color: var(--blanc); font-size: 1.05rem; margin-bottom: .4em; }
.pied .grille { gap: 28px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 4px; }
.pied .copy { border-top: 1px solid #36493f; margin-top: 28px; padding-top: 16px; font-size: .85rem; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .praticien { grid-template-columns: 1fr; gap: 12px; }
  .entete { position: static; }
  .menu a { padding: 8px 10px; }
  section { padding: 38px 0; }
}
@media print { .entete, .pied, .appel { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Ajouts v2 */
.praticien { grid-template-columns: 140px 1fr; }
.avatar { width: 140px; height: 140px; font-size: 2.4rem; }
.salle { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 20px; }
.salle figure { margin: 0; }
.photo-vide { aspect-ratio: 4 / 3; border: 2px dashed #b9c7c0; border-radius: var(--rayon); background: var(--sable); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gris); padding: 16px; font-size: .95rem; }
.salle img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); display: block; }
.contact-pro { background: var(--vert-fonce); color: var(--blanc); border-radius: var(--rayon); padding: 28px; }
.contact-pro h2, .contact-pro h3 { color: var(--blanc); margin-top: 0; }
.contact-pro a { color: var(--blanc); }
.contact-pro .tel { font-size: 1.6rem; font-weight: 700; display: block; margin: 8px 0; }
@media (max-width: 640px) { .praticien { grid-template-columns: 1fr; } .avatar { width: 110px; height: 110px; } }

img.avatar { object-fit: cover; }

.logo img { height: 76px; width: auto; display: block; }
.entete .conteneur { min-height: 84px; }
.tarifs { width: 100%; border-collapse: collapse; margin: 12px 0; }
.tarifs th, .tarifs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dfe6e2; }
.tarifs td:last-child { font-weight: 700; white-space: nowrap; }

/* v3 : identité du panneau d'entrée (écriture Allura + sans-serif géométrique), tons plus chaleureux */
@font-face { font-family: "Allura"; src: url("../fonts/Allura-Regular.ttf") format("truetype"); font-display: swap; }
:root {
  --vert: #0f6f7a;
  --vert-fonce: #353a4e;
  --vert-clair: #e5f0ef;
  --sable: #fbf4ea;
  --accent: #c8793a;
  --bleu-logo: #1c86c2;
  --script: "Allura", "Segoe Script", "Brush Script MT", cursive;
  --geo: "Century Gothic", "Avenir Next", Avenir, "Trebuchet MS", system-ui, sans-serif;
}
body { font-family: var(--geo); background: #fffdf9; }
h1, h2, h3 { color: var(--vert-fonce); font-family: var(--geo); font-weight: 600; }
h2 { font-family: var(--script); font-weight: 400; font-size: clamp(2rem, 4vw, 2.7rem); color: var(--bleu-logo); }
.entete { background: #fffaf2; border-bottom: 1px solid #efe3d2; }
.logo { gap: 14px; }
.logo img { height: 84px; }
.marque { display: flex; flex-direction: column; line-height: 1.1; }
.marque .nom { font-family: var(--script); font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--bleu-logo); }
.marque .slogan { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--vert-fonce); margin-top: 4px; }
.menu a { font-size: .95rem; }
.menu a.menu-pro { border-color: var(--accent); color: #9a5a22; }
.hero { position: relative; overflow: hidden; padding: 72px 0 64px;
  background: radial-gradient(circle at 85% 20%, #fde7cf 0, transparent 45%), linear-gradient(160deg, #fffaf2 0%, #f9e9d6 55%, #e9f0e6 100%); }
.hero .conteneur { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); max-width: 640px; }
.hero p.chapo { color: #4a4f60; }
.hero .cailloux { position: absolute; right: 4%; bottom: -10px; width: min(300px, 38vw); height: auto; opacity: .95; z-index: 0; }
.hero .encadre { background: rgba(255,255,255,.75); border-left-color: var(--accent); }
.bouton { background: var(--vert); border-color: var(--vert); }
.bouton:hover { background: #0b565f; border-color: #0b565f; }
section.alt { background: var(--sable); }
.appel { background: linear-gradient(135deg, #353a4e, #0f6f7a); }
.appel h2 { color: #fff; }
.carte { border-color: #efe3d2; }
.carte.patient { border-top-color: var(--vert); }
.encadre { background: #eef6f4; border-left-color: var(--vert); }
.pied { background: #2d3144; }
@media (max-width: 640px) { .logo img { height: 64px; } .hero .cailloux { opacity: .35; } }

/* ===== V2 : navigation par thèmes ===== */
.entete { position: static; }
.entete .conteneur { min-height: 0; padding-top: 6px; padding-bottom: 6px; }
.navtheme { position: sticky; top: 0; z-index: 60; background: #fffaf2; border-bottom: 1px solid #efe3d2; box-shadow: 0 2px 8px rgba(53,58,78,.06); }
.navtheme ul { list-style: none; margin: 0; padding: 8px 20px; display: flex; flex-wrap: wrap; gap: 6px; max-width: var(--largeur); margin: 0 auto; align-items: center; }
.navtheme a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--vert-fonce); font-size: .93rem; font-weight: 600; border: 1.5px solid transparent; }
.navtheme a:hover { background: var(--vert-clair); }
.navtheme a[aria-current="page"] { background: var(--vert); color: #fff; }
.navtheme li.sep { flex: 1 1 auto; }
.navtheme a.plan { background: var(--accent); color: #fff; }
.navtheme a.plan:hover { background: #a9632c; }
.navtheme a.plan[aria-current="page"] { background: #8f5424; }
.navtheme a.pro { border-color: var(--accent); color: #9a5a22; }
.navtheme a.pro[aria-current="page"] { background: #fbefe3; color: #9a5a22; }
.navtheme svg { width: 16px; height: 16px; flex: none; }
.themes-cartes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.theme-carte { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid #efe3d2; border-radius: var(--rayon); box-shadow: var(--ombre); padding: 26px; border-top: 6px solid var(--vert); transition: transform .15s, box-shadow .15s; }
.theme-carte:nth-child(2) { border-top-color: var(--accent); }
.theme-carte:nth-child(3) { border-top-color: #7a9a7e; }
.theme-carte:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(53,58,78,.15); color: inherit; }
.theme-carte h3 { font-family: var(--script); font-weight: 400; font-size: 2rem; color: var(--bleu-logo); margin: 0 0 4px; }
.theme-carte .qui { color: var(--gris); font-size: .93rem; margin: 6px 0 14px; }
.theme-carte .visages { display: flex; margin: 12px 0; }
.theme-carte .visages img, .theme-carte .visages span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; object-fit: cover; background: var(--vert-clair); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: var(--vert-fonce); }
.theme-carte .visages > :first-child { margin-left: 0; }
.theme-carte .voir { font-weight: 700; color: var(--vert); }
.annuaire { columns: 2 280px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.annuaire li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid #efe3d2; }
.annuaire a { text-decoration: none; font-weight: 600; }
.annuaire small { display: block; color: var(--gris); font-weight: 400; }
.sur-cette-page { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sur-cette-page a { background: #fff; border: 1px solid #e3d6c3; border-radius: 999px; padding: 6px 14px; font-size: .9rem; text-decoration: none; }
.sur-cette-page a:hover { background: var(--vert-clair); }
.voir-aussi { background: var(--sable); }
.retour-haut { display: inline-block; margin-top: 8px; font-size: .9rem; }
@media (max-width: 640px) { .navtheme ul { padding: 6px 12px; gap: 4px; } .navtheme a { padding: 7px 10px; font-size: .85rem; } .navtheme li.sep { display: none; } }

/* V2 : bouton praticiens plus visible + FAQ */
.navtheme a.pro { background: #fbefe3; border-color: var(--accent); color: #8f4f1a; }
.navtheme a.pro:hover { background: #f6dfc6; }
.navtheme a.pro .badge { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .75rem; letter-spacing: .02em; }
.faq details { background: #fff; border: 1px solid #efe3d2; border-radius: var(--rayon); margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--vert-fonce); }
.faq details[open] summary { color: var(--vert); }
.faq details p { margin: 0 0 14px; }

/* V2 : barre sur une seule ligne en écran large */
@media (min-width: 900px) {
  .navtheme ul { max-width: 1180px; padding: 8px 16px; gap: 2px; }
  .navtheme a { padding: 9px 11px; font-size: .88rem; }
  .navtheme a.pro { padding: 8px 8px 8px 12px; gap: 8px; }
}

.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; }

.galerie { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin: 0; }
.galerie img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
@media (max-width: 520px) { .galerie { grid-template-columns: 1fr; } }
