/* ============================================================
   LCD Booster Premium v3.0
   Design system + components + sections
   Mobile-first, scroll fluide, app-like
   ============================================================ */

/* -------- VARIABLES (Design tokens) -------- */
:root {
  /* Brand */
  --marine: #0C4466;
  --marine-dark: #082F45;
  --marine-light: #0F5273;
  --bleu: #54B8F6;
  --corail: #F8765F;
  --corail-dark: #E65A47;
  --jaune: #FFCD5A;
  --creme: #FAF3E0;
  
  /* UI tokens (light mode) */
  --bg: #ffffff;
  --bg-soft: #FAF3E0;
  --bg-card: #ffffff;
  --text: #0C4466;
  --text-soft: #5a7a8f;
  --text-muted: #8ba3b5;
  --border: rgba(12, 68, 102, 0.1);
  --border-strong: rgba(12, 68, 102, 0.2);
  --shadow-sm: 0 1px 3px rgba(12, 68, 102, 0.08);
  --shadow-md: 0 4px 12px rgba(12, 68, 102, 0.1);
  --shadow-lg: 0 12px 32px rgba(12, 68, 102, 0.12);
  
  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --header-h: 72px;
  --header-h-mobile: 64px;
  --container: 1200px;
  --container-narrow: 800px;
  
  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 400ms;
}

/* Dark mode */
[data-theme="dark"] {
  --bg: #0a2535;
  --bg-soft: #082F45;
  --bg-card: #0F5273;
  --text: #FAF3E0;
  --text-soft: rgba(250, 243, 224, 0.75);
  --text-muted: rgba(250, 243, 224, 0.5);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* -------- ACCESSIBILITY -------- */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 999;
  padding: 12px 20px; background: var(--corail); color: white;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

/* -------- LAYOUT -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow { max-width: var(--container-narrow); }
.text-center { text-align: center; }

/* -------- HEADER -------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h-mobile);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

[data-theme="dark"] .site-header {
  background: rgba(10, 37, 53, 0.85);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--dur) var(--ease);
}
.site-brand:hover { opacity: 0.8; }

.brand-logo {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--marine);
  letter-spacing: -0.02em;
}
.logo-text strong { color: var(--corail); }

/* -------- DESKTOP NAV -------- */
.site-nav { display: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu li { white-space: nowrap; }
.nav-menu a {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav-menu a:hover { color: var(--marine); }

[data-theme="dark"] .nav-menu a { color: rgba(250, 243, 224, 0.7); }
[data-theme="dark"] .nav-menu a:hover { color: var(--creme); }

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--corail);
  transition: width var(--dur) var(--ease);
}
.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after { width: 100%; }

/* -------- HEADER ACTIONS -------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta { display: none; }

.theme-switch {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-soft);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.theme-switch:hover {
  background: var(--bg-soft);
  color: var(--marine);
}
.theme-switch .icon-moon { display: none; }
[data-theme="dark"] .theme-switch .icon-sun { display: none; }
[data-theme="dark"] .theme-switch .icon-moon { display: block; }

.menu-burger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-full);
  transition: background-color var(--dur) var(--ease);
}
.menu-burger:hover { background: var(--bg-soft); }
.menu-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

/* -------- MOBILE MENU (full screen, app-like) -------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-header {
  height: var(--header-h-mobile);
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.menu-close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  color: var(--text);
  transition: background var(--dur) var(--ease);
}
.menu-close:hover { background: var(--border); }

.mobile-nav {
  flex: 1;
  padding: 24px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-list li { border-bottom: 1px solid var(--border); }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.mobile-nav-list a::after {
  content: '→';
  color: var(--text-muted);
  font-size: 18px;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mobile-nav-list a:hover { color: var(--corail); }
.mobile-nav-list a:hover::after { color: var(--corail); transform: translateX(4px); }

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.mobile-contact-link {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  padding: 8px 0;
}

/* Lock body scroll when menu open */
body.menu-open {
  overflow: hidden;
}

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-full);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-cta {
  background: var(--corail);
  color: white;
  box-shadow: 0 4px 14px rgba(248, 118, 95, 0.3);
}
.btn-cta:hover {
  background: var(--corail-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 118, 95, 0.4);
}
.btn-cta:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--marine);
}

.btn-white {
  background: white;
  color: var(--marine);
}
.btn-white:hover {
  background: var(--creme);
  transform: translateY(-2px);
}

/* -------- MAIN -------- */
.site-main {
  padding-top: var(--header-h-mobile);
  min-height: 50vh;
}

/* -------- HERO -------- */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--marine) 0%, var(--marine-dark) 100%);
  color: var(--creme);
  overflow: hidden;
  padding: 60px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: var(--bleu);
  top: -100px; right: -150px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: var(--corail);
  bottom: -150px; left: -100px;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(84, 184, 246, 0.15);
  border: 1px solid rgba(84, 184, 246, 0.3);
  color: var(--bleu);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--bleu);
  border-radius: 50%;
  animation: pulseDot 2s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-title .text-accent {
  display: block;
  background: linear-gradient(135deg, var(--jaune), var(--corail));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(250, 243, 224, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.proof-avatars { display: flex; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: white;
  border: 2.5px solid var(--marine);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.avatar.a1 { background: var(--bleu); color: var(--marine); }
.avatar.a2 { background: var(--corail); }
.avatar.a3 { background: var(--jaune); color: var(--marine); }
.avatar.a4 { background: var(--creme); color: var(--marine); }
.proof-text {
  font-size: 14px;
  color: rgba(250, 243, 224, 0.7);
}
.proof-text strong { color: var(--creme); font-weight: 700; }

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--creme);
}
.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(250, 243, 224, 0.85);
}
.hero-card-list .bullet {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--corail);
}
.hero-card-list strong { color: var(--creme); font-weight: 600; }

.hero-scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid rgba(250, 243, 224, 0.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll-hint span {
  width: 3px; height: 6px;
  border-radius: 2px;
  background: rgba(250, 243, 224, 0.6);
  animation: scrollHint 2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* -------- SECTIONS -------- */
.section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--corail);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  text-wrap: balance;
}
.text-accent {
  background: linear-gradient(135deg, var(--corail), var(--jaune));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* -------- CARDS GRID -------- */
.cards-grid {
  display: grid;
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bleu);
}

.card-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(84, 184, 246, 0.12);
  color: var(--marine);
  margin-bottom: 18px;
}
[data-theme="dark"] .card-icon { color: var(--bleu); }

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Pour qui section */
.section-pour-qui {
  background: var(--bg-soft);
}

/* -------- ENJEU -------- */
.section-enjeu { background: var(--marine); color: var(--creme); }
.section-enjeu .section-title { color: var(--creme); }
.section-enjeu .section-lead { color: rgba(250, 243, 224, 0.8); }
.section-enjeu .eyebrow { color: var(--bleu); }

.enjeu-grid {
  display: grid;
  gap: 40px;
}

.enjeu-questions {
  display: grid;
  gap: 12px;
}

.question-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.question-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.question-card .q-mark {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--corail);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}
.question-card p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(250, 243, 224, 0.95);
}
.question-card strong { color: var(--creme); font-weight: 700; }

/* -------- MÉTHODE -------- */
.methode-steps {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--corail), var(--jaune));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.step-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.methode-cta {
  text-align: center;
  margin-top: 40px;
}

/* -------- RESSOURCE -------- */
.section-ressource { background: var(--bg-soft); }
.ressource-grid {
  display: grid;
  gap: 40px;
}
.ressource-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ressource-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.ressource-list li::before {
  content: '✓';
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--corail);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.ressource-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.ressource-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: border-color var(--dur) var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--bleu);
}
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

/* -------- FAQ -------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item[open] { border-color: var(--bleu); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 20px;
  font-weight: 400;
  color: var(--marine);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--corail);
  color: white;
}
.faq-content {
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* -------- CTA FINAL -------- */
.section-cta-final {
  background: linear-gradient(135deg, var(--corail) 0%, var(--corail-dark) 100%);
  color: white;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final-inner { position: relative; z-index: 2; max-width: 600px; margin-inline: auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  text-wrap: balance;
}
.cta-text {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0.95;
}
.cta-note {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.85;
}

/* -------- FOOTER -------- */
.site-footer {
  background: var(--marine);
  color: var(--creme);
  padding: 56px 0 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}
.footer-grid {
  display: grid;
  gap: 36px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand-logo { height: 50px; }
.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 243, 224, 0.7);
}
.footer-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-menu,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a,
.footer-contact a {
  font-size: 14px;
  color: rgba(250, 243, 224, 0.75);
  transition: color var(--dur) var(--ease);
}
.footer-menu a:hover,
.footer-contact a:hover { color: var(--creme); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(250, 243, 224, 0.5);
  text-align: center;
}
.footer-legal { display: flex; gap: 10px; align-items: center; }
.footer-legal a { color: rgba(250, 243, 224, 0.65); }
.footer-legal a:hover { color: var(--creme); }

/* -------- MOBILE STICKY CTA -------- */
.mobile-sticky-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
}
.mobile-sticky-cta.is-visible { transform: translateY(0); }
[data-theme="dark"] .mobile-sticky-cta {
  background: rgba(10, 37, 53, 0.95);
}

/* -------- REVEAL ANIMATIONS -------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- 404 -------- */
.section-404 { padding: 100px 0; }
.error-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 20vw, 160px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--corail), var(--jaune));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.error-text {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 32px;
}

/* -------- PAGE / POST -------- */
.page-header, .post-header {
  padding: 100px 0 40px;
  background: var(--bg-soft);
}
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--corail); }
.page-title, .post-title-single {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
.post-meta-single {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}
.post-featured {
  padding: 32px 0 0;
}
.post-featured img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: auto;
}

.page-content, .post-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.page-content h2, .post-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}
.page-content h3, .post-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}
.page-content p, .post-content p { margin-bottom: 18px; }
.page-content a, .post-content a {
  color: var(--corail);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.posts-grid {
  display: grid;
  gap: 24px;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.post-thumb img { width: 100%; height: 220px; object-fit: cover; }
.post-body { padding: 24px; }
.post-card .post-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.post-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.post-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.post-readmore {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--corail);
}

/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 17px; }
  .container { padding-inline: 32px; }
  
  .hero { padding: 80px 0 100px; }
  .hero-actions { flex-direction: row; }
  
  .enjeu-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  
  .ressource-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  
  .cards-grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
  
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  
  .section { padding: 96px 0; }
}

/* ============================================================
   RESPONSIVE - DESKTOP
   ============================================================ */
@media (min-width: 1024px) {
  :root { --header-h-mobile: var(--header-h); }
  
  .site-main { padding-top: var(--header-h); }
  .site-header { height: var(--header-h); }
  
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-burger { display: none; }
  .mobile-sticky-cta { display: none; }
  
  .brand-logo { height: 44px; }
  
  .hero { padding: 120px 0 120px; }
  .hero-container { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  
  .hero-card { padding: 36px; }
  .hero-card-title { font-size: 22px; }
}

/* Large desktop */
@media (min-width: 1280px) {
  .hero { padding: 140px 0 140px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .mobile-menu, .mobile-sticky-cta, .site-footer { display: none; }
  body { color: black; background: white; }
}

/* ============================================================
   3Vision polish v2.0 — LCD Booster
   Keep Claude's typographic/color direction, remove template feeling.
   ============================================================ */
:root {
  --header-h: 76px;
  --header-h-mobile: 68px;
}
.site-header {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(12,68,102,.08);
}
[data-theme="dark"] .site-header {
  background: rgba(8,47,69,.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.header-inner { gap: 24px; }
.brand-logo { height: 50px; width: auto; object-fit: contain; }
.footer-brand-logo { height: 64px; width: auto; object-fit: contain; }
.nav-menu { gap: clamp(18px, 2vw, 30px); }
.nav-menu li, .nav-menu a { white-space: nowrap; }
.header-cta { padding-inline: 22px; white-space: nowrap; }
.theme-switch { flex: 0 0 40px; }

.hero { padding-top: 72px; padding-bottom: 84px; }
.hero-title { font-size: clamp(34px, 5vw, 64px); max-width: 760px; }
.hero-lead { font-size: clamp(16px, 1.45vw, 18px); }
.hero-note {
  max-width: 540px;
  color: rgba(250,243,224,.72);
  font-size: 14px;
  line-height: 1.6;
  margin-top: -14px;
}
.hero-actions { margin-bottom: 24px; }
.hero-card-premium { box-shadow: 0 24px 80px rgba(0,0,0,.16); }
.hero-scroll-hint { display:none; }

.section { padding: 78px 0; }
.section-title { font-size: clamp(30px, 4.7vw, 58px); }
.section-header { margin-bottom: 42px; }
.eyebrow { letter-spacing: .16em; }

.section-methode,
.section-faq { background: linear-gradient(180deg, var(--marine-dark) 0%, var(--marine) 100%); color: var(--creme); }
.section-methode .section-title,
.section-faq .section-title { color: var(--creme); }
.section-methode .section-lead,
.section-faq .section-lead { color: rgba(250,243,224,.72); }
.section-methode .step { background: rgba(84,184,246,.12); border-color: rgba(84,184,246,.22); }
.section-methode .step-title { color: var(--creme); }
.section-methode .step-text { color: rgba(250,243,224,.72); }

.section-persona { background: var(--bg); }
.persona-grid { display:grid; gap:36px; align-items:center; }
.persona-cards { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:16px; }
.mini-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.mini-card h3 { font-family:var(--font-display); font-size:20px; color:var(--text); margin-bottom:8px; }
.mini-card p { color:var(--text-soft); font-size:15px; line-height:1.55; }

.ressource-form-wrap select,
.form-field select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: border-color var(--dur) var(--ease);
  width: 100%;
}
.lcdb-alert { border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.lcdb-alert.ok { background: rgba(34,197,94,.12); color: #15803d; }
.lcdb-alert.err { background: rgba(248,113,113,.12); color: #b91c1c; }

.section-faq .faq-item { background: rgba(84,184,246,.12); border-color: rgba(84,184,246,.22); }
.section-faq .faq-item summary { color: var(--creme); }
.section-faq .faq-content { color: rgba(250,243,224,.72); }
.section-faq .faq-item summary::after { background: rgba(5,22,34,.42); color: var(--creme); }

.mobile-menu {
  background:
    radial-gradient(circle at 20% 12%, rgba(84,184,246,.18), transparent 34%),
    radial-gradient(circle at 90% 80%, rgba(248,118,95,.20), transparent 36%),
    var(--bg);
}
[data-theme="dark"] .mobile-menu { background: linear-gradient(180deg, #082F45, #061f2f); }
.mobile-nav-list a {
  font-family: var(--font-display);
  font-size: clamp(28px, 9vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.mobile-menu-footer .btn { min-height: 54px; }
.mobile-contact-link { opacity:.8; }

@media (min-width: 768px){
  .hero { padding-top: 96px; padding-bottom: 104px; }
  .hero-actions { flex-direction: row; }
  .cards-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .enjeu-grid, .ressource-grid, .persona-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px){
  .site-main { padding-top: var(--header-h); }
  .site-header { height: var(--header-h); }
  .site-nav { display:block; min-width:0; }
  .menu-burger { display:none; }
  .header-cta { display:inline-flex; }
  .hero-container { grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); }
  .hero { padding-top: 116px; padding-bottom: 120px; }
}
@media (max-width: 1023px){
  .site-nav { display:none !important; }
  .header-cta, .theme-switch { display:none; }
  .brand-logo { height: 42px; }
  .hero { padding-top: 54px; }
}
@media (max-width: 600px){
  .container { padding-inline: 18px; }
  .hero { padding-top: 42px; padding-bottom: 58px; }
  .hero-title { font-size: clamp(32px, 11vw, 44px); line-height: 1.04; }
  .hero-lead { font-size: 15.5px; margin-bottom: 24px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-card { padding: 22px; }
  .section { padding: 58px 0; }
  .section-title { font-size: clamp(30px, 10vw, 42px); }
  .persona-cards { grid-template-columns: 1fr; }
  .step { padding: 20px; gap: 14px; }
  .step-num { font-size: 24px; }
  .ressource-form-wrap { padding: 20px; border-radius: 20px; }
  .mobile-sticky-cta .btn { font-size: 14px; }
}

/* ============================================================
   LCD Booster v2.2.1 — Correctif contraste formulaires
   Problème corrigé : en mode sombre, les formulaires posés sur
   des sections claires gardaient des labels crème peu lisibles.
   ============================================================ */
.lcd-resource-section .lcd-form-card,
.lcd-resource-section .ressource-form-wrap,
.lcd-page-wrap .lcd-form-shell,
.lcd-page-wrap .ressource-form-wrap {
  background: #ffffff !important;
  color: #08364b !important;
}

.lcd-resource-section .lcd-form-card label,
.lcd-resource-section .lcd-form-card .form-field label,
.lcd-resource-section .lcd-form-card .gfield_label,
.lcd-resource-section .lcd-form-card .wpforms-field-label,
.lcd-resource-section .lcd-form-card .nf-field-label label,
.lcd-resource-section .ressource-form-wrap label,
.lcd-resource-section .ressource-form-wrap .form-field label,
.lcd-page-wrap .lcd-form-shell label,
.lcd-page-wrap .lcd-form-shell .form-field label,
.lcd-page-wrap .lcd-form-shell .gfield_label,
.lcd-page-wrap .lcd-form-shell .wpforms-field-label,
.lcd-page-wrap .lcd-form-shell .nf-field-label label,
.lcd-page-wrap .ressource-form-wrap label,
.lcd-page-wrap .ressource-form-wrap .form-field label {
  color: #08364b !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.lcd-resource-section .lcd-form-card input,
.lcd-resource-section .lcd-form-card select,
.lcd-resource-section .lcd-form-card textarea,
.lcd-resource-section .ressource-form-wrap input,
.lcd-resource-section .ressource-form-wrap select,
.lcd-resource-section .ressource-form-wrap textarea,
.lcd-page-wrap .lcd-form-shell input,
.lcd-page-wrap .lcd-form-shell select,
.lcd-page-wrap .lcd-form-shell textarea,
.lcd-page-wrap .ressource-form-wrap input,
.lcd-page-wrap .ressource-form-wrap select,
.lcd-page-wrap .ressource-form-wrap textarea {
  background: #ffffff !important;
  color: #08364b !important;
  border: 1.5px solid rgba(8, 68, 95, .18) !important;
  box-shadow: none !important;
}

.lcd-resource-section .lcd-form-card input::placeholder,
.lcd-resource-section .lcd-form-card textarea::placeholder,
.lcd-resource-section .ressource-form-wrap input::placeholder,
.lcd-resource-section .ressource-form-wrap textarea::placeholder,
.lcd-page-wrap .lcd-form-shell input::placeholder,
.lcd-page-wrap .lcd-form-shell textarea::placeholder,
.lcd-page-wrap .ressource-form-wrap input::placeholder,
.lcd-page-wrap .ressource-form-wrap textarea::placeholder {
  color: rgba(8, 54, 75, .56) !important;
  opacity: 1 !important;
}

.lcd-resource-section .lcd-form-card input:focus,
.lcd-resource-section .lcd-form-card select:focus,
.lcd-resource-section .lcd-form-card textarea:focus,
.lcd-resource-section .ressource-form-wrap input:focus,
.lcd-resource-section .ressource-form-wrap select:focus,
.lcd-resource-section .ressource-form-wrap textarea:focus,
.lcd-page-wrap .lcd-form-shell input:focus,
.lcd-page-wrap .lcd-form-shell select:focus,
.lcd-page-wrap .lcd-form-shell textarea:focus,
.lcd-page-wrap .ressource-form-wrap input:focus,
.lcd-page-wrap .ressource-form-wrap select:focus,
.lcd-page-wrap .ressource-form-wrap textarea:focus {
  border-color: rgba(243, 111, 95, .62) !important;
  box-shadow: 0 0 0 4px rgba(243, 111, 95, .11) !important;
  outline: none !important;
}

.lcd-resource-section .lcd-form-card .form-note,
.lcd-resource-section .ressource-form-wrap .form-note,
.lcd-page-wrap .lcd-form-shell .form-note,
.lcd-page-wrap .ressource-form-wrap .form-note {
  color: rgba(8, 54, 75, .68) !important;
}
