/* ════════════════════════════════════════════════════════════════
   CrushImmo — Premium landing  ·  design tokens + components
   Editorial luxe : Instrument Serif × Hanken Grotesk
   ════════════════════════════════════════════════════════════════ */

:root {
  /* ── color ── */
  --ink:        #181410;   /* warm near-black */
  --ink-2:      #4b4339;   /* muted body */
  --ink-3:      #8a8073;   /* faint / captions */
  --paper:      #f7f2ea;   /* warm ivory */
  --paper-2:    #efe7da;   /* recessed */
  --card:       #fffdf9;
  --line:       rgba(24,20,16,.10);
  --line-2:     rgba(24,20,16,.16);

  --accent:     #e0543a;   /* crush coral */
  --accent-2:   #b83c27;   /* deep press */
  --accent-soft:rgba(224,84,58,.10);
  --on-accent:  #fff7f3;

  /* on dark */
  --d-bg:       #161210;
  --d-bg-2:     #211b16;
  --d-line:     rgba(247,242,234,.12);
  --d-text:     #f3ece1;
  --d-muted:    #b3a799;

  /* theme-sensitive (flipped in the "clair" theme) */
  --nav-bg:      rgba(247,242,234,.72);
  --reseau-fg:   rgba(243,236,225,.62);
  --hero-tag-fg: #ffb3a3;
  --hero-tag-bg: rgba(224,84,58,.14);
  --hero-tag-bd: rgba(224,84,58,.4);

  /* ── type ── */
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;

  /* ── motion ── */
  --ease: cubic-bezier(.22,.61,.36,1);

  --wrap: 1200px;
}

* { box-sizing: border-box; }

/* ── Thème clair (alternatif) ─────────────────────────────────
   Conserve l'accent corail ; éclaircit les neutres et transforme
   les sections "sombres" (hero / CTA / footer) en sections claires. */
body[data-theme="clair"] {
  --ink:    #1b1916;
  --ink-2:  #544e46;
  --ink-3:  #948c7f;
  --paper:  #fbfaf7;
  --paper-2:#f2f0ea;
  --card:   #ffffff;
  --line:   rgba(20,18,15,.08);
  --line-2: rgba(20,18,15,.14);

  --d-bg:   #f1eee8;
  --d-bg-2: #ffffff;
  --d-line: rgba(20,18,15,.10);
  --d-text: #1b1916;
  --d-muted:#544e46;

  --nav-bg:      rgba(251,250,247,.8);
  --reseau-fg:   rgba(27,25,22,.5);
  --hero-tag-fg: var(--accent-2);
  --hero-tag-bg: var(--accent-soft);
  --hero-tag-bd: rgba(224,84,58,.3);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--on-accent); }

/* grain atmosphere */
body[data-grain="on"]::before {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── layout ── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }

/* ── type system ── */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.display {
  font-family: var(--serif); font-weight: 400;
  line-height: 1.08; letter-spacing: -.018em;
}
.display em { font-style: italic; }
h1.display { font-size: clamp(44px, 6.4vw, 90px); line-height: 1.05; }
h2.display { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.07; }
h3.display { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }

.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.62; color: var(--ink-2); }

.eyebrow {
  font-family: var(--sans); font-weight: 600;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .55; }
.eyebrow.center::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .55; }

.mono {
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}

/* accent text mark */
.mark { color: var(--accent); }
.uline { position: relative; white-space: nowrap; }
.uline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .5em;
  background: var(--accent-soft); z-index: -1; border-radius: 2px;
}

/* ── buttons ── */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px; line-height: 1;
  padding: 14px 24px; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { --bg: var(--accent); --fg: var(--on-accent); --bd: var(--accent);
  box-shadow: 0 8px 24px -8px rgba(224,84,58,.6); }
.btn--accent:hover { --bg: var(--accent-2); --bd: var(--accent-2);
  box-shadow: 0 14px 34px -10px rgba(224,84,58,.7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bd: var(--ink); background: rgba(24,20,16,.03); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
/* on dark */
.on-dark .btn--ghost { --fg: var(--d-text); --bd: var(--d-line); }
.on-dark .btn--ghost:hover { --bd: var(--d-text); background: rgba(247,242,234,.06); }

/* ── tags / pills ── */
.tag {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card);
}
.tag--accent { color: var(--accent-2); border-color: rgba(224,84,58,.3); background: var(--accent-soft); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── cards / surfaces ── */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2);
  box-shadow: 0 26px 50px -28px rgba(24,20,16,.3); }
.soft-shadow { box-shadow: 0 30px 60px -30px rgba(24,20,16,.28), 0 8px 20px -12px rgba(24,20,16,.15); }

/* ── premium image placeholders ── */
.ph {
  position: relative; overflow: hidden; border-radius: 16px;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(224,84,58,.14), transparent 55%),
    linear-gradient(155deg, #ece3d5 0%, #ddd0bd 48%, #cdbfa8 100%);
  border: 1px solid var(--line); isolation: isolate;
}
.ph::after { /* window-grid architectural hint */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(24,20,16,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,20,16,.05) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: linear-gradient(160deg, #000, transparent 75%);
}
.ph__label {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: #6a5f4f;
  background: rgba(255,253,249,.82); backdrop-filter: blur(4px);
  padding: 5px 10px; border-radius: 7px; border: 1px solid rgba(24,20,16,.07);
}
.ph--portrait {
  background:
    radial-gradient(110% 80% at 70% 10%, rgba(224,84,58,.18), transparent 55%),
    linear-gradient(155deg, #e7dccb 0%, #d3c4ac 100%);
}
.ph--dark {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(224,84,58,.22), transparent 55%),
    linear-gradient(155deg, #2a221b 0%, #1b1612 100%);
  border-color: var(--d-line);
}
.ph--dark .ph__label { background: rgba(22,18,16,.7); color: var(--d-muted); border-color: var(--d-line); }
.ph--dark::after { background-image:
    linear-gradient(rgba(247,242,234,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,242,234,.05) 1px, transparent 1px); }

/* ── refined browser frame ── */
.browser {
  border-radius: 16px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line);
}
.browser__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: rgba(24,20,16,.03); border-bottom: 1px solid var(--line);
}
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.browser__url {
  flex: 1; margin-left: 8px; height: 24px; border-radius: 7px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 11px;
  font-size: 11.5px; color: var(--ink-3); font-weight: 500;
}
.browser--dark { background: var(--d-bg-2); border-color: var(--d-line); }
.browser--dark .browser__bar { background: rgba(247,242,234,.04); border-color: var(--d-line); }
.browser--dark .browser__url { background: var(--d-bg); border-color: var(--d-line); color: var(--d-muted); }

/* ── dividers ── */
.hr { height: 1px; background: var(--line); border: 0; }

/* ── reveal on scroll ──
   Base state is VISIBLE (safe for print/PDF/throttled renderers).
   The hidden→reveal animation only applies when <html> has .anim,
   which JS adds on load and removes again if it detects transitions
   are frozen (throttled iframes). */
[data-reveal] { opacity: 1; transform: none; }
html.anim [data-reveal] { opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.anim [data-reveal].in { opacity: 1; transform: none; }
html.anim [data-reveal][data-d="1"] { transition-delay: .08s; }
html.anim [data-reveal][data-d="2"] { transition-delay: .16s; }
html.anim [data-reveal][data-d="3"] { transition-delay: .24s; }
html.anim [data-reveal][data-d="4"] { transition-delay: .32s; }
html.anim [data-reveal][data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  html.anim [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s; white-space: nowrap; }
.nav__link:hover { color: var(--ink); }

/* ── logo ── */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; }
.logo__mark {
  width: 26px; height: 26px; border-radius: 8px; position: relative;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(224,84,58,.6);
}
.logo__mark::before {
  content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.4), transparent 50%);
}
.logo__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px;
  transform: translate(-50%,-58%) rotate(45deg);
  background: var(--on-accent);
  clip-path: path('M5.5 11 C5.5 8, 0 7, 0 3.4 C0 1.3 1.7 0.3 3 1.2 C4 1.9 5.5 3.2 5.5 3.2 C5.5 3.2 7 1.9 8 1.2 C9.3 0.3 11 1.3 11 3.4 C11 7 5.5 8 5.5 11 Z');
  transform-origin: center;
}
.logo__word { font-family: var(--serif); font-size: 23px; letter-spacing: -.01em; }
.logo__word b { font-weight: 400; }
.on-dark .logo__word { color: var(--d-text); }

/* ── numbered list (benefits) ── */
.feat-num {
  font-family: var(--serif); font-size: 22px; color: var(--accent);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(224,84,58,.35);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--accent-soft);
}

/* ── compare table ── */
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 20px 22px; text-align: left; vertical-align: middle; }
.cmp thead th { font-family: var(--sans); font-weight: 600; font-size: 14px; }
.cmp tbody tr { border-top: 1px solid var(--line); }
.cmp .col-feat { color: var(--ink-2); font-weight: 500; width: 30%; }
.cmp .col-net { color: var(--ink-3); }
.cmp .col-crush { color: var(--ink); font-weight: 500; }
.cmp__check { color: var(--accent); font-weight: 700; }
.cmp__x { color: var(--ink-3); }

/* ── steps ── */
.step__n { font-family: var(--serif); font-size: 56px; color: var(--accent); line-height: 1; }

/* footer */
.footer { background: var(--d-bg); color: var(--d-muted); border-top: 1px solid var(--d-line); }

/* utility */
.center { text-align: center; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.grid { display: grid; }
.flex { display: flex; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* title style tweak: grotesk */
body[data-titles="grotesk"] .display { font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
body[data-titles="grotesk"] .display em { font-style: normal; }
body[data-titles="grotesk"] .lede { /* unchanged */ }

/* responsive */
@media (max-width: 880px) {
  .nav__links .nav__link { display: none; }
  .wrap { padding: 0 22px; }
}

/* ════════════════════════════════════════════════════════════════
   Portage PHP crushimmo — classes de layout responsive
   (les grilles de l'export React étaient en style inline non-responsive)
   ════════════════════════════════════════════════════════════════ */
.t2-hero-grid   { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px,5vw,80px); align-items: center; }
.t2-split       { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,5vw,80px); align-items: center; }
.t2-two         { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.t2-three       { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.t2-steps       { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; }
.t2-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.t2-preview-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t2-tri         { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

@media (max-width: 980px) {
  .t2-hero-grid, .t2-split { grid-template-columns: 1fr; }
  .t2-three { grid-template-columns: 1fr; }
  .t2-steps { grid-template-columns: 1fr; gap: 36px; }
  .t2-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .t2-two { grid-template-columns: 1fr; }
  .cmp th, .cmp td { padding: 14px 14px; font-size: 14px; }
  /* Footer condensé : marque/newsletter pleine largeur, puis liens en 3 colonnes */
  .t2-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; }
  .t2-footer-grid > div:first-child { grid-column: 1 / -1; }
  .t2-footer-grid ul { gap: 8px !important; }
  .t2-footer-grid .mono { margin-bottom: 12px !important; font-size: 11px; }
  .t2-footer-grid li a { font-size: 13.5px !important; }
}
@media (max-width: 440px) {
  /* libellés longs : 2 colonnes plus confortables */
  .t2-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Le tableau comparatif déborde proprement sur petit écran */
.t2-cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.t2-cmp-scroll .cmp { min-width: 560px; }

/* Bandeau démo réutilisé (mode lecture seule) — neutralisé ici, géré côté layout */

/* ════ Bannière + modal cookies (extrait de style.css pour la page autonome) ════ */
body.theme-light .footer-cookie-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: var(--c-text-soft);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(15,23,42,0.2);
    transition: color .15s, text-decoration-color .15s;
}
body.theme-light .footer-cookie-link:hover {
    color: var(--c-accent-hover);
    text-decoration-color: var(--c-accent);
}

/* =============================================================================
   COOKIE BANNER
   ============================================================================= */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 200;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.96);
    color: #fafaf6;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.35), 0 2px 6px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: cookie-rise .35s ease;
}
@keyframes cookie-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    flex-wrap: wrap;
}
.cookie-banner p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    flex: 1;
    min-width: 240px;
    color: #e6ecf5;
}
.cookie-banner code {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12.5px;
}
.cookie-banner a,
body.theme-light .cookie-banner a { color: #d9bd87; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner a:hover,
body.theme-light .cookie-banner a:hover { color: #e9d9b8; }
.btn-pill-sm {
    background: #fafaf6;
    color: #0f172a;
    border: 0;
    padding: 9px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease;
    white-space: nowrap;
}
.btn-pill-sm:hover { background: #d9bd87; transform: translateY(-1px); }

/* Bannière cookies : actions multiples (Personnaliser / Tout refuser / Tout accepter) */
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cookie-banner-actions .btn-ghost,
body.theme-light .cookie-banner-actions .btn-ghost {
    background: transparent;
    color: #e6ecf5;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    white-space: nowrap;
}
.cookie-banner-actions .btn-ghost:hover,
body.theme-light .cookie-banner-actions .btn-ghost:hover { border-color: #d9bd87; color: #d9bd87; background: rgba(217,189,135,0.06); }
@media (max-width: 520px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cookie-banner-actions { width: 100%; justify-content: flex-end; }
    .btn-pill-sm { align-self: flex-end; }
}

/* Modal préférences cookies */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: cookie-backdrop-fade .25s ease;
}
@keyframes cookie-backdrop-fade { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-panel {
    position: relative;
    background: #fff;
    color: #0f172a;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(15,23,42,0.4);
    animation: cookie-modal-rise .3s cubic-bezier(.2,.7,.3,1);
}
@keyframes cookie-modal-rise {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 0;
}
.cookie-modal-head h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
}
.cookie-modal-x {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #5a6478;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.cookie-modal-x:hover { background: rgba(15,23,42,0.05); color: #0f172a; }
.cookie-modal-intro {
    margin: 12px 24px 18px;
    font-size: 13.5px;
    color: #5a6478;
    line-height: 1.55;
}
.cookie-pref-row {
    margin: 0 24px 12px;
    background: #fafaf6;
    border: 1px solid #e7e5dc;
    border-radius: 12px;
    padding: 14px 16px;
}
.cookie-pref-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}
.cookie-pref-text { flex: 1; line-height: 1.5; }
.cookie-pref-text strong { display: inline-block; color: #0f172a; font-size: 14px; font-weight: 700; margin-right: 8px; }
.cookie-pref-text small { display: block; margin-top: 4px; font-size: 12.5px; color: #5a6478; }
.cookie-pref-text small em { color: #c9a96e; font-style: italic; font-weight: 600; }
.cookie-pref-text code { font-size: 11.5px; background: rgba(15,23,42,0.06); padding: 1px 5px; border-radius: 3px; }
.cookie-pref-tag {
    display: inline-block;
    background: rgba(201,169,110,0.15);
    color: #b08e54;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cookie-pref-switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}
.cookie-pref-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}
.cookie-pref-slider {
    position: absolute;
    inset: 0;
    background: #d8d4c5;
    border-radius: 999px;
    transition: background .2s;
}
.cookie-pref-slider::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(15,23,42,0.2);
}
.cookie-pref-switch input:checked + .cookie-pref-slider { background: linear-gradient(135deg, #d9bd87, #b08e54); }
.cookie-pref-switch input:checked + .cookie-pref-slider::before { transform: translateX(16px); }
.cookie-pref-switch.is-locked .cookie-pref-slider { background: linear-gradient(135deg, #d9bd87, #b08e54); opacity: .8; cursor: not-allowed; }
.cookie-pref-switch.is-locked .cookie-pref-slider::before { transform: translateX(16px); }
.cookie-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid #e7e5dc;
    margin-top: 8px;
}
.cookie-modal-foot .btn-ghost {
    background: transparent;
    border: 1px solid #d8d4c5;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
.cookie-modal-foot .btn-ghost:hover { border-color: #c9a96e; color: #b08e54; }
.cookie-modal-foot .btn-pill-sm { padding: 9px 20px; }
@media (max-width: 520px) {
    .cookie-modal-foot { flex-direction: column-reverse; }
    .cookie-modal-foot button { width: 100%; }
}

/* base footer-cookie-link (le scoping .theme-light n'existe pas sur la page autonome) */
.footer .footer-cookie-link {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--d-muted); text-decoration: underline; text-underline-offset: 3px;
}
.footer .footer-cookie-link:hover { color: var(--d-text); }

/* Logo « ancien thème » : taille identique au thème initial (header 80px / footer 56px)
   → le nav (70px d'origine dans l'export) s'agrandit pour l'accueillir. */
.nav__inner { height: auto; min-height: 96px; padding: 8px 0; }
.logo img { display: block; }
@media (max-width: 880px) {
  .nav__inner { min-height: 76px; }
  .nav__inner .logo img:first-child { height: 56px !important; }
  .nav__inner .logo img:last-child  { height: 26px !important; }
}

/* Aperçu du site démo (vraie capture) dans le hero — remplace le mockup factice */
.t2-demo-frame { position: relative; overflow: hidden; }
.t2-demo-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding: 18px; opacity: 0; transition: opacity .25s var(--ease);
  background: linear-gradient(to top, rgba(24,20,16,.55), transparent 55%);
}
.browser:hover .t2-demo-overlay { opacity: 1; }
.t2-demo-cta {
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 13.5px;
  padding: 9px 16px; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(224,84,58,.6);
}
@media (hover: none) { .t2-demo-overlay { opacity: 1; } }

/* Hero centré (thème clair) : la card flottante repasse en statique sur mobile */
@media (max-width: 620px) {
  .t2-centerstat { position: static !important; left: auto !important; bottom: auto !important;
    margin: 18px auto 0 !important; display: inline-flex !important; }
}

/* ════════════════════════════════════════════════════════════════
   Tarifs — section portée de l'ancien thème, restylée thème2
   ════════════════════════════════════════════════════════════════ */
.pricing-form { margin-top: 44px; }
.pricing-grid { display: grid; gap: 22px; }
.pricing-grid-2 { grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; }
/* Tarifs : 2 colonnes côte à côte même sur mobile (comme l'ancien thème), contenu compacté */
@media (max-width: 600px) {
  .pricing-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pricing-grid-2 .plan-card { padding: 18px 12px 16px; border-radius: 14px; }
  .pricing-grid-2 .plan-check { top: 12px; right: 12px; width: 18px; height: 18px; }
  .pricing-grid-2 .plan-name { font-size: 16px; margin-top: 8px; }
  .pricing-grid-2 .plan-desc { font-size: 12px; }
  .pricing-grid-2 .plan-price-num { font-size: 30px; }
  .pricing-grid-2 .plan-price-cycle { font-size: 12px; }
  .pricing-grid-2 .plan-equiv, .pricing-grid-2 .plan-setup { font-size: 11.5px; }
  .pricing-grid-2 .plan-features { margin-top: 14px; gap: 8px; }
  .pricing-grid-2 .plan-features li { font-size: 12px; padding-left: 20px; }
  .pricing-grid-2 .plan-feature-sub { font-size: 11px; }
  .pricing-grid-2 .plan-popular-badge { font-size: 9.5px; padding: 3px 8px; letter-spacing: .03em; margin-bottom: 8px; }
  .pricing-grid-2 .plan-badge { font-size: 10px; padding: 3px 8px; top: 12px; left: 12px; }
  .pricing-grid-2 .plan-ribbon span { font-size: 9.5px; padding: 4px 9px; }
}

.plan-card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 3vw, 36px); cursor: pointer; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(24,20,16,.3); }
.plan-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.plan-card.is-selected { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), 0 26px 50px -30px rgba(224,84,58,.45); }
.plan-check { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .2s, border-color .2s; }
.plan-card.is-selected .plan-check { background: var(--accent); border-color: var(--accent); }
.plan-card.is-selected .plan-check::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--on-accent); font-size: 13px; font-weight: 700; }

.plan-ribbon { position: absolute; top: 16px; left: -1px; }
.plan-ribbon span { display: inline-block; background: #c1272d; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 13px; border-radius: 0 999px 999px 0; box-shadow: 0 6px 16px -6px rgba(193,39,45,.6); }
.plan-badge { position: absolute; top: 18px; left: 18px; background: var(--accent-soft); color: var(--accent-2); font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.plan-popular-badge { align-self: flex-start; margin-bottom: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); font-size: 12px; font-weight: 600; letter-spacing: .03em; padding: 5px 13px; border-radius: 999px; box-shadow: 0 8px 22px -10px rgba(224,84,58,.7); }

.plan-name { font-family: var(--serif); font-size: 27px; font-weight: 400; margin: 10px 0 0; letter-spacing: -.01em; }
.plan-desc { color: var(--ink-2); font-size: 14px; margin: 8px 0 0; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.plan-price-num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--ink); }
.plan-price-cycle { color: var(--ink-3); font-size: 16px; }
.plan-equiv { color: var(--accent-2); font-size: 13px; font-weight: 500; margin: 7px 0 0; }
.plan-setup { color: var(--ink-3); font-size: 13px; margin: 7px 0 0; }
.plan-features { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.plan-features li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.plan-feature-sub { color: var(--ink-3); font-size: 12.5px; }

.pricing-cta-wrap { text-align: center; margin-top: 34px; }
.pricing-cta { gap: 10px; }
.pricing-cta-price { font-weight: 500; opacity: .85; }
.pricing-cta-hint { color: var(--ink-3); font-size: 13px; margin-top: 13px; }

/* founding header */
.founding-eyebrow-wrap { display: inline-flex; gap: 12px; align-items: center; justify-content: center; }
.founding-sparkle { color: var(--accent); }
.founding-counter { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
.founding-counter-num { display: inline-flex; align-items: center; gap: 13px; }
.founding-counter-big { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--accent); }
.founding-counter-label { text-align: left; font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.2; }
.founding-counter-label small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.founding-counter-bar { width: min(360px, 86%); height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; border: 1px solid var(--line); }
.founding-counter-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.founding-fineprint { text-align: center; color: var(--ink-3); font-size: 13px; max-width: 640px; margin: 26px auto 0; line-height: 1.55; }

/* Tarifs : accents VERTS (comme le thème d'origine) — badge « Meilleure offre » + carte sélectionnée */
.plan-popular-badge {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 14px rgba(22,163,74,.32);
  position: relative; z-index: 1;
}
.plan-popular-badge::before {
  content: ''; position: absolute; inset: -2px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(34,197,94,.4), rgba(22,163,74,.4));
  filter: blur(6px); opacity: .6; z-index: -1;
}
.plan-card.is-selected {
  border-color: #16a34a;
  box-shadow:
    0 0 0 3px rgba(22,163,74,.18),
    0 0 24px rgba(22,163,74,.22),
    0 22px 50px rgba(22,163,74,.16),
    0 1px 2px rgba(15,23,42,.06);
  animation: plan-glow-pulse 2.6s ease-in-out infinite;
}
@keyframes plan-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.18), 0 0 24px rgba(22,163,74,.22), 0 22px 50px rgba(22,163,74,.16), 0 1px 2px rgba(15,23,42,.06); }
  50%      { box-shadow: 0 0 0 4px rgba(22,163,74,.26), 0 0 38px rgba(22,163,74,.32), 0 22px 50px rgba(22,163,74,.20), 0 1px 2px rgba(15,23,42,.06); }
}
@media (prefers-reduced-motion: reduce) { .plan-card.is-selected { animation: none; } }
.plan-card.is-selected .plan-check { background: #16a34a; border-color: #16a34a; }
.plan-card.is-selected .plan-check::after { color: #fff; }

/* ════════════════════════════════════════════════════════════════
   Polish responsive général (thème2)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
  /* l'aperçu portrait du hero warm ne doit pas écraser tout l'écran */
  .t2-hero-grid > div:last-child { max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 620px) {
  .section { padding: clamp(52px, 11vw, 78px) 0; }
  .wrap { padding: 0 18px; }
  h2.display { font-size: clamp(27px, 7.6vw, 38px); }
  .lede { font-size: 16.5px; }
  /* tableau comparatif : tient dans la carte (plus de troncature à droite) */
  .t2-cmp-scroll .cmp { min-width: 0; }
  .cmp th, .cmp td { padding: 10px 8px; font-size: 12px; }
  .cmp thead th { font-size: 11.5px; }
  .cmp .col-feat { width: 34%; }
  /* réseaux compatibles : un peu plus serrés */
  .founding-counter-big { font-size: 44px; }
}
@media (max-width: 400px) {
  .nav__inner .logo img:first-child { height: 48px !important; }
  .btn--lg { padding: 14px 22px; font-size: 15px; }
}

/* ── Footer encore plus condensé sur mobile ── */
@media (max-width: 620px) {
  .footer .lede { font-size: 13px !important; line-height: 1.5; margin-top: 8px !important; max-width: none !important; }
  .footer form { margin-top: 12px !important; }
  .footer .hr { margin: 20px 0 12px !important; }
  .t2-footer-grid { gap: 18px 14px !important; }
  .t2-footer-grid .mono { margin-bottom: 8px !important; }
  .footer .mono { font-size: 10.5px; }
  /* bandeau bas : copyright + légal plus compacts */
  .footer .hr + div { font-size: 12.5px !important; gap: 6px 18px !important; }
}
@media (max-width: 440px) {
  .footer .lede { display: none; }   /* la tagline est redondante avec le reste → gagner de la place */
}

/* Mobile : pas de logo dans le footer (gain de place) */
@media (max-width: 620px) {
  .footer .logo { display: none; }
}

a[href="https://sditech.fr"]{color:inherit}
