/* Wassla CRM — feuille de style du site vitrine (mobile d'abord) */
:root {
  --orange: #ef5b2b;
  --orange-600: #d9431a;
  --orange-300: #ff8a5b;
  --orange-50: #fff3ee;
  --orange-100: #ffe3d8;
  --navy: #213343;
  --navy-700: #182736;
  --navy-900: #0f1c28;
  --teal: #0f8f86;
  --teal-50: #e6f5f4;
  --bg: #f3f5f8;
  --surface: #ffffff;
  --text: #1b2533;
  --muted: #5a6677;
  --line: #e2e7ee;
  --grad: linear-gradient(135deg, #ff8a5b 0%, #ef5b2b 55%, #d9431a 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 30, 54, .06), 0 1px 3px rgba(16, 30, 54, .05);
  --shadow: 0 4px 12px rgba(16, 30, 54, .06), 0 12px 32px rgba(16, 30, 54, .07);
  --shadow-lg: 0 20px 60px rgba(16, 30, 54, .16);
  --font: "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif;
  --header-h: 68px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--surface); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--orange-600); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
[hidden] { display: none !important; }
[lang="ar"] { font-family: var(--font-ar); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange-600); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; font: inherit; font-weight: 650; font-size: .98rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(239, 91, 43, .32); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(239, 91, 43, .4); }
.btn-outline { border-color: #cdd5df; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { color: var(--navy); background: transparent; }
.btn-ghost:hover { background: rgba(33, 51, 67, .06); color: var(--navy); }
.btn-light { background: #fff; color: var(--orange-600); }
.btn-light:hover { color: var(--orange-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(16, 30, 54, .06); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 550; font-size: .97rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--orange-600); background: var(--orange-50); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.burger {
  display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
}
.burger svg { width: 22px; height: 22px; }
.burger .i-close { display: none; }
.nav-open .burger .i-open { display: none; }
.nav-open .burger .i-close { display: block; }
.nav-mobile-cta { display: none; }

@media (max-width: 1023px) {
  .burger { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(16, 30, 54, .14); padding: 12px 16px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .site-nav a { padding: 8px 9px; font-size: .93rem; }
  .brand img { height: 40px; }
}

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(255, 138, 91, .22), transparent 60%),
  radial-gradient(700px 400px at -10% 20%, rgba(15, 143, 134, .10), transparent 60%),
  linear-gradient(180deg, #fff 0%, #fbfcfd 100%); }
@media (min-width: 900px) { .hero { padding: 72px 0 96px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--orange-50); color: var(--orange-600); border: 1px solid var(--orange-100); white-space: nowrap;
}
.badge-teal { background: var(--teal-50); color: #0b6f68; border-color: #c4e8e5; }
.badge [lang="ar"] { font-size: 1rem; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .94rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 18px; height: 18px; color: var(--teal); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -6% -8% 10%; background: var(--grad); border-radius: 32px; opacity: .14; transform: rotate(3deg);
}
.browser {
  position: relative; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f6f8fa; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5dbe3; }
.browser-bar span:nth-child(1) { background: #ff6b5f; }
.browser-bar span:nth-child(2) { background: #ffbe2f; }
.browser-bar span:nth-child(3) { background: #2bc840; }
.browser-bar em { margin-left: 12px; font-style: normal; font-size: .75rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; flex: 1; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 10px 14px; font-size: .85rem; font-weight: 600; color: var(--navy); border: 1px solid var(--line);
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-a { left: -18px; bottom: 18%; }
.float-b { right: -14px; top: 16%; }
@media (max-width: 1023px) { .float-a { left: 8px; bottom: -20px; } .float-b { right: 8px; top: -18px; } }
@media (max-width: 479px) { .float-b { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: bob 6s ease-in-out infinite; }
  .float-b { animation: bob 7s ease-in-out -2s infinite; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Bandeau « Conçu pour l'Algérie » ---------- */
.dz-strip { background: var(--navy); color: #dbe4ee; padding: 36px 0; position: relative; overflow: hidden; }
.dz-strip::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 100% 0, rgba(239, 91, 43, .25), transparent 70%); pointer-events: none; }
.dz-strip h2 { color: #fff; font-size: 1.25rem; margin: 0 0 18px; text-align: center; font-weight: 700; letter-spacing: 0; }
.dz-strip h2 span[lang="ar"] { color: var(--orange-300); margin-inline-start: 6px; }
.dz-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; position: relative; z-index: 1; }
.dz-list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; font-weight: 550; color: #fff;
}
.dz-list svg { width: 17px; height: 17px; color: var(--orange-300); }

/* ---------- Cartes & grilles ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6dde6; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600);
}
.icon svg { width: 24px; height: 24px; }
.icon-teal { background: var(--teal-50); color: var(--teal); }
.icon-navy { background: #e8edf3; color: var(--navy); }
.icon-violet { background: #f1ecff; color: #6b46e0; }
.icon-blue { background: #e7f1ff; color: #1f6fd6; }
.icon-pink { background: #ffecf3; color: #c2296b; }
.icon-amber { background: #fff6e0; color: #b7790b; }
.icon-green { background: #e8f7ec; color: #1f8a43; }

.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8f86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks.muted-text li { color: var(--muted); }

/* ---------- Fonctionnalités (vitrine alternée) ---------- */
.feature-row { display: grid; gap: 32px; align-items: center; padding: 28px 0; }
@media (min-width: 960px) {
  .feature-row { grid-template-columns: 1fr 1.15fr; gap: 64px; padding: 44px 0; }
  .feature-row.reverse .feature-text { order: 2; }
}
.feature-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 700; margin: 14px 0 12px; }
.feature-text > p { color: var(--muted); font-size: 1.05rem; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.shot img { width: 100%; }
.shot-caption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 10px; }

.hub-grid .card { display: flex; flex-direction: column; }
.hub-grid .card .more { margin-top: auto; padding-top: 16px; font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hub-grid .card .more svg { width: 16px; height: 16px; transition: transform .15s; }
.hub-grid .card .more:hover svg { transform: translateX(3px); }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: 0; left: 26px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(239, 91, 43, .3);
  transform: translateY(26px);
}
.step.card { padding-top: 84px; }

/* ---------- Tarifs ---------- */
.billing-toggle {
  display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.billing-toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 650; color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; min-height: 40px;
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.billing-toggle .save-pill { font-size: .75rem; background: var(--teal-50); color: #0b6f68; padding: 2px 8px; border-radius: 999px; }
.billing-toggle button[aria-pressed="true"] .save-pill { background: rgba(255, 255, 255, .16); color: #fff; }
.toggle-wrap { text-align: center; margin-bottom: 36px; }
.toggle-wrap p { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }

.plans { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.plan.featured { border: 2px solid var(--orange); box-shadow: 0 18px 50px rgba(239, 91, 43, .18); }
@media (min-width: 960px) { .plan.featured { transform: translateY(-10px); } }
.plan-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(239, 91, 43, .3);
}
.plan h3 { font-size: 1.35rem; margin: 0 0 4px; }
.plan .tagline { color: var(--muted); font-size: .95rem; min-height: 3em; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amount { font-size: 2.6rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; line-height: 1; }
.price .cur { font-weight: 700; color: var(--navy); }
.price-unit { font-size: .88rem; color: var(--muted); margin: 6px 0 4px; }
.price-note { font-size: .85rem; color: #0b6f68; font-weight: 600; min-height: 1.4em; margin-bottom: 20px; }
.plan .checks { margin: 0 0 24px; font-size: .95rem; }
.plan .btn { margin-top: auto; }
.plan-foot { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 28px; }
.plan-foot strong { color: var(--navy); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare caption { text-align: left; padding: 14px 18px; font-weight: 700; color: var(--navy); }
.compare th, .compare td { padding: 12px 18px; border-top: 1px solid var(--line); text-align: center; }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); }
.compare thead th { background: #f8fafc; font-weight: 700; color: var(--navy); position: sticky; top: 0; }
.compare thead th.hl { color: var(--orange-600); }
.compare tbody tr.group th { background: #fbfcfd; text-align: left; font-weight: 700; color: var(--navy); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.compare .yes { color: var(--teal); font-weight: 800; }
.compare .no { color: #a6b0bd; }
.compare td.hl { background: rgba(239, 91, 43, .04); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 650; color: var(--navy); position: relative; border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--orange-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9431a' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Démo ---------- */
.demo-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .demo-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.demo-aside .checks { margin-bottom: 28px; }
.demo-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; position: relative; min-height: 420px; }
.demo-form { position: relative; min-height: 400px; }
.demo-form::before {
  content: "Chargement du formulaire…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .95rem;
}
.demo-form.loaded::before { display: none; }
.demo-frame { position: relative; display: block; width: 100%; height: 900px; border: 0; background: transparent; border-radius: 14px; }
.demo-fallback { font-size: .88rem; color: var(--muted); text-align: center; margin: 10px 0 4px; }
.plan-note {
  display: flex; gap: 10px; align-items: center; background: var(--orange-50); border: 1px solid var(--orange-100); color: var(--navy);
  border-radius: 12px; padding: 12px 14px; margin: 8px 8px 4px; font-size: .94rem;
}
.plan-note svg { width: 20px; height: 20px; color: var(--orange-600); flex: none; }
.mini-quote { border-left: 3px solid var(--orange); padding: 4px 0 4px 16px; color: var(--muted); font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { text-align: center; }
.contact-card .icon { margin: 0 auto; }
.contact-card a { font-weight: 650; word-break: break-word; }
.placeholder-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; background: #fff6e0; color: #8a5a00; border: 1px dashed #e0b44c;
  padding: 1px 8px; border-radius: 6px; margin-top: 6px; vertical-align: middle;
}

/* ---------- Bandeau CTA ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 26px; padding: 44px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .92); font-size: 1.1rem; max-width: 620px; margin: 0 auto 24px; position: relative; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 56px 0 48px; background:
  radial-gradient(800px 320px at 90% -20%, rgba(255, 138, 91, .2), transparent 60%), linear-gradient(180deg, #fff, var(--bg)); text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero .lead { max-width: 720px; margin: 0 auto; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.toc a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-size: .9rem; font-weight: 600; }
.toc a:hover { border-color: var(--orange); color: var(--orange-600); }
.module { display: grid; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
@media (min-width: 900px) { .module { grid-template-columns: 300px 1fr; gap: 48px; } }
.module-head h2 { font-size: 1.6rem; margin-top: 14px; }
.module-head p { color: var(--muted); }
.module .checks { margin-top: 0; }
@media (min-width: 640px) { .module .checks.two-col { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.module figure { margin: 20px 0 0; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #2c3848; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #f8fafc; color: var(--navy); }
.prose .table-scroll table { margin: 0; min-width: 560px; }
.todo { background: #fff6e0; color: #7a4f00; border: 1px dashed #e0b44c; padding: 0 6px; border-radius: 5px; font-weight: 600; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.notice { background: var(--teal-50); border: 1px solid #c4e8e5; border-radius: 12px; padding: 16px 18px; color: #0d4f4a; margin: 1.5em 0; }
.notice-warn { background: #fff8ec; border-color: #f2d9a6; color: #6b4a07; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #b9c6d4; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand img { height: 50px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .94rem; max-width: 340px; }
.site-footer h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a, .link-btn { color: #b9c6d4; text-decoration: none; font-size: .95rem; }
.site-footer a:hover, .link-btn:hover { color: #fff; text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #dbe4ee;
  border: 1px solid rgba(255, 255, 255, .1);
}
.socials a:hover { background: var(--orange); color: #fff; text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; text-align: center; font-size: .9rem; }
.footer-bottom .meta { margin-bottom: 8px; color: #8796a8; }
.copyright a { color: #dbe4ee; }
html.has-cookie-banner .footer-bottom { padding-bottom: 200px; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 2147483002; background: #fff; color: var(--text); border-radius: 18px;
  box-shadow: 0 18px 60px rgba(16, 30, 54, .28); border: 1px solid var(--line); max-width: 1100px; margin: 0 auto; max-height: calc(100vh - 24px); overflow-y: auto;
}
.cookie-inner { display: grid; gap: 16px; padding: 20px; }
@media (min-width: 900px) { .cookie-inner { grid-template-columns: 1fr auto; align-items: end; gap: 28px; padding: 22px 26px; } }
.cookie-banner h2 { font-size: 1.08rem; margin: 0 0 6px; }
.cookie-banner p { font-size: .92rem; color: var(--muted); margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 479px) { .cookie-actions .btn { flex: 1 1 auto; } }
.cookie-prefs { margin-top: 14px; display: grid; gap: 10px; }
.pref-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; }
.pref-row strong { display: block; color: var(--navy); font-size: .95rem; }
.pref-row span { display: block; font-size: .85rem; color: var(--muted); }
.pref-row label { cursor: pointer; }
.pref-fixed { font-size: .8rem !important; font-weight: 700; color: var(--teal) !important; white-space: nowrap; }
.switch {
  appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 999px; background: #c9d2dd; position: relative; cursor: pointer; flex: none; margin: 0;
  transition: background .2s;
}
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch:checked { background: var(--teal); }
.switch:checked::after { transform: translateX(20px); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 900; line-height: 1; margin-bottom: 8px; }
.notfound .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Boutons du menu mobile (prioritaires sur .site-nav a) */
.site-nav .nav-mobile-cta a.btn { display: inline-flex; justify-content: center; border-radius: 999px; padding: 12px 20px; font-size: 1rem; }
.site-nav .nav-mobile-cta a.btn-primary, .site-nav .nav-mobile-cta a.btn-primary:hover { color: #fff; background: var(--grad); }
.site-nav .nav-mobile-cta a.btn-outline:hover { background: #fff; color: var(--navy); }
@media (max-width: 479px) { .hero-ctas .btn { width: 100%; } }
