/* ============================================================================
   LinguoTrack, site vitrine. Direction FIGÉE (voir skill ui-craft) :
   Fraunces (titres) + Public Sans (texte), accent bleu encre, fond papier chaud.
   Light assumé, peint explicitement. Aucun tiret cadratin, aucune dépendance
   hors Google Fonts.
   ========================================================================== */

:root {
  /* Fond chaud, surfaces en couches */
  --paper: #f7f5f0;
  --paper-deep: #efece4;
  --surface: #fffdf8;

  /* Accent bleu encre, marque STRICTE */
  --ink-50: #eef2fb;
  --ink-100: #d9e2f6;
  --ink-200: #b7c8ec;
  --ink-400: #5b81c9;
  --ink-500: #3a5fae;
  --ink-600: #2c4a8c;
  --ink-700: #243d72;
  --ink-800: #1e3159;
  --ink-900: #14223c;

  /* Neutre chaud, porte texte et chrome */
  --stone-50: #f6f4ef;
  --stone-100: #eae7df;
  --stone-200: #d8d3c8;
  --stone-300: #beb8a9;
  --stone-400: #948b7a;
  --stone-500: #6f6656;
  --stone-600: #574f42;
  --stone-700: #423b30;
  --stone-800: #2c271f;
  --stone-900: #1b1812;

  --textink: #1b1812;

  /* Couleurs de repérage de groupe (fidèles au produit, usage strict : filet) */
  --group-1: #3f6f5e;
  --group-3: #5a5e8c;
  --group-5: #7a4b63;

  /* Vert sarcelle discret, écho de l'échelle de maîtrise (accents ponctuels) */
  --teal: #4f8a7d;

  --font-sans: 'Public Sans', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(27, 24, 18, 0.06), 0 1px 1px rgba(27, 24, 18, 0.04);
  --shadow-2: 0 2px 8px rgba(27, 24, 18, 0.06), 0 14px 34px rgba(27, 24, 18, 0.10);
  --shadow-float: 0 30px 60px -28px rgba(20, 34, 60, 0.42), 0 2px 6px rgba(27, 24, 18, 0.06);

  --wrap: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  color: var(--textink);
  background-color: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--stone-900);
  text-wrap: balance;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-600);
  margin-bottom: 18px;
}
.eyebrow--muted { color: var(--stone-500); }
.eyebrow--light { color: var(--ink-200); }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-title {
  font-size: clamp(1.9rem, 1rem + 2.6vw, 2.85rem);
}
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-sub {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--stone-600);
  max-width: 40rem;
}

/* --------------------------------------------------------------- boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
    border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), color 0.16s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.92rem 1.5rem; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--ink-700);
  color: #fdfcf9;
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { background: var(--ink-800); }

.btn-ghost {
  background: var(--surface);
  color: var(--stone-800);
  border-color: var(--stone-200);
}
.btn-ghost:hover { border-color: var(--stone-300); background: #fff; }

.btn-on-dark {
  background: #fdfcf9;
  color: var(--ink-800);
}
.btn-on-dark:hover { background: #fff; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--stone-200);
  box-shadow: 0 1px 0 rgba(27, 24, 18, 0.03);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { display: inline-flex; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--stone-900);
}

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 0.35rem; }
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--stone-600);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.site-nav a:hover { color: var(--stone-900); background: var(--stone-100); }

.header-cta { margin-left: 0.25rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  border-radius: 8px;
  color: var(--stone-800);
}
.nav-toggle:hover { background: var(--stone-100); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-menu { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--stone-200);
  background: var(--paper);
  padding: 0.5rem clamp(20px, 5vw, 40px) 1.25rem;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.15rem; }
.mobile-menu a {
  display: block;
  padding: 0.85rem 0.6rem;
  font-weight: 500;
  color: var(--stone-700);
  border-radius: 8px;
}
.mobile-menu a:hover { background: var(--stone-100); }
.mobile-menu .btn { margin-top: 0.6rem; justify-content: center; color: #fdfcf9; }
.mobile-menu .btn:hover { color: #fff; }

/* ------------------------------------------------------------------ hero */
.hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(120% 90% at 88% -10%, var(--ink-50) 0%, transparent 46%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 60%, var(--paper-deep) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 34rem; }
#hero-titre {
  font-size: clamp(2.4rem, 1rem + 4.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.hero-lead {
  margin-top: 1.5rem;
  font-size: 1.18rem;
  color: var(--stone-600);
}
.hero-actions {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--stone-500);
}

/* Maquette d'app stylisée */
.hero-visual { position: relative; }
.appframe {
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.appframe-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--stone-50);
  border-bottom: 1px solid var(--stone-200);
}
.appframe-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--stone-300);
}
.appframe-url {
  margin-left: 10px;
  font-size: 0.78rem;
  color: var(--stone-500);
  background: var(--paper);
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  padding: 3px 12px;
  font-variant-numeric: tabular-nums;
}
.appframe-body { display: grid; grid-template-columns: 148px 1fr; min-height: 340px; }

.app-side {
  background: var(--stone-50);
  border-right: 1px solid var(--stone-200);
  padding: 18px 12px;
}
.app-side-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--stone-800);
  padding: 4px 8px 14px;
}
.app-nav li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  font-size: 0.82rem;
  color: var(--stone-500);
  border-radius: 7px;
  margin-bottom: 1px;
}
.app-nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--stone-300);
  flex-shrink: 0;
}
.app-nav .is-active {
  background: var(--ink-50);
  color: var(--ink-800);
  font-weight: 600;
}
.app-nav .is-active .app-nav-dot { background: var(--ink-600); }

.app-main { padding: 20px 22px; }
.app-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.app-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.app-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--stone-900);
  margin-top: 3px;
}
.app-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--teal) 26%, transparent);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.app-roster { display: flex; flex-direction: column; gap: 7px; }
.app-roster li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: var(--paper);
  border: 1px solid var(--stone-100);
  border-left: 3px solid var(--g, var(--stone-300));
  border-radius: 8px;
}
.app-roster-name { font-size: 0.86rem; font-weight: 500; color: var(--stone-800); }
.app-seg {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.app-seg--present { color: var(--ink-700); background: var(--ink-50); }
.app-seg--absent {
  color: var(--stone-500);
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
}
.app-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--stone-100);
  font-size: 0.78rem;
  color: var(--stone-500);
  font-variant-numeric: tabular-nums;
}

.hero-visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.3rem;
  padding-left: 4px;
  font-size: 0.88rem;
  color: var(--stone-600);
}
.hero-visual-tag svg { color: var(--ink-600); flex-shrink: 0; }

/* ----------------------------------------------------------- transition */
.transition { background: var(--paper-deep); border-block: 1px solid var(--stone-200); }
.transition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.pain-list { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.pain-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--stone-600);
}
.pain-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: 1.5px;
  background: var(--stone-400);
}
.transition-after {
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-1);
}
.promise {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--stone-800);
}
.gain-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.gain-list li, .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--stone-700);
  font-size: 1rem;
}
.ic {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -------------------------------------------------------- fonctionnalités */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--stone-300);
}
.feature-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--ink-50);
  color: var(--ink-700);
  margin-bottom: 1.1rem;
}
.feature-ic svg,
.trust-item .feature-ic svg {
  width: 23px; height: 23px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature p { font-size: 0.96rem; color: var(--stone-600); }

/* ---------------------------------------------------------------- mobile */
.mobile { background: var(--paper-deep); border-block: 1px solid var(--stone-200); }
.mobile-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.check-list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
}

.mobile-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 248px;
  background: #14223c;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-float);
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 20px;
  background: #0d1728;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  background: var(--surface);
  border-radius: 26px;
  padding: 34px 18px 20px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.phone-scanhead {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--stone-500);
  margin-bottom: 16px;
}
.phone-scanhead svg { color: var(--stone-400); }
.phone-viewfinder {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  margin-bottom: 18px;
}
.phone-viewfinder .corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2.5px solid var(--ink-600);
}
.corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.phone-result {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.phone-result-name { font-weight: 600; color: var(--ink-800); font-size: 0.98rem; }
.phone-result-tag { font-size: 0.8rem; color: var(--ink-600); }
.phone-queue {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.78rem;
  color: var(--stone-500);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------- parents */
.parents-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.parents-aside {
  background: var(--ink-900);
  color: #e9edf6;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-2);
}
.parents-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-200);
  margin-bottom: 0.9rem;
}
.parents-url {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: #fff;
}
.parents-url svg { color: var(--ink-200); }
.parents-aside-note {
  margin-top: 1.1rem;
  font-size: 0.94rem;
  color: #bcc6da;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- tarifs */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-1);
}
.plan--feature {
  background: var(--surface);
  border: 1.5px solid var(--ink-600);
  box-shadow: var(--shadow-2);
  position: relative;
}
.plan-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.plan-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
  color: var(--stone-900);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.plan-unit { font-size: 0.92rem; color: var(--stone-500); font-weight: 500; }
.plan-desc { margin-top: 0.7rem; font-size: 0.95rem; color: var(--stone-600); }
.plan-list {
  margin-top: 1.3rem;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}
.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--stone-700);
}

.plan--aside { background: var(--paper-deep); border-color: var(--stone-200); box-shadow: none; }

.pricing-included {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding: 1rem 1.4rem;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-700);
  text-align: center;
}
.pricing-included svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* -------------------------------------------------------------- confiance */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-1);
}
.trust-item .feature-ic { background: color-mix(in srgb, var(--teal) 12%, var(--surface)); color: var(--teal); }
.trust-item h3 { font-size: 1.06rem; font-weight: 600; margin-bottom: 0.35rem; }
.trust-item p { font-size: 0.92rem; color: var(--stone-600); }
.trust-honesty {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: var(--paper-deep);
  border-left: 3px solid var(--stone-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.96rem;
  color: var(--stone-600);
  max-width: 52rem;
}

/* -------------------------------------------------------------------- faq */
.faq { background: var(--paper-deep); border-block: 1px solid var(--stone-200); }
.faq-wrap { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--stone-900);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink-700); }
.faq-chevron {
  position: relative;
  width: 13px; height: 13px;
  flex-shrink: 0;
  border-right: 2px solid var(--stone-400);
  border-bottom: 2px solid var(--stone-400);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.22s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.faq-answer { padding: 0 1.4rem 1.3rem; }
.faq-answer p { color: var(--stone-600); font-size: 1rem; }

/* --------------------------------------------------------------- contact */
.contact { padding-block: clamp(4rem, 8vw, 6rem); }
.contact-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background:
    radial-gradient(130% 120% at 85% 0%, var(--ink-700) 0%, var(--ink-900) 60%);
  color: #eef1f8;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  box-shadow: var(--shadow-2);
}
.contact-title { color: #fff; }
.contact-sub { margin-top: 1.1rem; color: #c3cbdd; font-size: 1.08rem; max-width: 34rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.contact-actions .btn { word-break: break-word; }
.contact-hint { font-size: 0.86rem; color: #a9b3cb; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--stone-900);
  color: #cfc9bd;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-name { color: #fdfcf9; }
.footer-tagline { margin-top: 1rem; font-size: 0.95rem; color: #a49c8d; max-width: 24rem; }
.footer-nav-title {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8172;
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { font-size: 0.95rem; color: #cfc9bd; transition: color 0.15s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1.5rem 2rem;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.85rem;
  color: #8a8172;
}
.footer-legal { color: #8a8172; }

/* --------------------------------------------------------------- reveals */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .transition-grid,
  .mobile-grid,
  .parents-inner,
  .contact-card { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-visual { order: -1; }
  .contact-actions { align-items: stretch; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .feature-grid, .trust-grid { grid-template-columns: 1fr; }
  .check-list--cols { grid-template-columns: 1fr; }
  .appframe-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .plan-amount { font-size: 2.6rem; }
}

/* ------------------------------------------------------- liens légaux footer */
/* Le pied de page gagne une colonne "Légal". La colonne marque garde sa
   largeur ; les colonnes de liens restent régulières. */
.footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; }

.footer-nav .footer-linkbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: #cfc9bd;
  text-align: left;
  transition: color 0.15s var(--ease);
}
.footer-nav .footer-linkbtn:hover { color: #fff; }
.footer-nav .footer-linkbtn svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  color: #8a8172;
}
.footer-nav .footer-linkbtn:hover svg { color: #cfc9bd; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------- pages légales */
.legal {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  min-height: 60vh;
}
.legal-wrap { max-width: 760px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 1.6rem;
}
.legal-back:hover { color: var(--ink-800); }
.legal-back svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.legal-title {
  font-size: clamp(2rem, 1rem + 3vw, 2.9rem);
  margin-bottom: 0.6rem;
}
.legal-lead {
  font-size: 1.12rem;
  color: var(--stone-600);
  margin-bottom: 2.2rem;
}
.legal-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-left: 3px solid var(--ink-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2.4rem;
}
.legal-note svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  fill: none; stroke: var(--ink-700);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.legal-note p { font-size: 0.96rem; color: var(--ink-800); line-height: 1.55; }
.legal-note strong { font-weight: 600; }
.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 2.4rem;
  margin-bottom: 0.7rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--stone-700); margin-bottom: 1rem; }
.legal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.legal-body ul li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--stone-700);
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 12px; height: 1.5px;
  background: var(--ink-400);
}
.legal-body a {
  color: var(--ink-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-updated {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--stone-200);
  font-size: 0.88rem;
  color: var(--stone-500);
}

/* Sommaire (table des matières) des documents longs */
.legal-toc {
  padding: 1.3rem 1.5rem;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  margin-bottom: 2.4rem;
}
.legal-toc-title {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone-500);
  margin-bottom: 0.8rem;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 0.45rem;
}
.legal-toc ol li {
  counter-increment: toc;
  position: relative;
  padding-left: 2rem;
}
.legal-toc ol li::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink-500);
}
.legal-toc a {
  color: var(--stone-700);
  font-weight: 500;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--ink-700); text-decoration: underline; text-underline-offset: 2px; }

/* Section « À renseigner » : récapitulatif des placeholders à compléter */
.legal-todo {
  margin-top: 2.6rem;
  padding: 1.3rem 1.5rem;
  background: #fbf6ec;
  border: 1px solid #eadfc6;
  border-left: 3px solid #c79a3a;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.legal-todo h2 { margin-top: 0; font-size: 1.15rem; }
.legal-todo p { font-size: 0.94rem; }
.legal-todo ul li code,
.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--stone-100);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--stone-800);
}
.legal-body h3 {
  font-size: 1.08rem;
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
}
.legal-tablewrap {
  overflow-x: auto;
  margin-bottom: 1.4rem;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
}
.legal-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 0.92rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--stone-100);
  vertical-align: top;
  color: var(--stone-700);
}
.legal-table thead th {
  background: var(--stone-50);
  color: var(--stone-800);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }

/* En-tête simplifié des pages légales (juste la marque + retour) */
.legal-header .header-inner { justify-content: space-between; }

/* ==========================================================================
   Consentement cookies (CNIL). Bannière sobre, en bas, NON bloquante.
   Boutons "Tout refuser" / "Tout accepter" de même poids visuel.
   ========================================================================== */
.cc-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
  /* Laisse cliquer le reste de la page : seul le panneau capte les clics. */
  pointer-events: none;
}

.cc-panel {
  pointer-events: auto;
  width: 100%;
  max-width: 680px;
  background: var(--surface);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: clamp(1.1rem, 2.6vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  /* État d'entrée (avant .is-in) */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cc-panel:focus { outline: none; } /* focus programmatique, pas de halo parasite */
.cc-banner.is-in .cc-panel { opacity: 1; transform: none; }

.cc-body {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.cc-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--ink-50);
  color: var(--ink-700);
}
.cc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--stone-900);
  margin-bottom: 0.25rem;
}
.cc-text {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--stone-600);
}
.cc-link {
  color: var(--ink-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.cc-link:hover { color: var(--ink-800); }

.cc-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
/* Deux boutons ÉQUIVALENTS : même taille, même graisse, même contraste.
   Refuser est aussi accessible qu'accepter (exigence CNIL). */
.cc-btn {
  flex: 1 1 auto;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}
.cc-btn:active { transform: translateY(1px); }
.cc-btn--refuse {
  background: var(--stone-700);
  color: #fdfcf9;
}
.cc-btn--refuse:hover { background: var(--stone-800); }
.cc-btn--accept {
  background: var(--ink-700);
  color: #fdfcf9;
}
.cc-btn--accept:hover { background: var(--ink-800); }

@media (min-width: 620px) {
  /* Sur large, boutons dimensionnés par leur contenu, pas étirés. */
  .cc-btn { flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .cc-body { gap: 0.7rem; }
  .cc-ic { width: 34px; height: 34px; }
  .cc-actions { gap: 0.6rem; }
  .cc-btn { flex: 1 1 100%; }
}
