/* ============================================================
   PELLET COMPANION — Global Stylesheet
   Font: Plus Jakarta Sans (variable)
   ============================================================ */

/* ============================================================
   @font-face
   ============================================================ */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/font/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/font/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  /* Brand gradient */
  --grad-start: #95C11F;
  --grad-end:   #00B4CD;
  --gradient:   linear-gradient(135deg, #95C11F 0%, #00B4CD 100%);

  /* Couleurs (selon charte graphique) */
  --color-cream:  #F8F4DF;  /* fond principal / beige */
  --color-cyan:   #00B4CD;  /* principale */
  --color-green:  #95C11F;  /* principale */
  --color-dark:   #2C2A29;  /* texte principal / fond sombre */
  --color-red:    #E30909;
  --color-blue:   #005FBE;
  --color-orange: #EF8C29;
  --color-lime:   #31BA3E;
  --color-white:  #FFFFFF;

  /* Gris fonctionnels */
  --color-gray-1: #4B4B4B;
  --color-gray-2: #717171;
  --color-gray-3: #A8A8A8;
  --color-gray-4: #D4D4D4;

  /* Sémantique */
  --text-primary:   var(--color-dark);
  --text-secondary: var(--color-gray-1);
  --text-muted:     var(--color-gray-2);
  --text-on-dark:   var(--color-white);

  --bg-cream: var(--color-cream);
  --bg-dark:  var(--color-dark);
  --bg-white: var(--color-white);

  --border:       var(--color-gray-4);
  --border-dark:  var(--color-dark);
  --border-light: rgba(255,255,255,.15);

  /* Ombre portée nette (effet perspective / néo-brutal) */
  --shadow-hard:       4px 4px 0 var(--color-dark);
  --shadow-hard-sm:    3px 3px 0 var(--color-dark);
  --shadow-hard-light: 4px 4px 0 rgba(255,255,255,.25);

  /* Typographie — spécifications charte */
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;

  --size-xs:   .75rem;   /* 12px — body small, caption, btn-s */
  --size-sm:   .875rem;  /* 14px */
  --size-base: 1rem;     /* 16px — body, btn-l */
  --size-md:   1.125rem; /* 18px — H4 */
  --size-lg:   1.25rem;  /* 20px */
  --size-xl:   1.5rem;   /* 24px — H3 */
  --size-2xl:  1.875rem; /* 30px */
  --size-3xl:  2.25rem;  /* 36px — H2 */
  --size-4xl:  3rem;     /* 48px — H1 */
  --size-6xl:  4rem;     /* 64px — Display */

  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-extrabold: 800;

  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.5;

  /* Espacements */
  --space-1:  .25rem;
  --space-2:  .5rem;
  --space-3:  .75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* Rayons */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: .15s ease;
}

/* ============================================================
   Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: var(--size-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--space-20); }
.section--sm { padding-block: var(--space-12); }
.section--lg { padding-block: var(--space-24); }

/* Fonds de section */
.bg-cream { background: var(--bg-cream); }
.bg-dark  { background: var(--bg-dark); }
.bg-white { background: var(--bg-white); }

/* ============================================================
   Section header
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--grad-start);
  margin-bottom: var(--space-4);
  border: 1.5px solid currentColor;
  border-radius: var(--radius-full);
  padding: .25rem .75rem;
}

.section-label--light { color: var(--grad-start); }

.section-title {
  font-size: clamp(var(--size-3xl), 4vw, var(--size-4xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.section-title--white { color: var(--color-cream); }

.section-title .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: var(--size-md);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  max-width: 600px;
}

.section-desc--muted { color: rgba(248,244,223,.65); }

.section-header { margin-bottom: var(--space-12); }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin-inline: auto; }

/* ============================================================
   Utilitaires texte
   ============================================================ */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Boutons — style : contour + ombre portée nette
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: .75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid var(--color-dark);
  box-shadow: var(--shadow-hard);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn:hover,
.btn.is-visible:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-sm);
}

.btn:active,
.btn.is-visible:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.btn--primary {
  background: var(--gradient);
  color: var(--color-white);
}

.btn--secondary {
  background: var(--color-cream);
  color: var(--color-dark);
}

.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn--sm {
  padding: .55rem 1.1rem;
  font-size: var(--size-sm);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--size-md);
}

/* Boutons sur fond sombre */
.btn--on-dark {
  border-color: var(--color-white);
  box-shadow: 4px 4px 0 rgba(255,255,255,.3);
  color: var(--color-white);
  background: transparent;
}

.btn--on-dark:hover {
  box-shadow: 2px 2px 0 rgba(255,255,255,.3);
}

/* ============================================================
   Store badges
   ============================================================ */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-dark);
  color: var(--color-white);
  padding: .65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  border: 2px solid var(--color-dark);
  box-shadow: var(--shadow-hard);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.store-badge:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-sm);
}

.store-badge:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

/* Couleur App Store (bleu) / Google Play (vert)
   Bordure et ombre restent sombres (neo-brutalist) */
.store-badge--ios {
  background: var(--color-blue);
  color: var(--color-white);
}
.store-badge--android {
  background: var(--color-lime);
  color: var(--color-white);
}
.store-badge--ios .store-badge__sub,
.store-badge--android .store-badge__sub { color: rgba(255,255,255,.6); }

/* Même couleur dans le contexte cta-block (surcharge le fond blanc) */
.cta-block .store-badge--ios {
  background: var(--color-blue);
  border-color: var(--color-dark);
  color: var(--color-white);
}
.cta-block .store-badge--android {
  background: var(--color-lime);
  border-color: var(--color-dark);
  color: var(--color-white);
}
.cta-block .store-badge--ios .store-badge__sub,
.cta-block .store-badge--android .store-badge__sub { color: rgba(255,255,255,.6); }

.store-badge img { width: 20px; height: 20px; }

.store-badge__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.store-badge__sub {
  font-size: .65rem;
  font-weight: var(--weight-regular);
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

.store-badge__name { font-size: var(--size-sm); font-weight: var(--weight-bold); }

.store-badges {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================================
   Navbar
   ============================================================ */
pc-navbar,
pc-footer,
pc-cta { display: block; }

pc-navbar:not(:defined),
pc-footer:not(:defined),
pc-cta:not(:defined) { opacity: 0; }

pc-navbar:not(:defined) { min-height: 70px; }

pc-navbar, pc-footer, pc-cta { transition: opacity 0.15s ease; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,244,223,.95);
  border-bottom: 2px solid var(--color-dark);
}

/* Blur sur pseudo-élément pour ne pas créer de containing block pour les enfants fixed */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--space-6);
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.navbar__logo:hover {
  transform: scale(1.06);
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__link {
  font-size: var(--size-base);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-gray-4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.4, 0, .2, 1), background .22s ease;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--text-primary);
}

.navbar__link:hover::after {
  transform: scaleX(1);
}

.navbar__link--active::after {
  background: var(--gradient);
  transform: scaleX(1);
}

.navbar__actions { display: flex; align-items: center; }

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}

/* Hamburger → croix quand le menu est ouvert */
.navbar__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer mobile */
.navbar__drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--color-cream);
  padding: var(--space-6) var(--container-pad);
  gap: var(--space-4);
  border-top: 2px solid var(--color-dark);
  overflow-y: auto;
  z-index: 99;
  /* État fermé */
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .28s ease, visibility 0s .32s;
}

.navbar__drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .28s ease, visibility 0s 0s;
}

.navbar__drawer .navbar__link {
  font-size: var(--size-lg);
  padding-block: var(--space-2);
  transition: color var(--transition), transform .2s cubic-bezier(.4, 0, .2, 1);
}

.navbar__drawer .navbar__link:hover {
  transform: translateX(6px);
}

.navbar__drawer .navbar__link::after {
  display: none;
}

.navbar__drawer .btn { margin-top: var(--space-4); }

@media (max-width: 900px) {
  .navbar__nav,
  .navbar__actions { display: none; }
  .navbar__toggle { display: flex; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-cream);
  color: var(--color-dark);
  padding-block: var(--space-16) var(--space-8);
  border-top: 2px solid var(--color-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-gray-4);
  align-items: start;
}

.footer__brand { max-width: 320px; }

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-3);
}

.footer__logo img {
  height: 36px;
  width: auto;
}

.footer__tagline {
  font-size: var(--size-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

.footer__social { display: flex; gap: var(--space-3); }

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(44,42,41,.06);
  border: 1px solid rgba(44,42,41,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer__social a:hover { background: rgba(44,42,41,.12); }

.footer__social img {
  width: 18px;
  height: 18px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12);
}

.footer__links-group h4 {
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-gray-3);
  margin-bottom: var(--space-4);
  letter-spacing: .04em;
}

.footer__links-group ul { display: flex; flex-direction: column; gap: var(--space-3); }

.footer__links-group a {
  font-size: var(--size-sm);
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__links-group a:hover { color: var(--color-dark); }

.footer__bottom {
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-size: var(--size-sm);
  color: var(--color-gray-2);
}

.footer__copy a {
  color: var(--text-secondary);
}

.footer__lang { display: flex; align-items: center; gap: var(--space-2); }

.footer__lang a {
  font-size: var(--size-sm);
  color: var(--color-gray-2);
  transition: color var(--transition);
  padding: .25rem .5rem;
}

.footer__lang a:hover,
.footer__lang a.active { color: var(--color-dark); font-weight: var(--weight-semibold); }

.footer__lang span { color: var(--color-gray-4); }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--space-10); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer__links { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ============================================================
   Hero homepage — background image plein écran
   ============================================================ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-20);
  background: url('../assets/images/hero-homepage.webp') right center / cover no-repeat;
  overflow: hidden;
}

/* Dégradé : opaque à gauche (lisibilité texte), transparent à droite (image visible) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--color-cream) 0%,
    var(--color-cream) 38%,
    rgba(248,244,223,.9) 52%,
    rgba(248,244,223,.45) 68%,
    rgba(248,244,223,.05) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .9rem;
  background: rgba(149,193,31,.12);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-full);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-dark);
  box-shadow: var(--shadow-hard-sm);
  margin-bottom: var(--space-5);
}

.hero__title {
  font-size: clamp(var(--size-4xl), 5.5vw, var(--size-6xl));
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.hero__desc {
  font-size: var(--size-md);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.hero__trust {
  font-size: var(--size-sm);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    background-position: center right -100px;
  }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: var(--size-4xl); }
}

/* ============================================================
   Hero variante — page Télécharger
   Même hauteur/structure que la homepage, contenu centré,
   dégradé crème du bas vers le haut (transition sans bordure)
   ============================================================ */
.hero--download {
  background-image: url('../assets/images/hero-telecharger.webp');
  background-position: center center;
}

.hero--download::before {
  background: linear-gradient(
    to top,
    var(--color-cream) 0%,
    rgba(248,244,223,.92) 18%,
    rgba(248,244,223,.55) 45%,
    rgba(248,244,223,.15) 70%,
    rgba(248,244,223,.0) 100%
  );
}

.hero--download .hero__content {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.hero--download .hero__actions {
  justify-content: center;
}

/* Hero — variante image FAQ */
.hero--faq {
  background-image: url('../assets/images/hero-faq.webp');
}

/* ============================================================
   Stats section (sous le hero, fond beige)
   ============================================================ */
.stats-section {
  background: var(--bg-cream);
  padding-block: var(--space-10);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  background: var(--color-cream);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  text-align: center;
}

.stat-card__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.stat-card__value {
  font-size: var(--size-xl);
  font-weight: var(--weight-extrabold);
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__label {
  font-size: var(--size-xs);
  color: var(--text-muted);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Section Problème (fond sombre)
   ============================================================ */
.problem-section {
  background: var(--bg-dark);
  padding-block: var(--space-20);
}

/* Colonnes séparées par un trait fin — pas de cards */
.pain-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--space-12);
}

.pain-col {
  padding-inline: var(--space-8);
  border-right: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pain-col:first-child { padding-left: 0; }
.pain-col:last-child  { padding-right: 0; border-right: none; }

.pain-col__icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: .5;
  flex-shrink: 0;
}

.pain-col__quote {
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  color: var(--grad-start);
  line-height: var(--leading-snug);
}

.pain-col__desc {
  font-size: var(--size-sm);
  color: rgba(248,244,223,.55);
  line-height: var(--leading-normal);
  flex: 1;
}

.pain-col__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-4);
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 4px 8px rgba(0,0,0,0.2);
}

.pain-col__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.problem-bridge {
  text-align: center;
  margin-top: var(--space-16);
  font-size: var(--size-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-cream);
}

.problem-bridge .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 900px) {
  .pain-cols { grid-template-columns: 1fr; }
  .pain-col {
    padding-inline: 0;
    border-right: none;
    border-bottom: none;
    padding-top: var(--space-10);
    padding-bottom: 0;
  }
  .pain-col:first-child { padding-top: 0; }
}

/* ============================================================
   Section Fonctionnalités (fond beige, rows alternées)
   ============================================================ */
.features-section {
  background: var(--bg-cream);
  padding-block: var(--space-20);
}

.feature-rows { display: flex; flex-direction: column; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
}

/* Colonnes inversées */
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-row__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Icône + label en ligne */
.feature-row__label-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.feature-row__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.feature-row__label {
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
}

/* Couleurs par fonctionnalité */
.feature-row--blue .feature-row__title,
.feature-row--blue .feature-row__link,
.feature-row--blue .feature-row__label,
.feature-row--blue .feature-row__sub { color: var(--color-blue); }

.feature-row--orange .feature-row__title,
.feature-row--orange .feature-row__link,
.feature-row--orange .feature-row__label,
.feature-row--orange .feature-row__sub { color: var(--color-orange); }

.feature-row--green .feature-row__title,
.feature-row--green .feature-row__link,
.feature-row--green .feature-row__label,
.feature-row--green .feature-row__sub { color: var(--color-lime); }

.feature-row--red .feature-row__title,
.feature-row--red .feature-row__link,
.feature-row--red .feature-row__label,
.feature-row--red .feature-row__sub { color: var(--color-red); }

.feature-row__title {
  font-size: var(--size-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.feature-row__sub {
  font-size: var(--size-md);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
}

.feature-row__desc {
  font-size: var(--size-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.feature-row__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--size-base);
  font-weight: var(--weight-semibold);
  color: var(--grad-start);
  transition: gap var(--transition);
  width: fit-content;
}

.feature-row__link:hover { gap: var(--space-4); }

/* Visuel — image couvrant le conteneur sans déformation */
.feature-row__visual {
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.feature-row__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-block: var(--space-12);
    direction: ltr;
  }
  .feature-row--reverse > * { direction: ltr; }
}

/* ============================================================
   Témoignages (fond beige)
   ============================================================ */
.testimonials-section {
  background: var(--bg-dark);
  padding-block: var(--space-20);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}

.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-hard-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-card__icon {
  width: 56px;
  height: 56px;
  filter: brightness(0) invert(1);
  opacity: .4;
  flex-shrink: 0;
}

.testimonial-card__text {
  font-size: var(--size-md);
  font-weight: var(--weight-semibold);
  color: var(--color-cream);
  line-height: var(--leading-snug);
  flex: 1;
}

.testimonial-card__author {
  font-size: var(--size-sm);
  color: rgba(248,244,223,.5);
}

.testimonial-card__author strong {
  color: rgba(248,244,223,.75);
  font-weight: var(--weight-semibold);
}

/* Encart "Vous utilisez Pellet Companion ?" */
.testimonials-cta {
  margin-top: var(--space-10);
  text-align: center;
}

.testimonials-cta__title {
  font-size: var(--size-md);
  font-weight: var(--weight-semibold);
  color: var(--color-cream);
  margin-bottom: var(--space-2);
}

.testimonials-cta__desc {
  font-size: var(--size-sm);
  color: rgba(248,244,223,.5);
  line-height: var(--leading-normal);
  max-width: 540px;
  margin-inline: auto;
}

/* Section header overrides for dark testimonials */
.testimonials-section .section-title { color: var(--color-cream); }

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA final (fond beige)
   ============================================================ */
.cta-section {
  background: var(--bg-cream);
  padding-block: var(--space-20);
}

.cta-block {
  background: var(--gradient);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-block__title {
  font-size: clamp(var(--size-3xl), 4vw, var(--size-4xl));
  font-weight: var(--weight-extrabold);
  color: var(--color-cream);
  line-height: var(--leading-tight);
}

.cta-block__desc {
  font-size: var(--size-base);
  color: rgba(248,244,223,.8);
  max-width: 520px;
  line-height: var(--leading-normal);
}

.cta-block__sub {
  font-size: var(--size-sm);
  color: rgba(248,244,223,.7);
}

.cta-block .store-badges {
  justify-content: center;
}

/* Store badges sur fond coloré */
.cta-block .store-badge {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.cta-block .store-badge .store-badge__sub { color: rgba(44,42,41,.5); }
.cta-block .store-badge:hover { transform: translate(2px, 2px); box-shadow: var(--shadow-hard-sm); }

@media (max-width: 768px) {
  .cta-block { padding: var(--space-10) var(--space-6); }
}

/* ============================================================
   Page hero (pages internes — non homepage)
   ============================================================ */
.page-hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-20);
}

.page-hero__img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .25;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero--centered .page-hero__inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.page-hero__label {
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: rgba(149,193,31,.9);
  margin-bottom: var(--space-4);
}

.page-hero__title {
  font-size: clamp(var(--size-3xl), 4.5vw, var(--size-4xl));
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  color: var(--color-cream);
  margin-bottom: var(--space-5);
}

.page-hero__desc {
  font-size: var(--size-md);
  color: rgba(248,244,223,.75);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.page-hero--centered .page-hero__desc { margin-inline: auto; }

.page-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.page-hero--centered .page-hero__actions { justify-content: center; }

/* ============================================================
   Étapes (pages fonctionnalités)
   ============================================================ */
.steps-section { background: var(--bg-cream); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}

.step-card {
  background: var(--color-white);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.step-card__number {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-sm);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  flex-shrink: 0;
}

.step-card__label {
  font-size: var(--size-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: var(--space-1);
}

.step-card--blue .step-card__label { color: rgba(0,95,190,.6); }

.step-card__title {
  font-size: var(--size-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.step-card__desc {
  font-size: var(--size-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* ============================================================
   Bénéfices (pages fonctionnalités) — fond sombre
   ============================================================ */
.benefits-section { background: var(--bg-dark); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.benefit-card {
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-hard-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.benefit-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(149,193,31,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card__icon img { width: 22px; height: 22px; }

.benefit-card__title {
  font-size: var(--size-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: var(--leading-snug);
}

.benefit-card__desc {
  font-size: var(--size-sm);
  color: rgba(255,255,255,.55);
  line-height: var(--leading-normal);
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-group { display: flex; flex-direction: column; gap: var(--space-4); }
.faq-group + .faq-group { margin-top: var(--space-12); }

.faq-group__title {
  font-size: var(--size-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-dark);
  margin-bottom: var(--space-2);
}

.faq-item {
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--size-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  background: var(--color-white);
  cursor: pointer;
  transition: background var(--transition);
}

.faq-item__question:hover { background: var(--color-cream); }

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--grad-start);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  padding: 0 var(--space-6);
  font-size: var(--size-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  background: var(--color-white);
  border-top: 2px solid var(--color-dark);
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .3s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 600px;
  padding: var(--space-4) var(--space-6) var(--space-5);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 2px solid var(--color-dark);
}

.contact-info__item:first-child { border-top: 2px solid var(--color-dark); }

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  border: 2px solid var(--color-dark);
  box-shadow: var(--shadow-hard-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon img { width: 20px; height: 20px; }

.contact-info__label {
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--size-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.contact-info__value a:hover { color: var(--grad-start); }

.contact-link-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-link-card:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-sm);
}

.contact-link-card__body { flex: 1; }

.contact-link-card__title {
  font-size: var(--size-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.contact-link-card__sub { font-size: var(--size-sm); color: var(--text-muted); }

.contact-links { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-8); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Légal
   ============================================================ */
.legal-content { max-width: 800px; margin-inline: auto; }

.legal-section { margin-bottom: var(--space-12); }

.legal-section h2 {
  font-size: var(--size-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-dark);
}

.legal-section h3 {
  font-size: var(--size-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-section p {
  font-size: var(--size-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-section ul li {
  font-size: var(--size-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-2);
}

.legal-section a { color: var(--grad-start); text-decoration: underline; }

/* ============================================================
   Page 404
   ============================================================ */
.error-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-16) var(--container-pad);
  background: var(--bg-cream);
}

.error-page__inner { max-width: 520px; }

.error-page__number {
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: var(--weight-extrabold);
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
}

.error-page__title {
  font-size: var(--size-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.error-page__desc {
  font-size: var(--size-md);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  line-height: var(--leading-normal);
}

.error-page__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Page Télécharger
   ============================================================ */
.download-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.download-info-card {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  /* Gradient border vert → bleu, sans ombre */
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--color-cream), var(--color-cream)),
    linear-gradient(135deg, var(--grad-start), var(--grad-end));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.download-info-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
}

.download-info-card__icon img { width: 100%; height: 100%; filter: brightness(0) invert(1); }

.download-info-card__title {
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.download-info-card__desc {
  font-size: var(--size-sm);
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

@media (max-width: 600px) { .download-info-grid { grid-template-columns: 1fr; } }

/* Grille 4 colonnes pour la page Télécharger */
.download-info-grid--4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .download-info-grid--4col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .download-info-grid--4col { grid-template-columns: 1fr; } }

/* Variantes de titre coloré */
.download-info-card__title--green  { color: var(--color-lime); }
.download-info-card__title--blue   { color: var(--color-blue); }
.download-info-card__title--orange { color: var(--color-orange); }
.download-info-card__title--red    { color: var(--color-red); }

/* ============================================================
   Page Télécharger — Colonnes fonctionnalités (sans carte)
   Dividers dégradé vert → bleu du haut vers le bas
   ============================================================ */
.dl-features-section { background: var(--bg-cream); padding-block: var(--space-20); }

.dl-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.dl-feature-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-inline: var(--space-6);
  border-right: 2px solid;
  border-image: linear-gradient(to bottom, var(--grad-start), var(--grad-end)) 1;
}
.dl-feature-col:first-child { padding-left: 0; }
.dl-feature-col:last-child  { padding-right: 0; border-right: none; }

.dl-feature-col__icon { width: 28px; height: 28px; flex-shrink: 0; }

.dl-feature-col__title {
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}
.dl-feature-col__title--blue   { color: var(--color-blue); }
.dl-feature-col__title--orange { color: var(--color-orange); }
.dl-feature-col__title--lime   { color: var(--color-lime); }
.dl-feature-col__title--red    { color: var(--color-red); }

.dl-feature-col__desc {
  font-size: var(--size-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  flex: 1;
}

.dl-feature-col__link {
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.dl-feature-col__link--blue   { color: var(--color-blue); }
.dl-feature-col__link--orange { color: var(--color-orange); }
.dl-feature-col__link--lime   { color: var(--color-lime); }
.dl-feature-col__link--red    { color: var(--color-red); }
.dl-feature-col__link:hover   { text-decoration: underline; }

.dl-feature-col__img { margin-top: var(--space-4); border-radius: var(--radius-sm); overflow: hidden; }
.dl-feature-col__img img { width: 100%; display: block; }

@media (max-width: 900px) {
  .dl-features-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) 0; }
  .dl-feature-col {
    padding-inline: 0;
    border-right: none;
    padding-bottom: var(--space-8);
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, var(--grad-start), var(--grad-end)) 1;
  }
  .dl-feature-col:nth-last-child(-n+2):not(:nth-child(odd):last-child) { border-bottom: none; padding-bottom: 0; }
  .dl-feature-col:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 520px) {
  .dl-features-grid { grid-template-columns: 1fr; }
  .dl-feature-col:nth-last-child(-n+2):not(:nth-child(odd):last-child) { border-bottom: 2px solid; padding-bottom: var(--space-8); border-image: linear-gradient(to right, var(--grad-start), var(--grad-end)) 1; }
}

/* ============================================================
   Page Fonctionnalités — Hub
   ============================================================ */
.fonc-hero {
  background: var(--bg-cream);
  padding-block: var(--space-24) var(--space-16);
  text-align: center;
}

.fonc-hero__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.fonc-hero__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.fonc-hero__title {
  font-size: var(--size-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-primary);
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

.fonc-hero__desc {
  font-size: var(--size-lg);
  color: var(--text-secondary);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: var(--leading-normal);
}

/* Feature blocks — plein écran, image de fond */
.fonc-blocks {
  border-top: 2px solid var(--color-dark);
}

.fonc-block {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-dark);
  overflow: hidden;
}

/* Overlay coloré en dégradé pour la lisibilité du texte */
.fonc-block::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fonc-block--blue::before   { background: linear-gradient(90deg, rgba(0,95,190,.95) 0%, rgba(0,95,190,.88) 44%, rgba(0,95,190,0) 74%); }
.fonc-block--orange::before { background: linear-gradient(90deg, rgba(239,140,41,.95) 0%, rgba(239,140,41,.88) 44%, rgba(239,140,41,0) 74%); }
.fonc-block--green::before  { background: linear-gradient(90deg, rgba(49,186,62,.95) 0%, rgba(49,186,62,.88) 44%, rgba(49,186,62,0) 74%); }
.fonc-block--red::before    { background: linear-gradient(90deg, rgba(227,9,9,.95) 0%, rgba(227,9,9,.88) 44%, rgba(227,9,9,0) 74%); }

/* Pour les blocs avec texte à droite */
.fonc-block--blue.fonc-block--reverse::before   { background: linear-gradient(270deg, rgba(0,95,190,.95) 0%, rgba(0,95,190,.88) 44%, rgba(0,95,190,0) 74%); }
.fonc-block--orange.fonc-block--reverse::before { background: linear-gradient(270deg, rgba(239,140,41,.95) 0%, rgba(239,140,41,.88) 44%, rgba(239,140,41,0) 74%); }
.fonc-block--green.fonc-block--reverse::before  { background: linear-gradient(270deg, rgba(49,186,62,.95) 0%, rgba(49,186,62,.88) 44%, rgba(49,186,62,0) 74%); }
.fonc-block--red.fonc-block--reverse::before    { background: linear-gradient(270deg, rgba(227,9,9,.95) 0%, rgba(227,9,9,.88) 44%, rgba(227,9,9,0) 74%); }

.fonc-block__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
}

.fonc-block__panel {
  width: 50%;
  padding-block: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.fonc-block--reverse .fonc-block__panel {
  margin-left: auto;
}

.fonc-block__label-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.fonc-block__label-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.fonc-block__label {
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: rgba(248,244,223,.75);
}

.fonc-block__title {
  font-size: var(--size-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-cream);
  line-height: var(--leading-tight);
  max-width: 480px;
}

.fonc-block__sub {
  font-size: var(--size-base);
  font-weight: var(--weight-semibold);
  color: rgba(248,244,223,.85);
}

.fonc-block__desc {
  font-size: var(--size-base);
  color: rgba(248,244,223,.75);
  line-height: var(--leading-normal);
  max-width: 460px;
}

.fonc-block__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  color: var(--color-cream);
  text-decoration: none;
  width: fit-content;
  transition: gap var(--transition);
}

.fonc-block__link:hover {
  gap: var(--space-3);
}

/* Stats section on fonctionnalités reuses .stats-section */

/* CTA outlined variant */
.cta-section--light {
  background: var(--bg-cream);
  padding-block: var(--space-20);
}

.cta-block--outlined {
  background: var(--bg-cream);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-block--outlined .cta-block__title { color: var(--text-primary); }
.cta-block--outlined .cta-block__desc  { color: var(--text-secondary); }
.cta-block--outlined .cta-block__sub   { color: var(--text-muted); }

/* Responsive fonc-blocks */
@media (max-width: 768px) {
  .fonc-hero__title { font-size: var(--size-3xl); }
  .fonc-hero__icon  { width: 48px; height: 48px; }

  .fonc-block { min-height: 460px; }

  .fonc-block--blue::before,
  .fonc-block--orange::before,
  .fonc-block--green::before,
  .fonc-block--red::before,
  .fonc-block--blue.fonc-block--reverse::before,
  .fonc-block--orange.fonc-block--reverse::before,
  .fonc-block--green.fonc-block--reverse::before,
  .fonc-block--red.fonc-block--reverse::before {
    background: rgba(0,0,0,.45);
  }

  .fonc-block--blue::before   { background: rgba(0,95,190,.82); }
  .fonc-block--orange::before { background: rgba(239,140,41,.82); }
  .fonc-block--green::before  { background: rgba(49,186,62,.82); }
  .fonc-block--red::before    { background: rgba(227,9,9,.82); }

  .fonc-block__container { padding-inline: var(--space-6); }

  .fonc-block__panel {
    width: 100%;
    padding-block: var(--space-10);
    margin-left: 0;
  }

  .fonc-block__title { font-size: var(--size-xl); max-width: none; }
  .fonc-block__desc  { max-width: none; }

  .cta-block--outlined { padding: var(--space-10) var(--space-6); }
}

/* ============================================================
   Sous-pages fonctionnalités — section prose (Le Problème)
   ============================================================ */
.problem-prose { background: var(--bg-cream); padding-block: var(--space-20); }

.problem-prose__inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.problem-prose__inner h2 {
  font-size: clamp(var(--size-xl), 2.5vw, var(--size-3xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

.problem-prose__lead {
  font-size: var(--size-md);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: var(--leading-normal);
}

.problem-prose__inner p {
  font-size: var(--size-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.problem-prose__callout {
  font-size: var(--size-md) !important;
  font-weight: var(--weight-bold) !important;
  color: var(--text-primary) !important;
  padding-left: var(--space-4);
  border-left: 3px solid var(--color-blue);
}

.problem-prose__callout--orange { border-left-color: var(--color-orange); }
.problem-prose__callout--green  { border-left-color: var(--color-lime); }
.problem-prose__callout--red    { border-left-color: var(--color-red); }

/* ============================================================
   Sous-pages fonctionnalités — image app sous les étapes
   ============================================================ */
.steps-img {
  margin-top: var(--space-12);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-dark);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
}

.steps-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   Sous-pages fonctionnalités — image en bas des benefit-cards
   ============================================================ */
.benefit-card__img {
  margin-top: auto;
  padding-top: var(--space-4);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.benefit-card__img img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

/* ============================================================
   Sous-pages fonctionnalités — FAQ 2 colonnes
   ============================================================ */
.faq-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  align-items: start;
}

/* Remove border between question and answer in subpage FAQ */
.faq-2col .faq-item__answer { border-top: none; }

@media (max-width: 768px) {
  .faq-2col { grid-template-columns: 1fr; }
  .steps-img { max-height: 260px; }
  .problem-prose__inner { max-width: none; }
}

/* ============================================================
   Section label — variantes couleur (sous-pages fonctionnalités)
   ============================================================ */
.section-label.section-label--blue   { color: var(--color-blue);   border-color: var(--color-blue); }
.section-label.section-label--orange { color: var(--color-orange); border-color: var(--color-orange); }
.section-label.section-label--red    { color: var(--color-red);    border-color: var(--color-red); }
.section-label.section-label--lime   { color: var(--color-lime);   border-color: var(--color-lime); }
.section-label.section-label--cream  { color: var(--color-cream);  border-color: rgba(248,244,223,.35); }

/* Section title — variantes couleur */
.section-title.section-title--blue   { color: var(--color-blue); }
.section-title.section-title--orange { color: var(--color-orange); }
.section-title.section-title--red    { color: var(--color-red); }
.section-title.section-title--lime   { color: var(--color-lime); }
.section-title.section-title--white  { color: var(--color-cream); }

/* ============================================================
   Bouton variante bleue
   ============================================================ */
.btn--blue {
  background: var(--color-blue);
  color: var(--color-cream);
}

/* ============================================================
   Bouton variante orange (gestion-stock)
   ============================================================ */
.btn--orange {
  background: var(--color-orange);
  color: var(--color-cream);
}

/* ============================================================
   Step cards — variante orange (gestion-stock)
   ============================================================ */
.step-card--orange {
  border-color: var(--color-orange);
  background: rgba(239,140,41,.05);
  box-shadow: 4px 4px 0 var(--color-orange);
}
.step-card--orange .step-card__label { color: rgba(239,140,41,.6); }
.step-card--orange .step-card__number {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
}
.step-card--orange .step-card__number img {
  width: 28px;
  height: 28px;
}
/* Icône pleinement opaque (gradient) → converti en ton chaud orange à 20% */
.step-card--orange .step-card__number img.step-icon--to-orange {
  filter: sepia(1) saturate(2);
  opacity: 0.2;
}
/* Icône pleinement opaque orange → ramenée à 20% d'opacité */
.step-card--orange .step-card__number img.step-icon--fade {
  opacity: 0.2;
}
.step-card--orange .step-card__title { color: var(--color-orange); }

/* ============================================================
   Bénéfices — variante dégradé orange → sombre (gestion-stock)
   ============================================================ */
.benefits-orange-section {
  background: linear-gradient(180deg, var(--color-orange) 0%, var(--color-dark) 100%);
  padding-block: var(--space-20);
}

/* ============================================================
   Hero page — icône fonctionnalité
   ============================================================ */
.page-hero__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: var(--space-6);
  display: block;
}

/* ============================================================
   Step cards — variante bleue
   ============================================================ */
.step-card--blue {
  border-color: var(--color-blue);
  background: rgba(0,95,190,.05);
}
.step-card--blue .step-card__number {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
}
.step-card--blue .step-card__number img {
  width: 28px;
  height: 28px;
  filter: invert(15%) sepia(97%) saturate(1800%) hue-rotate(200deg) brightness(90%) contrast(110%);
}
.step-card--blue .step-card__title { color: var(--color-blue); }
.step-card--blue { box-shadow: 4px 4px 0 var(--color-blue); }

/* ============================================================
   Bénéfices — variante dégradé bleu → sombre (suivi-conso)
   ============================================================ */
.benefits-blue-section {
  background: linear-gradient(180deg, var(--color-blue) 0%, var(--color-dark) 100%);
  padding-block: var(--space-20);
}

/* Pain-cols sur fond dégradé bleu/sombre : texte crème */
.pain-cols--cream .pain-col__quote { color: var(--color-cream); }
.pain-cols--cream .pain-col__desc  { color: rgba(248,244,223,.55); }
.pain-cols--cream .pain-col        { border-right-color: rgba(255,255,255,.15); }

/* Icône opacité 30% (remplace le .5 par défaut) */
.pain-col__icon--30 { opacity: .30; }
/* SVG icons that already carry their color natively (no filter needed) */
.pain-col__icon--native { filter: none; opacity: 1; }

/* ============================================================
   FAQ sous-pages — section fond sombre
   ============================================================ */
.faq-section--dark { background: var(--color-dark); padding-block: var(--space-20); }
.faq-section--dark .section-title { color: var(--color-cream); }
.faq-section--dark .section-desc  { color: rgba(248,244,223,.6); }

.faq-2col--dark .faq-item {
  border-color: rgba(255,255,255,.15);
  box-shadow: var(--shadow-hard-light);
}
.faq-2col--dark .faq-item__question {
  background: rgba(255,255,255,.06);
  color: var(--color-cream);
}
.faq-2col--dark .faq-item__question:hover { background: rgba(255,255,255,.10); }
.faq-2col--dark .faq-item.is-open .faq-item__icon { color: var(--color-cream); }
.faq-2col--dark .faq-item__answer {
  background: rgba(255,255,255,.06);
  color: rgba(248,244,223,.65);
}

/* ============================================================
   Bouton variante rouge (cartographie)
   ============================================================ */
.btn--red {
  background: var(--color-red);
  color: var(--color-cream);
}

/* ============================================================
   Step cards — variante rouge (cartographie)
   ============================================================ */
.step-card--red {
  border-color: var(--color-red);
  background: rgba(227,9,9,.05);
  box-shadow: 4px 4px 0 var(--color-red);
}
.step-card--red .step-card__label { color: rgba(227,9,9,.6); }
.step-card--red .step-card__number {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
}
.step-card--red .step-card__number img {
  width: 28px;
  height: 28px;
}
.step-card--red .step-card__title { color: var(--color-red); }

/* ============================================================
   Bénéfices — variante dégradé rouge → sombre (cartographie)
   ============================================================ */
.benefits-red-section {
  background: linear-gradient(180deg, var(--color-red) 0%, var(--color-dark) 100%);
  padding-block: var(--space-20);
}

/* ============================================================
   Bouton variante lime (assistance-technique)
   ============================================================ */
.btn--lime {
  background: var(--color-lime);
  color: var(--color-cream);
}

/* ============================================================
   Step cards — variante lime (assistance-technique)
   ============================================================ */
.step-card--lime {
  border-color: var(--color-lime);
  background: rgba(49,186,62,.05);
  box-shadow: 4px 4px 0 var(--color-lime);
}
.step-card--lime .step-card__label { color: rgba(49,186,62,.6); }
.step-card--lime .step-card__number {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
}
.step-card--lime .step-card__number img {
  width: 28px;
  height: 28px;
}
.step-card--lime .step-card__title { color: var(--color-lime); }

/* ============================================================
   Bénéfices — variante dégradé lime → sombre (assistance-technique)
   ============================================================ */
.benefits-lime-section {
  background: linear-gradient(180deg, var(--color-lime) 0%, var(--color-dark) 100%);
  padding-block: var(--space-20);
}

/* ============================================================
   Boutons icône store (homepage CTA — icône seule, style néo-brutalist)
   ============================================================ */
.store-icon-btns {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.store-icon-btn {
  display: inline-flex;
  line-height: 0;
  border: 2px solid var(--color-dark);
  box-shadow: 4px 4px 0 var(--color-dark);
  border-radius: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.store-icon-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-dark);
}

.store-icon-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-dark);
}

.store-icon-btn img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: block;
}

/* ============================================================
   Page 404
   ============================================================ */
.not-found {
  background: var(--bg-cream);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-end;
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

.not-found__badge {
  display: inline-block;
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-full);
  padding: .25rem .9rem;
  margin-bottom: var(--space-6);
}

.not-found__title {
  font-size: clamp(var(--size-3xl), 5.5vw, var(--size-5xl, 3.75rem));
  font-weight: var(--weight-extrabold);
  color: var(--color-dark);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
}

.not-found__desc {
  font-size: var(--size-md);
  color: var(--color-gray-1);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================================
   Contact — page
   ============================================================ */

/* Hero variante contact */
.hero--contact {
  background-image: url('../assets/images/hero-contact.webp');
}

/* Section moyens de contact */
.contact-methods-section {
  background: var(--bg-cream);
  padding-block: var(--space-20);
}

/* Bloc encadré avec bordure dégradée */
.contact-block {
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--color-cream), var(--color-cream)),
    linear-gradient(135deg, var(--grad-start), var(--grad-end));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-card--green {
  background: rgba(149,193,31,.08);
  border-right: 1px solid rgba(149,193,31,.2);
}
.contact-card--blue {
  background: rgba(0,180,205,.08);
}

.contact-card__icon {
  width: 36px;
  height: 36px;
  filter: brightness(0) saturate(100%);
}
.contact-card--green .contact-card__icon {
  filter: invert(59%) sepia(55%) saturate(500%) hue-rotate(44deg) brightness(95%);
}
.contact-card--blue .contact-card__icon {
  filter: invert(48%) sepia(80%) saturate(400%) hue-rotate(163deg) brightness(90%);
}

.contact-card__title {
  font-size: var(--size-md);
  font-weight: var(--weight-extrabold);
  color: var(--color-dark);
  line-height: var(--leading-tight);
}

.contact-card__text {
  font-size: var(--size-base);
  color: var(--color-gray-1);
  line-height: var(--leading-normal);
}

.contact-card__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  color: var(--color-green);
  text-decoration: underline;
  word-break: break-all;
}
.contact-card__email:hover { text-decoration: none; }

.contact-card__socials {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-1);
}
.contact-card__social-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-dark);
  font-size: var(--size-base);
  font-weight: var(--weight-semibold);
  transition: opacity .2s;
}
.contact-card__social-link:hover { opacity: .7; }
.contact-card__social-link img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
  flex-shrink: 0;
}

/* Section orientation / questions fréquentes */
.contact-orient-section {
  background: var(--bg-dark);
  padding-block: var(--space-20);
}
.contact-orient-section .section-header { margin-bottom: var(--space-12); }

.contact-orient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.contact-orient-card {
  border: 2px solid rgba(248,244,223,.2);
  box-shadow: 4px 4px 0 rgba(248,244,223,.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: rgba(248,244,223,.04);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-orient-card__title {
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  color: var(--color-cream);
  line-height: var(--leading-snug);
}

.contact-orient-card__text {
  font-size: var(--size-base);
  color: rgba(248,244,223,.65);
  line-height: var(--leading-normal);
  flex: 1;
}

.contact-orient-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: rgba(149,193,31,.9);
  text-decoration: underline;
  word-break: break-all;
  margin-top: var(--space-1);
}
.contact-orient-card__link:hover { text-decoration: none; }

@media (max-width: 900px) {
  .contact-block__grid { grid-template-columns: 1fr; }
  .contact-card--green { border-right: none; border-bottom: 1px solid rgba(149,193,31,.2); }
  .contact-orient-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Mentions légales — page texte longue
   ============================================================ */
.legal-hero {
  background: var(--bg-dark);
  padding-block: var(--space-16);
  text-align: center;
}
.legal-hero__title {
  font-size: clamp(var(--size-3xl), 4.5vw, var(--size-4xl));
  font-weight: var(--weight-extrabold);
  color: var(--color-cream);
  line-height: var(--leading-tight);
}

.legal-page {
  background: var(--bg-cream);
  padding-block: var(--space-20);
}

.legal-content {
  max-width: 780px;
  margin-inline: auto;
}

.legal-section {
  padding-bottom: var(--space-20);
  border-bottom: 2px solid var(--color-dark);
  margin-bottom: var(--space-20);
  scroll-margin-top: 5rem;
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section__title {
  font-size: clamp(var(--size-2xl), 3.5vw, var(--size-3xl));
  font-weight: var(--weight-extrabold);
  color: var(--color-dark);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.legal-section__date {
  font-size: var(--size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.legal-section__intro {
  font-size: var(--size-base);
  color: var(--color-gray-1);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-10);
}

.legal-article {
  margin-bottom: var(--space-8);
}
.legal-article:last-child { margin-bottom: 0; }

.legal-article__title {
  font-size: var(--size-md);
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-gray-4);
}

.legal-article__body {
  font-size: var(--size-base);
  color: var(--color-gray-1);
  line-height: var(--leading-normal);
}
.legal-article__body p + p { margin-top: var(--space-3); }
.legal-article__body a {
  color: var(--color-green);
  text-decoration: underline;
  word-break: break-word;
}
.legal-article__body a:hover { text-decoration: none; }
.legal-article__body ul {
  padding-left: var(--space-6);
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.legal-article__body ul li { list-style: disc; }

/* Bloc données structurées (article 2 confidentialité) */
.legal-data-block {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--color-green);
  background: rgba(149,193,31,.07);
  border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.legal-data-block + .legal-data-block { margin-top: var(--space-4); }

.legal-data-block__label {
  font-size: var(--size-base);
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-1);
}

.legal-data-block__row {
  font-size: var(--size-base);
  color: var(--color-gray-1);
  line-height: var(--leading-normal);
}
.legal-data-block__row strong {
  color: var(--color-dark);
  font-weight: var(--weight-semibold);
}

/* ============================================================
   FAQ Page — sections et cartes
   ============================================================ */
.faq-section {
  padding-block: var(--space-20);
}
.faq-section--cream { background: var(--bg-cream); }
.faq-section--dark  { background: var(--bg-dark); }

.faq-section__title {
  font-size: clamp(var(--size-2xl), 3.5vw, var(--size-3xl));
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-10);
  color: var(--color-dark);
}
.faq-section--dark .faq-section__title { color: var(--color-cream); }

.faq-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.faq-card {
  border: 2px solid var(--color-dark);
  box-shadow: 4px 4px 0 var(--color-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-section--dark .faq-card {
  background: rgba(248,244,223,.06);
  border-color: rgba(248,244,223,.2);
  box-shadow: 4px 4px 0 rgba(248,244,223,.12);
}

.faq-card--full { grid-column: 1 / -1; }

.faq-card__q {
  font-size: var(--size-md);
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  line-height: var(--leading-snug);
}
.faq-section--dark .faq-card__q { color: var(--color-cream); }

.faq-card__a {
  font-size: var(--size-base);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}
.faq-card__a p + p { margin-top: var(--space-3); }
.faq-section--dark .faq-card__a { color: rgba(248,244,223,.65); }

.faq-card__a a {
  color: var(--color-green);
  text-decoration: underline;
  word-break: break-word;
}
.faq-section--dark .faq-card__a a { color: var(--color-lime); }

/* Email link in hero */
.hero__desc a {
  color: rgba(149,193,31,.9);
  text-decoration: underline;
  word-break: break-word;
}

@media (max-width: 640px) {
  .faq-cards-grid { grid-template-columns: 1fr; }
}

/* FAQ page — accordion sur mobile/petit écran */
@media (max-width: 768px) {
  .faq-card {
    cursor: pointer;
    user-select: none;
  }
  .faq-card__q {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .faq-card__q::after {
    content: '+';
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 300;
    color: var(--color-green);
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.4,0,.2,1), color .2s ease;
    margin-top: 1px;
  }
  .faq-section--dark .faq-card__q::after {
    color: rgba(149,193,31,.9);
  }
  .faq-card.is-open .faq-card__q::after {
    transform: rotate(45deg);
    color: var(--color-dark);
  }
  .faq-section--dark .faq-card.is-open .faq-card__q::after {
    color: var(--color-cream);
  }
  /* Réponse cachée par défaut, animée à l'ouverture */
  .faq-card .faq-card__a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .38s cubic-bezier(.4,0,.2,1);
  }
  .faq-card.is-open .faq-card__a {
    max-height: 1000px;
  }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* ============================================================
   Responsive général
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --space-20: 4rem;
    --space-24: 5rem;
  }
  .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}
