/* ==========================================================================
   Livrivo — site vitrine (livrivo.fr)
   Jetons : fond #F1F4F8 · bleu nuit #0F2A47 · turquoise #0E9D9D · orange #E8892B
   ========================================================================== */

:root {
  --bg: #F1F4F8;
  --card: #FFFFFF;
  --navy: #0F2A47;
  --navy-2: #17365A;
  --navy-deep: #0A1F38;
  --ink: #0F2A47;
  --text: #2B3A4D;
  --muted: #5F6E82;
  --line: #DCE3EC;
  --teal: #0E9D9D;
  --teal-dark: #0B8585;
  --teal-soft: #E2F4F4;
  --teal-ink: #0A6F6F;
  --orange: #E8892B;
  --orange-soft: #FDF1E4;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 42, 71, .05), 0 10px 30px rgba(15, 42, 71, .08);
  --shadow-lg: 0 2px 4px rgba(15, 42, 71, .06), 0 24px 60px rgba(15, 42, 71, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--teal-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 80px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { margin-top: 12px; font-size: 1.1rem; color: var(--muted); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Icônes au trait -------------------------------------------------------- */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-ink);
}
.icon-badge .ic { width: 26px; height: 26px; }

/* Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: .975rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(14, 157, 157, .28); }
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline { background: #fff; color: var(--teal-ink); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #E8EEF5; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); padding-left: 14px; padding-right: 14px; }
.btn-ghost:hover { background: #E8EEF5; }

/* En-tête ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; color: #4ECDC4; }
.brand-mark .ic { width: 24px; height: 24px; stroke-width: 2.1; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); text-decoration: none; }
.nav-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle .ic { margin: 0 auto; }

/* Héro ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(78, 205, 196, .22), transparent 70%);
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.hero-kicker { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7FDAD6; margin-bottom: 20px; }
.hero h1 { color: #fff; }
.hero h1 span { display: block; color: #8FE3DF; }
.hero-sub { margin: 22px auto 0; max-width: 640px; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 14px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero-tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.hero-tags li { font-size: .85rem; color: rgba(255, 255, 255, .8); padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.hero-tags-label { margin-top: 36px; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.hero-tags-label + .hero-tags { margin-top: 12px; }

/* Bandeau offre */
.offer-strip { background: var(--teal); color: #fff; }
.offer-strip .container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; min-height: 52px; padding-top: 10px; padding-bottom: 10px; text-align: center; font-size: .95rem; }
.offer-strip strong { font-weight: 700; }
.offer-strip a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Cartes ----------------------------------------------------------------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 18px; }
.card p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-4 .card { padding: 24px; }
.cards-4 .card h3 { font-size: 1.05rem; margin-top: 16px; }
.cards-4 .card p { font-size: .92rem; }

/* Problème : trois cartes juste sous le bandeau d'offre */
.problems { padding: 56px 0 24px; }
.problems .cards-3 .card { box-shadow: var(--shadow-lg); }

/* Comment ça marche ------------------------------------------------------ */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: etape; }
.steps::before {
  content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 30px;
  border-top: 2px dashed #B9C7D6; z-index: 0;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step .icon-badge { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); color: var(--teal-ink); position: relative; z-index: 1; }
.step-n {
  position: absolute; top: -6px; left: calc(50% + 14px);
  width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; z-index: 2;
}
.step h3 { margin-top: 18px; font-size: 1.05rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* Écrans de l'application ------------------------------------------------ */
.screens { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.screens-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.screens-text .lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.checks .ic { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 3px; }

.devices { position: relative; margin: 0; }
.device-desktop { border-radius: 12px; background: var(--navy); padding: 8px 8px 0; box-shadow: var(--shadow-lg); }
.device-bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.device-screen { background: var(--bg); border-radius: 8px 8px 0 0; position: relative; overflow: hidden; }
.device-screen img { display: block; width: 100%; height: auto; border-radius: inherit; }
.device-phone { width: 100%; max-width: 250px; margin: 0 auto; border-radius: 28px; background: var(--navy); padding: 9px; box-shadow: var(--shadow-lg); }
.device-phone .device-screen { border-radius: 20px; }
.shot-caption { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.shot-caption strong { color: var(--navy); }
.screens-wide { margin-top: 88px; }
.devices-solo { max-width: 980px; margin: 0 auto; }
.phones-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
.phones-row figure { margin: 0; text-align: center; }
.phones-row figcaption { margin-top: 16px; font-size: .92rem; color: var(--muted); line-height: 1.5; max-width: 280px; margin-left: auto; margin-right: auto; }
.phones-row figcaption strong { display: block; color: var(--navy); margin-bottom: 4px; }

/* Avis ------------------------------------------------------------------ */
.avis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.avis { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.etoiles { display: inline-flex; gap: 3px; color: #E9B949; }
.etoiles .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.avis blockquote { margin: 14px 0 0; font-size: 1rem; line-height: 1.6; color: var(--text); flex: 1; }
.avis figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.avis figcaption strong { color: var(--navy); }
.avis figcaption span { font-size: .88rem; color: var(--muted); }
/* Avis en attente de validation : carte conservée, sans étoiles ni citation */
.avis-attente { border-style: dashed; box-shadow: none; background: #fff; }
.avis-badge { display: inline-flex; align-items: center; align-self: flex-start; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--teal-soft, #E6F6F6); color: var(--teal, #0E9D9D); font-size: .8rem; font-weight: 600; letter-spacing: .01em; }
.avis-attente blockquote { color: var(--muted); font-style: italic; }

/* Tarifs ----------------------------------------------------------------- */
.toggle {
  display: inline-flex; padding: 5px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  margin: 0 auto 36px; box-shadow: var(--shadow);
}
.toggle-wrap { text-align: center; }
.toggle button {
  font: inherit; font-weight: 600; font-size: .92rem; color: var(--text);
  background: transparent; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background-color .18s ease, color .18s ease;
}
.toggle button:hover { background: #EEF2F7; }
.toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.toggle small { font-size: .72rem; font-weight: 500; opacity: .75; }
.toggle .chip { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); }
.toggle button[aria-pressed="true"] .chip { background: var(--teal); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow);
}
.plan-featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.3rem; }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: .92rem; min-height: 2.9em; }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price [data-prix] { font-size: 2.4rem; font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.plan-per { color: var(--muted); font-size: .9rem; }
.plan-facturation { margin-top: 6px; font-size: .9rem; color: var(--text); }
.plan-saving { margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--teal-ink); min-height: 1.4em; }
.plan-mes { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--bg); font-size: .88rem; color: var(--text); }
.plan-mes strong { color: var(--navy); }
.plan-mes .free { color: var(--teal-ink); font-weight: 700; }
.plan-mes .was { text-decoration: line-through; color: var(--muted); margin-right: 6px; }
.plan-features { margin-top: 22px; display: grid; gap: 10px; flex: 1; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.plan-features .ic { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }
.plan-features .plus { font-weight: 600; color: var(--navy); margin-top: 4px; }
.plan .btn { margin-top: 26px; }
.pricing-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: .92rem; }
.pricing-more { margin-top: 10px; text-align: center; font-weight: 600; }

/* Tableau comparatif (page Tarifs) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .93rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th { background: var(--bg); color: var(--navy); font-weight: 700; }
.compare th:first-child, .compare td:first-child { text-align: left; position: sticky; left: 0; background: #fff; z-index: 1; min-width: 260px; }
.compare th:first-child { background: var(--bg); }
.compare tr:last-child td { border-bottom: 0; }
.compare .group td { background: #F7F9FC; font-weight: 700; color: var(--navy); text-align: left; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.compare .yes { color: var(--teal-ink); font-weight: 700; }
.compare .no { color: #B3BECB; }
.compare .featured { background: var(--teal-soft); }
.compare td .ic { width: 20px; height: 20px; margin: 0 auto; }

/* Mise en service -------------------------------------------------------- */
.setup-note { margin: 30px auto 0; max-width: 720px; text-align: center; padding: 16px 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: .95rem; }
.setup-note strong { color: var(--teal-ink); }

/* Sécurité --------------------------------------------------------------- */
.trust { background: var(--navy); color: #fff; }
.trust h2 { color: #fff; }
.trust .section-head .lead { color: rgba(255, 255, 255, .75); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trust-grid li { padding: 22px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.trust-grid .icon-badge { background: rgba(14, 157, 157, .18); color: #7FDAD6; width: 44px; height: 44px; border-radius: 12px; }
.trust-grid h3 { color: #fff; font-size: .98rem; margin-top: 14px; }
.trust-grid p { margin-top: 6px; font-size: .88rem; color: rgba(255, 255, 255, .72); }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > p, .faq details > ul { padding: 0 20px 20px; color: var(--text); font-size: .96rem; }
.faq details > ul { display: grid; gap: 6px; }
.faq details > ul li { padding-left: 16px; position: relative; }
.faq details > ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.faq-more { margin-top: 22px; text-align: center; color: var(--muted); font-size: .95rem; }
.faq-more a { font-weight: 600; }

/* Appel final ------------------------------------------------------------ */
.cta-final { padding: 40px 0 80px; }
.cta-box {
  background: linear-gradient(135deg, var(--navy-2), var(--navy-deep)); color: #fff;
  border-radius: 20px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 { color: #fff; }
.cta-box p { margin: 12px auto 0; max-width: 560px; color: rgba(255, 255, 255, .8); }
.cta-box .btn { margin-top: 28px; }
.cta-box small { display: block; margin-top: 14px; color: rgba(255, 255, 255, .6); font-size: .85rem; }

/* Pied de page ----------------------------------------------------------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { color: var(--text); }
.footer-grid a:hover { color: var(--navy); }
.footer-tagline { margin-top: 12px; color: var(--muted); max-width: 320px; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.todo { background: #FFF6E8; color: #8A4B06; padding: 1px 6px; border-radius: 4px; font-style: italic; }

/* Pages secondaires ------------------------------------------------------ */
.page-hero { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; padding: 56px 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-hero p { margin: 12px auto 0; max-width: 620px; color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
.pricing-page { padding-top: 56px; }
.prose { max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.prose h2 { font-size: 1.35rem; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 20px; }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 10px; display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.prose .notice { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 6px; font-size: .92rem; }

/* Fenêtre d'offre (modale) ----------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 27, 56, .62); backdrop-filter: blur(2px); }
.modal-card {
  position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 40px 32px 28px;
  text-align: center; box-shadow: var(--shadow-lg); animation: modal-in .35s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--bg); }
.modal-close .ic { width: 18px; height: 18px; }
.modal-logo { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #4ECDC4; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto; }
.modal-logo .ic { width: 40px; height: 40px; stroke-width: 2; }
.modal-kicker { margin-top: 18px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.modal-card h2 { margin-top: 6px; font-size: 2rem; }
.modal-text { margin-top: 10px; color: var(--text); }
.modal-date { margin-top: 16px; font-weight: 600; color: var(--navy); }
.modal-card .btn { margin-top: 22px; width: 100%; }
.modal-small { margin-top: 12px; font-size: .82rem; color: var(--muted); }
.countdown[hidden] { display: none; }
.countdown { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.countdown div { min-width: 64px; padding: 10px 6px; border-radius: 10px; background: var(--bg); }
.countdown b { display: block; font-size: 1.5rem; color: var(--navy); line-height: 1; }
.countdown span { display: block; font-size: .7rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

/* Apparition au défilement ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-card { animation: none; }
  .btn, .toggle button { transition: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .screens-grid { grid-template-columns: 1fr; gap: 36px; }
  .screens-wide { margin-top: 64px; }
  .devices { max-width: 640px; margin: 0 auto; }
  .phones-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 860px) {
  .nav { gap: 12px; height: 62px; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 62px;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 0 12px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px var(--gutter); font-size: 1rem; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-primary { padding: 10px 14px; font-size: .9rem; }

  .section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-actions .btn { width: 100%; }
  .problems { padding: 40px 0 16px; }
  .cards-3, .cards-4, .plans, .trust-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step { text-align: left; display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; }
  .step .icon-badge { grid-row: 1 / span 3; }
  .step h3 { margin-top: 6px; }
  .step-n { left: 42px; top: -4px; }
  .plan-featured { order: -1; }
  .plan-desc { min-height: 0; }
  .toggle { display: flex; width: 100%; max-width: 420px; }
  .toggle button { flex: 1; justify-content: center; padding: 10px 8px; font-size: .85rem; flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 44px 20px; }
  .prose { padding: 24px 20px; }
  .modal-card { padding: 36px 22px 24px; }
  .phones-row { grid-template-columns: 1fr; gap: 36px; }
  .avis-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-tags li { font-size: .8rem; padding: 5px 11px; }
}

/* Assistant (chatbot) ---------------------------------------------------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: var(--font); }
.chat-bulle {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 999px;
  background: var(--teal); color: #fff; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  box-shadow: 0 10px 28px rgba(14, 157, 157, .38), 0 2px 6px rgba(15, 42, 71, .15); transition: transform .18s ease, background-color .18s ease;
}
.chat-bulle:hover { background: var(--teal-dark); transform: translateY(-1px); }
.chat-bulle-ic { display: inline-flex; width: 26px; height: 26px; }
.chat-bulle-ic svg { width: 26px; height: 26px; }
.chat-ouvert .chat-bulle { display: none; }

.chat-panneau {
  position: fixed; right: 20px; bottom: 20px; width: 390px; max-width: calc(100vw - 40px); height: 600px; max-height: calc(100vh - 40px);
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden; animation: chat-in .25s ease both;
}
.chat-panneau[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.chat-tete { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy); color: #fff; }
.chat-tete strong { display: block; font-size: 1rem; }
.chat-tete small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.chat-logo { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #4ECDC4; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chat-logo svg { width: 24px; height: 24px; }
.chat-fermer { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.chat-fermer:hover { background: rgba(255, 255, 255, .2); }
.chat-fermer svg { width: 18px; height: 18px; }

.chat-messages { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .93rem; line-height: 1.5; }
.chat-msg p { margin: 0; }
.chat-msg p + p, .chat-msg p + ul, .chat-msg ul + p { margin-top: 8px; }
.chat-msg ul { margin: 0; padding-left: 18px; list-style: disc; display: grid; gap: 4px; }
.chat-msg-assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); }
.chat-msg-user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg-erreur { border-color: var(--orange); background: var(--orange-soft); }
.chat-msg-attente { color: var(--muted); letter-spacing: .2em; animation: chat-pulse 1s ease-in-out infinite; }
@keyframes chat-pulse { 50% { opacity: .35; } }

.chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; background: var(--bg); }
.chat-suggestions[hidden] { display: none; }
.chat-suggestions button {
  font: inherit; font-size: .82rem; font-weight: 500; color: var(--teal-ink); background: #fff; border: 1px solid var(--teal); border-radius: 999px;
  padding: 7px 12px; cursor: pointer; transition: background-color .15s ease;
}
.chat-suggestions button:hover { background: var(--teal-soft); }

.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea {
  flex: 1; resize: none; font: inherit; font-size: .95rem; line-height: 1.4; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--text); max-height: 120px;
}
.chat-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.chat-envoyer { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--teal); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chat-envoyer:hover { background: var(--teal-dark); }
.chat-envoyer:disabled { opacity: .5; cursor: default; }
.chat-envoyer svg { width: 20px; height: 20px; }
.chat-note { margin: 0; padding: 0 14px 10px; font-size: .74rem; color: var(--muted); background: #fff; }
.chat-reset { font: inherit; font-size: inherit; color: var(--teal-ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 560px) {
  .chat { right: 14px; bottom: 14px; }
  .chat-bulle-txt { display: none; }
  .chat-bulle { width: 54px; padding: 0; justify-content: center; }
  .chat-panneau { right: 0; left: 0; bottom: 0; width: auto; max-width: none; height: 88vh; max-height: none; border-radius: 18px 18px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-panneau { animation: none; }
  .chat-msg-attente { animation: none; }
}
