/* ==========================================================================
   LOCATOKI — Design system du site
   Repris de l'application mobile (dépôt Locatoki) :
   - couleurs : lib/flutter_flow/flutter_flow_theme.dart (LightModeTheme)
   - rayons, espacements, ombres, barre flottante : lib/utils/design_tokens.dart
   - police : Outfit, comme l'app
   ========================================================================== */

/* Police Outfit hébergée sur le site (licence SIL OFL 1.1, assets/fonts/OFL.txt).
   Aucune requête vers Google Fonts. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Couleurs de l'app (thème clair) */
  --primary: #185A4A;
  --primary-hover: #134a3d;
  --secondary: #2AAA8A;
  --tertiary: #39D2C0;
  --alternate: #E0E3E7;
  --text: #14181B;
  --text-2: #57636C;
  --bg: #FFFFFF;
  --bg-2: #F1F4F8;
  --accent1: rgba(24, 90, 74, 0.30);   /* primary 30 % */
  --accent2: rgba(42, 170, 138, 0.30); /* secondary 30 % */
  --primary-soft: rgba(24, 90, 74, 0.08);
  --success: #249689;
  --warning: #F9CF58;
  --upcoming: #E8A33D;
  --error: #FF5963;

  /* Rayons (AppTokens) */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Espacements (AppTokens) + rythme des sections */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-2xl: 40px;
  --s-3xl: 64px;
  --section: clamp(64px, 9vw, 112px);
  --gutter: 20px;

  /* Ombres (AppTokens) : cartes, éléments flottants, barre en pilule */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-floating: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-pill: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* Verre dépoli de la barre flottante (blurSigma 24) */
  --frost: rgba(255, 255, 255, 0.72);
  --blur: 24px;

  --button-h: 44px;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  /* Les ancres arrivent juste sous la barre flottante */
  scroll-padding-top: 96px;
}
/* Défilement animé seulement après le chargement (main.js) : une arrivée
   directe sur une ancre, comme /#stores depuis le QR code, saute sans animation. */
html.smooth-scroll { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--secondary); }

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

::selection { background: var(--accent2); color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  margin: 0 0 var(--s-lg);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(40px, 6.2vw, 64px); font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-size: 22px; font-weight: 500; line-height: 1.25; }
h4 { font-size: 18px; font-weight: 500; }

p { margin: 0 0 var(--s-lg); color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }

/* Mot mis en avant dans un titre (anciennement italique) */
.display-italic { color: var(--primary); }

/* Petite étiquette au-dessus d'un titre, en pastille comme les puces de l'app */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  margin-bottom: var(--s-lg);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 40em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container-narrow { max-width: 760px; }

section { padding: var(--section) 0; position: relative; }

.section-head { max-width: 720px; margin-bottom: var(--s-3xl); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.mt-sm { margin-top: var(--s-lg); }
.mt-md { margin-top: var(--s-xl); }
.mt-lg { margin-top: var(--s-2xl); }

.bg-soft { background: var(--bg-2); }

/* Ancre invisible (anciens liens Carrd) */
.anchor-alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* ==========================================================================
   Barre de navigation flottante (comme la barre en pilule de l'app)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 12px;
  pointer-events: none;
}

.site-header .nav {
  pointer-events: auto;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 60px;
  padding: 8px 8px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  background: var(--frost);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-floating);
  transition: box-shadow .3s ease;
}

.site-header.scrolled .nav { box-shadow: var(--shadow-pill); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-mark { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--button-h);
  padding: 0 14px;
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { background: var(--bg-2); color: var(--text); }
.nav-links .nav-sep { width: 1px; height: 24px; background: var(--alternate); margin: 0 6px; }
.nav-links a.btn { padding: 0 18px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; background: var(--primary); }
.nav-links a.btn-primary:hover { background: var(--primary-hover); }

.nav-mobile-toggle {
  display: none;
  min-height: var(--button-h);
  padding: 0 18px;
  border: 1px solid var(--alternate);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  font: 500 15px var(--font);
  cursor: pointer;
}

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: inline-flex; align-items: center; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 12px;
    gap: 2px;
    background: var(--bg);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-pill);
  }
  .nav-links.open a { display: flex; justify-content: flex-start; }
  .nav-links.open a.btn { justify-content: center; margin-top: 6px; }
  .nav-links .nav-sep { display: none; }
  .site-header .nav { position: relative; }
}

/* ==========================================================================
   Boutons (hauteur 44 px comme l'app, en pilule)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--button-h);
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font: 500 16px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }

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

.btn-secondary { background: var(--bg); color: var(--primary); border-color: var(--alternate); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost { background: transparent; color: var(--primary); padding: 0 8px; }
.btn-ghost:hover { color: var(--secondary); }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--bg-2); color: var(--primary); }

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

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--primary); }
.link-arrow::after { content: '→'; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Badges des stores */
.store-badges { display: flex; flex-wrap: wrap; gap: var(--s-md); align-items: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px 8px 14px;
  border-radius: var(--r-md);
  background: var(--text);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.store-badge:hover { color: #fff; background: #000; transform: translateY(-1px); }
.store-badge-icon { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge-small { font-size: 11px; opacity: .75; }
.store-badge-large { font-size: 17px; font-weight: 600; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: calc(var(--header-h) + 64px) 0 var(--section);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(57, 210, 192, 0.18), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(42, 170, 138, 0.10), transparent 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-3xl);
  align-items: center;
}

.hero h1 { margin-bottom: var(--s-xl); }
.hero .lede { margin-bottom: var(--s-xl); }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-md); align-items: center; }

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-lg);
  margin-top: var(--s-xl);
  color: var(--text-2);
  font-size: 15px;
}

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-2xl); }
}

/* --- Téléphone : capture du fil des Pings, cadre fin sans encoche --- */

.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(330px, 80vw);
  padding: 9px;
  border-radius: 48px;
  background: #0d1012;
  box-shadow:
    0 30px 60px rgba(20, 24, 27, 0.25),
    inset 0 0 0 2px #2a2f33;
}
/* Boutons latéraux, pour la silhouette du téléphone */
.phone::before,
.phone::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2a2f33;
}
.phone::before { right: -3px; top: 22%; height: 9%; }
.phone::after { left: -3px; top: 18%; height: 14%; }

.phone-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 39px;
  background: var(--bg);
}

/* Notifications qui flottent autour du téléphone */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--shadow-pill);
  font-size: 13px;
  line-height: 1.3;
  max-width: 230px;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--text-2); }
.float-card .float-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent2);
  color: var(--primary);
}
.float-card--bottom { bottom: 16%; right: -4%; animation-delay: -3s; }
/* Hero : rattachée au téléphone, posée sur la photo d'un Ping */
.phone .float-card--side { top: 55%; left: -128px; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1100px) {
  .float-card--bottom { right: 0; }
}
/* Deux colonnes serrées : la carte mordrait sur le texte du hero */
@media (min-width: 901px) and (max-width: 1100px) {
  .phone .float-card--side { display: none; }
}
@media (max-width: 480px) {
  .hero-visual .float-card { display: none; }
}

/* ==========================================================================
   Bandeau mission
   ========================================================================== */

.mission { padding: var(--s-3xl) 0; background: var(--bg-2); }
.mission p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.mission p strong { color: var(--primary); font-weight: 600; }

/* ==========================================================================
   Avantages (Pourquoi Locatoki)
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
}
.benefit {
  padding: var(--s-xl);
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--alternate);
  transition: box-shadow .25s ease, transform .25s ease;
}
.benefit:hover { box-shadow: var(--shadow-floating); transform: translateY(-2px); }
.benefit h3 { font-size: 19px; margin: var(--s-lg) 0 var(--s-sm); }
.benefit p { margin: 0; font-size: 15px; }

.icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.icon-bubble svg { width: 24px; height: 24px; }

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

/* ==========================================================================
   Bandeau défilant des catégories (familles de lieux de l'app)
   ========================================================================== */

.marquee {
  padding: var(--s-xl) 0;
  overflow: hidden;
  border-top: 1px solid var(--alternate);
  border-bottom: 1px solid var(--alternate);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: var(--s-md); width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  padding: 10px 18px;
  border: 1.5px solid var(--alternate);
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Comment ça marche (#features) : 4 étapes
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s-xl);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-lg);
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}
.step h3 { font-size: 19px; margin-bottom: var(--s-sm); }
.step p { margin: 0; font-size: 15px; }

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

/* ==========================================================================
   Téléchargement (#stores) — ancre du QR code imprimé
   ========================================================================== */

.stores-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-2xl);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  background: var(--primary);
  color: #fff;
}
.stores-card::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 210, 192, 0.35), transparent 65%);
  pointer-events: none;
}
.stores-card > * { position: relative; z-index: 1; }
.stores-card h2, .stores-card p, .stores-card strong { color: #fff; }
.stores-card p { opacity: .88; }
.stores-card .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.stores-card .store-badge { background: #fff; color: var(--text); }
.stores-card .store-badge:hover { background: var(--bg-2); color: var(--text); }
.stores-community {
  padding: var(--s-xl);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
}
.stores-community h3 { color: #fff; font-size: 20px; margin-bottom: var(--s-sm); }
.stores-community p { font-size: 15px; }
.stores-community .small-link { display: inline-block; margin-top: var(--s-md); color: #fff; opacity: .8; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.stores-community .small-link:hover { opacity: 1; color: #fff; }

@media (max-width: 860px) { .stores-card { grid-template-columns: 1fr; } }

/* ==========================================================================
   Solutions (#audiences) : commerces et territoires
   ========================================================================== */

.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: center;
  padding: var(--s-3xl) 0;
}
.solution:first-of-type { padding-top: 0; }
.solution + .solution { border-top: 1px solid var(--alternate); }
.solution.reverse .solution-visual { order: 2; }

.solution-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-floating);
}
.solution-visual img { width: 100%; height: 100%; object-fit: cover; }
.solution-visual .float-card { animation: none; right: 16px; bottom: 16px; left: auto; top: auto; }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--s-xl); display: grid; gap: var(--s-md); }
.check-list li { position: relative; padding-left: 34px; color: var(--text-2); }
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.for-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s-xl); padding: 0; list-style: none; }
.for-tags li { padding: 4px 12px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--text-2); font-size: 14px; }
.for-label { font-size: 14px; color: var(--text-2); margin-bottom: var(--s-sm); }

.block-ctas { display: flex; flex-wrap: wrap; gap: var(--s-md); align-items: center; }

@media (max-width: 900px) {
  .solution { grid-template-columns: 1fr; gap: var(--s-2xl); }
  .solution.reverse .solution-visual { order: 0; }
}

/* ==========================================================================
   Ressources (#blog)
   ========================================================================== */

.blog-header { display: flex; justify-content: space-between; align-items: end; gap: var(--s-xl); flex-wrap: wrap; margin-bottom: var(--s-2xl); }
.blog-header .section-head { margin-bottom: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-xl); }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-xl);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  color: var(--text);
  transition: box-shadow .25s ease, transform .25s ease;
}
.blog-card:hover { color: var(--text); box-shadow: var(--shadow-pill); transform: translateY(-3px); }
.blog-card .blog-tag { align-self: flex-start; margin-bottom: var(--s-lg); padding: 4px 10px; border-radius: var(--r-pill); background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 500; }
.blog-card h3 { font-size: 19px; margin-bottom: var(--s-sm); }
.blog-card p { flex: 1; font-size: 15px; margin-bottom: var(--s-lg); }
.blog-card-meta { color: var(--primary); font-weight: 500; font-size: 15px; display: inline-flex; gap: 6px; }
.blog-card-meta::after { content: '→'; transition: transform .2s ease; }
.blog-card:hover .blog-card-meta::after { transform: translateX(3px); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: var(--s-md); }

.faq-item {
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--alternate);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-floating); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23185A4A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease, background-color .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--accent2); }
.faq-item summary:hover { color: var(--primary); }
.faq-content { padding: 0 20px 20px; }
.faq-content p, .faq-content li { font-size: 16px; color: var(--text-2); }
.faq-content p:last-child { margin-bottom: 0; }
.faq-content ul { padding-left: 20px; margin: 0 0 var(--s-lg); }
.faq-content li { margin-bottom: 6px; }
.faq-content li::marker { color: var(--secondary); }

/* Les deux FAQ se suivent : la seconde reprend sans grand espace */
.faq + .faq { padding-top: 0; }

/* ==========================================================================
   À propos (#apropos)
   ========================================================================== */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3xl); align-items: start; }
.about-grid .lede { max-width: none; }
.values { display: grid; gap: var(--s-lg); }
.value { display: flex; gap: var(--s-lg); align-items: flex-start; padding: var(--s-xl); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow-card); }
.value h3 { font-size: 18px; margin-bottom: 4px; }
.value p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: var(--s-2xl); } }

/* ==========================================================================
   Contact (#contact) : un seul bloc, trois formulaires en onglets
   ========================================================================== */

.contact-hub .section-head { margin-bottom: var(--s-2xl); }

.segmented {
  display: none;
  gap: 4px;
  max-width: 620px;
  margin: 0 auto var(--s-2xl);
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
}
.js-tabs .segmented { display: flex; }
.segmented a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-h);
  padding: 0 12px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  line-height: 1.2;
}
.segmented a:hover { color: var(--text); }
.segmented a[aria-selected="true"] { background: var(--bg); color: var(--primary); box-shadow: var(--shadow-card); }
@media (max-width: 520px) { .segmented { border-radius: var(--r-lg); flex-direction: column; } }

.contact-panel { position: relative; max-width: 680px; margin: 0 auto; }
.contact-panel + .contact-panel { margin-top: var(--s-3xl); }
.js-tabs .contact-panel + .contact-panel { margin-top: 0; }
.js-tabs .contact-panel[hidden] { display: none; }

.panel-intro { text-align: center; margin-bottom: var(--s-xl); }
.panel-intro h3 { font-size: 24px; margin-bottom: var(--s-sm); }
.panel-intro p { margin: 0 auto; max-width: 34em; }

.form-card { padding: clamp(20px, 4vw, 36px); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow-floating); }

/* Formulaires (aussi utilisés par la page de suppression de compte) */
.form { display: flex; flex-direction: column; gap: var(--s-lg); }
.form-field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; color: var(--text); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--alternate);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.4 var(--font);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent2); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa5b1; }
.form-field input[type="checkbox"] { min-height: 0; accent-color: var(--primary); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-submit { display: flex; justify-content: flex-end; }
.form-submit .btn { min-width: 180px; }
@media (max-width: 600px) { .form-submit .btn { width: 100%; } }
.form-honeypot { display: none; }
.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 89, 99, .1);
  border: 1px solid rgba(255, 89, 99, .4);
  color: #b3262e;
  font-size: 15px;
}
.form-error[hidden] { display: none; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* ==========================================================================
   Appel final (avant le pied de page)
   ========================================================================== */

.final-cta { padding-top: 0; }
.final-cta-card {
  padding: clamp(32px, 6vw, 72px);
  border-radius: 28px;
  background: var(--bg-2);
  text-align: center;
}
.final-cta-card h2 { max-width: 16em; margin: 0 auto var(--s-lg); }
.final-cta-card .lede { margin: 0 auto var(--s-xl); }
.final-cta-card .hero-cta { justify-content: center; }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer { padding: var(--s-3xl) 0 var(--s-2xl); background: var(--text); color: #c9d1d8; }
.site-footer a { color: #c9d1d8; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-2xl); margin-bottom: var(--s-2xl); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: var(--s-lg); letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 15px; }
.footer-brand p { color: #9aa5b1; font-size: 15px; margin: var(--s-lg) 0; max-width: 320px; }
.footer-brand .logo-mark { background: #fff; border-radius: 8px; padding: 3px; }
.footer-socials { display: flex; gap: var(--s-sm); }
.footer-social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s ease; }
.footer-social:hover { background: var(--secondary); color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-lg);
  padding-top: var(--s-xl);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  color: #9aa5b1;
}

/* Pages simples (légal, articles) : pied de page réduit, sans colonnes */
.site-footer.footer-simple { padding: var(--s-xl) 0; margin-top: var(--s-3xl); }
.site-footer.footer-simple .footer-bottom { border-top: 0; padding-top: 0; }

/* ==========================================================================
   Articles et pages légales
   ========================================================================== */

.article, .legal-page { padding: calc(var(--header-h) + 72px) 0 var(--s-3xl); }

.article-meta { margin-bottom: var(--s-xl); }
.article-meta a { color: var(--text-2); font-size: 15px; }
.article-meta a:hover { color: var(--primary); }

.article-body { max-width: 720px; margin: 0 auto; }
.article-body h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: var(--s-xl); }
.article-body h2 { font-size: 28px; margin-top: var(--s-2xl); }
.article-body h3 { font-size: 21px; margin-top: var(--s-xl); color: var(--primary); }
.article-body p, .article-body li { font-size: 18px; line-height: 1.7; color: #3a444b; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: var(--s-lg); }
.article-body li { margin-bottom: 6px; }
.article-body li::marker { color: var(--secondary); }
.article-body a { text-decoration: underline; text-decoration-color: var(--accent2); text-underline-offset: 3px; }
.article-body blockquote { margin: var(--s-xl) 0; padding: var(--s-lg) var(--s-xl); border-left: 4px solid var(--secondary); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--bg-2); color: var(--text); }
.article-back { display: inline-flex; gap: 6px; margin-top: var(--s-2xl); padding-top: var(--s-xl); border-top: 1px solid var(--alternate); width: 100%; font-weight: 500; }

.legal-page h1 { margin-bottom: var(--s-xl); }
.legal-page h2 { font-size: 24px; margin-top: var(--s-2xl); margin-bottom: var(--s-md); color: var(--text); }
.legal-page p, .legal-page li { color: #3a444b; line-height: 1.7; }
.legal-page ul, .legal-page ol { padding-left: 1.4rem; }
.legal-page li::marker { color: var(--secondary); }
.legal-meta { color: var(--text-2); font-size: 15px; margin-top: var(--s-xl); }

.legal-page .table-wrap { overflow-x: auto; margin: 0 0 var(--s-xl); border: 1px solid var(--alternate); border-radius: var(--r-md); }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-page th, .legal-page td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--alternate); color: #3a444b; }
.legal-page th { background: var(--bg-2); color: var(--text); font-weight: 600; }
.legal-page tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .legal-page table { min-width: 560px; } }

/* ==========================================================================
   Apparition au défilement (main.js ajoute .visible)
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
