/* =================================================================
   Permisdelouer — Landing (intégration WordPress)
   Généré depuis landing/assets/css/styles.css.
   Les tokens couleurs & polices pointent vers les presets des styles
   globaux Gutenberg (theme.json du thème enfant) : les modifier dans
   l'éditeur de site répercute sur toute la landing.
   ================================================================= */

/* ---------- Tokens ------------------------------------------------ */
:root {
  /* Marque (bleu brand, repris du produit) */
  --brand-50: var(--wp--preset--color--brand-50);
  --brand-100: var(--wp--preset--color--brand-100);
  --brand-200: var(--wp--preset--color--brand-200);
  --brand-300: var(--wp--preset--color--brand-300);
  --brand-400: var(--wp--preset--color--brand-400);
  --brand-500: var(--wp--preset--color--brand-500);
  --brand-600: var(--wp--preset--color--brand-600);
  --brand-700: var(--wp--preset--color--brand-700);
  --brand-800: var(--wp--preset--color--brand-800);
  --brand-900: var(--wp--preset--color--brand-900);

  /* Accent fonctionnel (mint = validation, avancement) */
  --mint-100: var(--wp--preset--color--mint-100);
  --mint-200: var(--wp--preset--color--mint-200);
  --mint-400: var(--wp--preset--color--mint-400);
  --mint-500: var(--wp--preset--color--mint-500);
  --mint-600: var(--wp--preset--color--mint-600);
  --mint-800: var(--wp--preset--color--mint-800);

  /* Neutres teintés bleu (OKLCH, chroma faible vers la teinte marque) */
  --ink: var(--wp--preset--color--ink);   /* texte principal */
  --ink-soft: var(--wp--preset--color--ink-soft);  /* texte secondaire */
  --ink-mute: var(--wp--preset--color--ink-mute);   /* texte tertiaire */
  --line: var(--wp--preset--color--line);  /* bordures */
  --line-soft: var(--wp--preset--color--line-soft);
  --surface: var(--wp--preset--color--surface);  /* fond de page (blanc teinté) */
  --surface-2: var(--wp--preset--color--surface-2);/* fond alterné */
  --card: var(--wp--preset--color--card); /* cartes (blanc quasi pur, teinté) */
  --alert: var(--wp--preset--color--alert);
  --amber: var(--wp--preset--color--amber);

  /* Élévation, douce */
  --shadow-sm: 0 1px 2px oklch(40% 0.05 264 / 0.06), 0 2px 6px oklch(40% 0.05 264 / 0.05);
  --shadow-md: 0 6px 16px oklch(40% 0.06 264 / 0.08), 0 2px 6px oklch(40% 0.05 264 / 0.05);
  --shadow-lg: 0 24px 60px oklch(35% 0.08 264 / 0.14), 0 8px 24px oklch(35% 0.06 264 / 0.08);

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Typo */
  --font-body: var(--wp--preset--font-family--body);
  --font-display: var(--wp--preset--font-family--display);

  /* Rythme */
  --shell: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* out-expo like */
}

/* ---------- Reset léger ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem; /* neutralise la typo fluide (clamp) des styles globaux TT5 */
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 600; color: var(--ink); }

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

/* ---------- Layout ----------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-tint { background: var(--surface-2); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.section-sub { margin-top: 1rem; font-size: 1.075rem; color: var(--ink-soft); max-width: 42rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 0 0 0.9rem;
}
.eyebrow-on-dark { color: var(--brand-200); }

/* ---------- Boutons ---------------------------------------------- */
.btn {
  --btn-bg: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background-color 0.2s, box-shadow 0.3s, border-color 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--brand-700); border-color: var(--brand-200); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-300); transform: translateY(-2px); }

.btn-invert { background: #fff; color: var(--brand-700); }
.btn-invert:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- En-tête ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(99% 0.004 264 / 0.82);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.site-header[data-scrolled] { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--brand-800); letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(150deg, var(--brand-500), var(--brand-700)); color: #fff; box-shadow: var(--shadow-sm); }
.brand-footer .brand-mark { width: 34px; height: 34px; }

.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.site-nav a:hover { color: var(--brand-700); }
.header-actions { display: flex; align-items: center; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; margin-left: auto; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 0.25rem; padding: 0.5rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.mobile-nav a { padding: 0.75rem 0; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 0.75rem; }

/* ---------- Hero ------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 120%;
  background:
    radial-gradient(60% 55% at 78% 12%, oklch(88% 0.11 160 / 0.5), transparent 70%),
    radial-gradient(55% 55% at 12% 8%, oklch(85% 0.09 264 / 0.55), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(0,-2%,0) scale(1.06); }
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-title { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 800; }
.hero-lead { margin-top: 1.4rem; font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-note { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.8rem; font-size: 0.86rem; color: var(--ink-mute); }
.hero-note svg { color: var(--mint-500); flex: none; }

/* Mockup tableau de bord */
.hero-visual { perspective: 1400px; }
.board {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}
.hero-visual:hover .board { transform: rotateY(0deg) rotateX(0deg); }
.board-top { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.board-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.board-dot:first-child { background: #e6a4a0; }
.board-dot:nth-child(2) { background: #e6cf8f; }
.board-dot:nth-child(3) { background: var(--mint-200); }
.board-title { margin-left: 0.5rem; font-size: 0.82rem; font-weight: 500; color: var(--ink-mute); }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; padding: 1rem; }
.col-h { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); margin-bottom: 0.6rem; display: flex; justify-content: space-between; }
.col-h em { font-style: normal; color: var(--brand-600); }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.55rem 0.6rem; margin-bottom: 0.5rem; box-shadow: var(--shadow-sm); }
.chip-ref { display: block; font-size: 0.66rem; font-weight: 600; color: var(--brand-600); letter-spacing: 0.02em; }
.chip-name { display: block; font-size: 0.74rem; color: var(--ink-soft); margin-top: 2px; }
.chip.is-alert { border-color: #eecac6; background: #fdf3f1; }
.chip.is-alert .chip-name { color: var(--alert); font-weight: 600; }
.chip.is-done { border-color: var(--mint-200); background: var(--mint-100); }
.chip-ok { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; font-size: 0.7rem; font-weight: 600; color: var(--mint-600); }
.chip-ok::before { content: "✓"; }
.chip .bar { display: block; height: 5px; margin-top: 6px; background: var(--brand-100); border-radius: 3px; overflow: hidden; }
.chip .bar i { display: block; height: 100%; width: 62%; background: var(--brand-500); border-radius: 3px; }

/* ---------- Bandeau confiance ------------------------------------ */
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.4rem; padding-block: 1.1rem; }
.trust-item { font-size: 0.88rem; color: var(--ink-mute); }
.trust-item strong { color: var(--ink); }
.trust-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300); }

/* ---------- Problème → Solution ---------------------------------- */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
.versus-side { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); border: 1px solid var(--line); }
.versus-before { background: var(--card); }
.versus-after { background: var(--brand-900); border-color: var(--brand-800); color: #fff; box-shadow: var(--shadow-lg); }
.versus-label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 1.1rem; }
.versus-after .versus-label { color: #fff; }
.versus-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.85rem; font-size: 0.98rem; color: var(--ink-soft); }
.versus-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; }
.versus-before .versus-list li::before { background: var(--ink-mute); transform: rotate(45deg); }
.versus-after { }
.versus-after .versus-list li { color: var(--brand-100); }
.versus-after .versus-list li strong { color: #fff; }
.versus-after .versus-list li::before { content: "✓"; background: none; width: auto; height: auto; top: 0; color: var(--mint-400); font-weight: 700; }
.versus-arrow { display: grid; place-items: center; color: var(--brand-400); }
@media (max-width: 820px) { .versus-arrow { transform: rotate(90deg); } }

/* ---------- Comment ça marche ------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; }
.step { position: relative; padding: 1.75rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.step-title { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.93rem; color: var(--ink-soft); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 42px; right: -0.75rem; width: 1.5rem; height: 2px; background: linear-gradient(90deg, var(--brand-300), transparent); }
@media (max-width: 900px) { .step:not(:last-child)::after { display: none; } }

/* ---------- Fonctionnalités clés --------------------------------- */
.feature-lead { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-lg); }
.feature-lead-text h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: 0.85rem; }
.feature-lead-text p { color: var(--ink-soft); font-size: 1.02rem; }
.signers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.signer { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-size: 0.72rem; font-weight: 600; }
.signer-state { font-size: 0.82rem; font-weight: 500; }
.signer.is-signed .signer-state { color: var(--mint-600); }
.signer.is-signed .avatar { background: var(--mint-100); color: var(--mint-600); }
.signer.is-wait { border-style: dashed; }
.signer.is-wait .signer-state { color: var(--ink-mute); }
.signers-caption { margin-top: 0.85rem; font-size: 0.85rem; font-weight: 500; color: var(--brand-700); text-align: center; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature { padding: 1.6rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform 0.4s var(--ease-out), box-shadow 0.3s, border-color 0.3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.feature-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-600); color: #fff; margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Fonctionnalités avancées (bande sombre) -------------- */
.section-dark { background: radial-gradient(120% 120% at 15% 0%, var(--brand-800), var(--brand-900) 60%); color: #fff; }
.section-dark .section-title { color: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.adv { padding: 1.9rem 1.6rem; background: oklch(100% 0.001 264 / 0.06); border: 1px solid oklch(100% 0.001 264 / 0.14); border-radius: var(--r-lg); transition: transform 0.4s var(--ease-out), background-color 0.3s; }
.adv:hover { transform: translateY(-4px); background: oklch(100% 0.001 264 / 0.1); }
.adv-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand-900); background: var(--mint-400); padding: 0.28rem 0.7rem; border-radius: var(--r-pill); margin-bottom: 1rem; }
.adv h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.55rem; }
.adv p { color: var(--brand-100); font-size: 0.95rem; }

/* ---------- Confiance & conformité ------------------------------- */
.confiance-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.confiance-intro .btn { margin-top: 1.75rem; }
.confiance-intro .section-sub { margin-bottom: 1.75rem; }

/* Illustration */
.confiance-illus { position: relative; }
.illus-conf { width: 100%; height: auto; overflow: visible; }

/* Liste compacte des garanties */
.assur-compact { display: grid; gap: 0.85rem; }
.assur-compact li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ac-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100); }
.assur-compact h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.assur-compact p { font-size: 0.9rem; color: var(--ink-soft); }

/* Animations de l'illustration */
.illus-conf .cf-gear { transform-box: fill-box; transform-origin: center; animation: cf-spin 16s linear infinite; }
.illus-conf .cf-gear-rev { animation-duration: 11s; animation-direction: reverse; }
.illus-conf .cf-float-a { transform-box: fill-box; animation: cf-floatY 6s var(--ease-out) infinite; }
.illus-conf .cf-float-b { transform-box: fill-box; animation: cf-floatY 4.5s var(--ease-out) infinite; }
.illus-conf .cf-float-c { transform-box: fill-box; animation: cf-floatY 5.4s var(--ease-out) infinite; animation-delay: -1.2s; }
.illus-conf .cf-dash { animation: cf-march 2.4s linear infinite; }
.illus-conf .cf-dash-2 { animation-duration: 3.2s; }
.illus-conf .cf-blob-b { transform-box: fill-box; transform-origin: center; animation: cf-breathe 9s ease-in-out infinite; }

@keyframes cf-spin { to { transform: rotate(360deg); } }
@keyframes cf-floatY { 50% { transform: translateY(-8px); } }
@keyframes cf-march { to { stroke-dashoffset: -26; } }
@keyframes cf-breathe { 50% { transform: scale(1.05); } }

/* ---------- Bénéfices par rôle ----------------------------------- */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.role { padding: 2rem 1.75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.role-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--brand-50); color: var(--brand-700); margin-bottom: 1.2rem; }
.role h3 { font-size: 1.22rem; margin-bottom: 1rem; }
.role ul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; font-size: 0.95rem; color: var(--ink-soft); }
.role ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-400); }

/* ---------- Tarifs ----------------------------------------------- */
.pricing { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.pricing-factors { margin-top: 1.5rem; }
.pricing-factors li { position: relative; padding-left: 1.9rem; margin-bottom: 0.75rem; font-size: 1rem; color: var(--ink-soft); }
.pricing-factors li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-50); border: 1.5px solid var(--brand-200); }
.pricing-factors li::after { content: ""; position: absolute; left: 7px; top: 0.62em; width: 6px; height: 10px; border: solid var(--brand-600); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pricing-aside { padding: 1.75rem; background: var(--brand-900); border-radius: var(--r-md); text-align: center; color: #fff; }
.pricing-note { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 1.1rem; }
.pricing-aside .btn { margin-bottom: 1rem; }
.pricing-fine { font-size: 0.82rem; color: var(--brand-200); }

/* ---------- FAQ -------------------------------------------------- */
.faq-shell { max-width: 780px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0.25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 22px; height: 22px; background:
  linear-gradient(var(--brand-600),var(--brand-600)) center/2px 12px no-repeat,
  linear-gradient(var(--brand-600),var(--brand-600)) center/12px 2px no-repeat;
  transition: transform 0.35s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer { padding: 0 0.25rem 1.4rem; }
.faq-answer p { color: var(--ink-soft); font-size: 0.98rem; max-width: 60ch; }

/* ---------- CTA final -------------------------------------------- */
.cta-band { background: radial-gradient(130% 130% at 85% 0%, var(--brand-600), var(--brand-800) 70%); color: #fff; }
.cta-inner { text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); color: #fff; }
.cta-inner p { margin: 1rem auto 2rem; font-size: 1.1rem; color: var(--brand-100); max-width: 34rem; }

/* ---------- Footer ----------------------------------------------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-tag { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-mute); max-width: 26rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.92rem; color: var(--ink-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-700); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-mute); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a:hover { color: var(--brand-700); }

/* ---------- Révélations au scroll -------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow { animation: none; }
  .board { transform: none; }
  .illus-conf .cf-gear,
  .illus-conf .cf-float-a,
  .illus-conf .cf-float-b,
  .illus-conf .cf-float-c,
  .illus-conf .cf-dash,
  .illus-conf .cf-blob-b { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; }
  .board { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-lead, .confiance-grid, .pricing { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .site-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: none; }
  .mobile-nav.is-open { display: flex; }
  .versus { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-grid, .signers { grid-template-columns: 1fr; }
  .assur-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Intégration WordPress -------------------------------- */
/* Neutralise le padding racine de TT5 sur le gabarit landing. */
body.page-template-landing {
  padding: 0;
}
/* Le bloc « Contenu » ne doit contraindre ni la largeur ni l'espacement. */
body.page-template-landing .wp-block-post-content {
  margin: 0;
  max-width: none;
}
/* Pas de blockGap entre les sections ni autour du groupe principal :
   chaque section gère son propre rythme vertical (--section-y). */
body.page-template-landing main.wp-block-group,
body.page-template-landing .wp-block-post-content > *,
body.page-template-landing .wp-site-blocks > * {
  margin-block: 0;
}
/* TT5 impose text-wrap: pretty sur titres et paragraphes : on revient au
   comportement navigateur par défaut pour coller à la maquette. */
body.page-template-landing :is(h1, h2, h3, h4, h5, h6, p, blockquote, figcaption, caption) {
  text-wrap: auto;
}

/* Barre d'admin WP : décale l'en-tête sticky pour les utilisateurs connectés. */
body.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
