/* ==========================================================================
   KING365TV — Design system (thème clair premium)
   1.  Variables & reset
   2.  Base typographie
   3.  Utilitaires & layout
   4.  Boutons
   5.  Header & navigation
   6.  Hero
   7.  Cartes (avantages, features, appareils, blog)
   8.  Tarifs
   9.  Étapes / installation
   10. FAQ (accordéon)
   11. Sections CTA
   12. Article & pages de contenu
   13. Footer
   14. WhatsApp flottant
   15. Bandeau cookies
   16. Animations
   ========================================================================== */

/* ------------------------------- 1. Variables ---------------------------- */
:root {
  /* Fonds */
  --color-background: #ffffff;
  --color-surface: #f7f8fa;
  --color-surface-light: #ffffff;
  --color-surface-hover: #f2f4f8;

  /* Bleu KING365TV — échantillonné sur le logo officiel (#29ABE2).
     Le cyan de marque sert aux aplats et aux décors ; les nuances foncées
     assurent le contraste AA du texte et des boutons sur fond blanc. */
  --brand-blue: #29abe2;
  --color-primary: #0e6f97;       /* 5,6:1 sur blanc — texte et liens */
  --color-primary-dark: #0b6183;  /* survol */
  --color-primary-mid: #0f7ca8;   /* fond de bouton, blanc dessus : 4,7:1 */
  --color-primary-light: #29abe2;
  --color-primary-soft: #eaf6fc;
  --color-primary-border: #bde3f5;

  /* Or/orange KING365TV — échantillonné sur la couronne du logo (#F7941D). */
  --brand-gold: #f7941d;
  --color-accent: #f7941d;
  --color-accent-ink: #9a5405;    /* 5,8:1 sur blanc — texte doré lisible */
  --color-accent-dark: #c6700d;
  --color-accent-soft: #fef4e6;
  --color-accent-border: #f8d9a8;

  /* WhatsApp — réservé aux éléments WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #0e7a3f;
  --color-whatsapp-ink: #06351a;

  /* Texte & bordures */
  --color-text: #111827;
  --color-text-soft: #374151;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-border-strong: #d5d9e0;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.07), 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08), 0 2px 6px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 18px 44px rgba(17, 24, 39, 0.11), 0 4px 12px rgba(17, 24, 39, 0.05);
  --shadow-primary: 0 8px 20px rgba(14, 111, 151, 0.26);

  --container: 1180px;
  --header-height: 76px;

  --space-section: clamp(64px, 9vw, 108px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------------------------- 2. Typographie ----------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.022em;
}

h1 {
  font-size: clamp(2.05rem, 4.9vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
}

h3 {
  font-size: clamp(1.12rem, 1.9vw, 1.3rem);
}

h4 {
  font-size: 1.03rem;
}

p {
  margin: 0 0 1.1em;
  color: var(--color-muted);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

ul,
ol {
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.45em;
  color: var(--color-muted);
}

strong {
  color: var(--color-text);
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------- 3. Layout & utils --------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 72px);
}

.section--surface {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.06rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow--gold {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-border);
  color: var(--color-accent-ink);
}

.text-accent {
  color: var(--color-accent-ink);
}

.text-primary {
  color: var(--color-primary);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

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

/* Espacements utilitaires (évitent les styles en ligne dans le HTML). */
.u-mt-16 { margin-top: 16px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-28 { margin-top: 28px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-40 { margin-top: 40px; }
.u-mt-48 { margin-top: 48px; }

/* Marqueur des informations légales restant à renseigner. */
.todo {
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent-border);
  color: var(--color-accent-ink);
  font-weight: 650;
}

/* ------------------------------ 4. Boutons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background: var(--color-primary-mid);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(14, 111, 151, 0.32);
}

.btn--gold {
  background: linear-gradient(135deg, #f9b556, var(--color-accent));
  color: #3a2404;
  box-shadow: 0 8px 20px rgba(247, 148, 29, 0.34);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #f2a63c, var(--color-accent-dark));
  color: #3a2404;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-whatsapp-ink);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  background: #1fbf5b;
  color: var(--color-whatsapp-ink);
  transform: translateY(-2px);
}

.btn--ghost {
  background: #fff;
  border-color: var(--color-border-strong);
  color: var(--color-text);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 12px 20px;
  font-size: 0.9rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-group--center {
  justify-content: center;
}

/* --------------------------- 5. Header & nav ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--color-text);
}

.brand img {
  width: 81px;
  height: 50px;
}

/* Le CTA du tiroir mobile ne doit pas apparaître dans la barre de bureau. */
.main-nav > .btn {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__list li {
  margin: 0;
}

.main-nav__list a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  color: var(--color-text-soft);
  font-size: 0.94rem;
  font-weight: 550;
}

.main-nav__list a:hover {
  background: var(--color-surface);
  color: var(--color-primary);
}

.main-nav__list a[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  font-weight: 650;
}

.header-actions {
  position: relative;
  z-index: 96; /* reste au-dessus du tiroir mobile (z-index 95) */
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s ease, top 0.22s ease;
}

.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(17, 24, 39, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* -------------------------------- 6. Hero -------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 6.5vw, 88px) clamp(56px, 7.5vw, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, #f8fdff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 45% 30% -25%;
  background: radial-gradient(closest-side, rgba(41, 171, 226, 0.2), transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 25% -25% -40% 55%;
  background: radial-gradient(closest-side, rgba(247, 148, 29, 0.16), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: center;
}

.hero__lead {
  font-size: clamp(1.03rem, 1.6vw, 1.16rem);
  color: var(--color-text-soft);
  max-width: 42ch;
}

.hero__logo {
  width: 178px;
  height: 110px;
  margin-bottom: 24px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.hero__points svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

/* ------------------------------- 7. Cartes ------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--color-surface-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-bottom: 10px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary);
}

.card__icon--gold {
  background: var(--color-accent-soft);
  border-color: var(--color-accent-border);
  color: var(--color-accent-ink);
}

.card__link {
  margin-top: 18px;
  color: var(--color-primary);
  font-weight: 650;
  font-size: 0.94rem;
}

.card__link::after {
  content: " →";
}

.card--device .card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}

/* Cartes article */
.post-card {
  overflow: hidden;
  padding: 0;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
}

.post-card__meta {
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card h3 {
  font-size: 1.1rem;
}

.post-card h3 a {
  color: var(--color-text);
}

.post-card h3 a:hover {
  color: var(--color-primary);
}

.post-card .card__link {
  margin-top: auto;
  padding-top: 14px;
}

/* -------------------------------- 8. Tarifs ------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  padding-top: 58px;
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: 0 16px 40px rgba(14, 111, 151, 0.16);
}

.price-card--featured::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--color-accent));
  pointer-events: none;
}

.price-card__badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: linear-gradient(135deg, #f9b556, var(--color-accent));
  color: #3a2404;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-card__duration {
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: clamp(2.4rem, 4vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.price-card--featured .price-card__price {
  color: var(--color-primary);
}

.price-card__note {
  margin-bottom: 22px;
  font-size: 0.9rem;
}

.price-card__features {
  margin: 0 0 26px;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  color: var(--color-text-soft);
  font-size: 0.93rem;
}

.price-card__features svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-primary);
}

.price-card--featured .price-card__features svg {
  color: var(--color-accent-ink);
}

.price-card .btn {
  margin-top: auto;
}

.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.92rem;
}

/* ------------------------- 9. Étapes / installation ---------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step__number {
  display: block;
  margin-bottom: 14px;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
}

.step h3 {
  margin-bottom: 8px;
}

.step p:last-child {
  margin-bottom: 0;
}

.install-block {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.install-block h2,
.install-block h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

/* Encadré de remarque, y compris hors des blocs .prose. */
.install-block blockquote {
  margin: 22px 0 0;
  padding: 16px 22px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.install-block blockquote p {
  color: var(--color-text-soft);
}

.install-block blockquote p:last-child {
  margin-bottom: 0;
}

.install-block .card__link {
  display: inline-block;
  margin-top: 20px;
}

.install-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.install-steps li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 58px;
  color: var(--color-muted);
}

.install-steps li:last-child {
  margin-bottom: 0;
}

.install-steps li::before {
  counter-increment: install;
  content: "0" counter(install);
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.install-steps li strong {
  display: block;
  margin-bottom: 2px;
}

/* --------------------------- 10. FAQ accordéon --------------------------- */
.faq {
  max-width: 860px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-xs);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 20px 22px;
  background: none;
  border: 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__question[aria-expanded="true"] {
  color: var(--color-primary);
}

.faq__question[aria-expanded="true"] .faq__icon {
  background: var(--color-primary-soft);
  border-color: var(--color-primary-border);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq__panel {
  overflow: hidden;
  transition: height 0.26s ease;
}

.faq__panel-inner {
  padding: 0 22px 22px;
}

.faq__panel-inner p:last-child {
  margin-bottom: 0;
}

/* --------------------------- 11. Sections CTA ---------------------------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 62px);
  background: linear-gradient(135deg, #eef8fd 0%, #ffffff 55%, #fef7ec 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: -70% 55% 20% -25%;
  background: radial-gradient(closest-side, rgba(41, 171, 226, 0.22), transparent);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 58ch;
  margin-inline: auto;
  color: var(--color-text-soft);
  font-size: 1.05rem;
}

.cta-panel .btn-group {
  justify-content: center;
  margin-top: 26px;
}

/* --------------------- 12. Article & pages de contenu -------------------- */
.page-header {
  position: relative;
  padding-block: clamp(44px, 5.5vw, 74px) clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #f4fbfe 0%, #ffffff 100%);
}

.page-header p {
  max-width: 62ch;
  color: var(--color-text-soft);
  font-size: 1.06rem;
  margin-bottom: 0;
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  margin: 0;
  color: var(--color-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--color-border-strong);
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.prose h3 {
  margin-top: 1.6em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--color-text-soft);
  font-size: 1.03rem;
}

.prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  color: var(--color-primary-dark);
}

.prose img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-block: 1.8em;
}

.prose blockquote {
  margin: 1.8em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose blockquote p {
  color: var(--color-text-soft);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  padding: 26px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.sidebar h2 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.sidebar ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.sidebar li {
  margin-bottom: 9px;
  font-size: 0.94rem;
}

.sidebar a {
  color: var(--color-text-soft);
}

.sidebar a:hover {
  color: var(--color-primary);
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--color-text-soft);
}

.info-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}

.table-wrap {
  overflow-x: auto;
  margin-block: 1.8em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
}

th,
td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

th {
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 700;
}

td {
  color: var(--color-text-soft);
}

tr:last-child td {
  border-bottom: 0;
}

/* -------------------------------- 13. Footer ----------------------------- */
.site-footer {
  padding-block: clamp(48px, 6vw, 72px) 28px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 34px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 10px;
  font-size: 0.94rem;
}

.site-footer a {
  color: var(--color-muted);
}

.site-footer a:hover {
  color: var(--color-primary);
}

.site-footer__brand img {
  width: 130px;
  height: 80px;
  margin-bottom: 16px;
}

.site-footer__brand p {
  max-width: 34ch;
  font-size: 0.94rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-whatsapp-dark) !important;
  font-weight: 700;
}

.footer-whatsapp:hover {
  color: var(--color-whatsapp-ink) !important;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* --------------------------- 14. WhatsApp flottant ----------------------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(18, 140, 74, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  color: #fff;
  background: #1fbf5b;
  transform: scale(1.06);
}

.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.wa-float:hover .wa-float__tooltip,
.wa-float:focus-visible .wa-float__tooltip {
  opacity: 1;
  visibility: visible;
}

/* --------------------------- 15. Bandeau cookies ------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: none;
  max-width: 780px;
  margin-inline: auto;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.cookie-banner p {
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-prefs {
  display: none;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.cookie-prefs.is-visible {
  display: block;
}

.cookie-prefs__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-prefs__row label {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--color-text);
}

.cookie-prefs__row p {
  margin: 2px 0 0;
  font-size: 0.86rem;
}

.cookie-prefs input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
}

/* ------------------------------ 16. Animations --------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
