/* ==========================================================================
   SELARL Reanima — feuille de style du site vitrine
   Couleurs et polices : modifier les variables ci-dessous.
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans.woff') format('woff');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3.woff') format('woff');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #1F3365;
  --navy-dark: #172750;
  --navy-hover: #14234A;
  --muted: #3E4C6E;
  --soft: #F4F7FC;
  --line: #E3E9F3;
  --line-2: #DCE4F1;
  --teal-soft: #E3F3F4;
  --accent: #1E7F8C;
  --ph-bg: #DFE8F6;
  --ph-line: #A9BBDA;
  --warn-bg: #FFF4EF;
  --warn-line: #F0C9B8;
  --warn-text: #7A2E12;
  --warn-icon: #B4441C;
  --font-title: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-title); color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.ic { flex: 0 0 auto; display: block; }
.ic-accent { color: var(--accent); }
.ic-warn { color: var(--warn-icon); }

/* Texte à compléter avant la mise en ligne (surligné en jaune) */
.a-completer {
  background: #FFF3B0;
  color: #5A4500;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #FFFFFF; color: var(--navy);
  padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700;
}
.skip:focus { left: 16px; top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.muted { color: var(--muted); }
.strong { color: var(--navy); font-weight: 700; }

/* ---------- Bandeau de contact ---------- */
.topbar { background: var(--navy-dark); color: #FFFFFF; font-size: 14px; }
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 24px; padding-top: 9px; padding-bottom: 9px;
}
.topbar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.topbar a { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.urgence { display: inline-flex; align-items: center; gap: 8px; color: #FFD9C9; font-weight: 600; }

/* ---------- En-tête ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
  gap: 16px 32px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--navy); }
.brand img { height: 56px; width: auto; display: block; }
.brand-texte { display: none; font-family: var(--font-title); line-height: 1.1; }
.brand-texte small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.3em; }
.brand-texte strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: 0.06em; }
.brand.sans-logo img { display: none; }
.brand.sans-logo .brand-texte { display: block; }

.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--font-title); font-weight: 700; font-size: 15px; }
.main-nav a { text-decoration: none; color: var(--navy); padding: 11px 16px; border-radius: 999px; }
.main-nav a:hover { background: var(--soft); }
.main-nav a[aria-current="page"] { background: var(--teal-soft); }

/* ---------- Titres de section ---------- */
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 700px; }
.section-head h2 { font-weight: 800; font-size: 36px; line-height: 1.15; }
.section-head p { color: var(--muted); }
.h2-lg { font-size: 38px !important; }

.section { padding-top: 72px; padding-bottom: 72px; }
.section-soft { background: var(--soft); }
.stack { display: flex; flex-direction: column; gap: 32px; }
.stack-sm { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Bandeau de titre des pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--soft); }
.page-hero .deco { position: absolute; right: -80px; bottom: -120px; opacity: 0.07; }
.page-hero .wrap, .page-hero .wrap-narrow {
  position: relative; padding-top: 64px; padding-bottom: 56px;
  display: flex; flex-direction: column; gap: 16px;
}
.page-hero h1 { font-weight: 800; font-size: 50px; line-height: 1.1; letter-spacing: -0.02em; }
.page-hero.compact h1 { font-size: 44px; }
.page-hero.compact .wrap-narrow { padding-top: 56px; padding-bottom: 44px; gap: 12px; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.lead { font-size: 20px; color: var(--muted); max-width: 720px; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; }
.toc a {
  text-decoration: none; background: #FFFFFF; border: 1px solid var(--line-2);
  border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px;
}
.toc a:hover { border-color: var(--navy); }
.toc a.toc-main { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--navy); cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--navy); color: #FFFFFF; }
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--navy); }
.btn-outline:hover { background: var(--soft); }
.btn-white { background: #FFFFFF; color: var(--navy); border-color: #FFFFFF; font-weight: 800; }
.btn-white:hover { background: var(--teal-soft); color: var(--navy); }
.btn-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.chip-doc {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 15px;
}
.chip-doc:hover { color: var(--warn-text); border-color: var(--warn-icon); }

/* ---------- Cartes et grilles ---------- */
.grid { display: grid; gap: 20px; }
.cols-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cols-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cols-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 20px; }
.split > * { flex: 1 1 420px; min-width: 0; }

.card {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card-soft { background: var(--soft); border-color: transparent; }
.card-teal { background: var(--teal-soft); border-color: transparent; }
.card-navy { background: var(--navy); border-color: transparent; color: #FFFFFF; }
.card h3 { font-weight: 700; font-size: 19px; }
.card .card-title { font-weight: 700; font-size: 20px; }
.card p { font-size: 16px; color: var(--muted); }
.card-navy p { color: #D5DDEE; }
a.card { text-decoration: none; color: var(--navy); transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--line-2); box-shadow: 0 10px 28px rgba(31, 51, 101, 0.08); }
.card .more { font-weight: 700; font-size: 15px; margin-top: auto; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 16px; background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.icon-tile.sm { width: 42px; height: 42px; border-radius: 12px; }

.step-num {
  width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 800; font-size: 18px;
}

.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px;
  border-radius: 18px; background: var(--teal-soft); font-size: 16px;
}
.note .ic { margin-top: 2px; color: var(--accent); }
.note-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); align-items: center; }
.note-warn .ic { color: var(--warn-icon); margin-top: 0; }
.note-white { background: #FFFFFF; border: 1px solid var(--line); }

.check-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--muted); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { margin-top: 3px; color: var(--accent); }
.check-list .with-chip { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.dot-list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--muted); }
.dot-list li { display: flex; gap: 12px; align-items: flex-start; }
.dot-list li::before {
  content: ''; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent); margin-top: 9px;
}
.dot-list.navy li::before { background: var(--navy); }

/* ---------- Accueil ---------- */
.hero { position: relative; overflow: hidden; background: var(--soft); }
.hero .deco { position: absolute; left: -120px; bottom: -60px; opacity: 0.07; }
.hero .wrap {
  position: relative; padding-top: 80px; padding-bottom: 88px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--accent);
}
.hero h1 { font-weight: 800; font-size: 54px; line-height: 1.08; letter-spacing: -0.02em; }
.hero .lead { max-width: 540px; }
.hero .actions { padding-top: 4px; }
.hero .btn { padding: 15px 26px; }
.hero .btn-outline { padding: 13px 24px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 12px; font-size: 15px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts .ic { color: var(--accent); }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; padding-bottom: 40px; }

.photo-ph {
  height: 440px; border-radius: 32px; background: var(--ph-bg); border: 2px dashed var(--ph-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); text-align: center; padding: 24px; font-weight: 600; font-size: 16px;
}
.photo-ph .ic { color: var(--navy); }
.rdv-card {
  position: absolute; left: -24px; bottom: 0; width: 310px; background: #FFFFFF;
  border-radius: 20px; box-shadow: 0 18px 40px rgba(31, 51, 101, 0.16);
  padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start;
}
.rdv-card .icon-tile { width: 44px; height: 44px; border-radius: 14px; }
.rdv-card .t { font-family: var(--font-title); font-weight: 700; font-size: 16px; }
.rdv-card .s { font-size: 14px; color: var(--muted); }
.rdv-card .n { font-weight: 700; font-size: 18px; padding-top: 4px; }

.presentation { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.presentation > * { flex: 1 1 460px; min-width: 0; }
.presentation .texte { display: flex; flex-direction: column; gap: 18px; }
.presentation .texte p { color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service { background: var(--soft); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.service .ic { color: var(--accent); }
.service span { font-family: var(--font-title); font-weight: 700; font-size: 17px; }

.team-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.team-head p { color: var(--muted); max-width: 440px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.doctor {
  background: #FFFFFF; border-radius: 20px; padding: 22px; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.avatar-ph {
  width: 64px; height: 64px; border-radius: 999px; background: var(--ph-bg); border: 2px dashed var(--ph-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 700; font-size: 14px;
}
.doctor h3 { font-weight: 700; font-size: 17px; }
.doctor p { font-size: 14px; color: var(--muted); line-height: 1.4; }

.cta {
  background: var(--navy); color: #FFFFFF; border-radius: 32px; padding: 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta h2 { font-weight: 800; font-size: 32px; line-height: 1.2; }
.cta p { color: #D5DDEE; }
.cta .texte { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }

/* ---------- Parcours ---------- */
.big-num { font-family: var(--font-title); font-weight: 800; font-size: 48px; line-height: 1; }
.big-text { font-family: var(--font-title); font-weight: 800; font-size: 30px; line-height: 1.15; padding: 6px 0; }
.card .foot { margin-top: auto; padding-top: 6px; font-size: 15px; }
.foot-list { list-style: disc; margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 2px; }
.foot-list a { font-weight: 700; white-space: nowrap; }
.card-sejour h3 { font-size: 21px; }
.bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line);
}
.bar p { font-size: 16px; max-width: 640px; }

/* Bandeau « prenez rendez-vous dès que la date est fixée » */
.rdv-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px;
  padding: 30px 32px; border-radius: 24px; background: var(--navy); color: #FFFFFF;
}
.rdv-banner .box {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
}
.rdv-banner .texte { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rdv-banner h2 { font-weight: 800; font-size: 24px; line-height: 1.25; }
.rdv-banner p { font-size: 16px; color: #D5DDEE; }
.rdv-banner .btn { flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 2px; padding: 15px 24px; }
.rdv-banner .btn small { font-size: 13px; font-weight: 700; color: var(--muted); }

.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.doc { background: #FFFFFF; border-radius: 20px; padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.doc .head { display: flex; gap: 14px; align-items: center; }
.doc .file-ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--warn-bg);
  display: flex; align-items: center; justify-content: center; color: var(--warn-icon);
}
.doc h3 { font-weight: 700; font-size: 17px; line-height: 1.3; }
.doc .meta { font-size: 14px; color: var(--muted); }
.doc .btn { align-self: flex-start; padding: 9px 18px; font-size: 15px; }
.doc .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ---------- Honoraires ---------- */
.table-box { border: 1px solid var(--line); border-radius: 24px; overflow-x: auto; }
.table-box table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 17px; }
.table-box th {
  background: var(--navy); color: #FFFFFF; text-align: left; padding: 18px 24px;
  font-family: var(--font-title); font-weight: 700; font-size: 15px;
}
.table-box td { padding: 18px 24px; border-top: 1px solid var(--line); }
.table-box tbody tr:nth-child(even) { background: #F9FBFE; }
.table-box td .detail { display: inline-block; margin-top: 4px; font-size: 14px; line-height: 1.4; }
.table-box th[scope="row"] {
  background: transparent; color: var(--navy); font-family: var(--font-body); font-size: 17px;
  border-top: 1px solid var(--line);
}
.table-group { display: flex; flex-direction: column; gap: 12px; }
.table-title { font-weight: 700; font-size: 19px; }
.table-notes { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.pill-tag {
  align-self: flex-start; font-family: var(--font-title); font-weight: 800; font-size: 14px;
  background: var(--teal-soft); border-radius: 999px; padding: 6px 12px;
}
.numbered { display: flex; flex-direction: column; gap: 16px; }
.numbered li { display: flex; gap: 16px; align-items: flex-start; color: var(--muted); }
.numbered .step-num { width: 36px; height: 36px; font-size: 16px; flex: 0 0 auto; }
.numbered strong { color: var(--navy); }
.two-cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.two-cols > * { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.card-teal p { color: var(--navy); }
.small-note { display: flex; gap: 12px; align-items: flex-start; padding: 4px 4px 0; font-size: 15px; color: var(--muted); }
.small-note .ic { margin-top: 3px; color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #FFFFFF; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 16px;
}
.pill .ic { color: var(--accent); }
.pill.ph { border: 1px dashed var(--ph-line); }
.pay-card {
  background: var(--navy); color: #FFFFFF; border-radius: 28px; padding: 34px;
  display: flex; flex-direction: column; gap: 18px;
}
.pay-card .head { display: flex; align-items: center; gap: 12px; }
.pay-card .head .box {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
}
.pay-card h3 { font-weight: 800; font-size: 23px; }
.pay-card p { color: #D5DDEE; }
.pay-card .btn { align-self: flex-start; }

/* ---------- Contact ---------- */
.contact-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.contact-top .col-a { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-top .col-b { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.coord { display: flex; gap: 14px; align-items: flex-start; }
.coord .label { font-size: 14px; color: var(--muted); }
.coord .value { font-weight: 700; font-size: 18px; }
.coord a.value { text-decoration: none; }
.coord a.value, .coord a.label { display: block; }
.hours { display: flex; flex-direction: column; font-size: 16px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.hours div + div { border-top: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }

.map {
  position: relative; min-height: 380px; flex: 1 1 auto; border-radius: 24px; overflow: hidden;
  background: #E8EEF6; border: 1px solid var(--line-2);
}
.map .road { position: absolute; background: #FFFFFF; }
.map .park { position: absolute; left: 70%; top: 8%; width: 22%; height: 22%; border-radius: 14px; background: #D5E9DD; }
.map .marker {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.map .marker .lbl {
  background: #FFFFFF; border-radius: 12px; box-shadow: 0 10px 24px rgba(31, 51, 101, 0.18);
  padding: 8px 14px; font-weight: 700; font-size: 15px; white-space: nowrap;
}
/* Plan d’accès (SVG dessiné à partir d’OpenStreetMap) */
.plan-box {
  flex: 1 1 auto; display: flex; align-items: center; border-radius: 24px; overflow: hidden;
  background: #E8EEF6; border: 1px solid var(--line-2);
}
.plan-box .plan { display: block; width: 100%; height: auto; }
.address-box {
  border-radius: 24px; padding: 24px 28px; border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.address-box .addr { display: flex; gap: 12px; align-items: flex-start; }
.address-box .addr .ic { margin-top: 3px; color: var(--accent); }
.address-box .btn { font-size: 15px; padding: 10px 18px; }
.tile { border-radius: 20px; padding: 22px; background: var(--soft); display: flex; flex-direction: column; gap: 8px; }
.tile .ic { color: var(--accent); }
.tile h3 { font-weight: 700; font-size: 17px; }
.tile p { font-size: 15px; color: var(--muted); }

.form-intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.form-intro p { color: var(--muted); }
.form-col { flex: 1 1 520px; min-width: 0; }
.mini-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
  background: #FFFFFF; border: 1px solid var(--line); font-size: 15px;
}
.mini-note .ic { margin-top: 3px; color: var(--accent); }
.mini-note.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-text); }
.mini-note.warn .ic { color: var(--warn-icon); }
.form {
  background: #FFFFFF; border-radius: 24px; padding: 30px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  border: 1.5px solid #C5D1E6; border-radius: 12px; font-size: 16px; font-family: inherit;
  color: var(--navy); background: #FFFFFF; width: 100%;
}
.field input, .field select { height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(30, 127, 140, 0.25); }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--navy); }
.consent label { font-size: 15px; color: var(--muted); }
.form .btn { align-self: flex-start; height: 52px; font-weight: 800; padding: 0 28px; }
.form .req { font-size: 13px; color: var(--muted); }
.sent { align-items: flex-start; gap: 14px; padding: 40px 30px; }
.sent .ok {
  width: 56px; height: 56px; border-radius: 999px; background: var(--teal-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.sent h3 { font-weight: 800; font-size: 24px; }

/* ---------- Pages juridiques ---------- */
.legal { padding-top: 48px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; font-size: 16px; }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-weight: 800; font-size: 24px; }
.legal hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.legal a { font-weight: 600; }
.legal dl { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 8px 24px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-dark); color: #D5DDEE; }
.footer-main { padding-top: 56px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.footer-brand .brand { color: #FFFFFF; align-self: flex-start; }
.footer-brand .brand img { height: 64px; }
.footer-maps a { display: inline-flex; align-items: center; gap: 6px; color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-maps a::before { content: ""; width: 9px; height: 9px; border: 2px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); flex: none; }
.footer-maps a:hover { color: #B9C5DE; }
.avatar { width: 64px; height: 64px; border-radius: 999px; flex: none; background: #E3EBF7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='64' height='64' fill='%23E3EBF7'/%3E%3Cg transform='translate(0 0) scale(1.0)'%3E%3Cpath d='M5 92 L5 66 C5 50.5 15 44.2 32 44.2 C49 44.2 59 50.5 59 66 L59 92 Z' fill='%23FFFFFF' stroke='%23C9D6EC' stroke-width='0.8'/%3E%3Cpath d='M24.6 44.6 L32 56.5 L39.4 44.6 C36.8 44.3 34.5 44.2 32 44.2 C29.5 44.2 27.2 44.3 24.6 44.6 Z' fill='%231E7F8C'/%3E%3Cpath d='M24.6 44.6 L30.2 57.5 L27.6 92 M39.4 44.6 L33.8 57.5 L36.4 92' fill='none' stroke='%23C9D6EC' stroke-width='1.1' stroke-linejoin='round'/%3E%3Crect x='28.2' y='35' width='7.6' height='10.5' rx='3' fill='%238EA2C9'/%3E%3Cellipse cx='32' cy='27' rx='10.6' ry='11.6' fill='%239DB0D3'/%3E%3Cpath d='M21.4 24.2 C21.4 14 42.6 14 42.6 24.2 C41 19.6 33 17.6 26 20.6 C24 21.5 22.4 22.7 21.4 24.2 Z' fill='%236F86B6'/%3E%3Cpath d='M27.2 45.5 C26.2 51 27.5 55.5 31 57.5' fill='none' stroke='%231F3365' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M36.8 45.5 C38.2 51 40.5 53.5 40.5 57' fill='none' stroke='%231F3365' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='40.5' cy='58.8' r='2.1' fill='%231F3365'/%3E%3Ccircle cx='40.5' cy='58.8' r='0.9' fill='%23FFFFFF'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(31, 51, 101, 0.08); }
.avatar-f { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='32' cy='32' r='32'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='64' height='64' fill='%23E3EBF7'/%3E%3Cg transform='translate(0 0) scale(1.0)'%3E%3Cpath d='M19.5 29 C19.5 13.5 44.5 13.5 44.5 29 L44.5 38.5 C39 40.5 25 40.5 19.5 38.5 Z' fill='%236F86B6'/%3E%3Cpath d='M5 92 L5 66 C5 50.5 15 44.2 32 44.2 C49 44.2 59 50.5 59 66 L59 92 Z' fill='%23FFFFFF' stroke='%23C9D6EC' stroke-width='0.8'/%3E%3Cpath d='M24.6 44.6 L32 56.5 L39.4 44.6 C36.8 44.3 34.5 44.2 32 44.2 C29.5 44.2 27.2 44.3 24.6 44.6 Z' fill='%231E7F8C'/%3E%3Cpath d='M24.6 44.6 L30.2 57.5 L27.6 92 M39.4 44.6 L33.8 57.5 L36.4 92' fill='none' stroke='%23C9D6EC' stroke-width='1.1' stroke-linejoin='round'/%3E%3Crect x='28.2' y='35' width='7.6' height='10.5' rx='3' fill='%238EA2C9'/%3E%3Cellipse cx='32' cy='27' rx='10.6' ry='11.6' fill='%239DB0D3'/%3E%3Cpath d='M21.3 25.5 C21.3 14.5 42.7 14.5 42.7 25.5 C38 19.8 27.5 19.2 21.3 25.5 Z' fill='%236F86B6'/%3E%3Cpath d='M27.2 45.5 C26.2 51 27.5 55.5 31 57.5' fill='none' stroke='%231F3365' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M36.8 45.5 C38.2 51 40.5 53.5 40.5 57' fill='none' stroke='%231F3365' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='40.5' cy='58.8' r='2.1' fill='%231F3365'/%3E%3Ccircle cx='40.5' cy='58.8' r='0.9' fill='%23FFFFFF'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-illu { height: 440px; border-radius: 32px; overflow: hidden; background: #E6EDF8; }
.hero-illu svg { display: block; width: 100%; height: 100%; }
.footer-meta { flex-basis: 100%; margin: 0; font-size: 12.5px; color: #93A3C4; }
.footer-meta a { color: #93A3C4; }
.footer-meta a:hover { color: #FFFFFF; }
.footer-col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col.wide { flex-basis: 260px; gap: 12px; }
.footer-col .titre { font-family: var(--font-title); font-weight: 700; color: #FFFFFF; }
.footer-col a { color: #FFFFFF; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: #FFFFFF; }
.logos { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-ph {
  width: 120px; height: 68px; border: 1.5px dashed rgba(255, 255, 255, 0.45); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #FFFFFF;
}
/* Logos des sociétés savantes (fond blanc sur le pied de page) */
.logo-box {
  display: flex; align-items: center; justify-content: center; height: 72px; padding: 8px 14px;
  background: #FFFFFF; border-radius: 12px; transition: box-shadow .15s;
}
.logo-box:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.logo-box img { display: block; height: 100%; width: auto; max-width: 170px; object-fit: contain; }
/* Accréditation HAS de l’équipe (texte, sans logo HAS) */
.footer-col a.badge-has {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 16px;
  background: #FFFFFF; border-radius: 12px; color: var(--navy); text-decoration: none;
  font-family: var(--font-title); font-weight: 700; font-size: 15px; line-height: 1.25; transition: box-shadow .15s;
}
.footer-col a.badge-has:hover { color: var(--navy); text-decoration: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.badge-has .ic { color: var(--accent); flex: none; }
.badge-has small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.footer-bottom {
  padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: #B9C5DE;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: #B9C5DE; }
.footer-bottom a:hover { color: #FFFFFF; }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 900px) {
  .hero h1 { font-size: 44px; }
  .page-hero h1 { font-size: 40px; }
  .section-head h2, .h2-lg { font-size: 30px !important; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding-left: 20px; padding-right: 20px; }
  .topbar-links { gap: 4px 18px; }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .brand img { height: 46px; }
  .main-nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .main-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .main-nav a { text-align: center; padding: 10px 8px; font-size: 14px; background: var(--soft); }
  .main-nav a[aria-current="page"] { background: var(--teal-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }

  .hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 18px; }
  .hero-media { padding-bottom: 0; }
  .photo-ph { height: 260px; border-radius: 24px; }
  .hero-illu { height: 260px; border-radius: 24px; }
  .rdv-card { position: relative; left: auto; width: auto; margin: -36px 12px 0; }

  .section { padding-top: 52px; padding-bottom: 52px; }
  .page-hero .wrap, .page-hero .wrap-narrow { padding-top: 44px; padding-bottom: 40px; }
  .page-hero h1, .page-hero.compact h1 { font-size: 32px; }
  .section-head h2, .h2-lg { font-size: 26px !important; }
  .card { padding: 22px; border-radius: 20px; }
  .services { gap: 10px; }
  .service { padding: 16px; border-radius: 16px; }
  .service span { font-size: 15px; }
  .cta { padding: 32px 24px; border-radius: 24px; }
  .cta h2 { font-size: 24px; }
  .pay-card { padding: 26px; }
  .form { padding: 22px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .big-num { font-size: 40px; }
  .map { min-height: 260px; }
  .plan-box { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .plan-box .plan { min-width: 600px; }
  .rdv-banner { padding: 24px 22px; border-radius: 20px; }
  .rdv-banner h2 { font-size: 20px; }
}

/* Texte lu par les lecteurs d’écran uniquement */
.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;
}

/* ---------- Honoraires : encadrés paiement et dépassements d’honoraires ---------- */
.pay-info, .dh-box { display: flex; flex-direction: column; gap: 14px; }
.dh-details { border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.dh-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-family: var(--font-title); font-weight: 700; color: var(--navy); }
.dh-details summary::-webkit-details-marker { display: none; }
.dh-details summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--accent); }
.dh-details[open] summary::after { content: '–'; }
.dh-details .dh-body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.dh-details .dh-body h4 { margin: 10px 0 0; font-family: var(--font-title); font-size: 17px; color: var(--navy); }
