/* TYTAE v2 — page d'essai en blocs natifs
   Portage de la maquette site/styles.css sur la structure des blocs Gutenberg.
   Registre relevé sur tytae.fr : Figtree seule, marine + un rouge, boutons capitales.
   Arrondis intermédiaires validés par le client : 14 px cartes, 10 px boutons. */

:root {
  --navy-900: #050821;
  --navy-800: #0E1D4C;
  --navy-700: #1A2B60;
  --navy-300: #99A6CC;
  --red: #E11F42;
  --red-btn: #E22C3F;
  --red-soft: #FF6B82;
  --cream: #FFF9F7;
  --off-white: #F4F6FC;
  --light: #F4F4F5;
  --white: #FFFFFF;
  --ink: #1A2B60;
  --ink-soft: #4A5680;
  --line: #E4E7F1;

  --r-card: 14px;
  --r-btn: 10px;
  --r-sm: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-card: 0 1px 2px rgba(14, 29, 76, .06), 0 8px 24px -12px rgba(14, 29, 76, .14);
  --shadow-lift: 0 30px 60px -20px rgba(14, 29, 76, .35);

  /* Icônes (masques et fonds CSS : aucune icône dans le contenu) */
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5l2.6.4 1.3 3.8-1.9 1.4a11 11 0 005.3 5.3l1.4-1.9 3.8 1.3.4 2.6c.1 1-.7 1.9-1.7 1.9A15.6 15.6 0 014.7 5.2c0-1 .9-1.8 1.9-1.7z'/%3E%3C/svg%3E");
  --i-arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-check-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E11F42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-check-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B82' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-google: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E");
}

/* Espacement automatique de Gutenberg neutralisé à la source de la page (placé en tête :
   les composants, déclarés plus bas à spécificité égale, reprennent la main). */
.tv2-main :where(.is-layout-flow) > * { margin-block-start: 0; margin-block-end: 0; }
.tv2-main :where(.is-layout-flex) { gap: 0; }
.subscribe > p:empty { display: none; }

/* ——— Base ——— */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.tv2 {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(.tv2-main) img { max-width: 100%; height: auto; display: block; }
.tv2-main a, .tv2-header a, .tv2-footer a { color: inherit; text-decoration: none; }
.tv2-main h1, .tv2-main h2, .tv2-main h3 { margin: 0; line-height: 1.12; font-weight: 700; font-family: inherit; color: inherit; hyphens: none; text-wrap: balance; letter-spacing: normal; }
:where(.tv2-main) p { margin: 0; }
:where(.tv2-main) ul { margin: 0; padding: 0; list-style: none; }
:where(.tv2-main) figure { margin: 0; }
::selection { background: var(--red); color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ——— Typo utilitaires ——— */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.tv2-main .h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.02em; }
.tv2-main .grad-text { background: linear-gradient(90deg, var(--navy-700) 0%, var(--red) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; color: var(--ink-soft); }
.on-dark .section-head .lead { color: var(--navy-300); }

/* ——— Boutons (core/buttons + core/button) ——— */
.wp-block-buttons.acts { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button.b-red, .wp-block-button.b-line, .wp-block-button.b-ghost { display: inline-block; margin: 0; background: none; border: 0; padding: 0; }
.wp-block-button .wp-block-button__link.wp-element-button,
.tv2-header .btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-btn);
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  border: 1.5px solid transparent; background: transparent; color: inherit;
  transition: transform .25s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap; text-decoration: none;
}
/* Flèche : pseudo-élément masqué, jamais d'icône dans le contenu */
.wp-block-button .wp-block-button__link::after, .tv2-header .btn-red::after {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.wp-block-button .wp-block-button__link:hover::after, .tv2-header .btn-red:hover::after { transform: translateX(4px); }
.wp-block-button .wp-block-button__link:active { transform: scale(.97); }
.wp-block-button .wp-block-button__link:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Rouge : reflet qui balaie le bouton */
.wp-block-button.b-red .wp-block-button__link, .tv2-header .btn-red { background: var(--red-btn); color: var(--white); box-shadow: 0 10px 28px -12px rgba(226, 44, 63, .8); }
.wp-block-button.b-red .wp-block-button__link::before, .tv2-header .btn-red::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.wp-block-button.b-red .wp-block-button__link:hover, .tv2-header .btn-red:hover { box-shadow: 0 16px 34px -12px rgba(226, 44, 63, .95); transform: translateY(-2px); }
.wp-block-button.b-red .wp-block-button__link:hover::before, .tv2-header .btn-red:hover::before { transform: translateX(120%); }

/* Contour : remplissage depuis la gauche */
.wp-block-button.b-line .wp-block-button__link, .tv2-header .btn-line { border-color: var(--red-btn); }
.wp-block-button.b-line .wp-block-button__link::before, .tv2-header .btn-line::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-btn);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.wp-block-button.b-line .wp-block-button__link:hover, .tv2-header .btn-line:hover { color: var(--white); }
.wp-block-button.b-line .wp-block-button__link:hover::before, .tv2-header .btn-line:hover::before { transform: scaleX(1); }

/* Fantôme (fond sombre) */
.wp-block-button.b-ghost .wp-block-button__link { border-color: rgba(255,255,255,.25); color: var(--white); }
.wp-block-button.b-ghost .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.1); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.wp-block-button.b-ghost .wp-block-button__link:hover { border-color: var(--white); }
.wp-block-button.b-ghost .wp-block-button__link:hover::before { transform: scaleX(1); }
.wp-block-button.b-phone .wp-block-button__link { flex-direction: row-reverse; }
.wp-block-button.b-phone .wp-block-button__link::after { -webkit-mask-image: var(--i-phone); mask-image: var(--i-phone); }
.wp-block-button.b-phone .wp-block-button__link:hover::after { transform: none; }

/* ——— En-tête ——— */
.tv2-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 29, 76, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s ease;
}
.admin-bar .tv2-header { top: 32px; }
.tv2-header .wrap { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .35s var(--ease); }
.tv2-header.scrolled { box-shadow: 0 10px 30px -10px rgba(5, 8, 33, .6); }
.tv2-header.scrolled .wrap { height: 68px; }
.logo { font-size: 28px; font-weight: 800; letter-spacing: .02em; }
.tv2-nav { display: flex; gap: 34px; margin-left: auto; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.tv2-nav a { opacity: .85; position: relative; padding: 6px 0; transition: opacity .2s; }
.tv2-nav a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.tv2-nav a:hover { opacity: 1; }
.tv2-nav a:hover::before { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; gap: 12px; }
.tv2-header .btn { padding: 12px 20px; font-size: 13px; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: inherit; width: 44px; height: 44px; }

/* ——— Hero ——— */
.tv2-main .hero {
  position: relative;
  background: var(--navy-800);
  color: var(--white);
  padding: clamp(56px, 7vw, 96px) 0 clamp(150px, 14vw, 190px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -140px; top: -120px;
  background: radial-gradient(closest-side, rgba(225, 31, 66, .28), rgba(120, 60, 200, .16) 55%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent),
    radial-gradient(1px 1px at 28% 68%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 47% 14%, #fff, transparent),
    radial-gradient(1px 1px at 58% 82%, #fff, transparent),
    radial-gradient(1px 1px at 83% 9%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 94% 58%, #fff, transparent),
    radial-gradient(1px 1px at 6% 88%, #fff, transparent);
}
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tv2-main .hero-title { font-size: clamp(38px, 4vw, 56px); letter-spacing: -.025em; }
.hero .lead { margin-top: 28px; max-width: 560px; font-size: 20px; color: #D5DBEE; }
.hero .acts { margin-top: 40px; }
.proof { margin-top: 32px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--navy-300); }
.proof::before { content: "★★★★★"; color: #FBBC05; letter-spacing: 2px; font-size: 16px; }

.hero-visual { position: relative; margin-right: calc(-1 * var(--gutter) - 80px); }
.hero-visual .owl { transition: transform .8s var(--ease); }
.tv2-main .hero-visual .owl img {
  width: 118%; max-width: none; margin-left: -6%;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 58%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 58%, transparent 100%);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }

.status-chip {
  position: absolute; left: 4%; bottom: 14%;
  padding: 12px 16px 12px 40px; border-radius: var(--r-btn);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; line-height: 1.35;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
}
.status-chip::before { content: ""; position: absolute; left: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; }
.status-chip::after { content: ""; position: absolute; left: 11px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid #fff; animation: ping 2s ease-out infinite; }
@keyframes ping { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }
.chip-title { font-weight: 700; font-size: 15px; }
.chip-sub { color: var(--navy-300); }

/* ——— Chiffres ——— */
.stats-wrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(96px, 9vw, 120px)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-lift); overflow: hidden; }
.stat { position: relative; padding: 34px 32px; transition: background .3s ease; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stat:hover { background: var(--off-white); }
.stat:hover::before { transform: scaleX(1); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(36px, 3.6vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-num sup { font-size: .5em; vertical-align: baseline; letter-spacing: 0; margin-left: 2px; color: var(--red); }
.stat-label { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

/* ——— Listes à coches ——— */
ul.checks li { position: relative; padding-left: 42px; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: var(--r-sm);
  background: var(--i-check-red) center / 14px no-repeat, rgba(225,31,66,.1);
  transition: transform .5s var(--ease) .15s;
}
.js-reveal ul.checks li::before { transform: scale(0); }
.js-reveal .in ul.checks li::before, .js-reveal ul.checks.in li::before { transform: scale(1); }

/* ——— Cas ——— */
.cases { padding: clamp(72px, 8vw, 110px) 0 var(--band); }
.cases-card { position: relative; overflow: hidden; background: var(--cream); border: 1px solid #F6E6E1; border-radius: var(--r-card); padding: clamp(32px, 5vw, 64px); }
.cases-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(225,31,66,.14), transparent); pointer-events: none; }
.cases-card .h2 { max-width: 760px; }
.cases-card ul.checks { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 56px; font-size: 18px; }
.cases-foot { margin-top: 44px; padding-top: 32px; border-top: 1px dashed #EBCFC8; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cases-foot p { font-size: 20px; }
.cases-foot strong { color: var(--red); }

/* ——— Projecteur qui suit la souris ——— */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(225,31,66,.10)), transparent 45%);
  opacity: 0; transition: opacity .4s ease;
}
.spot:hover::after { opacity: 1; }

/* ——— 3 besoins ——— */
.needs { position: relative; background: var(--navy-700); color: var(--white); padding: var(--band) 0; overflow: hidden; }
.needs::before { content: ""; position: absolute; left: 50%; bottom: -380px; width: 1200px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(225,31,66,.22), transparent); pointer-events: none; }
.needs-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.need {
  --spot: rgba(225,31,66,.22);
  display: flex; flex-direction: column;
  padding: 40px 34px 34px; border-radius: var(--r-card);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: transform .5s var(--ease), border-color .4s ease;
}
.need:hover { transform: translateY(-6px); border-color: rgba(225,31,66,.55); }
.need .num { text-align: center; font-size: 88px; font-weight: 800; line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); margin-bottom: 26px; transition: -webkit-text-stroke-color .4s ease; }
.need:hover .num { -webkit-text-stroke-color: var(--red); }
.tv2-main .need h3 { font-size: 30px; text-align: center; }
.need-text { margin-top: 16px; color: #C9D0E8; font-size: 17px; text-align: center; }
.need ul.dots { margin: 26px 0 34px; display: grid; gap: 12px; font-size: 16px; }
ul.dots li { display: flex; gap: 12px; align-items: center; transition: transform .3s var(--ease); }
ul.dots li::before { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; }
ul.dots li:hover { transform: translateX(4px); }
.need .acts { margin-top: auto; justify-content: center; }
.need .wp-block-button .wp-block-button__link.wp-element-button { font-size: 13px; padding: 13px 20px; white-space: normal; }
.need.urgent { background: linear-gradient(160deg, rgba(225,31,66,.22), rgba(255,255,255,.04) 60%); border-color: rgba(225,31,66,.4); }

/* ——— Tarifs : cartes premium ——— */
.pricing { background: var(--cream); padding: var(--band) 0; }
.pricing > .wrap { max-width: calc(1320px + 2 * var(--gutter)); }
.va-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.va-card {
  display: flex; flex-direction: column; gap: 24px;
  padding: 36px 34px; border-radius: var(--r-card);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.va-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14,29,76,.35); }
.plan-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.tv2-main .va-top h3 { font-size: 24px; }
.plan-intro { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.vp-badge { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: var(--red-btn); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vp-price { padding: 22px 0; border-block: 1px solid var(--line); }
.vp-small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.vp-amount { margin-top: 4px; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vp-amount sup { font-size: 22px; vertical-align: top; position: relative; top: 7px; margin-left: 3px; color: var(--red); letter-spacing: 0; }
.vp-per { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.acts.full .wp-block-button { display: block; width: 100%; }
.acts.full .wp-block-button__link { width: 100%; }
ul.vp-feats { display: grid; gap: 14px; }
ul.vp-feats li { position: relative; padding-left: 34px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
ul.vp-feats li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: var(--r-sm); background: var(--i-check-red) center / 12px no-repeat, rgba(225,31,66,.1); }
ul.vp-feats strong { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
ul.vp-feats br { display: none; }
.va-card.is-feat {
  --spot: rgba(225,31,66,.25);
  padding: 48px 38px; color: var(--white); border: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(225,31,66,.35), transparent 60%), var(--navy-800);
  box-shadow: 0 40px 80px -30px rgba(14,29,76,.6);
}
.va-card.is-feat .plan-intro, .va-card.is-feat .vp-small, .va-card.is-feat .vp-per, .va-card.is-feat ul.vp-feats li { color: var(--navy-300); }
.va-card.is-feat ul.vp-feats strong { color: var(--white); }
.va-card.is-feat .vp-price { border-color: rgba(255,255,255,.12); }
.va-card.is-feat ul.vp-feats li::before { background: var(--i-check-pink) center / 12px no-repeat, rgba(225,31,66,.22); }
.va-card.is-feat .vp-amount { font-size: 72px; }

/* ——— Confiance ——— */
.trust { background: var(--off-white); padding: var(--band) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 110px 28px 34px; transition: transform .5s var(--ease), border-color .4s ease; }
.trust-card:hover { transform: translateY(-4px); border-color: rgba(225,31,66,.35); }
.trust-card::before {
  content: ""; position: absolute; left: 28px; top: 34px; width: 52px; height: 52px; border-radius: var(--r-btn);
  background: rgba(225,31,66,.08); transition: background .4s ease, transform .5s var(--ease);
}
.trust-card:hover::before { background: var(--red); transform: rotate(-6deg) scale(1.05); }
/* L'icône elle-même : masque posé sur le titre, décalé dans la pastille */
.trust-card h3::before {
  content: ""; position: absolute; left: 41px; top: 47px; width: 26px; height: 26px; background: var(--red);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  transition: background .4s ease;
}
.trust-card:hover h3::before { background: var(--white); }
.ico-wp { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M4 8.5h2m2.5 0H6l4 11 2.2-6.2M10 8.5h4.5M12.5 8.5l4 11 2.8-8.2'/%3E%3C/svg%3E"); }
.ico-bolt { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M13 2.5L4.5 13.5H12l-1 8 8.5-11H12z'/%3E%3C/svg%3E"); }
.ico-doc { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E"); }
.ico-people { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.6 3.2-5.5 6.5-5.5s5.9 1.9 6.5 5.5'/%3E%3Ccircle cx='17' cy='9' r='2.8'/%3E%3Cpath d='M17 14.5c2.4 0 4 1.5 4.5 4'/%3E%3C/svg%3E"); }
.tv2-main .trust-card h3 { font-size: 20px; font-weight: 600; }
.trust-card p { margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
ul.trust-strip { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; font-weight: 600; font-size: 17px; }
ul.trust-strip li { padding-left: 36px; line-height: 24px; }
ul.trust-strip li::before { width: 24px; height: 24px; background-size: 12px; }

/* ——— Avis ——— */
.reviews { padding: var(--band) 0; }
.reviews > .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.reviews-intro > p:not(.eyebrow) { margin-top: 22px; color: var(--ink-soft); }
.reviews-intro .h2 { margin-top: 4px; }
.score { margin-top: 36px; display: inline-grid; grid-template-columns: 40px auto auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 16px 22px; border-radius: var(--r-card); background: var(--off-white); border: 1px solid var(--line); }
.score::before { content: ""; grid-row: 1 / 3; width: 40px; height: 40px; background: var(--i-google) center / contain no-repeat; }
.score-num { font-size: 40px; font-weight: 700; line-height: 1; }
.score-num sup { font-size: 18px; vertical-align: baseline; color: var(--ink-soft); }
.score .stars { grid-column: 2; grid-row: 2; }
.reviews-intro .score-note { grid-column: 3; grid-row: 1 / 3; margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.stars { color: #FBBC05; letter-spacing: 2px; font-size: 15px; line-height: 1.2; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-card); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.review:hover { box-shadow: 0 24px 48px -24px rgba(14,29,76,.3); }
.review:nth-child(2) { transform: translateY(40px); }
.review:nth-child(2):hover { transform: translateY(34px); }
.review.dark { grid-column: 1 / -1; margin-inline: 12% 0; background: var(--navy-800); color: var(--white); border-color: transparent; transform: translateY(20px); }
.review.dark:hover { transform: translateY(14px); }
.review.dark .review-text { color: #D5DBEE; }
.review-text { margin: 14px 0 22px; font-size: 17px; color: var(--ink-soft); }
.review-author { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.tv2-main .avatar img { width: 40px; height: 40px; border-radius: var(--r-btn); object-fit: cover; }

/* ——— FAQ (core/details) ——— */
.faq { background: var(--navy-800); color: var(--white); padding: var(--band) 0; }
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
details.faq-item { position: relative; border-radius: var(--r-card); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); overflow: hidden; transition: background .3s ease, border-color .3s ease; }
details.faq-item:hover { border-color: rgba(255,255,255,.2); }
details.faq-item[open] { background: rgba(255,255,255,.07); border-color: rgba(225,31,66,.45); }
/* Cadre du « + » : pseudo du bloc, rempli en rouge à l'ouverture */
details.faq-item::before { content: ""; position: absolute; right: 26px; top: 21px; width: 30px; height: 30px; border: 1.5px solid var(--red); border-radius: var(--r-sm); pointer-events: none; transition: background .3s ease; }
details.faq-item[open]::before { background: var(--red); }
details.faq-item > summary { list-style: none; cursor: pointer; position: relative; padding: 22px 82px 22px 26px; font-size: 19px; font-weight: 700; outline: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::marker { content: ""; }
details.faq-item > summary:focus-visible { box-shadow: inset 0 0 0 2px var(--red); }
/* Les deux traits du « + » */
details.faq-item > summary::before, details.faq-item > summary::after { content: ""; position: absolute; right: 35px; top: 36px; width: 12px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
details.faq-item > summary::after { transform: rotate(90deg); }
details.faq-item[open] > summary::after { transform: rotate(0); }
details.faq-item > p { padding: 0 26px 12px; color: #C9D0E8; font-size: 17px; }
details.faq-item > p:last-child { padding-bottom: 24px; }

/* ——— Cartes articles ——— */
.posts { padding: var(--band) 0; }
.posts.tint { background: var(--light); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -26px rgba(14,29,76,.35); }
.post-img { aspect-ratio: 16 / 9; overflow: hidden; }
.tv2-main .post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 26px 28px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r-sm); background: rgba(225,31,66,.08); color: var(--red); }
.tag.blue { background: rgba(81,134,250,.1); color: #3A6AD6; }
.tv2-main .post h3 { margin-top: 16px; font-size: 20px; line-height: 1.3; }
.post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-excerpt { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.post-meta { margin-top: auto; padding-top: 22px; width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-soft); }
.post-more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.post-more::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; transition: transform .4s var(--ease); }
.post:hover .post-more::after { transform: translateX(5px); }
.acts.more { margin-top: 44px; justify-content: center; }

/* ——— Veille : fil + inscription Brevo ——— */
.watch { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.feed { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.feed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.feed-head p { white-space: nowrap; }
.feed-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--red); }
.feed-head .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.feed-item {
  --spot: rgba(26,43,96,.06);
  flex: 1; display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: center;
  padding: 26px 84px 26px 28px; border-bottom: 1px solid var(--line);
}
.feed-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform .4s var(--ease); }
.feed-item:hover::before, .feed-item.flash::before { transform: scaleY(1); }
.feed-meta { display: grid; justify-items: start; gap: 8px; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tv2-main .feed-item h3 { font-size: 19px; line-height: 1.3; transition: color .3s ease; }
.feed-item h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feed-item:hover h3 { color: var(--red); }
/* Flèche carrée : pseudo du titre, positionnée dans la ligne */
.feed-item h3::after {
  content: ""; position: absolute; right: 28px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--i-arrow) center / 14px no-repeat;
  transition: all .4s var(--ease);
}
.feed-item:hover h3::after { background: var(--i-arrow-white) center / 14px no-repeat, var(--red); border-color: var(--red); transform: translateX(3px); }
.feed-item.flash { background: linear-gradient(90deg, rgba(225,31,66,.06), transparent 60%); }
.feed-item.flash .tag { background: var(--red); color: var(--white); }
.feed-foot { margin-top: auto; padding: 18px 28px; background: var(--off-white); }
.feed-foot a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.feed-foot a::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; transition: transform .4s var(--ease); }
.feed-foot a:hover::after { transform: translateX(5px); }

.subscribe { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 36px 34px; border-radius: var(--r-card); background: var(--navy-800); color: var(--white); }
.subscribe::before { content: ""; position: absolute; z-index: -1; right: -160px; top: -160px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(225,31,66,.35), transparent); }
.subscribe .eyebrow { margin-bottom: 12px; }
.tv2-main .subscribe h3 { font-size: 30px; letter-spacing: -.01em; }
.subscribe-lead { margin-top: 12px; font-size: 16px; color: var(--navy-300); }
ul.perks { margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
ul.perks li { padding-left: 34px; line-height: 22px; }
ul.perks li::before { width: 22px; height: 22px; background: var(--i-check-pink) center / 12px no-repeat, rgba(225,31,66,.2); }
.nl-form { margin-top: auto; }
.nl-field { position: relative; }
.nl-field input { width: 100%; font: inherit; font-size: 16px; color: var(--white); padding: 22px 16px 8px; border-radius: var(--r-btn); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); transition: border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.nl-field label { position: absolute; left: 17px; top: 16px; font-size: 16px; color: var(--navy-300); pointer-events: none; transition: all .25s var(--ease); }
.nl-field input:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,.1); box-shadow: 0 0 0 4px rgba(225,31,66,.18); }
.nl-field input:focus + label, .nl-field input:not(:placeholder-shown) + label { top: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-soft); }
.nl-submit { position: relative; isolation: isolate; overflow: hidden; margin-top: 12px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 0; border-radius: var(--r-btn); background: var(--red-btn); color: var(--white); font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 28px -12px rgba(226,44,63,.8); transition: transform .25s var(--ease), box-shadow .3s var(--ease); }
.nl-submit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.nl-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(226,44,63,.95); }
.nl-submit:hover::before { transform: translateX(120%); }
.nl-submit::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.nl-submit .spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.nl-form.loading .nl-submit .spinner { display: block; }
.nl-form.loading .nl-submit .lbl, .nl-form.loading .nl-submit::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.nl-msg { display: none; margin-top: 12px; font-size: 14px; color: var(--red-soft); }
.nl-form.error .nl-msg { display: block; }
.nl-form.error input { border-color: var(--red); animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.nl-done { display: none; align-items: center; gap: 14px; margin-top: auto; padding: 18px; border-radius: var(--r-btn); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.nl-done svg { width: 36px; height: 36px; flex: none; color: var(--red-soft); }
.nl-done svg path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.subscribe.done .nl-form { display: none; }
.subscribe.done .nl-done { display: flex; }
.subscribe.done .nl-done svg path { animation: draw .6s var(--ease) forwards .1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.nl-legal { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--navy-300); }
.nl-legal a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ——— CTA final (core/cover) ——— */
.wp-block-cover.cta { min-height: 0; padding: clamp(96px, 12vw, 160px) 0; color: var(--white); text-align: center; }
.wp-block-cover.cta .wp-block-cover__background.has-background-dim { opacity: 1; background: linear-gradient(180deg, rgba(14,29,76,.55), rgba(14,29,76,.2) 50%, rgba(5,8,33,.7)); }
.wp-block-cover.cta .wp-block-cover__inner-container { width: 100%; color: inherit; }
.tv2-main .cta h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -.025em; }
.cta-lead { margin: 22px auto 0; max-width: 560px; font-size: 20px; color: #D5DBEE; }
.cta .acts { margin-top: 40px; justify-content: center; }

/* ——— Pied de page ——— */
.tv2-footer { background: var(--navy-900); color: #C9D0E8; padding: 80px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.tv2-footer h4 { margin: 0 0 20px; color: var(--white); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.tv2-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tv2-footer a { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s ease; }
.tv2-footer a:hover { color: var(--white); background-size: 100% 1px; }
.foot-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--navy-300); }
.foot-bottom .logo { color: var(--white); font-size: 24px; }

/* ——— Apparition au défilement (classe posée par le script, jamais dans le contenu) ——— */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .js-reveal ul.checks li::before { transform: none; }
}

/* ——— Responsive ——— */
@media (max-width: 1180px) {
  .tv2-nav { gap: 22px; font-size: 14px; }
  .header-cta .btn-line { display: none; }
}
@media (max-width: 1024px) {
  .tv2-nav, .header-cta { display: none; }
  .burger { display: grid; place-items: center; }
  .hero > .wrap { grid-template-columns: 1fr; }
  .hero-visual { margin: -20px auto 0; max-width: 640px; }
  .tv2-main .hero-visual .owl img { width: 100%; margin: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .needs-grid, .va-grid, .posts-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .va-card, .va-card.is-feat { padding: 32px 26px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .reviews > .wrap { grid-template-columns: 1fr; }
  .watch { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .tv2-header { top: 46px; }
}
@media (max-width: 640px) {
  body.tv2 { font-size: 17px; }
  .tv2-header .wrap { height: 68px; }
  .hero .lead { font-size: 18px; }
  .hero .acts .wp-block-button, .hero .acts .wp-block-button__link { width: 100%; }
  .status-chip { left: 0; bottom: 6%; padding: 10px 14px 10px 36px; font-size: 13px; }
  .stat { padding: 24px 20px; }
  .cases-card ul.checks { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review:nth-child(2), .review.dark, .review:nth-child(2):hover, .review.dark:hover { transform: none; margin-inline: 0; }
  .feed-head { padding: 16px 20px; font-size: 11px; }
  .feed-item { grid-template-columns: 1fr; gap: 12px; padding: 22px 64px 22px 20px; }
  .feed-meta { display: flex; gap: 12px; align-items: center; }
  .tv2-main .feed-item h3 { font-size: 17px; }
  .feed-item h3::after { right: 20px; }
  .subscribe { padding: 28px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cases-foot .wp-block-buttons, .cases-foot .wp-block-button, .cases-foot .wp-block-button__link,
  .cta .wp-block-button, .cta .wp-block-button__link { width: 100%; }
}
