/* Serein chez soi — styles du site (repris de l'aperçu validé). Mobile d'abord. */

@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/figtree-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }

:root {
  --navy: #1F2A44;
  --night: #22304A;
  --cream: #FFF6EA;
  --peach: #FFE2BE;
  --sun: #FFB347;
  --sun-light: #FFC98A;
  --rust: #9A4612;
  --green: #22693F;
  --text-soft: #36415B;
  --text-mute: #46506A;
  --line: #EFE6D8;
  --input-line: #8C8473;
  --white: #FFFFFF;
  --focus: #9A4612;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--navy);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 19px; line-height: 1.55;
}
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--rust); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
main:focus { outline: none; }
[id] { scroll-margin-top: 90px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .signup :focus-visible, .site-footer :focus-visible, .scene-dark :focus-visible { outline-color: var(--sun); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--white); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 64px 20px 80px; }
.wrap-faq { max-width: 860px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { padding-top: 80px; }
.section-pad { padding: 80px 16px 0; }
.section-last { padding-bottom: 72px; }
.center { text-align: center; }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.025em; }
.h2-sm { font-size: clamp(28px, 3.6vw, 44px); }
.intro { margin: 14px auto 0; max-width: 620px; color: var(--text-soft); }

/* Boutons : grands, faciles à toucher */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 14px; border: 0; font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2; }
.btn-lg { min-height: 56px; padding: 0 28px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; border-radius: 12px; }
.btn-block { display: flex; width: 100%; margin-top: 30px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #2C3A5C; color: var(--white); }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: #FFC266; color: var(--navy); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-ghost:hover { color: inherit; background: rgba(127,127,127,0.12); }
.btn-ghost-light { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.btn-ghost-light:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.site-header { position: relative; z-index: 3; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--navy); min-height: 44px; }
.logo svg { flex: none; }
.nav-links { display: none; gap: 26px; font-size: 16px; font-weight: 600; }
.nav-links a { text-decoration: none; padding: 10px 0; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.link-family { display: none; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 16px; }
.mobile-menu { position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--navy); border-radius: 12px; font-weight: 700; font-size: 16px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(31,42,68,0.45); padding: 8px; display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.mobile-menu nav a:hover { background: var(--cream); }
.logo span { white-space: nowrap; }
@media (max-width: 419px) { .header-actions .btn-sm { display: none; } .logo { font-size: 19px; } }
@media (min-width: 560px) { .link-family { display: inline-flex; } }
@media (min-width: 1060px) {
  .nav-links { display: flex; }
  .mobile-menu { display: none; }
}

/* Accueil (nuit et collines) */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--white); }
.hills { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; padding: 72px 20px 170px; text-align: center; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span { color: var(--sun-light); }
.hero-lead { margin: 24px auto 0; max-width: 680px; font-size: 20px; color: #DCE1EC; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-digit { margin: 26px 0 0; font-size: 18px; color: #DCE1EC; }
.hero-digit strong { color: var(--white); }
.hero-badges { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 16px; font-weight: 600; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
@media (min-width: 760px) { .hero-inner { padding: 110px 24px 190px; } .hero-lead { font-size: 21px; } }

/* Cartes */
.card { background: var(--white); border-radius: 26px; padding: 28px; }
.card h3 { margin: 20px 0 0; font-size: 22px; line-height: 1.25; }
.card p { margin: 8px 0 0; color: var(--text-soft); }
.cards3 { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cards2 { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cards2 .card h3 { margin-top: 0; }
.card-accent { background: var(--peach); }
.icon-tile { margin: 0 auto; width: 64px; height: 64px; border-radius: 20px; background: var(--peach); display: flex; align-items: center; justify-content: center; }
.important { margin: 28px auto 0; max-width: 760px; text-align: center; font-size: 17px; color: var(--text-soft); background: var(--white); border-radius: 16px; padding: 14px 20px; }
.important strong { color: var(--navy); }
.key-phrase { margin: 18px auto 0; max-width: 720px; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; color: var(--rust); }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; }
.tick { flex: none; margin-top: 2px; }

/* Scène du téléphone */
.scene-section { padding: 56px 16px 0; }
.scene { max-width: 1152px; margin: 0 auto; border-radius: 32px; overflow: hidden; background-color: #22304A; color: #FFFFFF; transition: background-color 1.4s ease, color 1.4s ease; }
@media (prefers-reduced-motion: reduce) { .scene { transition: none; } }
.scene-grid { padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.scene-text { flex: 999 1 420px; min-width: 0; }
.scene-headline:focus { outline: none; }
.scene-eyebrow { margin: 0; font-weight: 700; font-size: 16px; opacity: 0.85; }
.scene-headline { margin: 12px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -0.025em; }
.scene-subline { margin: 20px 0 0; max-width: 500px; font-size: 20px; opacity: 0.9; }
.scene-choice, .scene-replay { margin-top: 30px; }
.scene-choice-label { margin: 0 0 12px; font-weight: 600; font-size: 17px; }
.scene-dots { margin-top: 34px; display: flex; gap: 8px; max-width: 340px; }
.scene-dots span { flex: 1; height: 5px; border-radius: 3px; background: currentColor; opacity: 0.22; }
.scene-dots span.on { background: var(--sun); opacity: 1; }
.scene-phone-col { flex: 1 1 280px; min-width: 0; display: flex; justify-content: center; }
.phone { width: 100%; max-width: 300px; background: #0F1626; border-radius: 42px; padding: 13px; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7); }
.phone-screen { background: #F4F5F8; border-radius: 30px; height: 520px; display: flex; flex-direction: column; overflow: hidden; color: var(--navy); }
.phone-top { padding: 18px 18px 12px; text-align: center; border-bottom: 1px solid #E2E5EC; }
.phone-clock { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }
.phone-owner { margin: 0; font-size: 13px; color: #5E677B; }
.phone-msgs { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; justify-content: flex-end; overflow: hidden; }
.phone-empty { margin: auto 0; text-align: center; font-size: 15px; color: #5E677B; }
.bubble { animation: popin .45s ease both; }
@keyframes popin { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }
.bubble-meta { margin: 0; font-size: 12px; font-weight: 700; }
.bubble-text { margin: 2px 0 0; font-size: 15px; line-height: 1.4; }
.bubble-in { align-self: flex-start; max-width: 88%; background: #FFFFFF; border-radius: 18px 18px 18px 6px; padding: 10px 13px; box-shadow: 0 8px 18px -14px rgba(31,42,68,0.6); }
.bubble-in .bubble-meta { color: var(--rust); }
.bubble-out { align-self: flex-end; max-width: 80%; background: var(--navy); color: #FFFFFF; border-radius: 18px 18px 6px 18px; padding: 10px 13px; }
.bubble-out .bubble-meta { color: #B9C2D6; }
.bubble-system { margin: 2px 0; align-self: center; font-size: 13px; font-weight: 600; color: #5E677B; background: #E6E9F0; border-radius: 999px; padding: 5px 12px; }
.bubble-done { align-self: stretch; background: #DDF1E4; border-radius: 16px; padding: 12px 13px; display: flex; gap: 10px; align-items: center; }
.bubble-done .done-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.bubble-done p { margin: 0; font-size: 14px; font-weight: 600; color: #174A2C; }
@media (max-width: 420px) { .phone-screen { height: 460px; } }

/* Histoire */
.story { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.story-text { flex: 2 1 480px; min-width: 0; }
.quote { margin: 22px 0 0; font-size: 20px; line-height: 1.6; }
.quote + .quote { margin-top: 14px; }
@media (min-width: 760px) { .quote { font-size: 21px; } }
.story-card { flex: 1 1 260px; min-width: 0; border-radius: 30px; padding: 32px; }
.founder-photo { margin: 0 auto; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; display: block; }
.founder-photo.placeholder { background: var(--peach); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #6B4A2A; padding: 16px; text-align: center; }
.founder-name { margin: 18px 0 0 !important; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy) !important; }
.founder-role { margin: 2px 0 0 !important; font-size: 16px; color: var(--text-mute) !important; }
.links-band { margin-top: 56px; background: var(--peach); border-radius: 30px; padding: clamp(26px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; }
.links-band h3 { flex: 1 1 280px; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.links-band p { flex: 2 1 420px; margin: 0; color: var(--text-soft); }

/* Tarif */
.price-card { margin: 44px auto 0; max-width: 520px; background: var(--white); border-radius: 30px; padding: clamp(28px, 5vw, 40px); box-shadow: 0 30px 60px -40px rgba(31,42,68,0.5); }
.price-label { margin: 0; font-weight: 700; color: var(--rust); }
.price-amount { margin: 10px 0 0; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.price-amount span { font-size: 20px; font-weight: 600; color: var(--text-mute); }
.price-note { margin: 8px 0 0; font-size: 15px; color: var(--text-mute); }

/* Questions */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: 18px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 19px; padding: 20px 24px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0; padding: 0 24px 20px; color: var(--text-soft); }
.chev { flex: none; transition: transform .2s ease; }
.faq-item[open] .chev { transform: rotate(180deg); }

/* Formulaires */
.signup { max-width: 1152px; margin: 0 auto; background: var(--navy); color: var(--white); border-radius: 32px; padding: clamp(28px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.signup-text { flex: 1 1 340px; min-width: 0; }
.signup-text .h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.signup-text p { margin: 20px 0 0; color: #C9D0DE; }
.signup-emergency { font-size: 16px; }
.form { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-group legend { font-weight: 600; font-size: 16px; }
.field-group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 4px; }
.field-group legend { margin-bottom: 6px; padding: 0; }
.req { font-weight: 500; font-size: 14px; opacity: 0.8; }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; min-height: 50px; border-radius: 12px; padding: 0 16px; font-size: 18px; font-family: inherit; color: var(--navy); background: var(--white); }
.form textarea { padding: 12px 16px; resize: vertical; min-height: 120px; }
.form-dark input[type=text], .form-dark textarea { border: 2px solid transparent; }
.form-light input[type=text], .form-light textarea { border: 1.5px solid var(--input-line); }
.form [aria-invalid=true] { border-color: #C2410C !important; box-shadow: 0 0 0 2px #C2410C; }
.radio, .check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; cursor: pointer; }
.check { align-items: flex-start; padding-top: 10px; }
.radio input, .check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--sun); }
.check input { margin-top: 2px; }
.form-dark .radio, .form-dark .check { color: #E3E7EF; }
.hint { margin: 2px 0 0; font-size: 15px; opacity: 0.85; }
.form-status { margin: 0; font-weight: 600; min-height: 1px; }
.form-status.ok { padding: 14px 16px; border-radius: 12px; background: #DDF1E4; color: #174A2C; }
.form-status.err { padding: 14px 16px; border-radius: 12px; background: #FDE3D5; color: #7A2E0B; }
.form-privacy { margin: 0; font-size: 15px; color: #C9D0DE; }
.form-dark a { color: var(--sun-light); }
.form-light { background: var(--white); border-radius: 28px; padding: clamp(22px, 4vw, 32px); gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.contact-text { flex: 1 1 320px; min-width: 0; }
.contact-text .intro { margin-left: 0; }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }

/* Pied de page */
.site-footer { background: var(--navy); color: #DCE1EC; }
.footer-row { padding-top: 48px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; font-size: 16px; }
.footer-brand { flex: 1 1 280px; min-width: 0; }
.footer-brand p { margin: 8px 0 0; max-width: 360px; }
.footer-brand .footer-name { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--white); }
.footer-title { margin: 0; font-weight: 700; color: var(--white); }
.site-footer ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.site-footer ul a { color: #DCE1EC; display: inline-block; padding: 6px 0; }
.site-footer ul a:hover { color: var(--sun-light); }
.footer-bottom { margin: 0; padding: 18px 20px 28px; text-align: center; font-size: 14px; color: #B9C2D6; border-top: 1px solid #33406A; }

/* Pages simples et textes légaux */
.simple h1, .legal h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }
.simple p { margin: 18px 0 0; }
.simple .btn { margin-top: 8px; }
.legal h2 { margin: 36px 0 0; font-size: 22px; line-height: 1.3; }
.legal p { margin: 10px 0 0; color: var(--text-soft); }
.legal-intro { font-size: 21px; color: var(--navy) !important; }
.legal-update { margin-top: 40px !important; font-size: 15px; }
.draft { margin: 0 0 24px; display: inline-block; background: #FDE3D5; color: #7A2E0B; font-weight: 700; padding: 10px 16px; border-radius: 12px; border: 2px dashed #C2410C; }
.note-emergency { margin-top: 32px !important; background: var(--white); border-radius: 16px; padding: 14px 20px; font-size: 17px; color: var(--navy) !important; font-weight: 600; }

/* ===== Espace famille ===== */
.app { min-height: 60vh; padding: 32px 16px 72px; }
.app-loading { text-align: center; color: var(--text-mute); padding: 48px 0; }
.app-narrow { max-width: 620px; margin: 0 auto; }
.app-wide { max-width: 900px; margin: 0 auto; }
.app h1 { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.025em; }
.app h1:focus { outline: none; }
.app h2 { margin: 32px 0 12px; font-size: 22px; line-height: 1.3; }
.app .lead { font-size: 20px; color: var(--text-soft); margin: 0 0 24px; }
.app .lead-sm { color: var(--text-soft); margin: 0 0 20px; }
.app-nav { max-width: 900px; margin: 0 auto 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-weight: 700; font-size: 17px; }
.app-nav a { text-decoration: none; padding: 10px 0; }
.linklike { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; text-align: left; }
.linklike:hover { color: var(--rust); }
.linklike.small { font-size: 15px; min-height: 32px; padding: 4px 0; }
.linklike.danger, .danger { color: #9F2A0B; }
.btn-danger { background: #9F2A0B; color: var(--white); }
.btn-danger:hover { background: #7E200A; color: var(--white); }
.card-form { background: var(--white); border-radius: 24px; padding: clamp(20px, 4vw, 32px); }
.block-card { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.block-card h2 { margin: 0; }
.links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; margin: 0; font-size: 17px; }
.notice { background: var(--peach); border-radius: 16px; padding: 14px 18px; margin: 16px 0; }
.block { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.form .block:first-child { border-top: 0; padding-top: 0; }
.block > legend { font-family: var(--display); font-weight: 800; font-size: 22px; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.block > legend + * { clear: both; }
.sub { padding-left: 16px; border-left: 3px solid var(--peach); display: flex; flex-direction: column; gap: 12px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input[type=password], .form input[type=tel], .form input[type=time], .form input[type=number], .form input[type=date] { width: 100%; min-height: 50px; border-radius: 12px; padding: 0 16px; font-size: 18px; font-family: inherit; color: var(--navy); background: var(--white); border: 1.5px solid var(--input-line); }
.form-light input[type=email] { border: 1.5px solid var(--input-line); }
.code-input { font-size: 28px !important; letter-spacing: 0.3em; text-align: center; }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.day { position: relative; }
.day input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.day span[aria-hidden] { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--input-line); font-weight: 600; background: var(--white); }
.day span[aria-hidden] { color: #6B7280; border-style: dashed; }
.day-tick { display: none; }
.day input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); border-style: solid; }
.day input:checked + span .day-tick { display: inline; }
.day input:not(:checked) + span { text-decoration: line-through; text-decoration-thickness: 1px; }
.day input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.phone-line, .control-box { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--cream); }
.control-title { margin: 0; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 8px; }
.choice { display: flex; flex-direction: column; gap: 6px; background: var(--white); border-radius: 22px; padding: 24px; text-decoration: none; border: 2px solid transparent; }
.choice strong { font-family: var(--display); font-size: 24px; }
.choice span { color: var(--text-soft); }
.choice:hover { border-color: var(--sun); color: var(--navy); }
.follow-list { display: flex; flex-direction: column; gap: 12px; }
.follow-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; background: var(--white); border-radius: 20px; padding: 20px 22px; text-decoration: none; border: 2px solid transparent; }
.follow-card:hover { border-color: var(--sun); color: var(--navy); }
.follow-name { font-family: var(--display); font-weight: 800; font-size: 24px; }
.more { margin-top: 8px; }
.more summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 6px 12px; border-radius: 999px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.status-vert { background: #DDF1E4; color: #174A2C; } .status-vert .status-dot { background: var(--green); }
.status-orange { background: #FFE9C7; color: #7A4300; } .status-orange .status-dot { background: #D97706; }
.status-rouge { background: #FDE3D5; color: #8A1F05; } .status-rouge .status-dot { background: #C2410C; }
.status-gris { background: #E6E9F0; color: #3F4859; } .status-gris .status-dot { background: #7A8396; }
.follow-head { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin-bottom: 16px; }
.follow-head p { margin: 0; }
.tabs { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; border-bottom: 2px solid var(--line); margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
.tabs a { flex: none; padding: 12px 14px; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--text-soft); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a[aria-current=page] { color: var(--navy); border-bottom-color: var(--sun); }
.big-status { border-radius: 24px; padding: 28px; }
.big-status-text { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 36px); }
.big-vert { background: #DDF1E4; color: #174A2C; }
.big-orange { background: #FFE9C7; color: #7A4300; }
.big-rouge { background: #FDE3D5; color: #8A1F05; }
.big-gris { background: #E6E9F0; color: #3F4859; }
.plain { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.day-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 420px; }
.day-cell { aspect-ratio: 1; border-radius: 6px; background: #EEF0F4; }
.day-vert { background: var(--green); } .day-orange { background: #D97706; } .day-rouge { background: #C2410C; } .day-gris { background: #9AA1B0; }
.feed { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feed-msg, .feed-event { background: var(--white); border-radius: 16px; padding: 12px 16px; }
.feed-msg.mine { background: #EEF1F8; }
.feed-event { background: transparent; border: 1.5px dashed #C9C2B4; }
.feed-meta { margin: 0; font-size: 14px; font-weight: 700; color: var(--text-mute); }
.feed-text { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.feed-event p:last-child { margin: 4px 0 0; }
.feed-form { gap: 10px; }
.contact-list-app { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-item { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--white); border-radius: 18px; padding: 14px 16px; }
.contact-item.dragging { opacity: 0.5; }
.contact-rank { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--peach); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.contact-main { flex: 1 1 220px; min-width: 0; }
.contact-main p { margin: 0; }
.contact-name { font-weight: 700; font-size: 19px; }
.contact-meta { font-size: 15px; color: var(--text-mute); overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--input-line); background: var(--white); font-size: 20px; cursor: pointer; color: var(--navy); }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }
.badge { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge-ok { background: #DDF1E4; color: #174A2C; }
.badge-ko { background: #FDE3D5; color: #8A1F05; }
.badge-wait { background: #E6E9F0; color: #3F4859; }
.members { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.members li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: var(--white); border-radius: 16px; padding: 12px 16px; }
.members li .badge { margin-top: 0; }

.hint.block { display: block; }
.link-field { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--input-line); padding: 0 12px; font-size: 15px; font-family: inherit; }
.danger-zone { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.pro-org { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pro-org .follow-list { width: 100%; }
.sheet { background: var(--white); border-radius: 20px; padding: 32px; margin-top: 20px; font-size: 22px; line-height: 1.5; }
.sheet p { margin: 0 0 12px; }
.sheet-brand { font-family: var(--display); font-weight: 800; font-size: 28px; }
.sheet-big { font-size: 28px; font-weight: 700; }
.sheet-h { font-weight: 700; margin-top: 20px !important; }
.sheet-list { margin: 0 0 12px; padding-left: 24px; }
.sheet-urgent { margin-top: 24px !important; font-weight: 800; }
@media print {
  .site-header, .site-footer, .no-print, .app-nav, .skip { display: none !important; }
  body, .app { background: #fff; padding: 0; }
  .sheet { border-radius: 0; padding: 0; font-size: 18pt; }
  .app h1 { display: none; }
}

/* ===== Alertes, administration, simulateur ===== */
.alert-card { border-radius: 24px; padding: clamp(20px, 4vw, 28px); margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.alert-card h2 { margin: 0; }
.alert-active { background: #FDE3D5; color: #5E1A04; border: 2px solid #C2410C; }
.alert-done { background: #FFF1D6; color: #5A3A00; border: 2px solid #D97706; }
.alert-meta { margin: 0; font-weight: 600; }
.alert-result { margin: 0; font-weight: 700; font-size: 20px; }
.alert-sub { margin: 6px 0 4px; font-weight: 700; }
.alert-card textarea { width: 100%; border-radius: 12px; border: 1.5px solid var(--input-line); padding: 10px 12px; font: inherit; }
.actions-jour { margin: 16px 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.actions-jour.row-btns { flex-direction: row; }
.push-zone { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.admin-card { background: var(--white); border-radius: 18px; padding: 16px 18px; }
.admin-card-ko { background: #FDE3D5; }
.admin-card-title { margin: 0; font-size: 15px; color: var(--text-mute); font-weight: 700; }
.admin-card-value { margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-size: 22px; }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: 18px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: 14px; color: var(--text-mute); }
.admin-errors li, .admin-alert { background: var(--white); border-radius: 12px; padding: 8px 12px; font-size: 15px; overflow-wrap: anywhere; }
.sim-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sim-phone { background: #0F1626; border-radius: 28px; padding: 14px; color: var(--white); display: flex; flex-direction: column; gap: 8px; }
.sim-phone h2 { margin: 4px 6px 0; font-size: 18px; }
.sim-phone .hint { margin: 0 6px; color: #B9C2D6; }
.sim-thread { list-style: none; margin: 0; padding: 10px; background: #F4F5F8; border-radius: 18px; height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; color: var(--navy); }
.sim-thread li { max-width: 88%; border-radius: 14px; padding: 7px 10px; font-size: 14px; line-height: 1.35; display: flex; flex-direction: column; }
.sim-in { align-self: flex-start; background: var(--white); }
.sim-out { align-self: flex-end; background: var(--navy); color: var(--white); }
.sim-time { font-size: 11px; font-weight: 700; opacity: 0.7; }
.sim-call { background: #FFE2BE; color: var(--navy); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sim-call-title { margin: 0; font-weight: 800; }
.sim-call-text { margin: 0; font-size: 14px; }
.sim-call .btn-ghost { color: var(--navy); }
.sim-form { display: flex; gap: 6px; }
.sim-form input { flex: 1; min-width: 0; min-height: 44px; border-radius: 12px; border: 0; padding: 0 12px; font: inherit; font-size: 16px; }
.sim-phone .form-status.err { color: #FFB4A0; }
.sim-notifs li { font-size: 15px; padding: 4px 0; border-bottom: 1px solid var(--line); }
