/* ================================================================
   RNA SOLUTIONS — Landing page components (shared)
   Extrait verbatim des styles inline de template-landing-rna.php,
   pour être réutilisé par les variantes de la page d'accueil
   (automatisation-entreprise, consultant-ia, merci-audit) sans
   tripler ~470 lignes de CSS. La page d'accueil elle-même n'est
   pas modifiée et garde son bloc <style> inline intact.
   Couleurs, polices et espacements : identiques à la page d'accueil.
   ================================================================ */
:root {
  --color-bg:        #0E1A2B;   /* navy profond (fonds sombres)   */
  --color-bg-soft:   #13233A;
  --color-paper:     #F7F5F0;   /* fond clair                     */
  --color-white:     #FFFFFF;
  --color-ink:       #14181F;   /* texte sur fond clair           */
  --color-text-light:#F2EFE8;   /* texte sur fond sombre          */
  --color-accent:    #1F8A6D;   /* émeraude — boutons, liens      */
  --color-accent-2:  #E8A33D;   /* ambre — surlignages, kickers   */
  --color-muted:     #6B7484;
  --font-display:    "Archivo", sans-serif;
  --font-serif:       "Source Serif 4", Georgia, serif;
  --radius:          14px;
  --shadow:          0 18px 50px rgba(10, 22, 40, .18);
  --container:       1140px;

  /* Espace réservé au header WordPress transparent qui se superpose.
     Astra empile jusqu'à 3 bandeaux (above/main/below) ≈ 140-180px sur desktop :
     cette valeur doit couvrir toute cette hauteur + un peu d'air pour le titre. */
  --header-space:    190px;

  /* Inclinaison des sections (style KingKong). tan(10°) ≈ 0.176 */
  --tilt-angle:      -5deg;
  --tilt-pad:        4.5vw;     /* ≈ tan(angle) × 50vw : évite que le contenu sorte du fond incliné */
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

#rna-landing {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: none;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  box-sizing: border-box;
}

/* Low-specificity reset scoped to the landing page only (Astra header/footer unaffected). */
:where(#rna-landing) *,
:where(#rna-landing) *::before,
:where(#rna-landing) *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:where(#rna-landing) img { max-width: 100%; height: auto; display: block; }
:where(#rna-landing) a { color: var(--color-accent); text-decoration: none; }
:where(#rna-landing) a:hover { text-decoration: underline; }
:where(#rna-landing) button,
:where(#rna-landing) input,
:where(#rna-landing) textarea { font: inherit; }

.rna-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; min-width: 0; }
.rna-container-narrow { max-width: 780px; }
.cards-3 > *, .cards-4 > *, .offer-grid > *, .stats-grid > *, .audit-inner > * { min-width: 0; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 900; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .6rem; }

/* ---------- Boutons ---------- */
.rna-btn {
  display: inline-block; font-weight: 800; text-align: center; position: relative; overflow: hidden;
  border: none; cursor: pointer; border-radius: 999px;
  padding: .9rem 1.9rem; font-size: 1rem; text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.rna-btn-primary { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px rgba(31,138,109,.35); }
.rna-btn-primary:hover { background: #176f58; transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(31,138,109,.45); }
.rna-btn-outline { border: 2px solid var(--color-ink); color: var(--color-ink); background: transparent; }
.rna-btn-outline:hover { background: var(--color-ink); color: #fff; transform: translateY(-2px); }
.rna-btn-outline--light { border-color: #fff; color: #fff; }
.rna-btn-outline--light:hover { background: #fff; color: var(--color-bg); }
.rna-btn-large { padding: 1.05rem 2.4rem; font-size: 1.1rem; }
.rna-btn-full { width: 100%; }

/* Reflet animé façon KingKong */
.rna-btn-shine::after {
  content: ""; position: absolute; top: -20%; left: -30%; width: 30%; height: 140%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg) translateX(0);
  animation: buttonShine 3.2s ease-in-out infinite;
}
@keyframes buttonShine {
  0%   { transform: skewX(-20deg) translateX(-100%); }
  35%, 100% { transform: skewX(-20deg) translateX(600%); }
}

/* ---------- Kickers / eyebrows ---------- */
.section-eyebrow, .kicker {
  font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 1rem;
}
.section-eyebrow--light { color: #7fd6bb; }
.section-eyebrow--accent { color: var(--color-accent-2); }
.section-lead { font-size: 1.15rem; color: var(--color-muted); max-width: 640px; margin-bottom: 2.5rem; }
.section-lead--light { color: #B9C0CE; }

/* ================================================================
   SECTIONS INCLINÉES (10°) — reproduit l'effet KingKong
   Chaque .tilt a un fond dessiné par ::before, incliné de --tilt-angle,
   et remonte sur la section précédente pour créer la coupe en biais.
   ================================================================ */
.tilt {
  position: relative; isolation: isolate;
  padding: calc(var(--tilt-pad) + 3rem) 0 calc(var(--tilt-pad) + 3rem);
  margin-top: calc(-1 * var(--tilt-pad));
}
.tilt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tilt-bg);
  transform: skewY(var(--tilt-angle));
  transform-origin: center;
}
.tilt--paper { --tilt-bg: var(--color-paper); }
.tilt--white { --tilt-bg: var(--color-white); }
.tilt--navy  { --tilt-bg: var(--color-bg); color: var(--color-text-light); }
.tilt--navy h2 { color: #fff; }
.tilt--navy::before {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(31,138,109,.16), transparent 55%),
    radial-gradient(700px 400px at 5% 100%, rgba(232,163,61,.10), transparent 60%),
    var(--color-bg);
}
/* Rayures horizontales subtiles (clin d'œil aux "stripes" KingKong) sur les sections sombres */
.tilt--navy::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  transform: skewY(var(--tilt-angle));
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 120px);
}

/* ============================ HERO (100vh, tout visible) ============================ */
.rna-hero {
  position: relative; overflow: hidden;
  min-height: var(--hero-min, 100svh);
  display: flex; align-items: center;
  padding: var(--header-space) 0 calc(var(--tilt-pad) + 5rem);
  color: var(--color-text-light);
  background: var(--color-bg);
  text-align: center;
}
.rna-hero-bg {
  position: absolute; inset: -10% 0; z-index: 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(232,163,61,.14), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(31,138,109,.20), transparent 60%),
    var(--color-bg);
  will-change: transform;
}
.rna-hero-glow { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; will-change: transform; }
.rna-hero-glow--1 { width: 520px; height: 520px; left: -160px; top: 30%; background: rgba(31,138,109,.28); animation: float 9s ease-in-out infinite; }
.rna-hero-glow--2 { width: 420px; height: 420px; right: -120px; top: 5%; background: rgba(232,163,61,.18); animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-30px) } }

.rna-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.rna-hero-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #7fd6bb !important; margin-bottom: 1.1rem; }
.rna-hero h1 { font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 900; margin-bottom: 1.1rem; line-height: 1.08; color: #fff !important; }
.rna-hero h1 .hl { color: var(--color-accent-2) !important; }
.rna-hero h1 .line-block { display: block; }
.rna-hero h1 .w { display: inline-block; color: #fff !important; }
.rna-hero h1 .hl .w { color: var(--color-accent-2) !important; }
html.rna-animations .rna-hero h1:not(.is-visible) .w { opacity: 0; transform: translateY(.6em) rotate(3deg); }
html.rna-animations .rna-hero h1.is-visible .w { opacity: 1 !important; transform: none !important; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rna-hero-sub { font-size: clamp(1rem, 1.35vw, 1.15rem); color: #C3CAD6 !important; max-width: 620px; margin: 0 auto 1.8rem; }

.rna-hero-cta { display: flex; justify-content: center; margin-bottom: .9rem; }
.rna-hero-note { font-size: .88rem; color: #93A0B4 !important; margin-bottom: 1.8rem; }

.rna-hero-trust { list-style: none; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; text-align: left; }
.rna-hero-trust li { font-size: .85rem; color: #9AA3B2 !important; max-width: 200px; padding-left: .9rem; border-left: 3px solid var(--color-accent); line-height: 1.4; }
.rna-hero-trust strong { display: block; color: #fff !important; }

.scroll-cue {
  position: absolute; left: 50%; bottom: calc(var(--tilt-pad) + 1rem); z-index: 1; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--color-accent-2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }

/* ---- Hero compact (variante « hub », dans l'esprit de /outils/, voir /services/) ---- */
.rna-hero-compact {
  position: relative; overflow: hidden;
  padding: var(--header-space) 0 4rem;
  background:
    radial-gradient(1100px 500px at 90% 10%, rgba(232,163,61,.16), transparent 55%),
    radial-gradient(900px 500px at 5% 100%, rgba(31,138,109,.20), transparent 55%),
    var(--color-bg);
  color: var(--color-text-light);
  text-align: left;
}
.rna-hero-compact__eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #7fd6bb !important; margin-bottom: 1.1rem;
}
.rna-hero-compact__eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.rna-hero-compact h1 {
  max-width: 20ch; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900;
  line-height: 1.1; margin-bottom: 1.1rem; color: #fff !important;
}
.rna-hero-compact__lead {
  max-width: 62ch; font-family: var(--font-serif); font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7; color: #C3CAD6 !important; margin-bottom: 1.8rem;
}
.rna-hero-compact__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.rna-hero-compact__actions .rna-btn { display: inline-flex; align-items: center; gap: .6rem; }
@media (max-width: 720px) {
  .rna-hero-compact { padding: var(--header-space) 0 3rem; }
  .rna-hero-compact h1 { max-width: none; font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .rna-hero-compact__actions .rna-btn { width: 100%; }
}

/* ============================ LETTRE ============================ */
.letter .rna-container { text-align: left; }
.letter-body { font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.7; display: grid; gap: 1.1rem; margin-bottom: 2.5rem; }
.letter-body strong { color: var(--color-accent); }

/* ============================ MÉTHODE ============================ */
.method h2 { max-width: 720px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step-card {
  background: var(--color-paper); border: 1px solid #E7E2D8; border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-number { font-size: 2.4rem; font-weight: 900; color: var(--color-accent-2); display: block; margin-bottom: .8rem; line-height: 1; }
.step-card p { color: #4A5262; font-size: .98rem; }

/* ============================ SERVICES ============================ */
.cards-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.service-card {
  background: #fff; border: 1px solid #E7E2D8; border-radius: var(--radius);
  padding: 2rem 1.8rem; color: var(--color-ink); text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.service-card p { color: #4A5262; font-size: .98rem; margin-bottom: 1rem; }
.card-link { font-weight: 800; color: var(--color-accent); font-size: .95rem; }
/* Variante non cliquable (cartes "expertises" sans lien "Découvrir →") */
.service-card--static { cursor: default; }
.service-card--static:hover { transform: none; box-shadow: none; border-color: #E7E2D8; }

/* ============================ POUR QUI ============================ */
.audience-card {
  background: var(--color-bg-soft); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); overflow: hidden; padding-bottom: 1.6rem;
}
.img-zoom { overflow: hidden; margin-bottom: 1.3rem; }
.img-zoom img { width: 100%; height: 190px; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.audience-card:hover .img-zoom img { transform: scale(1.08); }
.audience-card h3, .audience-card p { padding: 0 1.5rem; }
.audience-card h3 { color: #fff; }
.audience-card p { color: #B9C0CE; font-size: .95rem; }

/* ============================ STATS & GARANTIE ============================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin: 2.5rem 0 3.5rem; }
.stat { border-top: 3px solid var(--color-accent); padding-top: 1.2rem; }
.stat-number { display: block; font-size: clamp(2.2rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--color-bg); margin-bottom: .4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--color-muted); font-size: .95rem; }
.guarantee {
  background: var(--color-bg); color: #fff; border-radius: var(--radius);
  padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.guarantee p { font-size: 1.15rem; max-width: 560px; }
.guarantee strong { color: var(--color-accent-2); }

/* ============================ NOTRE OFFRE ============================ */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.5rem; }
.offer-card {
  border-radius: var(--radius); padding: 2.6rem 2.3rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer-card--dark { background: var(--color-bg); color: var(--color-text-light); }
.offer-card--light { background: #fff; border: 1px solid #E7E2D8; }
.offer-label { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent-2); }
.offer-card--light .offer-label { color: var(--color-accent); }
.offer-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0; }
.offer-card--dark h3 { color: #fff; }
.offer-card > p { color: inherit; opacity: .85; }
.offer-points { list-style: none; display: grid; gap: .5rem; margin: .3rem 0 .6rem; }
.offer-points li { padding-left: 1.6rem; position: relative; font-size: .97rem; }
.offer-points li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 900; }
.offer-card .rna-btn { align-self: flex-start; }
.offer-meta { font-size: .85rem; opacity: .7; }
.offer-tools { margin-top: 2.2rem; text-align: center; color: var(--color-muted); }
.offer-tools a { font-weight: 700; }

/* ============================ ÉTUDES DE CAS (carrousel) ============================ */
.cases-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.cases-head .section-eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.cases-head h2 { margin-bottom: 0; }
.carousel-nav { display: flex; gap: .6rem; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35);
  background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; transition: background .2s, transform .2s;
  display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1;
}
.carousel-btn:hover { background: var(--color-accent); border-color: var(--color-accent); transform: scale(1.06); }

.carousel { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging .case-card { pointer-events: none; }
.carousel-track {
  display: flex; gap: 1.2rem;
  padding: .5rem max(24px, calc((100vw - var(--container)) / 2 + 24px)) 1.5rem;
}
.case-card {
  position: relative; flex: 0 0 auto; width: 300px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden;
  scroll-snap-align: start; text-decoration: none !important; color: #fff; display: block;
  transform: translateY(0); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.case-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.case-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.case-card:hover img { transform: scale(1.08); }
.case-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
  background: linear-gradient(180deg, rgba(14,26,43,.05) 30%, rgba(14,26,43,.55) 60%, rgba(14,26,43,.95) 100%);
}
.case-tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-2); margin-bottom: .6rem; }
.case-overlay h3 { font-size: 1.45rem; color: #fff; line-height: 1.12; margin-bottom: .4rem; }
.case-overlay p { font-size: .9rem; color: #C3CAD6; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; }
.case-card:hover .case-overlay p { max-height: 3em; opacity: 1; }
.cases-more { text-align: center; margin-top: 1.5rem; }

/* ============================ MARQUEES ============================ */
.partners .rna-container, .tech .rna-container { text-align: center; }
.partners .section-eyebrow { margin-bottom: 2rem; }
.tech h2 { margin-bottom: 2.5rem; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee var(--duration, 30s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee--reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.marquee-item { flex: 0 0 auto; display: flex; align-items: center; gap: .9rem; }

.logo-item { height: 72px; padding: 0 1.6rem; color: var(--color-muted); font-weight: 700; font-size: 1.05rem; opacity: .85; transition: opacity .2s, filter .2s; filter: grayscale(1); }
.logo-item:hover { opacity: 1; filter: none; }
.logo-item img { height: 56px; width: auto; }
.logo-placeholder {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 .9rem; border-radius: 8px;
  border: 2px dashed #C9C3B8; font-weight: 900; letter-spacing: .05em; color: #8A93A3; font-size: .95rem;
}

.tech-item { padding: .9rem 1.4rem; border-radius: 999px; background: #fff; border: 1px solid #E7E2D8; font-weight: 700; color: var(--color-ink); box-shadow: 0 6px 18px rgba(10,22,40,.06); }
.tech-item img { width: 26px; height: 26px; }
.tech-mono { width: 26px; height: 26px; border-radius: 6px; background: var(--color-bg); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; }

/* ============================ FORMULAIRE AUDIT ============================ */
.audit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.audit-copy > p { color: #C3CAD6; margin-bottom: 1.8rem; }
.audit-steps { margin: 0 0 1.8rem 1.2rem; display: grid; gap: .9rem; }
.audit-steps li { color: #C3CAD6; }
.audit-steps strong { color: #fff; }
.audit-reassure { font-size: .9rem; color: #7fd6bb; font-weight: 700; letter-spacing: .05em; }

.audit-form-wrap { background: #fff; color: var(--color-ink); border-radius: var(--radius); padding: 2.4rem 2.2rem; box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.1rem; }
.audit-form-wrap label { display: block; font-weight: 600; font-size: .92rem; }
.audit-form-wrap input[type="text"], .audit-form-wrap input[type="email"], .audit-form-wrap input[type="tel"], .audit-form-wrap textarea {
  width: 100%; margin-top: .35rem; padding: .8rem 1rem; font-size: 1rem;
  border: 1.5px solid #D8DCE4; border-radius: 9px; font-family: inherit; background: #fff;
}
.audit-form-wrap input:focus, .audit-form-wrap textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent; }
.form-consent .checkbox { display: flex; gap: .7rem; font-weight: 400; font-size: .78rem; color: #5A6170; line-height: 1.5; cursor: pointer; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.form-success { margin-top: 1rem; padding: .9rem 1.1rem; background: #E6F5EF; color: var(--color-accent); border-radius: 9px; font-weight: 600; }
/* Habillage du formulaire Forminator (version WordPress) */
.audit-form-wrap .forminator-button-submit { background: var(--color-accent) !important; border-radius: 999px !important; font-weight: 800 !important; width: 100%; padding: 1rem !important; }

/* ============================ DÉMOS (consultant-ia) ============================ */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 1.6rem; }
.demo-card {
  display: block; background: var(--color-bg-soft); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 2rem 1.8rem; color: #fff; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.demo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.demo-card h3 { color: #fff; }
.demo-card p { color: #B9C0CE; font-size: .95rem; margin-bottom: 1rem; }
.demo-card .card-link { color: var(--color-accent-2); }
.demo-note { text-align: center; color: #B9C0CE; font-size: .98rem; }

/* ============================ FAQ ============================ */
.accordion { display: grid; gap: .8rem; margin-bottom: 3.5rem; }
.accordion details { background: #fff; border: 1px solid #E7E2D8; border-radius: var(--radius); padding: 1.3rem 1.6rem; transition: box-shadow .2s ease; }
.accordion details[open] { box-shadow: var(--shadow); }
.accordion summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.6rem; color: var(--color-accent); font-weight: 400; flex-shrink: 0; transition: transform .3s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { margin-top: 1rem; color: #4A5262; animation: fadeDown .35s ease; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }

.final-cta { text-align: center; background: var(--color-bg); color: #fff; border-radius: var(--radius); padding: 3rem 2rem; }
.final-cta p { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 1.6rem; }

/* ============================ CONFIRMATION (merci-audit) ============================ */
.confirm-hero { background: var(--color-bg); color: #fff; text-align: center; padding: var(--header-space) 0 calc(var(--tilt-pad) + 5rem); }
.confirm-hero h1 { font-size: clamp(2rem, 4.3vw, 3.5rem); font-weight: 900; margin-bottom: 1.1rem; line-height: 1.08; color: #fff !important; }
.confirm-hero > .rna-container > p { font-size: clamp(1rem, 1.35vw, 1.15rem); color: #C3CAD6 !important; max-width: 620px; margin: 0 auto 1.8rem; }
.confirm-hero .rna-hero-trust { margin-top: .5rem; }
.booking-frame-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.booking-frame { display: block; width: 100%; border: 0; min-height: 600px; }
.meantime { background: #EFECE3; }
.meantime h3 { margin-bottom: 1.4rem; }
.meantime-links { display: grid; gap: 1rem; margin-top: 1rem; }
.meantime-links .rna-btn { width: 100%; text-align: left; }

/* ================================================================
   ANIMATIONS AU SCROLL
   .reveal + data-reveal="fade-up|fade|slide-left|slide-right|pop|words"
   ================================================================ */
/* Visible by default (no-JS / JS-fallback). The JS adds html.rna-animations
   when it is ready, which enables the hidden/animated state. */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--delay, 0ms); will-change: opacity, transform; }
.reveal[data-reveal="fade-up"]     { transform: translateY(36px); }
.reveal[data-reveal="fade"]        { transform: none; }
.reveal[data-reveal="slide-left"]  { transform: translateX(-48px); }
.reveal[data-reveal="slide-right"] { transform: translateX(48px); }
.reveal[data-reveal="pop"]         { transform: scale(.86); }
.reveal[data-reveal="words"]       { opacity: 1; }

/* JS-activated animation state: hidden until .is-visible is applied */
html.rna-animations .reveal:not(.is-visible) { opacity: 0; }
html.rna-animations .reveal[data-reveal="fade-up"]:not(.is-visible)     { transform: translateY(36px); }
html.rna-animations .reveal[data-reveal="fade"]:not(.is-visible)        { transform: none; }
html.rna-animations .reveal[data-reveal="slide-left"]:not(.is-visible)  { transform: translateX(-48px); }
html.rna-animations .reveal[data-reveal="slide-right"]:not(.is-visible) { transform: translateX(48px); }
html.rna-animations .reveal[data-reveal="pop"]:not(.is-visible)         { transform: scale(.86); }
.reveal.is-visible { opacity: 1 !important; transform: none !important; }
.rna-btn.reveal.is-visible:hover { transform: translateY(-2px) scale(1.02) !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .rna-hero h1 .w { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .marquee-track, .rna-btn-shine::after, .rna-hero-glow, .scroll-cue span { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================ RESPONSIVE ============================ */
/* Écrans larges mais peu hauts (laptops 1366×768) : hero compact pour que tout reste au-dessus du pli */
@media (min-width: 721px) and (max-height: 860px) {
  :root { --header-space: 160px; }
  .rna-hero { padding-bottom: calc(var(--tilt-pad) + 4.5rem); }
  .rna-hero-eyebrow { margin-bottom: .7rem; font-size: .72rem; }
  .rna-hero h1, .confirm-hero h1 { font-size: clamp(1.7rem, 3.3vw, 2.8rem); margin-bottom: .8rem; }
  .rna-hero-sub, .confirm-hero > .rna-container > p { font-size: .98rem; margin-bottom: 1.2rem; max-width: 560px; }
  .rna-hero-cta { margin-bottom: .7rem; }
  .rna-hero-note { margin-bottom: 1.1rem; font-size: .82rem; }
  .rna-hero-trust li { font-size: .8rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --tilt-angle: -8deg; --tilt-pad: 7.5vw; --header-space: 130px; }
  .cards-3 { grid-template-columns: 1fr; gap: 1.2rem; }
  .cards-4, .offer-grid, .demo-grid { grid-template-columns: 1fr; }
  .audit-inner { grid-template-columns: 1fr; gap: 3rem; }
  .guarantee { flex-direction: column; align-items: flex-start; }
  .cases-head { grid-template-columns: 1fr; }
  .carousel-nav { justify-self: start; }
  .case-card { width: 260px; }
}
@media (max-width: 720px) {
  :root { --tilt-angle: -6deg; --tilt-pad: 6vw; }
  .tilt { padding: calc(var(--tilt-pad) + 2.5rem) 0; }
  .rna-hero, .confirm-hero { min-height: 0; padding-top: var(--header-space); padding-bottom: calc(var(--tilt-pad) + 3.5rem); text-align: left; }
  .rna-hero h1, .confirm-hero h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .rna-hero-sub, .confirm-hero > .rna-container > p { margin-left: 0; }
  .rna-hero-cta { margin-left: 0; }
  .rna-hero-cta .rna-btn { width: 100%; }
  .rna-hero-trust { flex-direction: column; gap: .9rem; }
  .rna-hero-trust li { max-width: none; }
  .scroll-cue { display: none; }
  .letter-body { font-size: 1.12rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 2rem 1.5rem; }
  .case-card { width: 72vw; max-width: 300px; }
  .carousel-track { gap: .9rem; }
  .audit-form-wrap { padding: 1.7rem 1.3rem; }
  .final-cta { padding: 2.2rem 1.4rem; }
  .final-cta p { font-size: 1.15rem; }
  .logo-item { height: 60px; padding: 0 1rem; }
  .logo-item img { height: 44px; }
  .booking-frame { min-height: 700px; }
}
