
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,650&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --tv-accent: #6c5ce7;
  --tv-accent-deep: #5646d6;
  --tv-green: #0a8a5f;
  --tv-font-display: 'Fraunces', Georgia, serif;
  --tv-font-body: 'Inter', system-ui, sans-serif;
  --tv-font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --tv-radius: 18px;
  --tv-radius-lg: 28px;
  --tv-shadow: 0 24px 70px -42px rgba(10, 37, 64, .44);
  --tv-ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #f7f8fb; color: #0a2540; font-family: var(--tv-font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--tv-font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; }
strong { font-weight: 700; }
[hidden] { display: none !important; }

.tv-page { min-height: 100dvh; background: var(--tv-bg); color: var(--tv-ink); }
.tv-page.clarte { --tv-bg: #f8f8fb; --tv-panel: #fff; --tv-soft: #eeecff; --tv-line: #e4e2f0; --tv-ink: #0a2540; --tv-muted: #58667a; --tv-hero: #eeecff; --tv-hero-ink: #0a2540; --tv-warm: #fff9ef; }
.tv-page.matiere { --tv-bg: #f3f0ec; --tv-panel: #fffaf4; --tv-soft: #ebe7ff; --tv-line: #ded9d1; --tv-ink: #1c2a38; --tv-muted: #64707a; --tv-hero: #0a2540; --tv-hero-ink: #f7f5f0; --tv-warm: #f0e3d5; }
.tv-page.elan { --tv-bg: #f2f7f6; --tv-panel: #ffffff; --tv-soft: #e9e6ff; --tv-line: #dbe8e5; --tv-ink: #0a2540; --tv-muted: #52706f; --tv-hero: #e4f0ef; --tv-hero-ink: #0a2540; --tv-warm: #fff0df; }

.tv-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.tv-wrap.narrow { width: min(760px, calc(100% - 40px)); }
.tv-nav { position: relative; z-index: 20; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--tv-line); }
.tv-nav-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tv-brand { display: inline-flex; align-items: baseline; gap: 2px; color: var(--tv-ink); font-size: 21px; font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.tv-brand span { color: var(--tv-accent); }
.tv-nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 13px; font-weight: 600; color: var(--tv-muted); }
.tv-nav-links a { text-decoration: none; }
.tv-nav-links a:hover { color: var(--tv-ink); }
.tv-nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--tv-accent); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -15px rgba(108, 92, 231, .8); transition: filter .18s ease; white-space: nowrap; }
.tv-nav-cta:hover, .tv-btn:hover { filter: brightness(1.07); }
.tv-nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--tv-line); border-radius: 50%; background: var(--tv-panel); color: var(--tv-ink); cursor: pointer; }
.tv-nav-toggle span, .tv-nav-toggle span::before, .tv-nav-toggle span::after { display: block; width: 16px; height: 1.5px; margin: 0 auto; background: currentColor; transition: transform .2s var(--tv-ease), opacity .2s var(--tv-ease); }
.tv-nav-toggle span { position: relative; }
.tv-nav-toggle span::before, .tv-nav-toggle span::after { content: ''; position: absolute; left: 0; }
.tv-nav-toggle span::before { top: -5px; }
.tv-nav-toggle span::after { top: 5px; }
.tv-nav-toggle[aria-expanded="true"] span { background: transparent; }
.tv-nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.tv-nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.tv-main { overflow: clip; }
.tv-hero { min-height: calc(100dvh - 68px); display: grid; grid-template-columns: minmax(0, .88fr) minmax(340px, 1.12fr); align-items: center; gap: clamp(38px, 7vw, 96px); padding: clamp(38px, 7vw, 82px) 0; }
.tv-hero-copy { max-width: 530px; }
.tv-kicker { margin-bottom: 18px; color: var(--tv-accent); font-family: var(--tv-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.tv-hero h1 { max-width: 12ch; font-size: clamp(46px, 6vw, 82px); color: var(--tv-hero-ink); }
.tv-hero-text { max-width: 34ch; margin-top: 22px; color: var(--tv-muted); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; }
.tv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--tv-accent); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 16px 28px -19px rgba(108, 92, 231, .95); transition: filter .18s ease; white-space: nowrap; }
.tv-btn.secondary { min-height: 42px; padding: 0; background: transparent; color: var(--tv-ink); box-shadow: none; text-decoration: underline; text-decoration-color: var(--tv-accent); text-underline-offset: 5px; }
.tv-arrow { display: inline-block; font-size: 17px; line-height: 1; }
.tv-hero-media { position: relative; min-width: 0; overflow: hidden; border-radius: var(--tv-radius-lg); background: var(--tv-hero); box-shadow: var(--tv-shadow); }
.tv-hero-media img { width: 100%; height: min(69vh, 610px); min-height: 420px; object-fit: cover; }
.tv-hero-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(10, 37, 64, .15)); }
.matiere .tv-hero { background: var(--tv-hero); color: var(--tv-hero-ink); width: min(1200px, calc(100% - 40px)); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.matiere .tv-hero-copy { padding: 20px 0; }
.matiere .tv-hero-text { color: rgba(247, 245, 240, .74); }
.matiere .tv-btn.secondary { color: rgba(247, 245, 240, .92); text-decoration-color: #c9bdff; }
.matiere .tv-hero-media { border-radius: 0; box-shadow: none; }
.matiere .tv-hero-media::after { background: linear-gradient(180deg, transparent 60%, rgba(10, 37, 64, .42)); }
.matiere .tv-kicker { color: #c9bdff; }

.tv-section { padding: clamp(76px, 10vw, 140px) 0; }
.tv-section-head { max-width: 620px; margin-bottom: 42px; }
.tv-section h2 { max-width: 13ch; font-size: clamp(36px, 4.6vw, 62px); }
.tv-section-intro { max-width: 44ch; margin-top: 18px; color: var(--tv-muted); font-size: 17px; }
.tv-proof { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr); align-items: center; gap: clamp(34px, 8vw, 118px); }
.tv-proof-figure { margin: 0; }
.tv-proof-figure img { width: 100%; border: 1px solid var(--tv-line); border-radius: var(--tv-radius-lg); box-shadow: var(--tv-shadow); }
.tv-proof-figure figcaption { margin-top: 12px; color: var(--tv-muted); font-size: 12px; }
.tv-proof-copy { max-width: 420px; }
.tv-proof-copy h2 { font-size: clamp(35px, 4.3vw, 57px); }
.tv-proof-copy p { margin-top: 20px; color: var(--tv-muted); font-size: 17px; }
.tv-proof-note { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; color: var(--tv-ink); font-size: 13px; font-weight: 700; }
.tv-proof-note i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tv-soft); color: var(--tv-accent); font-style: normal; }
.matiere .tv-proof { grid-template-columns: .74fr 1.26fr; }
.matiere .tv-proof-copy { order: -1; }
.matiere .tv-proof-figure img { border-radius: 0; box-shadow: none; }
.elan .tv-proof { grid-template-columns: .68fr 1.32fr; }
.elan .tv-proof-figure { max-width: 400px; }
.elan .tv-proof-figure img { border: 10px solid var(--tv-ink); border-bottom-width: 34px; border-radius: 28px; background: var(--tv-ink); }

.tv-method { border-top: 1px solid var(--tv-line); }
.tv-method-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 9vw, 130px); }
.tv-method-rows { border-top: 1px solid var(--tv-line); }
.tv-method-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--tv-line); }
.tv-method-row b { color: var(--tv-accent-deep); font-size: 14px; }
.tv-method-row p { color: var(--tv-muted); font-size: 15px; }
.matiere .tv-method { background: var(--tv-hero); color: var(--tv-hero-ink); border: 0; }
.matiere .tv-method .tv-section-intro, .matiere .tv-method-row p { color: rgba(247, 245, 240, .7); }
.matiere .tv-method-row { border-color: rgba(247, 245, 240, .16); }
.matiere .tv-method-row b { color: #c9bdff; }

.tv-price { background: var(--tv-warm); }
.tv-price-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr); align-items: end; gap: clamp(32px, 8vw, 100px); }
.tv-price h2 { max-width: 10ch; }
.tv-price-text { max-width: 42ch; margin-top: 18px; color: var(--tv-muted); font-size: 16px; }
.tv-price-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--tv-line); border: 1px solid var(--tv-line); }
.tv-price-number { min-height: 148px; padding: 22px; background: var(--tv-panel); }
.tv-price-number span { display: block; color: var(--tv-muted); font-family: var(--tv-font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.tv-price-number strong { display: block; margin-top: 22px; color: var(--tv-ink); font-size: 37px; letter-spacing: -.05em; line-height: 1; }
.tv-price-number small { display: block; margin-top: 8px; color: var(--tv-muted); font-size: 12px; }
.tv-price-note { margin-top: 12px; color: var(--tv-muted); font-size: 12px; }

.tv-final { padding: clamp(90px, 12vw, 170px) 0; text-align: center; }
.tv-final h2 { max-width: 12ch; margin: 0 auto; font-size: clamp(42px, 6vw, 78px); }
.tv-final p { max-width: 38ch; margin: 20px auto 0; color: var(--tv-muted); font-size: 17px; }
.tv-final .tv-btn { margin-top: 28px; }
.tv-footer { padding: 26px 0 32px; border-top: 1px solid var(--tv-line); color: var(--tv-muted); font-size: 12px; }
.tv-footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.tv-footer a { text-decoration: none; }
.tv-mobile-cta { display: none; }

/* Page configurateur */
.tv-config-intro { padding: clamp(54px, 8vw, 92px) 0 48px; }
.tv-config-intro h1 { max-width: 10ch; font-size: clamp(42px, 6vw, 78px); }
.tv-config-intro p { max-width: 42ch; margin-top: 18px; color: var(--tv-muted); font-size: 17px; }
.tv-config-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(380px, 1.22fr); align-items: start; gap: clamp(28px, 6vw, 82px); padding-bottom: clamp(80px, 10vw, 140px); }
.tv-config-context { position: sticky; top: 92px; }
.tv-config-context figure { margin: 0; }
.tv-config-context img { width: 100%; border: 1px solid var(--tv-line); border-radius: var(--tv-radius-lg); box-shadow: var(--tv-shadow); }
.tv-config-context figcaption { margin-top: 12px; color: var(--tv-muted); font-size: 12px; }
.tv-context-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.tv-context-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--tv-muted); font-size: 14px; }
.tv-context-list i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tv-soft); color: var(--tv-accent-deep); font-style: normal; font-size: 13px; }
.tv-config-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--tv-line); border-radius: var(--tv-radius-lg); background: var(--tv-panel); box-shadow: var(--tv-shadow); }
.tv-form-block + .tv-form-block { margin-top: 34px; }
.tv-form-label { display: block; margin-bottom: 9px; color: var(--tv-ink); font-size: 13px; font-weight: 700; }
.tv-form-help { margin-top: 7px; color: var(--tv-muted); font-size: 12px; }
.tv-select-wrap { position: relative; }
.tv-select-wrap::after { content: '⌄'; position: absolute; top: 50%; right: 16px; transform: translateY(-58%); pointer-events: none; color: var(--tv-accent-deep); }
.tv-select, .tv-email { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--tv-line); border-radius: 12px; background: var(--tv-bg); color: var(--tv-ink); outline: 0; }
.tv-select { appearance: none; padding-right: 42px; cursor: pointer; }
.tv-select:focus, .tv-email:focus { border-color: var(--tv-accent); box-shadow: 0 0 0 3px var(--tv-soft); }
.tv-options { display: grid; gap: 11px; }
.tv-option { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 15px; border: 1px solid var(--tv-line); border-radius: 14px; background: var(--tv-bg); cursor: pointer; }
.tv-option:has(input:checked) { border-color: var(--tv-accent); box-shadow: 0 0 0 1px var(--tv-accent); }
.tv-option.is-soon { cursor: default; opacity: .58; }
.tv-option input { position: absolute; opacity: 0; pointer-events: none; }
.tv-option-check { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--tv-line); border-radius: 6px; background: var(--tv-panel); color: transparent; font-size: 13px; font-weight: 700; }
.tv-option input:checked + .tv-option-check { border-color: var(--tv-accent); background: var(--tv-accent); color: #fff; }
.tv-option-title { display: block; color: var(--tv-ink); font-size: 14px; font-weight: 700; line-height: 1.3; }
.tv-option-copy { display: block; margin-top: 3px; color: var(--tv-muted); font-size: 12px; line-height: 1.45; }
.tv-option-price { color: var(--tv-ink); font-size: 12px; font-weight: 700; text-align: right; white-space: nowrap; }
.tv-option-price small { display: block; margin-top: 3px; color: var(--tv-muted); font-size: 10px; font-weight: 500; }
.tv-soon { display: inline-block; margin-top: 5px; color: #a56219; font-family: var(--tv-font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.tv-total { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; border: 1px solid var(--tv-line); background: var(--tv-line); }
.tv-total-cell { min-height: 112px; padding: 17px; background: var(--tv-panel); }
.tv-total-cell span { display: block; color: var(--tv-muted); font-family: var(--tv-font-mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.tv-total-cell strong { display: block; margin-top: 18px; color: var(--tv-ink); font-size: 30px; line-height: 1; }
.tv-payment { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--tv-line); }
.tv-payment .tv-btn { width: 100%; min-height: 56px; margin-top: 13px; border: 0; cursor: pointer; }
.tv-payment .tv-btn[disabled] { opacity: .58; cursor: wait; }
.tv-payment-note { margin-top: 12px; color: var(--tv-muted); font-size: 11px; line-height: 1.5; }
.tv-error { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fdebea; color: #9e2d27; font-size: 13px; }
.tv-config-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--tv-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.tv-config-back:hover { color: var(--tv-ink); }

.tv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--tv-ease), transform .7s var(--tv-ease); }
.tv-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .tv-wrap, .tv-wrap.narrow, .tv-nav-inner { width: min(100% - 32px, 680px); }
  .tv-nav { min-height: 62px; }
  .tv-nav-inner { min-height: 62px; }
  .tv-nav-toggle { display: block; }
  .tv-nav-links { position: absolute; top: 62px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 7px; border: 1px solid var(--tv-line); border-radius: 16px; background: var(--tv-panel); box-shadow: var(--tv-shadow); }
  .tv-nav-links.is-open { display: flex; }
  .tv-nav-links a { padding: 13px 12px; }
  .tv-nav-cta { margin: 4px 0 0; }
  .tv-hero { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding: 48px 0 70px; }
  .tv-hero-copy { max-width: 620px; }
  .tv-hero h1 { max-width: 10ch; }
  .tv-hero-text { max-width: 38ch; }
  .tv-hero-media img { height: 56vw; min-height: 245px; max-height: 380px; }
  .matiere .tv-hero { width: auto; margin-left: 0; padding-left: 16px; padding-right: 16px; }
  .matiere .tv-hero-media { order: -1; }
  .tv-proof, .matiere .tv-proof, .elan .tv-proof, .tv-method-layout, .tv-price-layout, .tv-config-layout { grid-template-columns: 1fr; }
  .matiere .tv-proof-copy { order: 0; }
  .tv-proof-copy { max-width: 620px; }
  .tv-config-context { position: static; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 70px; }
  .tv-wrap, .tv-wrap.narrow, .tv-nav-inner { width: calc(100% - 24px); }
  .tv-nav-links { right: 12px; left: 12px; }
  .tv-kicker { max-width: 30ch; font-size: 10px; }
  .tv-hero { gap: 26px; padding: 34px 0 58px; }
  .tv-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .tv-hero-text { margin-top: 16px; font-size: 16px; }
  .tv-actions { align-items: stretch; flex-direction: column; gap: 13px; margin-top: 23px; }
  .tv-actions .tv-btn { width: 100%; }
  .tv-actions .tv-btn.secondary { width: auto; align-self: flex-start; }
  .tv-hero-media { border-radius: 20px; }
  .tv-hero-media img { height: 66vw; min-height: 235px; max-height: 310px; }
  .tv-section { padding: 70px 0; }
  .tv-section-head { margin-bottom: 30px; }
  .tv-section h2, .tv-proof-copy h2 { font-size: clamp(34px, 10vw, 48px); }
  .tv-section-intro, .tv-proof-copy p { font-size: 16px; }
  .tv-proof-figure img { border-radius: 20px; }
  .elan .tv-proof-figure img { border-width: 7px; border-bottom-width: 25px; border-radius: 22px; }
  .tv-method-row { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
  .tv-price-numbers, .tv-total { grid-template-columns: 1fr; }
  .tv-price-number { min-height: 122px; }
  .tv-price-number strong { margin-top: 14px; }
  .tv-footer-inner { display: block; }
  .tv-footer-inner > * + * { margin-top: 8px; }
  .tv-mobile-cta { position: fixed; z-index: 30; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: center; min-height: 49px; border-radius: 999px; background: var(--tv-accent); color: #fff; box-shadow: 0 16px 30px -16px rgba(10, 37, 64, .55); font-size: 14px; font-weight: 700; text-decoration: none; }
  .tv-config-intro { padding: 42px 0 34px; }
  .tv-config-intro h1 { font-size: clamp(42px, 12vw, 58px); }
  .tv-config-layout { padding-bottom: 90px; }
  .tv-config-card { padding: 20px 16px; border-radius: 20px; }
  .tv-option { grid-template-columns: 24px minmax(0, 1fr); }
  .tv-option-price { grid-column: 2; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tv-reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
