/* LA SEREINE — feuille de style unique (site public + espace professionnel).
   Pas de dépendance externe : polices système, icônes SVG en ligne. */
:root {
  --plum: #6a2350; --plum-dark: #4a1638; --plum-700: #57193f; --plum-light: #f3e9f0; --plum-50: #faf5f8;
  --lime: #8dc21f; --lime-dark: #5e8e12; --lime-light: #eef7dc;
  --cream: #fbf8f4; --text: #231b20; --muted: #6b6168; --border: #ebe3e8;
  --urgent: #c62828; --high: #d9601a; --moderate: #c99300; --low: #3e8e41;
  --radius: 18px; --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(74,22,56,.06), 0 2px 8px rgba(74,22,56,.05);
  --shadow-md: 0 8px 28px rgba(74,22,56,.10);
  --shadow-lg: 0 24px 60px rgba(40,10,30,.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; color: var(--text); background: var(--cream); }
a { color: var(--plum); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; color: var(--plum-dark); letter-spacing: -.015em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.ico { flex: none; vertical-align: middle; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Boutons, formulaires, éléments communs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px;
  border: 2px solid var(--plum); background: var(--plum); color: #fff; font: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { background: var(--plum-dark); border-color: var(--plum-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.lime { background: var(--lime); border-color: var(--lime); }
.btn.lime:hover { background: var(--lime-dark); border-color: var(--lime-dark); }
.btn.ghost { background: transparent; color: var(--plum); border-color: rgba(106,35,80,.3); }
.btn.ghost:hover { background: var(--plum-light); border-color: var(--plum); }
.btn.white { background: #fff; color: var(--plum); border-color: #fff; }
.btn.white:hover { background: var(--plum-light); }
.btn.outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn.outline-white:hover { background: rgba(255,255,255,.12); }
.btn.danger { background: transparent; color: var(--urgent); border-color: rgba(198,40,40,.5); }
.btn.danger:hover { background: #fdeeee; }
.btn.whatsapp { background: #1fa855; border-color: #1fa855; }
.btn.whatsapp:hover { background: #178a45; border-color: #178a45; }
.btn.sm { padding: 8px 14px; font-size: 14px; border-radius: 11px; }
.btn.lg { padding: 16px 28px; font-size: 18px; border-radius: 16px; }
.btn.block { width: 100%; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card.flat { box-shadow: none; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; display: block; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #dccbd6; }
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; font: inherit; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #d8c8d2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(106,35,80,.12); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--plum); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 0; cursor: pointer; }
.check input { margin-top: 4px; transform: scale(1.2); }
.error { color: var(--urgent); font-size: 14px; margin-top: 6px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; }
.alert.ok { background: #e7f4e5; color: #245f27; }
.alert.err { background: #fbe7e7; color: #a31f1f; }
.alert.warn { background: #fdf3dc; color: #7a5600; }
.alert.info { background: var(--plum-light); color: var(--plum-dark); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.lvl-urgent { background: #fbe4e4; color: var(--urgent); }
.lvl-high { background: #fdebdf; color: #b04b0e; }
.lvl-watch { background: #fbf2d4; color: #876200; }
.lvl-ok { background: #e4f2e4; color: #2f7432; }
.lvl-muted { background: #efecee; color: #6b6168; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-dark); margin-bottom: 10px; }
.icon-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--plum-light); color: var(--plum); margin-bottom: 14px; }
.icon-badge.lime { background: var(--lime-light); color: var(--lime-dark); }
table.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: 12.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--plum-50); }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover td { background: #fcf8fa; }
.table tbody tr:last-child td { border-bottom: none; }
.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow-x: auto; }
.num { text-align: right; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--plum-light); color: var(--plum); font-weight: 800; flex: none; }
.who-cell { display: flex; gap: 12px; align-items: center; }
.empty { text-align: center; padding: 42px 20px; color: var(--muted); }
.empty .icon-badge { margin: 0 auto 12px; }

/* ---------- Site public ---------- */
/* Couleurs de l'organisation LA SEREINE (vitrine uniquement ; l'application et
   l'espace professionnel gardent les couleurs d'EL-App). */
.site { --serif: "Noto Serif Display", "Noto Serif", Georgia, "Times New Roman", serif;
  --apricot: #ffcdb2; --melon: #ffb4a1; --salmon: #e4989c; --violet: #a37db8; --amethyst: #816ec7; --rose: #ca4f54;
  --plum: #6a56b5; --plum-dark: #3b2c58; --plum-700: #4f3f8a; --plum-light: #efe9f8; --plum-50: #f8f5fc;
  --lime: #e4989c; --lime-dark: #b8454c; --lime-light: #ffeee5;
  --cream: #fbf5e9; --text: #2d2433; --muted: #6e6274; --border: #efe4dc; --lilac: #f6f1fb;
  --shadow-sm: 0 1px 2px rgba(59,44,88,.06), 0 2px 8px rgba(59,44,88,.05);
  --shadow-md: 0 8px 28px rgba(59,44,88,.10);
  --shadow-lg: 0 24px 60px rgba(45,30,70,.22); }
.site .btn.lime { background: var(--lime-dark); border-color: var(--lime-dark); }
.site .btn.lime:hover { background: #9e3940; border-color: #9e3940; }
.site h1, .site h2, .display { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
.site h1 em, .site h2 em { font-style: italic; color: var(--rose); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,244,.86); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(74,22,56,.05); }
.site-header .bar { display: flex; align-items: center; gap: 18px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum-dark); flex: none; }
.brand img { width: auto; height: 50px; }
.brand .name { display: grid; line-height: 1.1; }
.brand .name strong { white-space: nowrap; font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: .03em; color: var(--rose); }
.brand .name strong b { font-weight: inherit; }
.brand .name small { font-size: 10.5px; color: #a25964; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.nav-links { display: flex; gap: 2px; padding: 5px; background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); }
.nav-links a { padding: 9px 17px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--plum-50); color: var(--plum); }
.nav-links a.active { background: var(--lime-light); color: var(--lime-dark); box-shadow: inset 0 0 0 1px #f8d6c8; }
.nav-pro { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px; border-radius: 999px; text-decoration: none; color: var(--plum-dark); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s; }
.nav-pro .ico { color: var(--plum); }
.nav-pro:hover { background: var(--plum-50); color: var(--plum); }
.nav-cta { border-radius: 999px; padding: 11px 20px; font-size: 15px; white-space: nowrap; box-shadow: 0 6px 16px rgba(106,86,181,.28); }
.nav-cta .ico { transition: transform .15s; }
.nav-cta:hover .ico { transform: translateX(3px); }

/* Outils de l'en-tête : langue, profil, dépistage */
.head-tools { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--plum-dark); border: 1px solid var(--border); background: rgba(255,255,255,.75); white-space: nowrap; transition: background .15s, border-color .15s; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary:hover { background: #fff; border-color: #e4d3da; }
.dd summary > .ico:first-child { color: var(--plum); }
.dd .caret { color: var(--muted); transition: transform .15s; }
.dd[open] .caret { transform: rotate(180deg); }
.dd[open] summary { background: #fff; border-color: var(--plum-light); box-shadow: 0 0 0 3px var(--plum-light); }
.dd-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 30; animation: fadeUp .15s ease; }
.dd-panel a, .dd-panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text); font: inherit; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; text-align: left; }
.dd-panel a:hover, .dd-panel button:hover { background: var(--plum-50); color: var(--plum); }
.dd-panel a .ico, .dd-panel button .ico { color: var(--plum); }
.dd-panel a.on { color: var(--lime-dark); background: var(--lime-light); justify-content: space-between; }
.dd-panel a.on .ico { color: var(--lime-dark); }
.dd-panel form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--border); }
.dd-head { padding: 8px 12px 10px; font-size: 13px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.avatar.sm { width: 28px; height: 28px; font-size: 13px; background: var(--lime-light); color: var(--lime-dark); margin-left: -6px; }
.flash { margin-top: 18px; }
.flash .alert { margin: 0; }
.mlang { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 4px 4px; margin-top: 8px; border-top: 1px solid var(--border); }
.mlang a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--plum-dark); font-weight: 600; font-size: 14px; }
.mlang a.on { background: var(--lime-light); color: var(--lime-dark); border-color: #f8d6c8; }
.mactions .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Menu mobile */
.mnav { display: none; margin-left: auto; }
.mnav summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--plum-dark); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav .close-ico, .mnav[open] .open-ico { display: none; }
.mnav[open] .close-ico { display: grid; }
.mnav[open] summary { background: var(--plum-light); border-color: transparent; }
.mnav .panel { position: absolute; left: 12px; right: 12px; top: 78px; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 10px; animation: fadeUp .2s ease; }
.mnav .panel nav { display: grid; gap: 2px; }
.mnav .panel nav a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 16px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 16.5px; }
.mnav .panel nav a:hover { background: var(--plum-50); }
.mnav .panel .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-50); color: var(--plum); flex: none; }
.mnav .panel .chev { margin-left: auto; color: #c3b6c8; }
.mnav .panel nav a.active { background: var(--lime-light); color: var(--lime-dark); }
.mnav .panel nav a.active .mi { background: #fff; color: var(--lime-dark); }
.mnav .mactions { display: grid; gap: 8px; padding: 12px 4px 4px; margin-top: 8px; border-top: 1px solid var(--border); }
.mnav .mactions .btn { border-radius: 16px; }

/* Décors */
.leaf { position: absolute; pointer-events: none; opacity: .5; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }

/* Accueil : bandeau */
.hero { position: relative; overflow: hidden; padding: 64px 0 120px;
  background: radial-gradient(900px 500px at 85% 20%, #efe6f8 0%, transparent 60%), radial-gradient(700px 500px at 0% 100%, #ffe4d6 0%, transparent 60%), var(--cream); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--plum); padding: 7px 15px 7px 9px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.tag .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--lime-light); color: var(--lime-dark); display: grid; place-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; margin: 0 0 22px; color: var(--plum-dark); }
.hero .lead { font-size: clamp(17px, 1.9vw, 20px); color: #4e4456; max-width: 560px; margin: 0; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.hero .trust span { display: inline-flex; gap: 8px; align-items: center; }
.hero .trust .ico { color: var(--lime-dark); }
.hero .leaf.l1 { width: 190px; left: -70px; top: -40px; opacity: .45; }
.hero .leaf.l2 { width: 170px; right: 1%; bottom: 20px; transform: rotate(180deg); opacity: .35; }

/* Maquettes de téléphone */
.phones { position: relative; height: 560px; }
.phones .halo { position: absolute; width: 470px; height: 470px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #ffe6da 45%, #ebe3f6 100%); }
.phone { position: absolute; width: 250px; aspect-ratio: 1080 / 2400; border-radius: 38px; background: #1c1219; padding: 9px; box-shadow: 0 30px 60px rgba(40,10,30,.28), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 64px; height: 7px; border-radius: 6px; transform: translateX(-50%); background: #1c1219; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; background: #fff; }
.phones .phone.front { left: 50%; top: 10px; transform: translateX(-12%) rotate(4deg); z-index: 2; }
.phones .phone.back { left: 50%; top: 52px; transform: translateX(-98%) rotate(-6deg); width: 225px; opacity: .97; }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 12px 15px; box-shadow: var(--shadow-md); display: flex; gap: 11px; align-items: center; font-size: 14px; line-height: 1.35; max-width: 250px; animation: floaty 6s ease-in-out infinite; }
.float-card .icon-badge { margin: 0; width: 38px; height: 38px; border-radius: 11px; flex: none; }
.float-card.c1 { left: -6px; bottom: 70px; }
.float-card.c2 { left: -14px; top: 18px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

/* Chiffres clés */
.stats { margin-top: -64px; position: relative; z-index: 2; }
.stats-bar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 28px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--border); }
.stat b { display: block; font-family: var(--serif); font-size: 34px; color: var(--plum); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: block; }

/* Sections */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 60px 0; }
.section.alt { background: #fff; }
.section.lilac { background: linear-gradient(180deg, var(--lilac), #fdf8f4); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.site .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-dark); margin-bottom: 14px; }
.site .eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--lime); }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--lime); }

/* Cartes « ce que fait LA SEREINE » */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px 30px; transition: transform .2s, box-shadow .2s, border-color .2s; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--accent, var(--plum)); opacity: .9; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #e6d6dd; }
.feature .icon-badge { width: 58px; height: 58px; border-radius: 18px; margin-bottom: 20px; background: var(--accent-bg, var(--plum-light)); color: var(--accent, var(--plum)); }
.feature h3 { margin: 0 0 10px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }
.feature.lime { --accent: var(--lime-dark); --accent-bg: var(--lime-light); }
.feature.rose { --accent: #8a5fa8; --accent-bg: #f3ebf9; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; border-top: 2px dashed #e6cfd3; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--lime); color: var(--plum); font-family: var(--serif); font-size: 28px; font-weight: 700; box-shadow: 0 0 0 8px var(--cream), var(--shadow-sm); position: relative; }
.section.alt .step::before { box-shadow: 0 0 0 8px #fff, var(--shadow-sm); }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0 auto; color: var(--muted); max-width: 300px; }

/* Bloc mamans */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .phones { height: 520px; }
.split .phone.front { transform: translateX(-30%) rotate(-3deg); }
.split .phones .halo { background: radial-gradient(circle at 70% 30%, #fff 0%, #fde8de 50%, #ebe4f7 100%); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li > .ico { color: var(--lime-dark); background: var(--lime-light); border-radius: 50%; padding: 5px; width: 30px; height: 30px; flex: none; margin-top: -2px; }
.panel-soft { background: var(--plum-light); border-radius: var(--radius-lg); padding: 32px; }

/* Bandeau des piliers */
.pillars { background: linear-gradient(135deg, #6a56b5, var(--plum-dark)); color: #f1ebf8; border-radius: 32px; padding: 56px; position: relative; overflow: hidden; }
.pillars::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,180,161,.45), transparent 65%); }
.pillars h2 { color: #fff; max-width: 640px; position: relative; }
.pillars h2 em { color: var(--melon); }
.pillars .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; position: relative; }
.pillar { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 24px; }
.pillar .icon-badge { background: rgba(255,205,178,.16); color: var(--apricot); margin-bottom: 16px; }
.pillar h3 { color: #fff; margin: 0 0 6px; font-size: 19px; }
.pillar p { margin: 0; opacity: .82; font-size: 15px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-layout .aside { position: sticky; top: 110px; }
.help-card { margin-top: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.help-card h3 { margin: 0 0 6px; font-size: 18px; }
.help-card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.help-card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 2px 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: #e6d6dd; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--plum-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--plum); background: var(--plum-light); border-radius: 50%; padding: 4px; width: 30px; height: 30px; }
.faq details[open] summary .ico { transform: rotate(180deg); background: var(--plum); color: #fff; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Appel pour les professionnels */
.cta-band { background: linear-gradient(120deg, #ffe9dd 0%, #fff6f0 55%, #f1ebf9 100%); border: 1px solid #f6d9cc; border-radius: 32px; padding: 44px 48px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band .leaf { width: 150px; right: 32%; bottom: -50px; opacity: .3; }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--muted); max-width: 560px; }
.cta-band .row { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

/* Pages intérieures */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px;
  background: radial-gradient(700px 360px at 90% 0%, #efe6f8 0%, transparent 65%), radial-gradient(600px 300px at 0% 100%, #ffe4d6 0%, transparent 60%), var(--cream); border-bottom: 1px solid var(--border); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .leaf { width: 190px; right: 4%; top: 14px; opacity: .5; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--plum); }
.page-hero h1 { color: var(--plum-dark); font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; margin: 0 0 14px; }
.page-hero p { font-size: 19px; color: #4e4456; max-width: 700px; margin: 0; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.hero-trust span { display: inline-flex; gap: 8px; align-items: center; }
.hero-trust .ico { color: var(--lime-dark); }

/* Cartes génériques du site */
.site .card { border-radius: var(--radius-lg); padding: 28px; }
.site a.card:hover { transform: translateY(-3px); }
.journey { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; counter-reset: j; }
.journey .feature h3 { display: flex; gap: 12px; align-items: baseline; }
.lang-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-chips span, .lang-chips a { background: #fff; border: 1px solid var(--border); color: var(--plum-dark); padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.lang-chips a { text-decoration: none; }
.lang-chips a:hover { border-color: var(--plum); }
.lang-chips a.on { background: var(--lime-light); color: var(--lime-dark); border-color: #f8d6c8; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; }
.contact-card .icon-badge { width: 56px; height: 56px; border-radius: 18px; }
.contact-card h3 { margin: 4px 0 2px; font-size: 19px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .go { margin-top: 14px; font-weight: 700; color: var(--plum); display: inline-flex; gap: 6px; align-items: center; }

/* Comptes : connexion, inscription, espace maman */
.page-hero.slim { padding: 40px 0 44px; }
.page-hero.slim h1 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 8px; }
.page-hero.slim p { font-size: 17px; }
.account { max-width: 560px; }
.account.wide { max-width: 760px; }
.form-card { padding: 30px; box-shadow: var(--shadow-md); }
.form-card label { margin-top: 16px; }
.form-card .check { margin-top: 0; }
.hint { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.switch { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); }
.switch a { font-weight: 700; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--border); border-radius: 18px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.seg a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border-radius: 14px; text-decoration: none; font-weight: 700; color: var(--muted); text-align: center; }
.seg a:hover { color: var(--plum); background: var(--plum-50); }
.seg a.on { background: var(--plum); color: #fff; }
.radio-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pills label { margin: 0; cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; font-weight: 600; }
.radio-pills input:checked + span { border-color: var(--plum); background: var(--plum-light); color: var(--plum-dark); }
.radio-pills input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.consent { display: grid; gap: 12px; margin-top: 22px; padding: 16px; border-radius: 16px; background: var(--lime-light); border: 1px solid #f8d6c8; }
.form-h { display: flex; gap: 10px; align-items: center; font-size: 17px; margin: 26px 0 0; font-family: inherit !important; color: var(--plum-dark); }
.form-h:first-of-type { margin-top: 0; }
.form-h .ico { color: var(--plum); }
details.pw { margin-top: 20px; border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; }
details.pw summary { cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; color: var(--plum-dark); }
.danger-zone { margin-top: 18px; box-shadow: none; }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--urgent); }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choose { display: flex !important; flex-direction: column; padding: 30px !important; }
.choose h2 { font-size: 24px !important; margin: 0 0 8px !important; }
.choose p { color: var(--muted); margin: 0; }
.small-list { margin-top: 16px; gap: 8px; font-size: 15px; }
.small-list li > .ico { width: 24px; height: 24px; padding: 4px; }
.choose .go { margin-top: auto; padding-top: 20px; font-weight: 700; color: var(--plum); display: inline-flex; gap: 6px; align-items: center; }
.maman-space { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cta-card { display: grid !important; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: linear-gradient(120deg, var(--plum), var(--plum-dark)) !important; color: #fff; border: 0 !important; }
.cta-card h2 { color: #fff; margin: 0 0 4px !important; font-size: 22px !important; }
.cta-card p { margin: 0; opacity: .85; }
.cta-card .icon-badge { margin: 0; }
.screening-row { display: flex !important; align-items: center; gap: 16px; padding: 16px 20px !important; margin-bottom: 10px; }
.screening-row .date { display: grid; place-items: center; width: 64px; padding: 6px 0; border-radius: 14px; background: var(--plum-50); color: var(--plum); font-size: 12.5px; font-weight: 700; text-transform: capitalize; line-height: 1.2; }
.screening-row .date b { font-size: 22px; font-family: var(--serif); }
.screening-row .body { display: grid; gap: 4px; justify-items: start; }
.screening-row .chev { margin-left: auto; color: #c3b6c8; }
.side-card { margin-bottom: 16px; padding: 22px !important; }
.side-card h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; font-size: 17px; }
.side-card .contact-list .btn { width: 100%; }

/* Questionnaire : langue et écoute */
.listen { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; margin: -6px 0 10px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; background: var(--lime-light); color: var(--lime-dark); }
.listen .ico { background: var(--lime-dark); color: #fff; border-radius: 50%; padding: 5px; width: 28px; height: 28px; }
.listen:hover { filter: brightness(.97); }
.listen.on .ico { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.lang-strip { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; font-weight: 600; color: var(--muted); font-size: 14.5px; }
.lang-strip > span { display: inline-flex; gap: 6px; align-items: center; margin-right: 4px; }
.lang-strip a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; text-decoration: none; color: var(--plum-dark); }
.lang-strip a.on { background: var(--lime-light); color: var(--lime-dark); border-color: #f8d6c8; }
.share-box { background: var(--plum-50); border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 16px; }

/* Page « L'application » */
.app-hero { padding-bottom: 40px; }
.app-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.app-hero .phones { height: 520px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--border); color: var(--plum-dark); text-decoration: none; box-shadow: var(--shadow-sm); }
.store-btn span { display: grid; line-height: 1.15; }
.store-btn small { font-size: 12px; color: var(--muted); font-weight: 600; }
.store-btn b { font-size: 17px; }
.store-btn.primary { background: var(--plum); border-color: var(--plum); color: #fff; box-shadow: 0 8px 20px rgba(106,86,181,.3); }
.store-btn.primary small { color: rgba(255,255,255,.8); }
.store-btn.primary:hover { background: var(--plum-dark); }
.store-btn.soon { opacity: .6; cursor: default; box-shadow: none; }
.file-meta { margin: 14px 0 0 !important; font-size: 14px !important; color: var(--muted) !important; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.shot { margin: 0; text-align: center; }
.shot .phone { position: relative; width: min(240px, 100%); margin: 0 auto 22px; }
.shot h3 { margin: 0 0 6px; font-size: 19px; }
.shot p { margin: 0 auto; color: var(--muted); max-width: 300px; }
.install-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.install-steps li { display: flex; gap: 16px; align-items: flex-start; }
.install-steps b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime-light); color: var(--lime-dark); font-family: var(--serif); font-size: 19px; }
.install-steps h3 { margin: 4px 0 4px; font-size: 18px; }
.install-steps p { margin: 0; color: var(--muted); }
.qr-card { display: flex; gap: 22px; align-items: center; background: #fff !important; box-shadow: var(--shadow-md); }
.qr-card .qr { flex: none; background: #fff; padding: 8px; border-radius: 14px; border: 1px solid var(--border); }
.qr-card .qr svg { display: block; width: 160px; height: 160px; }
.qr-card h3 { margin: 0 0 6px; }
.checksum { margin-top: 10px; font-size: 13px; }
.checksum summary { cursor: pointer; color: var(--muted); }
.checksum code { display: block; word-break: break-all; margin-top: 6px; font-size: 12px; }

/* Animations du site */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.site .site-header .bar { transition: height .25s ease; }
.site .site-header.scrolled .bar { height: 64px; }
.site .site-header.scrolled .brand img { height: 42px; }
.brand img { transition: height .25s ease; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--salmon), var(--amethyst)); pointer-events: none; }
.hero .container > div:first-child > * { opacity: 0; animation: heroIn .7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero .container > div:first-child > *:nth-child(2) { animation-delay: .1s; }
.hero .container > div:first-child > *:nth-child(3) { animation-delay: .2s; }
.hero .container > div:first-child > *:nth-child(4) { animation-delay: .3s; }
.hero .container > div:first-child > *:nth-child(5) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .phones .phone.front { animation: phoneIn .9s .25s cubic-bezier(.2,.8,.2,1) both; }
.hero .phones .phone.back { animation: phoneInBack .9s .1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes phoneIn { from { opacity: 0; transform: translateX(10%) translateY(40px) rotate(10deg); } }
@keyframes phoneInBack { from { opacity: 0; transform: translateX(-130%) translateY(30px) rotate(-14deg); } }
.phones .halo { animation: halo 8s ease-in-out infinite; }
@keyframes halo { 50% { transform: translate(-50%, -50%) scale(1.05); } }
.page-hero h1, .page-hero p, .page-hero .crumbs, .page-hero .hero-trust { animation: heroIn .6s cubic-bezier(.2,.8,.2,1) both; }
.page-hero p { animation-delay: .1s; } .page-hero .hero-trust { animation-delay: .2s; }
.leaf { animation: drift 14s ease-in-out infinite; }
@keyframes drift { 50% { translate: 0 -10px; rotate: 4deg; } }
.btn .ico:last-child { transition: transform .2s ease; }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.feature .icon-badge, .pillar .icon-badge, .contact-card .icon-badge, .quick-links .icon-badge { transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.feature:hover .icon-badge, .pillar:hover .icon-badge, a.contact-card:hover .icon-badge, .quick-links .card:hover .icon-badge { transform: scale(1.1) rotate(-6deg); }
.pillar { transition: transform .25s, background .25s; }
.pillar:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }
.step::before { transition: transform .3s cubic-bezier(.3,1.5,.5,1), background .3s, color .3s; }
.step:hover::before { transform: scale(1.12); background: var(--lime-light); }
.faq details[open] p { animation: fadeUp .3s ease; }
.shot .phone { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.shot:hover .phone { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 40px 70px rgba(40,10,30,.3); }
.js .reveal { transition-delay: var(--rd, 0ms); }
/* Bouton WhatsApp flottant et retour en haut */
.fab-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 10px; justify-items: end; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; text-decoration: none; box-shadow: 0 10px 26px rgba(30,20,40,.25); transition: transform .2s, opacity .3s; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab.wa { background: #1fa855; color: #fff; animation: fabIn .5s 1s cubic-bezier(.3,1.5,.5,1) both; }
.fab.wa::after { content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #1fa855; animation: ping 2.6s 2s ease-out infinite; }
.fab.top { width: 44px; height: 44px; background: #fff; color: var(--plum); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab.top.show { opacity: 1; pointer-events: auto; transform: none; }
.fab.top .ico { transform: rotate(-90deg); }
@keyframes fabIn { from { opacity: 0; transform: scale(.4); } }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) {
  .hero .container > div:first-child > *, .hero .phones .phone, .page-hero *, .auth-shell, .as-side li, .form-anim > * { animation: none !important; opacity: 1 !important; }
  .leaf, .phones .halo, .as-orb, .fab.wa::after { animation: none !important; }
  @view-transition { navigation: none; }
}

/* Dépistage en 4 étapes */
.screening-hero { padding-bottom: 34px; }
.screening-hero h1 { margin-bottom: 22px; }
.stepper { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 860px; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; opacity: 0; animation: heroIn .5s ease forwards; animation-delay: calc(var(--i) * 90ms); }
.stepper li::after { content: ""; position: absolute; left: calc(50% + 30px); right: calc(-50% + 30px); top: 22px; height: 3px; border-radius: 3px; background: #eadde4; }
.stepper li:last-child::after { display: none; }
.stepper li.done::after { background: linear-gradient(90deg, var(--lime-dark), var(--salmon)); }
.stepper .dot { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #b7a9bd; border: 2px solid #eadde4; }
.stepper li.done .dot { background: var(--lime-dark); border-color: var(--lime-dark); color: #fff; }
.stepper li.current .dot { background: var(--plum); border-color: var(--plum); color: #fff; box-shadow: 0 0 0 6px rgba(106,86,181,.16); animation: pulseDot 2.4s ease-in-out infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 11px rgba(106,86,181,.06); } }
.stepper .lbl { display: grid; line-height: 1.25; font-weight: 700; color: var(--plum-dark); font-size: 15px; }
.stepper .lbl small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stepper .lbl em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.stepper li:not(.done):not(.current) .lbl { color: var(--muted); }
.step-body { max-width: 1000px; }
.step-intro { max-width: 640px; margin-bottom: 26px; }
.step-intro h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 8px; }
.step-intro p { margin: 0; font-size: 17px; }
.start-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: stretch; }
.start-card { position: relative; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.start-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #e2d3dc; }
.start-card.main { display: flex; flex-direction: column; gap: 4px; padding: 30px; border: 2px solid var(--lime-light); background: linear-gradient(180deg, #fff, #fff8f4); }
.start-card.main h3 { font-size: 23px; margin: 4px 0 0; }
.start-card.main .btn { margin-top: auto; }
.start-card.main .small-list { margin: 16px 0 22px; }
.start-card.main .center { margin-top: 10px; }
.badge-reco { position: absolute; top: 18px; right: 18px; background: var(--lime-dark); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.start-side { display: grid; gap: 14px; align-content: start; }
.start-side .start-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.start-side .start-card .icon-badge { margin: 0; flex: none; width: 50px; height: 50px; }
.start-side .start-card h3 { margin: 0 0 4px; font-size: 18px; }
.start-side .start-card p { margin: 0; font-size: 14.5px; }
.start-side .chev { margin-left: auto; color: #c3b6c8; flex: none; transition: transform .2s; }
.start-side a.start-card:hover .chev { transform: translateX(4px); color: var(--plum); }
.start-note { display: grid; grid-template-columns: auto 1fr; gap: 10px 10px; align-items: center; padding: 18px 22px; font-size: 14.5px; color: var(--muted); box-shadow: none; background: var(--plum-50); }
.start-note .ico { color: var(--plum); }
.quiz-intro { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; }
.quiz-intro .qi-text { flex: 1; min-width: 260px; }
.quiz-intro p { margin: 0 0 12px; font-size: 16.5px; }
.quiz-intro .hero-trust { margin-top: 0; }
.quiz-intro .listen { margin: 0; }
.final-ok { text-align: center; padding: 10px 0 6px; }
.final-ok .big { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--lime-light); color: var(--lime-dark); animation: pop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.final-ok h3 { margin: 0 0 8px; }
.final-ok p { margin: 0 auto 6px; max-width: 480px; }
.score-card { margin-top: 18px; }
.sc-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 14px; color: var(--muted); }
.sc-head b { font-family: var(--serif); font-size: 26px; color: var(--plum-dark); }
.gauge { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #dcefd9 0 33%, #fbefc9 33% 43%, #fde0cc 43% 100%); overflow: visible; }
.gauge .g-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 999px; animation: gFill 1s .2s cubic-bezier(.2,.8,.2,1) both; }
.gauge .g-fill.ok { background: var(--low); } .gauge .g-fill.watch { background: var(--moderate); } .gauge .g-fill.high { background: var(--high); } .gauge .g-fill.urgent { background: var(--urgent); }
@keyframes gFill { from { width: 0; } }
.gauge i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #fff; }
.g-legend { position: relative; height: 18px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.g-legend span { position: absolute; transform: translateX(-50%); }
.g-legend span:first-child { left: 0; transform: none; } .g-legend span:last-child { right: 0; left: auto; transform: none; }
.g-note { display: flex; gap: 6px; align-items: center; color: var(--urgent); font-weight: 700; margin: 12px 0 0; }
.urgent-contact { margin-top: 18px; border: 2px solid #f1c3c3; }
.next-step { display: flex !important; align-items: center; gap: 18px; margin-top: 22px; padding: 22px 24px !important; text-decoration: none; color: inherit; background: linear-gradient(120deg, #fff, var(--plum-50)) !important; border: 2px solid var(--plum-light) !important; }
.next-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--plum) !important; }
.ns-num { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font-family: var(--serif); font-size: 24px; font-weight: 700; }
.ns-txt { display: grid; gap: 2px; }
.ns-txt small { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 12px; color: var(--lime-dark); }
.ns-txt b { font-size: 20px; color: var(--plum-dark); }
.next-step .chev { margin-left: auto; color: var(--plum); transition: transform .2s; flex: none; }
.next-step:hover .chev { transform: translateX(5px); }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.followup { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
.fu-main { display: grid; gap: 18px; }
.fu-summary { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 22px !important; }
.fu-summary a { margin-left: auto; font-weight: 700; font-size: 14.5px; }
.fu-card { padding: 28px !important; }
.fu-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.fu-head .icon-badge { margin: 0; flex: none; }
.fu-head h2 { font-size: 22px !important; margin: 2px 0 4px !important; }
.fu-head p { margin: 0; }
.track-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.track-steps li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.track-steps li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--lime-light); }
.track-steps li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #eee; color: #999; }
.track-steps li.done > span { background: var(--low); color: #fff; }
.track-steps li.current > span { background: var(--moderate); color: #fff; animation: pulseDot 2.4s infinite; }
.track-steps b { display: block; color: var(--plum-dark); }
.track-steps small { color: var(--muted); font-size: 14px; }
.plan { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.plan li { display: flex; gap: 14px; align-items: flex-start; }
.p-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.p-ico.ok { background: #e4f2e4; color: var(--low); } .p-ico.watch { background: #fbf2d4; color: #876200; }
.p-ico.high { background: #fdebdf; color: #b04b0e; } .p-ico.urgent { background: #fbe4e4; color: var(--urgent); }
.plan b { color: var(--plum-dark); }
.plan p { margin: 2px 0 0; color: var(--muted); }
.next-date { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding: 14px 18px; border-radius: 16px; background: var(--plum-50); border: 1px dashed #d9c9e6; }
.next-date .ico { color: var(--plum); }
.next-date small { display: block; color: var(--muted); font-weight: 600; }
.next-date b { text-transform: capitalize; color: var(--plum-dark); }
.next-date .btn { margin-left: auto; }
.evo { width: 100%; height: auto; overflow: visible; }
.evo .band.ok { fill: #e9f5e7; } .evo .band.watch { fill: #fdf5dd; } .evo .band.high { fill: #fdeee4; }
.evo .line { fill: none; stroke: var(--plum); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.4s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.evo .pt { stroke: #fff; stroke-width: 3; } .evo .pt.ok { fill: var(--low); } .evo .pt.watch { fill: var(--moderate); } .evo .pt.high { fill: var(--high); } .evo .pt.urgent { fill: var(--urgent); }
.evo .val { font-size: 13px; font-weight: 800; fill: var(--plum-dark); text-anchor: middle; }
.evo .date { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.fu-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.fu-join { text-align: center; padding: 26px !important; background: linear-gradient(180deg, #fff, #fff6f1) !important; border: 2px solid var(--lime-light) !important; }
.fu-join .icon-badge { margin: 0 auto 12px; }
.fu-join h3 { margin: 0 0 6px; }
.fu-join .btn { margin: 14px 0 10px; }
@media (max-width: 980px) {
  .start-grid, .followup { grid-template-columns: 1fr; }
  .fu-side { position: static; }
}
@media (max-width: 640px) {
  .stepper .lbl { font-size: 12.5px; }
  .stepper .lbl small, .stepper .lbl em { display: none; }
  .stepper .dot { width: 40px; height: 40px; }
  .stepper li::after { top: 19px; left: calc(50% + 26px); right: calc(-50% + 26px); }
  .next-step { flex-wrap: wrap; }
}

/* Situation, signes de danger, grossesse (questionnaire) */
.check-choice input { position: absolute; opacity: 0; width: 1px !important; }
.check-choice:has(input:checked) { border-color: var(--urgent); background: #fdecec; color: #8e1b1b; }
.check-choice:has(input:checked) .letter { background: var(--urgent); color: #fff; }
.danger-now { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fdecec; color: #8e1b1b; font-weight: 700; border: 1px solid #f1b9b9; }
.danger-now p { margin: 0; }
.danger-now[hidden], .none-hint[hidden], .pg-missing[hidden] { display: none; }
.pregnancy .pg-section { margin: 22px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--lime-dark); }
.pg-block { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.pg-block:last-of-type { border-bottom: 0; }
.pg-q { margin: 0 0 10px; font-weight: 700; font-size: 16.5px; }
.pg-months, .pg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chip { margin: 0; cursor: pointer; }
.pg-chip input { position: absolute; opacity: 0; width: 1px !important; }
.pg-chip span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; font-weight: 600; transition: border-color .15s, background .15s; }
.pg-chip.round span { width: 46px; padding: 0; border-radius: 50%; }
.pg-chip:hover span { border-color: var(--plum); }
.pg-chip input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.pg-chip input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.pg-missing { margin: 12px 0 0; color: var(--high); font-weight: 600; }
.danger-banner { display: flex; gap: 16px; padding: 22px; margin-bottom: 18px; border-radius: 22px; background: var(--urgent); color: #fff; box-shadow: 0 14px 30px rgba(198,40,40,.25); }
.danger-banner h2 { color: #fff !important; margin: 0 0 6px !important; font-size: 22px !important; }
.danger-banner p { margin: 0 0 8px; }
.danger-banner ul { margin: 0 0 12px; padding-left: 18px; opacity: .9; }
.danger-banner .db-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.danger-banner .btn.ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.situation-chip { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: var(--plum-light); color: var(--plum-dark); font-weight: 700; font-size: 14.5px; }
.risk-advice { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: #fff6e8; border: 1px solid #f6d6a8; color: #6f4a00; }
.risk-advice p { margin: 0; }

/* Pages de compte : cadre animé */
.auth-wrap { position: relative; overflow: hidden; padding: 34px 0 90px;
  background: radial-gradient(800px 420px at 100% 0%, #efe6f8 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #ffe4d6 0%, transparent 60%), var(--cream); }
.auth-wrap .aw-l1 { width: 220px; right: 3%; top: 20px; opacity: .45; }
.auth-wrap .container { position: relative; z-index: 1; }
.auth-shell { display: grid; grid-template-columns: 380px 1fr; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 30px; box-shadow: 0 30px 70px rgba(59,44,88,.14); border: 1px solid var(--border); overflow: hidden; animation: shellIn .6s cubic-bezier(.2,.8,.2,1) both; }
.auth-shell.wide { max-width: 1060px; }
@keyframes shellIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.as-side { position: relative; overflow: hidden; color: #fff; padding: 40px 34px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #7b66c9 0%, #5a46a8 45%, #3b2c58 100%); }
.tone-maman .as-side { background: linear-gradient(160deg, #e48a8f 0%, #b8454c 40%, #6a3a6e 100%); }
.as-orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: orb 9s ease-in-out infinite; }
.as-orb.o1 { width: 260px; height: 260px; right: -90px; top: -70px; background: radial-gradient(circle, rgba(255,205,178,.55), transparent 65%); }
.as-orb.o2 { width: 220px; height: 220px; left: -80px; bottom: -60px; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); animation-delay: -4s; }
@keyframes orb { 50% { transform: translate(-14px, 18px) scale(1.08); } }
.as-mark { width: 64px; height: auto; background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.18); position: relative; animation: floaty 6s ease-in-out infinite; }
.as-side h2 { color: #fff; font-family: var(--serif); font-size: 27px; line-height: 1.2; margin: 22px 0 18px; position: relative; }
.as-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.as-side li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45; opacity: 0; animation: liIn .5s ease forwards; animation-delay: var(--d); }
.as-side li span { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
@keyframes liIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.as-foot { margin: auto 0 0; padding-top: 26px; font-size: 13.5px; opacity: .8; display: flex; gap: 8px; align-items: center; position: relative; }
.as-main { padding: 38px 42px 34px; }
.as-main h1 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 6px; color: var(--plum-dark); }
.as-lead { color: var(--muted); margin: 0 0 22px; }
.as-main .seg { margin: 18px 0 8px; position: relative; }
.seg { position: relative; isolation: isolate; }
.seg a { position: relative; z-index: 1; transition: color .25s; }
.seg a.on { background: transparent; }
.seg-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 7px); border-radius: 14px; background: var(--plum); box-shadow: 0 6px 16px rgba(106,86,181,.3); transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
.seg[data-seg="1"] .seg-pill { transform: translateX(calc(100% + 4px)); }
.tone-maman .seg-pill { background: var(--lime-dark); box-shadow: 0 6px 16px rgba(184,69,76,.28); }
/* Champs */
.field { margin-top: 16px; }
.field > label { display: flex; align-items: baseline; gap: 8px; margin: 0 0 7px; font-size: 14.5px; color: var(--plum-dark); }
.field .opt { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--plum-50); padding: 1px 8px; border-radius: 999px; }
.control { position: relative; }
.control input, .control select, .control textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #e9dfe4; border-radius: 14px; background: #fcfafb; font: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.control.has-icon input, .control.has-icon select, .control.has-icon textarea { padding-left: 48px; }
.control.has-toggle input { padding-right: 50px; }
.control .f-ico { position: absolute; left: 15px; top: 15px; color: #b3a6b9; pointer-events: none; transition: color .2s, transform .2s; display: grid; }
.control:focus-within .f-ico { color: var(--plum); transform: scale(1.1); }
.control input:hover, .control select:hover, .control textarea:hover { border-color: #d9c9d3; background: #fff; }
.control input:focus, .control select:focus, .control textarea:focus { outline: none; background: #fff; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(106,86,181,.13); }
.has-error .control input, .has-error .control textarea { border-color: #e7a2a2; background: #fff8f8; }
.has-error .control .f-ico { color: var(--urgent); }
.field-error { display: flex; gap: 6px; align-items: center; margin: 7px 0 0; color: var(--urgent); font-size: 13.5px; font-weight: 600; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pw-toggle { position: absolute; right: 8px; top: 7px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: #a99bb0; cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { background: var(--plum-50); color: var(--plum); }
.pw-toggle .i-hide, .pw-toggle.on .i-show { display: none; }
.pw-toggle.on .i-hide { display: block; }
.remember { margin-top: 16px !important; font-size: 15px; }
.submit { margin-top: 24px; position: relative; overflow: hidden; }
.submit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-100%); }
.submit:hover::after { transform: translateX(100%); transition: transform .7s ease; }
.help-line { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; }
.form-anim > * { opacity: 0; animation: fadeUp .45s ease forwards; }
.form-anim > *:nth-child(2) { animation-delay: .06s; } .form-anim > *:nth-child(3) { animation-delay: .12s; }
.form-anim > *:nth-child(4) { animation-delay: .18s; } .form-anim > *:nth-child(5) { animation-delay: .24s; }
.form-anim > *:nth-child(6) { animation-delay: .3s; } .form-anim > *:nth-child(7) { animation-delay: .36s; }
.form-anim > *:nth-child(n+8) { animation-delay: .42s; }
.choose { transition: transform .25s, box-shadow .25s, border-color .25s !important; }
.choose:hover { transform: translateY(-6px) !important; box-shadow: 0 24px 50px rgba(59,44,88,.14) !important; border-color: #e2d3dc !important; }
.choose .icon-badge { transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.choose:hover .icon-badge { transform: scale(1.12) rotate(-6deg); }
.choose .go .ico { transition: transform .2s; }
.choose:hover .go .ico { transform: translateX(4px); }

/* Accueil : bloc mamans */
.maman-actions { margin-top: 28px; }
.app-get { margin-top: 26px; padding-top: 22px; border-top: 1px dashed #e3cfd6; }
.app-get p { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 600; color: var(--plum-dark); }
.app-get p .ico { color: var(--plum); }
.app-get .store-row { margin-top: 14px; }
.app-get .how { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 700; font-size: 15px; }
/* Réseaux sociaux */
.social-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-btns .sb { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14.5px; color: #fff; transition: transform .15s, filter .15s; }
.social-btns a.sb:hover { transform: translateY(-2px); filter: brightness(1.08); }
.sb.facebook { background: #1877f2; }
.sb.instagram { background: linear-gradient(45deg, #f9a43a, #e1306c 55%, #833ab4); }
.sb.tiktok { background: #111; }
.sb.linkedin { background: #0a66c2; }
.sb.missing { opacity: .35; border: 2px dashed currentColor; cursor: help; }
.social-btns.footer { margin-top: 18px; }
.social-btns.footer .sb { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }

/* Page Contact */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.contact-main { padding: 32px !important; box-shadow: var(--shadow-md); }
.cm-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 6px; }
.cm-head h2 { margin: 2px 0 6px; font-size: 24px; }
.cm-head p { margin: 0; }
.icon-badge.wa { background: #e3f6ea; color: #1fa855; flex: none; margin: 0; width: 58px; height: 58px; }
.cm-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.contact-side { display: grid; gap: 14px; }
.contact-side .contact-card { display: flex !important; flex-direction: row; gap: 16px; align-items: flex-start; padding: 22px !important; }
.contact-side .contact-card .icon-badge { margin: 0; width: 50px; height: 50px; flex: none; }
.contact-side .contact-card h3 { margin: 2px 0 2px; font-size: 17px; }
.contact-side .contact-card .go { margin-top: 8px; }
.social-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.social-pills a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; font-size: 14px; font-weight: 600; }
.danger-box.big { padding: 22px 24px; border-radius: 22px; }
.danger-box.big p { margin: 6px 0 0; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-links .card h3 { margin: 0 0 6px; font-size: 18px; }
.quick-links .card p { margin: 0; color: var(--muted); }

/* Pied de page */
.site-footer { position: relative; background: #2a1f3f; color: #d9d0e6; padding: 30px 0 26px; margin-top: 60px; overflow-x: clip; }
.site { overflow-x: clip; }
.ft-wave { position: absolute; left: 0; top: -69px; width: 100%; height: 70px; fill: #2a1f3f; }
.site-footer .leaf { width: 260px; right: -50px; top: 120px; transform: rotate(200deg); opacity: .12; }
.site-footer a { color: #fff; }
.ft-cta { position: relative; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 26px 30px; margin-bottom: 46px; border-radius: 24px;
  background: linear-gradient(120deg, rgba(228,152,156,.22), rgba(129,110,199,.28)); border: 1px solid rgba(255,255,255,.1); }
.ft-cta h2 { color: #fff; font-family: var(--serif); font-size: 26px; margin: 0 0 4px; }
.ft-cta p { margin: 0; opacity: .85; }
.ft-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 4px 0 18px; font-family: inherit; display: flex; align-items: center; gap: 10px; }
.site-footer h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), transparent); }
.site-footer .cols { display: grid; grid-template-columns: 1.35fr 1fr 1.15fr 1.15fr; gap: 40px; position: relative; }
.ft-brand .brand { color: #fff; margin-bottom: 16px; }
.ft-logo { width: 54px; height: 54px; border-radius: 16px; background: #fbf5e9; display: grid; place-items: center; flex: none; }
.ft-logo img { height: 40px !important; }
.ft-brand .name strong { color: var(--melon) !important; }
.ft-brand .name small { color: #c7bcd8; display: block !important; }
.ft-brand p { margin: 0; line-height: 1.7; }
.site-footer .links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .links a { color: #d9d0e6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, transform .2s; }
.site-footer .links a .ico { opacity: .45; transition: opacity .2s; }
.site-footer .links a:hover { color: #fff; transform: translateX(4px); }
.site-footer .links a:hover .ico { opacity: 1; color: var(--melon); }
.ft-contacts { display: grid; gap: 12px; }
.ft-contacts a, .ft-contacts > span { display: flex; align-items: center; gap: 12px; color: #e6def0; text-decoration: none; line-height: 1.4; }
.ft-contacts a:hover { color: #fff; }
.ft-contacts .chip { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--melon); transition: background .2s, transform .2s; }
.ft-contacts a:hover .chip { background: rgba(255,180,161,.2); transform: scale(1.08); }
.site-footer .urgent { display: flex; gap: 12px; align-items: flex-start; background: rgba(228,152,156,.12); border: 1px solid rgba(228,152,156,.3); border-radius: 16px; padding: 16px; font-size: 14.5px; }
.site-footer .urgent .ico { color: var(--melon); flex: none; margin-top: 2px; }
.site-footer .urgent p { margin: 0; }
.ft-app { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: background .2s; }
.ft-app:hover { background: rgba(255,255,255,.08); }
.ft-app span { display: grid; line-height: 1.15; font-weight: 700; }
.ft-app small { font-size: 11.5px; font-weight: 600; opacity: .7; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: 13.5px; color: #b9aecb; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; position: relative; }
.site-footer .bottom a { color: #e6def0; }
.ft-langs { display: flex; gap: 4px; flex-wrap: wrap; }
.ft-langs a { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: #c7bcd8 !important; font-weight: 600; }
.ft-langs a:hover { background: rgba(255,255,255,.08); }
.ft-langs a.on { background: rgba(255,180,161,.18); color: var(--melon) !important; }
.site-footer .credit { width: 100%; font-size: 12px; opacity: .7; }
.social-btns.footer .sb { box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.contact-list { display: grid; gap: 10px; }
.contact-list a, .contact-list span { display: inline-flex; gap: 10px; align-items: center; }
.danger-box { display: flex; gap: 14px; background: #fff3f3; border: 1px solid #f2c9c9; border-radius: 18px; padding: 18px 20px; color: #7a1d1d; }
.danger-box .ico { color: var(--urgent); margin-top: 2px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); text-decoration: none; font-size: 14px; }

/* Apparition au défilement (si JavaScript) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1280px) {
  .brand .name small { display: none; }
  .nav-links a { padding: 9px 12px; font-size: 14.5px; }
  .dd summary { padding: 0 11px; }
  .profile-menu .pm-label { display: none; }
  .lang-menu summary span { font-size: 0; }
  .lang-menu summary span::after { content: attr(data-code); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
  .nav-cta { padding: 11px 16px; font-size: 14.5px; }
}
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .mnav { display: block; margin-left: 0; }
  .head-tools { margin-left: auto; }
}
@media (max-width: 640px) {
  .nav-cta, .profile-menu { display: none; }
  .head-tools { gap: 6px; }
  .site-header .bar { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 40px; }
  .brand .name strong { font-size: 19px; }
  .dd summary { padding: 0 10px; gap: 5px; }
  .mnav summary { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  .lang-menu summary > .ico:first-child { display: none; }
  .brand .name strong { font-size: 17px; }
}
@media (max-width: 980px) {
  .hero { padding: 40px 0 110px; }
  .hero .container, .split, .faq-layout { grid-template-columns: 1fr; }
  .hero .container { gap: 20px; }
  .phones { height: 470px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phones .halo { width: 380px; height: 380px; }
  .phone { width: 210px; }
  .phones .phone.back { width: 190px; }
  .split .phones { order: 2; }
  .faq-layout .aside { position: static; }
  .features, .pillars .grid3 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .journey, .choice-cards, .maman-space, .app-hero .container, .auth-shell { grid-template-columns: 1fr; }
  .as-side { padding: 28px 26px; }
  .as-side ul { grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14px; }
  .as-foot { display: none; }
  .as-side h2 { font-size: 22px; margin: 14px 0 14px; }
  .shots, .contact-layout, .quick-links { grid-template-columns: 1fr; gap: 20px; }
  .qr-card { flex-direction: column; text-align: center; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .pillars { padding: 36px 24px; border-radius: 24px; }
}
@media (max-width: 560px) {
  .brand .name small { display: none; }
  .hero .leaf.l1 { width: 130px; left: -60px; top: -30px; opacity: .3; }
  .page-hero .leaf { opacity: .25; width: 130px; }
  .phones { height: 400px; }
  .phones .halo { width: 300px; height: 300px; }
  .phone { width: 172px; border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
  .phones .phone.back { width: 156px; top: 40px; }
  .float-card { font-size: 13px; padding: 10px 12px; max-width: 200px; }
  .float-card.c2 { display: none; }
  .float-card.c1 { left: 0; bottom: 18px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid var(--border); }
  .stat { padding: 20px 22px; }
  .cta-band { padding: 28px 22px; border-radius: 24px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .two-cols { grid-template-columns: 1fr; }
  .as-main { padding: 26px 20px; }
  .as-side ul { display: none; }
  .as-side { flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
  .as-side h2 { margin: 0; font-size: 19px; }
  .as-mark { width: 46px; padding: 6px; border-radius: 14px; }
  .auth-shell { border-radius: 24px; }
  .form-card { padding: 22px; }
  .cta-card { grid-template-columns: 1fr; }
  .seg a { font-size: 14px; }
}

/* ---------- Questionnaire en ligne ---------- */
.quiz { max-width: 760px; margin: 0 auto; }
.quiz-progress { position: sticky; top: 70px; z-index: 5; background: var(--cream); padding: 14px 0 12px; display: none; }
.js-wizard .quiz-progress { display: block; }
.quiz-progress .meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--plum); margin-bottom: 8px; }
.quiz-progress .track { height: 8px; border-radius: 999px; background: var(--plum-light); overflow: hidden; }
.quiz-progress .fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--lime-dark)); border-radius: 999px; transition: width .3s; }
.q-card { scroll-margin-top: 150px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin: 0 0 18px; box-shadow: var(--shadow-sm); }
.js-wizard .q-card.step-q { display: none; }
.js-wizard .q-card.step-q.current { display: block; animation: fadeUp .25s ease; }
.js-wizard .q-final { display: none; }
.js-wizard .q-final.current { display: block; animation: fadeUp .25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q-card legend { padding: 0; }
.q-num { display: inline-block; color: var(--lime-dark); font-weight: 800; font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }
.q-card h3 { margin: 0 0 18px; font-size: clamp(20px, 2.6vw, 25px); }
.choice { display: flex; gap: 14px; align-items: center; padding: 15px 16px; border: 1.5px solid var(--border); border-radius: 16px; margin-top: 10px; cursor: pointer;
  font-weight: 500; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #d6c1cf; background: var(--plum-50); }
.choice .letter { width: 32px; height: 32px; border-radius: 50%; background: var(--plum-light); color: var(--plum); display: grid; place-items: center; font-weight: 800; flex: none; font-size: 14px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--plum); background: var(--plum); color: #fff; font-weight: 700; }
.choice:has(input:checked) .letter { background: #fff; }
.choice:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 2px; }
.wizard-nav { display: none; gap: 12px; margin-top: 18px; }
.js-wizard .wizard-nav { display: flex; }
.result-hero { border-radius: var(--radius-lg); padding: 34px; border: 2px solid; display: flex; gap: 22px; align-items: flex-start; }
.result-hero .big-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; flex: none; }
.result-hero h1, .result-hero h2 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 34px); }
.result-hero p { font-size: 18px; margin: 0; }
.result-hero.urgent { background: #fff4f4; border-color: #eeb0b0; } .result-hero.urgent .big-ico { background: var(--urgent); } .result-hero.urgent h1, .result-hero.urgent h2 { color: #9b1c1c; }
.result-hero.high { background: #fff6ef; border-color: #f2c09d; } .result-hero.high .big-ico { background: var(--high); } .result-hero.high h1, .result-hero.high h2 { color: #93410e; }
.result-hero.watch { background: #fffbec; border-color: #ecd790; } .result-hero.watch .big-ico { background: var(--moderate); } .result-hero.watch h1, .result-hero.watch h2 { color: #6f5000; }
.result-hero.ok { background: #f2f9f0; border-color: #b3dbad; } .result-hero.ok .big-ico { background: var(--low); } .result-hero.ok h1, .result-hero.ok h2 { color: #255e28; }

/* ---------- Espace professionnel ---------- */
.dash { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.dash > div { min-width: 0; }
.side { background: linear-gradient(180deg, #6f2654, var(--plum-dark)); color: #fff; padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side .brand { color: #fff; margin: 0 10px 24px; }
.side .brand b { color: var(--lime); }
.side .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin: 18px 12px 8px; font-weight: 700; }
.side nav a { display: flex; align-items: center; gap: 12px; color: #f2e7ee; text-decoration: none; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 15px; margin-bottom: 2px; transition: background .12s; }
.side nav a .ico { opacity: .85; }
.side nav a:hover { background: rgba(255,255,255,.1); }
.side nav a.active { background: #fff; color: var(--plum); }
.side nav a.active .ico { opacity: 1; }
.side .badge { margin-left: auto; background: #e53935; color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 800; padding: 1px 8px; min-width: 22px; text-align: center; }
.side .who { margin-top: auto; padding: 14px 12px 4px; border-top: 1px solid rgba(255,255,255,.14); display: flex; gap: 12px; align-items: center; }
.side .who .avatar { background: rgba(255,255,255,.16); color: #fff; }
.side .who form { margin-left: auto; }
.side .who button { background: rgba(255,255,255,.1); border: 0; color: #fff; padding: 8px; border-radius: 10px; cursor: pointer; }
.side .who button:hover { background: rgba(255,255,255,.2); }
.main { padding: 30px 36px 70px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { margin: 0 0 4px; font-size: 28px; }
.page-head p { margin: 0; color: var(--muted); }
.crumb { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; text-decoration: none; color: var(--muted); margin-bottom: 6px; }
.crumb:hover { color: var(--plum); }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: center; }
.kpi .icon-badge { margin: 0; flex: none; }
.kpi b { display: block; font-size: 30px; color: var(--plum-dark); line-height: 1.1; letter-spacing: -.02em; }
.kpi span { color: var(--muted); font-size: 14px; line-height: 1.35; display: block; }
.kpi.red .icon-badge { background: #fbe4e4; color: var(--urgent); }
.kpi.red b { color: var(--urgent); }
.kpi.lime .icon-badge { background: var(--lime-light); color: var(--lime-dark); }
.section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.section-title h2 { margin: 0; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list-row:last-child { border-bottom: 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.filters > * { width: auto; }
.filters input, .filters select { min-width: 190px; padding: 10px 12px; }
.filters input[type=checkbox] { min-width: 0; }
.filters .grow { flex: 1; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 40px; width: 100%; }
.report { border-left: 6px solid var(--low); margin-bottom: 14px; }
.report.urgent { border-left-color: var(--urgent); background: #fffafa; }
.report.high { border-left-color: var(--high); }
.report.watch { border-left-color: var(--moderate); }
.report.done { opacity: .62; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 12px 0; }
dl.kv dt { color: var(--muted); font-size: 14px; }
dl.kv dd { margin: 0; font-weight: 500; }
.code-box { background: var(--lime-light); border: 2px dashed var(--lime); border-radius: 16px; padding: 20px; text-align: center; margin-top: 14px; }
.code-box strong { font: 800 34px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 6px; color: var(--plum-dark); }
.mtop { display: none; }
/* ---------- Espace pro : tableau de bord ---------- */
.main { background: radial-gradient(900px 400px at 100% 0%, #f6edf3 0%, transparent 60%), var(--cream); }
.head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.period { display: flex; gap: 2px; padding: 4px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.period a { padding: 7px 13px; border-radius: 9px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); }
.period a:hover { color: var(--plum); }
.period a.on { background: var(--plum); color: #fff; }
.todo-strip { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 22px; border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, #b3261e, #7d1d3f); box-shadow: 0 12px 30px rgba(140,30,40,.25); animation: fadeUp .4s ease; }
.todo-strip .ts-ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; animation: pulseDot 2.4s infinite; }
.todo-strip b { display: block; font-size: 17px; }
.todo-strip span { opacity: .9; font-size: 14.5px; }
.todo-strip .ts-btns { margin-left: auto; display: flex; gap: 8px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.kpi2 { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px 20px 16px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; animation: fadeUp .45s ease both; }
.kpi-grid > :nth-child(2) { animation-delay: .06s; } .kpi-grid > :nth-child(3) { animation-delay: .12s; } .kpi-grid > :nth-child(4) { animation-delay: .18s; }
a.kpi2:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kpi2 .k-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.kpi2 .icon-badge { margin: 0; width: 44px; height: 44px; border-radius: 14px; }
.kpi2 b { font-size: 32px; line-height: 1.05; color: var(--plum-dark); letter-spacing: -.02em; }
.kpi2 .k-label { font-weight: 700; color: var(--text); font-size: 14.5px; }
.kpi2 .k-hint { color: var(--muted); font-size: 13px; }
.kpi2 .spark { width: 100%; height: 38px; margin-top: 10px; }
.kpi2 .trend { font-size: 12.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--plum-50); color: var(--muted); }
.kpi2 .trend.up { background: #e6f3dc; color: #3d7a16; } .kpi2 .trend.down { background: #fbe9e9; color: #b3261e; }
.kpi2.lime .icon-badge { background: var(--lime-light); color: var(--lime-dark); }
.kpi2.amber .icon-badge { background: #fdf0d8; color: #a76a00; }
.kpi2.red .icon-badge { background: #fbe4e4; color: var(--urgent); } .kpi2.red b { color: var(--urgent); }
.kpi2.ok .icon-badge { background: #e4f2e4; color: var(--low); }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.dash-grid > *, .kpi-grid > *, .patient-grid > *, .alert-grid > *, .report-list > *, .form-layout > * { min-width: 0; }
.panel { padding: 22px; animation: fadeUp .5s ease both; }
.panel.span-2 { grid-column: span 2; }
.panel.span-3 { grid-column: 1 / -1; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h2 { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 17px; }
.panel-head h2 .ico { color: var(--plum); }
.table-wrap.flat { box-shadow: none; border-radius: 14px; }
.row-link { cursor: pointer; }
/* Graphiques */
.chart { margin: 0; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: #efe7ec; stroke-width: 1; }
.chart .ax { font-size: 11px; fill: #8a7f86; }
.chart .val { font-size: 11.5px; font-weight: 800; fill: var(--plum-dark); }
.bars .col rect { transform-box: fill-box; transform-origin: bottom; animation: grow .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
.bars .col rect:hover { filter: brightness(1.1); }
@keyframes grow { from { transform: scaleY(0); } }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }
.donut { display: grid; grid-template-columns: 1fr; gap: 16px; justify-items: center; }
.donut .legend.col { width: 100%; }
.donut svg { max-width: 170px; }
.donut .track { fill: none; stroke: #f3ecf0; stroke-width: 20; }
.donut .seg { fill: none; stroke-width: 20; transform: rotate(-90deg); transform-origin: 80px 80px; animation: dash 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
@keyframes dash { from { stroke-dasharray: 0 999; } }
.donut .big { font-size: 30px; font-weight: 800; fill: var(--plum-dark); }
.donut .cap { font-size: 11.5px; fill: var(--muted); }
.legend.col { flex-direction: column; gap: 8px; margin: 0; }
.legend.col span { display: grid; grid-template-columns: 12px 1fr auto 40px; gap: 8px; align-items: center; color: var(--text); }
.legend.col b { font-variant-numeric: tabular-nums; }
.legend.col em { font-style: normal; color: var(--muted); text-align: right; font-size: 12.5px; }
.hbars { display: grid; gap: 12px; }
.hb { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.hb-l { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-t { height: 12px; border-radius: 999px; background: #f3ecf0; overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 999px; animation: widen .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
@keyframes widen { from { width: 0 !important; } }
.hb-v { font-weight: 800; color: var(--plum-dark); text-align: right; font-variant-numeric: tabular-nums; }
.hb-v small { display: block; font-weight: 600; font-size: 11.5px; color: var(--high); }
.agent-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.agent-row:last-child { border: 0; }
.agent-row div { display: grid; }
.agent-count { margin-left: auto; font-weight: 800; color: var(--plum); background: var(--plum-light); border-radius: 10px; padding: 4px 11px; }
.mini-row { display: flex; gap: 12px; align-items: center; padding: 11px 6px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; border-radius: 10px; }
.mini-row:hover { background: var(--plum-50); }
.mini-row:last-child { border: 0; }
.mini-row > span:nth-child(2) { display: grid; }
.mini-row .chev { margin-left: auto; color: #c9bcc4; }
.lvl-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.lvl-dot.urgent { background: var(--urgent); box-shadow: 0 0 0 4px #fbe4e4; } .lvl-dot.high { background: var(--high); box-shadow: 0 0 0 4px #fdebdf; }
.lvl-dot.watch { background: var(--moderate); box-shadow: 0 0 0 4px #fbf2d4; } .lvl-dot.ok { background: var(--low); box-shadow: 0 0 0 4px #e4f2e4; }
/* Listes de l'espace pro */
.rcard.danger { border-left-color: var(--urgent); box-shadow: 0 0 0 2px #f6c9c9, var(--shadow-sm); }
.rc-context { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 0 18px 12px; }
.ctx-chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--plum-light); color: var(--plum-dark); font-weight: 700; font-size: 13px; }
.risk-list { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; width: 100%; margin-top: 4px; font-size: 13.5px; color: #8a4b00; }
.risk-chip { display: inline-block; padding: 3px 10px; border-radius: 8px; background: #fff3e2; border: 1px solid #f3d3a5; color: #7a4200; font-weight: 600; font-size: 13px; }
.chip-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.chip-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.chip-tabs a:hover { border-color: var(--plum); transform: translateY(-1px); }
.chip-tabs a b { background: var(--plum-50); color: var(--plum); border-radius: 999px; padding: 0 8px; font-size: 12.5px; }
.chip-tabs a.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip-tabs a.on b { background: rgba(255,255,255,.2); color: #fff; }
.chip-note { color: var(--muted); font-size: 13.5px; margin-left: 4px; }
.count-pill { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 10px; margin-left: 8px; border-radius: 999px; background: var(--plum-light); color: var(--plum); font-size: 16px; vertical-align: middle; }
.count-pill.red { background: #fbe4e4; color: var(--urgent); }
.switch { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.switch input, .role-card input, .radio-pills input, .choice input { position: absolute; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; }
.switch .sw { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #d9cfd5; transition: background .2s; }
.switch .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + .sw { background: var(--lime-dark); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--lime); outline-offset: 2px; }
.switch.big { align-items: flex-start; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; width: 100%; }
.switch.big > span:last-child { display: grid; gap: 2px; }
.switch.big small { color: var(--muted); font-weight: 500; }
.report-list { display: grid; gap: 14px; }
.rcard { background: #fff; border: 1px solid var(--border); border-left: 6px solid var(--low); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; animation: fadeUp .35s ease both; }
.rcard.urgent { border-left-color: var(--urgent); } .rcard.high { border-left-color: var(--high); } .rcard.watch { border-left-color: var(--moderate); }
.rcard.done { opacity: .72; }
.rcard header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--border); background: #fdfbfc; }
.rcard .score { font-size: 14px; color: var(--muted); } .rcard .score b { font-size: 18px; color: var(--plum-dark); }
.rcard .src { margin-left: auto; color: var(--muted); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.rc-body { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 18px; }
.rc-who { display: flex; gap: 14px; align-items: center; }
.rc-who > div { display: grid; gap: 2px; }
.answers { display: grid; grid-template-columns: repeat(10, 34px); gap: 4px; }
.answers span { display: grid; place-items: center; height: 40px; border-radius: 8px; font-weight: 800; font-size: 15px; background: #f1f6ee; color: #2f7432; line-height: 1; }
.answers span small { font-size: 9.5px; font-weight: 700; opacity: .7; }
.answers .a1 { background: #fbf4dc; color: #876200; } .answers .a2 { background: #fde8da; color: #b04b0e; } .answers .a3 { background: #fbe1e1; color: var(--urgent); }
.answers .q10 { outline: 2px solid #f1b9b9; }
.rcard footer { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 18px 16px; }
.rc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rc-handle { display: flex; gap: 8px; flex: 1; min-width: 280px; margin-left: auto; }
.rc-handle input { flex: 1; padding: 9px 12px; }
.done-note { display: inline-flex; gap: 8px; align-items: center; color: var(--low); font-weight: 600; font-size: 14px; }
.avatar.lg { width: 46px; height: 46px; font-size: 18px; }
.avatar.xl { width: 72px; height: 72px; font-size: 28px; }
.avatar.alert { background: #fbe4e4; color: var(--urgent); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #f1b9b9; }
.avatar.sm2 { width: 28px; height: 28px; font-size: 12.5px; }
.alert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.acard { background: #fff; border: 1px solid #f1c9c9; border-top: 5px solid var(--urgent); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; animation: fadeUp .35s ease both; }
.acard header { display: flex; gap: 12px; align-items: center; }
.acard header > div { display: grid; }
.acard .since { margin-left: auto; font-size: 12.5px; color: var(--urgent); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.acard .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.acard footer { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.kv.compact { grid-template-columns: 70px 1fr; margin: 0; font-size: 14px; }
.empty-big { text-align: center; padding: 50px 20px !important; grid-column: 1 / -1; }
.empty-big .icon-badge { margin: 0 auto 14px; width: 64px; height: 64px; }
.empty-big h2 { margin: 0 0 6px; }
.score-chip { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 8px; background: var(--plum-50); color: var(--plum-dark); font-weight: 800; font-size: 13px; }
.spark-cell { width: 130px; }
.spark-cell .spark { width: 110px; height: 30px; }
.table.patients tbody tr:hover td { background: #fbf5f8; }
.patient-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 6px 0 18px; padding: 24px !important; background: linear-gradient(120deg, #fff, var(--plum-50)) !important; }
.ph-main { flex: 1; min-width: 260px; }
.ph-main h1 { margin: 0 0 2px; font-size: 26px; }
.ph-main p { margin: 0 0 10px; }
.ph-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-chips span { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; }
.ph-chips .ico { color: var(--plum); }
.ph-side { display: grid; gap: 6px; justify-items: end; text-align: right; }
.big-score { font-size: 38px; font-weight: 800; color: var(--plum-dark); line-height: 1; }
.big-score small { font-size: 16px; color: var(--muted); }
.ph-actions { display: flex; gap: 8px; margin-top: 6px; }
.patient-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 18px; align-items: start; }
.note-box { display: flex; gap: 8px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fdf8e7; color: #6f5000; font-size: 14px; }
.line .z.ok { fill: #edf6ea; } .line .z.watch { fill: #fdf5dc; } .line .z.high { fill: #fdeee4; }
.line .thr { stroke: #d8c3cf; stroke-dasharray: 4 4; }
.line .ln { fill: none; stroke: var(--plum); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.4s .2s ease forwards; }
.line .pt { stroke: #fff; stroke-width: 3; } .line .pt.ok { fill: var(--low); } .line .pt.watch { fill: var(--moderate); } .line .pt.high { fill: var(--high); }
.timeline { list-style: none; padding: 0 0 0 8px; margin: 0; display: grid; gap: 14px; }
.timeline li { position: relative; padding-left: 26px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 18px; bottom: -18px; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.tl-dot { position: absolute; left: 0; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: #c9bcc4; box-shadow: 0 0 0 4px #fff; }
.timeline li.ok .tl-dot { background: var(--low); } .timeline li.watch .tl-dot { background: var(--moderate); } .timeline li.high .tl-dot { background: var(--high); } .timeline li.urgent .tl-dot { background: var(--urgent); }
.tl-card { background: #fcfafb; border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px; }
.tl-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tl-card p { margin: 8px 0 0; }
.act { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 8px; background: var(--plum-50); font-size: 13.5px; font-weight: 600; }
.act.view { background: #eef2fb; color: #2c4a8a; } .act.ok { background: #e4f2e4; color: #2f7432; } .act.acc { background: var(--plum-light); color: var(--plum); }
.act.dev { background: var(--lime-light); color: var(--lime-dark); } .act.sec { background: #fdf0d8; color: #8a5a00; }
.nowrap { white-space: nowrap; }
.form-layout { display: grid; gap: 16px; max-width: 860px; }
.form-section { padding: 26px !important; }
.form-section h2 { display: flex; gap: 12px; align-items: center; margin: 0 0 4px; font-size: 18px; }
.fs-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font-size: 14px; }
.role-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.role-card { margin: 0; cursor: pointer; }
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.rc-box { display: grid; gap: 4px; height: 100%; padding: 14px; border: 2px solid var(--border); border-radius: 14px; transition: border-color .15s, background .15s, transform .15s; }
.rc-box .icon-badge { margin: 0 0 6px; width: 40px; height: 40px; }
.rc-box small { color: var(--muted); font-weight: 500; font-size: 12.5px; line-height: 1.35; }
.role-card:hover .rc-box { transform: translateY(-2px); border-color: #dccbd6; }
.role-card input:checked + .rc-box { border-color: var(--plum); background: var(--plum-50); }
.role-card input:checked + .rc-box .icon-badge { background: var(--plum); color: #fff; }
.role-card input:focus-visible + .rc-box { outline: 3px solid var(--lime); outline-offset: 2px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--cream) 30%); }
@media (max-width: 1000px) { .patient-grid { grid-template-columns: 1fr; } .role-cards { grid-template-columns: 1fr 1fr; } .rc-body { grid-template-columns: 1fr; } .ph-side { justify-items: start; text-align: left; } }
@media (max-width: 560px) { .answers { grid-template-columns: repeat(5, 1fr); } .rc-handle { min-width: 0; flex-direction: column; } }
@media (max-width: 1200px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } .dash-grid { grid-template-columns: 1fr 1fr; } .panel.span-2 { grid-column: 1 / -1; } }
@media (max-width: 760px) { .kpi-grid, .dash-grid { grid-template-columns: 1fr; } .donut { grid-template-columns: 1fr; justify-items: center; } .todo-strip .ts-btns { margin-left: 0; } }

.scrim { display: none; }

/* Connexion */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .brand-side { position: relative; overflow: hidden; background: linear-gradient(150deg, #73285a, var(--plum-dark)); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth .brand-side::after { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(141,194,31,.3), transparent 65%); }
.auth .brand-side h2 { color: #fff; font-size: 34px; margin: 0 0 16px; }
.auth .brand-side .checklist li .ico { color: var(--lime); }
.auth .brand-side .brand { color: #fff; }
.auth .brand-side .brand b { color: var(--lime); }
.auth .form-side { display: grid; place-items: center; padding: 40px 24px; background: var(--cream); }
.auth .form-card { width: 100%; max-width: 420px; }
.auth .form-card h1 { margin: 0 0 6px; font-size: 28px; }
.otp { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 700; }

/* ---------- Adaptation aux petits écrans ---------- */
@media (max-width: 980px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth .brand-side { padding: 32px 24px; }
  .auth .brand-side .hide-sm { display: none; }
}
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 40; transform: translateX(-100%); transition: transform .25s; }
  #menu-toggle:checked ~ .dash .side { transform: none; box-shadow: var(--shadow-lg); }
  #menu-toggle:checked ~ .dash .scrim { display: block; }
  .scrim { display: none; position: fixed; inset: 0; background: rgba(30,10,24,.4); z-index: 30; }
  .mtop { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--border); padding: 10px 16px; }
  .mtop label { margin: 0; cursor: pointer; padding: 8px; border-radius: 10px; color: var(--plum); display: grid; }
  .main { padding: 20px 16px 60px; }
  .result-hero { flex-direction: column; padding: 24px; }
  .q-card { padding: 20px; }
}
@media (max-width: 560px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .filters input, .filters select { min-width: 0; width: 100%; }
  .kpi { padding: 16px; }
}

/* ===== Page questionnaire (comment-je-me-sens/questions) : compacte ===== */
.screening-hero.compact { padding: 26px 0 22px; }
.screening-hero.compact .crumbs { margin-bottom: 8px; }
.screening-hero.compact .sh-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 40px; align-items: center; }
.screening-hero.compact h1 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.screening-hero.compact .stepper { max-width: 620px; margin-left: auto; width: 100%; }
.screening-hero.compact .stepper .dot { width: 38px; height: 38px; }
.screening-hero.compact .stepper li { gap: 5px; }
.screening-hero.compact .stepper li::after { top: 18px; left: calc(50% + 24px); right: calc(-50% + 24px); }
.screening-hero.compact .stepper .lbl { font-size: 13.5px; }
.screening-hero.compact .stepper .lbl small { font-size: 10px; }
.quiz-section.section.tight { padding: 22px 0 56px; }
.quiz-section .quiz { max-width: 840px; }

.quiz-head { padding: 18px 22px !important; margin-bottom: 14px; }
.qh-main { display: flex; gap: 16px; align-items: flex-start; }
.qh-intro { margin: 0; flex: 1; font-size: 15.5px; line-height: 1.5; }
.qh-main .listen { margin: 0; flex: none; }
.qh-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.qh-note .ico { flex: none; margin-top: 2px; color: var(--plum); }
.qh-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.qh-foot .hero-trust { margin: 0; gap: 6px 14px; font-size: 13px; }
.qh-foot .lang-strip { margin: 0; gap: 4px; font-size: 13px; }
.qh-foot .lang-strip a { padding: 4px 10px; }

/* Un seul panneau : progression, étape en cours, navigation. */
.js-wizard.quiz-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 0 26px 18px; }
.js-wizard.quiz-panel .quiz-progress { top: 70px; background: #fff; padding: 16px 0 12px; margin-bottom: 6px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.js-wizard.quiz-panel .q-card { border: 0; box-shadow: none; padding: 6px 0 0; margin: 0; border-radius: 0; }
.js-wizard.quiz-panel .wizard-nav { position: sticky; bottom: 0; z-index: 4; margin: 14px -26px -18px; padding: 12px 26px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.wizard-nav [data-next] { margin-left: auto; }
.q-card { position: relative; }
.q-card legend.q-num { float: left; margin: 4px 0 6px; }
.q-listen { float: right; margin: 0 0 6px 12px; }
.q-listen .listen { margin: 0; padding: 6px 14px 6px 8px; font-size: 14px; }
.q-listen .listen .ico { width: 24px; height: 24px; padding: 4px; }
.q-card h3 { clear: both; margin: 0 0 14px; font-size: clamp(19px, 2.3vw, 23px); line-height: 1.3; }
.danger-list h3 { clear: both; }
.danger-list[hidden] { display: none; }

.choices { display: grid; gap: 8px; }
.choices .choice { margin: 0; padding: 12px 14px; border-radius: 14px; }
.choices.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice.tile { flex-direction: column; justify-content: center; text-align: center; gap: 8px; padding: 22px 14px; font-weight: 700; font-size: 17px; }
.choice.tile .emo { font-size: 38px; line-height: 1; }
.choice.tile:has(input:checked) .emo { filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.none-hint { display: flex; gap: 6px; align-items: center; margin: 12px 0 0; }

/* Grossesse : questions en grille, réponses en pastilles. */
.pregnancy .pg-intro { font-size: clamp(17px, 2vw, 20px); }
.pg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pg-grid .pg-block { padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--plum-50); transition: border-color .15s, background .15s; }
.pg-grid .pg-block:has(input:checked) { background: #fff; border-color: #d9cdee; }
.pg-grid .pg-block.wide, .pg-grid .pg-section { grid-column: 1 / -1; }
.pregnancy .pg-grid .pg-section { margin: 10px 0 0; }
.pg-grid .pg-q { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; margin: 0 0 10px; font-size: 15px; line-height: 1.4; }
.pg-grid .pg-q small { font-weight: 600; }
.pg-grid .pg-months, .pg-grid .pg-options { gap: 6px; }
.pg-grid .pg-chip span { min-height: 38px; padding: 6px 13px; border-radius: 12px; font-size: 14.5px; }
.pg-grid .pg-chip.round span { width: 40px; padding: 0; }
.listen.compact { flex: none; width: 34px; height: 34px; padding: 0; margin: -4px -4px 0 0; justify-content: center; }
.listen.compact > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.listen.compact .ico { width: 26px; height: 26px; padding: 5px; }

@media (max-width: 900px) {
  .screening-hero.compact .sh-row { grid-template-columns: 1fr; }
  .screening-hero.compact .stepper { margin-left: 0; max-width: none; }
}
@media (max-width: 640px) {
  .quiz-section.section.tight { padding-top: 14px; }
  .quiz-head { padding: 14px 16px !important; }
  .qh-main { flex-direction: column; gap: 10px; }
  .qh-foot .hero-trust { display: none; }
  .js-wizard.quiz-panel { padding: 0 16px 14px; border-radius: 20px; }
  .js-wizard.quiz-panel .wizard-nav { margin: 12px -16px -14px; padding: 10px 16px; border-radius: 0 0 20px 20px; }
  .js-wizard.quiz-panel .q-card { padding: 4px 0 0; }
  .choices.grid-2, .pg-grid { grid-template-columns: 1fr; }
  .choice.tile { padding: 16px 10px; font-size: 15.5px; }
  .choice.tile .emo { font-size: 32px; }
}
.screening-hero.compact .leaf { display: none; }
.choices .check-choice:has(input:checked) { border-color: var(--urgent); background: #fdecec; color: #8e1b1b; }
.choices .check-choice:has(input:checked) .letter { background: var(--urgent); color: #fff; }
.choices .check-choice .letter { background: #fdecec; color: var(--urgent); }
/* Boutons flottants au-dessus de la barre Précédent / Suivant du questionnaire. */
@media (max-width: 900px) { body:has(.js-wizard.quiz-panel) .fab-wrap { bottom: 84px; } }
