/* ═══ Apple Zone — design system AZ (fusion Big Drop + palette originale) ═══ */

/* ════════════════════════════════════════════════════
   AZ LIGHT — structure Big Drop, palette Apple Zone
   ════════════════════════════════════════════════════ */
:root {
    --bg: #faf7f1;
    --bg-alt: #f3ece0;
    --bg-card: #ffffff;
    --ink: #141519;
    --ink-soft: #3d3a35;
    --muted: #6b655c;
    --rule: #e4dccb;
    --rule-strong: #c9bca1;
    --red: #C8000A;
    --red-soft: rgba(200,0,10,.08);
    --sans: 'Space Grotesk', system-ui, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Cursor glow subtil */
.cursor-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(200,0,10,.07), transparent 65%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%,-50%);
    transition: opacity .3s;
    mix-blend-mode: multiply;
}

/* ─── NAV raffinée, scroll-aware ─── */
.az-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250,247,241,.75);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: padding .35s cubic-bezier(.2,.9,.3,1), background .25s, border-color .3s;
}
.az-nav.scrolled {
    padding: 12px 32px;
    background: rgba(250,247,241,.92);
    border-bottom-color: var(--rule);
}

.az-nav-logo {
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.04em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    transition: transform .25s;
    text-transform: lowercase;
}
.az-nav-logo:hover { transform: translateY(-1px); }
.az-nav-logo .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red);
    animation: breath 2.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(200,0,10,.35);
}
@keyframes breath {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200,0,10,.35); }
    50% { transform: scale(.85); box-shadow: 0 0 0 8px rgba(200,0,10,0); }
}
.az-nav-logo em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); font-size: 15px;  text-transform: none; }

.az-nav-logo .brand { display: inline-flex; align-items: baseline; letter-spacing: -.02em; }

.az-nav-logo .logo-red {
    color: var(--red);
    font-weight: 700;
    letter-spacing: -.02em;
    transition: letter-spacing .3s;
    }
.az-nav-logo:hover .logo-red { letter-spacing: .5px; }

/* Conteneur central : links dans une pill flottante */
.az-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 6px 10px;
    background: rgba(255,255,255,.5);
    border: 1px solid var(--rule);
    border-radius: 100px;
    transition: background .25s;
}
.az-nav.scrolled .az-nav-links {
    background: rgba(255,255,255,.75);
    border-color: var(--rule-strong);
}
.az-nav-links > a {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all .25s cubic-bezier(.2,.9,.3,1);
    position: relative;
    letter-spacing: -.005em;
}
.az-nav-links > a:not(.az-nav-cta):hover {
    color: var(--ink);
    background: rgba(255,255,255,.9);
}
.az-nav-links > a.active {
    color: var(--red);
    background: var(--bg-card);
}
.az-nav-links > a .pre-slash {
    color: var(--muted);
    margin-right: 3px;
    opacity: 0;
    transition: opacity .25s, margin .25s;
    display: inline-block;
}
.az-nav-links > a:hover .pre-slash { opacity: 1; margin-right: 5px; }

.az-nav-cta {
    background: var(--ink);
    color: #fff !important;
    padding: 9px 18px !important;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    margin-left: 6px;
}
.az-nav-cta:hover {
    background: var(--red);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(200,0,10,.3);
}
.az-nav-cta .arrow { transition: transform .2s; display: inline-block; }
.az-nav-cta:hover .arrow { transform: translate(2px,-2px); }

/* Trigger mobile */
.az-nav-trigger {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--rule-strong);
    background: var(--bg-card);
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    transition: all .2s;
}
.az-nav-trigger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: .3s; border-radius: 2px; }
.az-nav-trigger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.az-nav-trigger.open span:nth-child(2) { opacity: 0; }
.az-nav-trigger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile fullscreen */
.az-nav-mobile {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 99;
    padding: 88px 24px 40px;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}
.az-nav-mobile.open { display: flex; animation: fadeUp .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-10px); } }
.az-nav-mobile a {
    font-family: var(--sans);
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -.02em;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.az-nav-mobile a::after { content: '↗'; color: var(--muted); font-size: 20px; }
.az-nav-mobile a:hover { color: var(--red); }
.az-nav-mobile a:hover::after { color: var(--red); }
.az-nav-mobile .az-nav-mobile-cta {
    margin-top: 32px;
    background: var(--red);
    color: #fff;
    border-radius: 100px;
    padding: 18px 24px;
    text-align: center;
    justify-content: center;
    border-bottom: none;
    font-size: 16px;
    font-weight: 600;
}
.az-nav-mobile .az-nav-mobile-cta::after { content: '→'; color: #fff; }

/* ─── HERO ─── */
.az-hero {
    min-height: 92vh;
    padding: 140px 32px 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.az-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(200,0,10,.08), transparent 55%);
    pointer-events: none;
    filter: blur(40px);
}
.az-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(20,21,25,.04), transparent 55%);
    pointer-events: none;
    filter: blur(40px);
}

.az-hero-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; width: 100%; }

.az-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 100px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .04em;
    margin-bottom: 40px;
    font-family: var(--mono);
}
.az-hero-tagline::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: breath 2s infinite; }

.az-hero h1 {
    font-family: var(--sans);
    font-size: clamp(60px, 10vw, 160px);
    font-weight: 500;
    line-height: .9;
    letter-spacing: -.055em;
    margin-bottom: 40px;
    max-width: 1200px;
    color: var(--ink);
}
.az-hero h1 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--red);
    display: inline-block;
}
.az-hero h1 .outlined {
    -webkit-text-stroke: 2px var(--ink);
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.az-hero-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: end;
    margin-top: 56px;
}
.az-hero-desc {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 520px;
    line-height: 1.6;
}
.az-hero-cta-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.az-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--sans);
}
.az-btn-primary { background: var(--red); color: #fff; }
.az-btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20,21,25,.18); }
.az-btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.az-btn-ghost:hover { border-color: var(--ink); background: var(--bg-card); }
.az-btn .arrow { transition: transform .2s; }
.az-btn:hover .arrow { transform: translate(3px, -3px); }

/* ─── MANIFESTO ─── */
.az-manifesto {
    padding: 120px 32px;
    background: var(--bg-card);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.az-manifesto-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 96px;
    align-items: start;
}
.az-manifesto-left { position: sticky; top: 120px; }
.az-manifesto-label {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.az-manifesto-text {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--ink);
    margin-bottom: 48px;
}
.az-manifesto-text em { font-style: italic; color: var(--red); }
.az-manifesto-sig {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.az-manifesto-sig .sig-line {
    width: 48px;
    height: 1px;
    background: var(--red);
}
.az-manifesto-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.az-fact {
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 28px 32px;
    transition: all .3s cubic-bezier(.2,.9,.3,1);
}
.az-fact:hover {
    border-color: var(--red);
    transform: translateX(6px);
    box-shadow: -4px 8px 24px rgba(200,0,10,.08);
}
.az-fact-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.az-fact-val {
    font-family: var(--sans);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 10px;
}
.az-fact-desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ─── SECTION header ─── */
.az-section {
    padding: 120px 32px;
    max-width: 1400px;
    margin: 0 auto;
}
.az-section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 80px;
    align-items: end;
}
.az-section-label {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.az-section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--red);
}
.az-section-title {
    font-family: var(--sans);
    font-size: clamp(44px, 5.5vw, 88px);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.04em;
    color: var(--ink);
}
.az-section-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); }
.az-section-sub {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 480px;
}

/* ─── SHOWCASE CARDS ─── */
.az-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.az-show-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 16px;
    overflow: hidden;
    transition: all .4s cubic-bezier(.2,.9,.3,1);
    display: flex;
    flex-direction: column;
    padding: 22px 20px;
    cursor: pointer;
    min-height: 240px;
}
.az-show-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red-soft), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.az-show-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: 0 24px 48px rgba(20,21,25,.08); }
.az-show-card:hover::before { opacity: 1; }

.az-show-card .bg-text {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(28px, 3vw, 52px);
    line-height: 1;
    color: rgba(200,0,10,.06);
    font-weight: 400;
    pointer-events: none;
    transition: color .4s;
    max-width: 60%;
    text-align: right;
}
.az-show-card:hover .bg-text { color: rgba(200,0,10,.1); }

.az-show-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .06em;
    width: fit-content;
    margin-bottom: 14px;
}
.az-show-card h3 {
    font-family: var(--sans);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.03em;
    margin-bottom: 8px;
    max-width: 100%;
    position: relative;
    z-index: 2;
    color: var(--ink);
}
.az-show-card h3 em { font-family: var(--serif); font-style: italic; color: var(--red); font-weight: 400; }
.az-show-card .desc {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: 18px;
    flex: 1;
    position: relative;
    z-index: 2;
}
.az-show-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
    width: fit-content;
    transition: all .2s;
    position: relative;
    z-index: 2;
}
.az-show-card:hover .az-show-link { color: var(--red); border-bottom-color: var(--red); padding-left: 6px; }

/* ─── QUOTE ─── */
.az-quote {
    padding: 140px 32px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.az-quote p {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(44px, 6vw, 96px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.025em;
    color: var(--ink);
}
.az-quote p span {
    -webkit-text-stroke: 1.5px var(--ink);
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.az-quote p em { font-style: italic; color: var(--red); }
.az-quote .cite {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}
.az-quote .cite::before, .az-quote .cite::after { content: ''; width: 30px; height: 1px; background: var(--rule-strong); }

/* ─── NUMBERS ─── */
.az-numbers {
    padding: 120px 32px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.az-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 80px;
}
.az-number-item { padding: 0 32px; border-right: 1px solid var(--rule); }
.az-number-item:first-child { padding-left: 0; }
.az-number-item:last-child { border-right: none; padding-right: 0; }
.az-number-val {
    font-family: var(--sans);
    font-size: clamp(72px, 8.5vw, 148px);
    font-weight: 400;
    letter-spacing: -.06em;
    line-height: .9;
    margin-bottom: 20px;
    color: var(--ink);
}
.az-number-val em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--red);
    font-size: .5em;
    font-weight: 400;
    
}
.az-number-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.az-number-desc {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    max-width: 220px;
}

/* ─── PROCESS ─── */
.az-process {
    padding: 120px 32px;
    max-width: 1400px;
    margin: 0 auto;
}
.az-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    margin-top: 48px;
}
.az-step {
    padding: 48px 32px 48px 0;
    border-right: 1px solid var(--rule);
}
.az-step:last-child { border-right: none; padding-right: 0; }
.az-step .num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: .15em;
    margin-bottom: 24px;
}
.az-step h4 {
    font-family: var(--sans);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.02em;
    margin-bottom: 12px;
    color: var(--ink);
}
.az-step p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ─── CTA final ─── */
.az-cta-final {
    padding: 160px 32px 140px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.az-cta-final::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(200,0,10,.06), transparent 60%);
    filter: blur(40px);
    pointer-events: none;
}
.az-cta-final h2 {
    font-family: var(--sans);
    font-size: clamp(56px, 9vw, 140px);
    font-weight: 500;
    line-height: .92;
    letter-spacing: -.055em;
    margin-bottom: 40px;
    position: relative;
    color: var(--ink);
}
.az-cta-final h2 em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--red);
    font-weight: 400;
    display: block;
}

/* ─── FOOTER (sombre par contraste) ─── */
.az-footer {
    padding: 80px 32px 40px;
    background: var(--ink);
    color: rgba(255,255,255,.85);
}
.az-footer-inner { max-width: 1400px; margin: 0 auto; }
.az-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.az-footer h5 { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 20px; }
.az-footer ul { list-style: none; }
.az-footer ul li { margin-bottom: 10px; color: rgba(255,255,255,.75); font-size: 14px; }
.az-footer ul li a { color: rgba(255,255,255,.85); font-size: 14px; transition: color .2s; }
.az-footer ul li a:hover { color: var(--red); }
.az-footer-logo {
    font-family: var(--sans);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -.04em;
    margin-bottom: 16px;
    color: #fff;
}
.az-footer-logo em { font-family: var(--serif); font-style: italic; color: var(--red); font-weight: 400; }
.az-footer-logo .logo-red { color: var(--red); font-weight: 700; }
.az-footer-desc { color: rgba(255,255,255,.6); font-size: 14px; max-width: 360px; line-height: 1.6; }
.az-footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,.4);
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ─── Reveal animations ─── */
.az-reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.9,.3,1), transform .9s cubic-bezier(.2,.9,.3,1); }
.az-reveal.visible { opacity: 1; transform: none; }
.az-reveal.d1 { transition-delay: .1s; }
.az-reveal.d2 { transition-delay: .2s; }
.az-reveal.d3 { transition-delay: .3s; }
.az-reveal.d4 { transition-delay: .4s; }

@media (max-width: 1100px) {
    .az-showcase { grid-template-columns: repeat(2, 1fr); }
}
/* Responsive */
@media (max-width: 900px) {
    .az-nav { padding: 18px 20px; }
    .az-nav-links a:not(.az-nav-cta) { display: none; }
        .az-nav-links { display: none; }
    .az-nav-trigger { display: flex; }
    .az-nav { padding: 14px 20px; }
    .az-nav.scrolled { padding: 10px 20px; }
    .az-hero { padding: 120px 20px 64px; min-height: auto; }
    .az-hero-footer { grid-template-columns: 1fr; gap: 28px; }
    .az-section, .az-numbers, .az-process, .az-cta-final { padding-left: 20px; padding-right: 20px; }
    .az-section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
        .az-manifesto { padding: 72px 20px; }
    .az-manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
    .az-manifesto-left { position: static; }
    .az-manifesto-text { font-size: 24px; }
    .az-showcase { grid-template-columns: 1fr; }
    .az-show-card { min-height: auto; padding: 22px; }
    .az-numbers-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
    .az-number-item { padding: 24px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .az-numbers-grid .az-number-item:nth-child(2n) { border-right: none; }
    .az-numbers-grid .az-number-item:nth-last-child(-n+2) { border-bottom: none; }
    .az-process-grid { grid-template-columns: 1fr 1fr; }
    .az-step { padding: 28px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .az-process-grid .az-step:nth-child(2n) { border-right: none; }
    .az-process-grid .az-step:nth-last-child(-n+2) { border-bottom: none; }
    .az-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px; }
    .az-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .az-quote { padding: 80px 20px; }
    .cursor-glow { display: none; }
}

/* ─── Language switcher (intégré à la nav) ─── */
.az-nav-lang {
    display: flex;
    gap: 2px;
    padding: 4px;
    background: rgba(255,255,255,.5);
    border: 1px solid var(--rule);
    border-radius: 100px;
    margin-left: 8px;
}
.az-nav.scrolled .az-nav-lang {
    background: rgba(255,255,255,.75);
    border-color: var(--rule-strong);
}
.az-nav-lang .lang-btn {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    padding: 5px 9px;
    background: transparent;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    color: var(--muted);
    transition: all .2s;
    letter-spacing: .04em;
}
.az-nav-lang .lang-btn:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.az-nav-lang .lang-btn.active { background: var(--ink); color: #fff; }

.az-nav-mobile-lang {
    display: flex;
    gap: 6px;
    margin-top: 40px;
    justify-content: center;
}
.az-nav-mobile-lang .lang-btn {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 100px;
    cursor: pointer;
    color: var(--ink);
    letter-spacing: .1em;
}

/* Correction responsive : afficher trigger mobile, masquer links/lang desktop */
@media (max-width: 900px) {
    .az-nav-links, .az-nav-lang { display: none !important; }
    .az-nav-trigger { display: flex !important; }
}


/* ═══ OVERRIDES GLOBAUX — appliquer design AZ aux anciennes pages ═══ */

/* ─── Body / fond global ─── */
body { background: var(--bg, #faf7f1); color: var(--ink, #141519); }

/* ─── page-hero (utilisé sur réparation, boutique, prix, rachat, etc.) ─── */
.page-hero {
    background: var(--bg, #faf7f1) !important;
    padding-top: 100px !important;
    position: relative;
    overflow: hidden;
}
.page-hero::before, .page-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
}
.page-hero::before {
    top: 10%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(200,0,10,.08), transparent 55%);
    filter: blur(40px);
}
.page-hero::after {
    display: block !important;
    inset: auto 0 0 0 !important;
    height: 1px !important;
    background: var(--rule, #e4dccb) !important;
}
.page-hero-inner { position: relative; z-index: 1; padding: 60px 32px 72px; max-width: 1400px; }
.page-hero h1 {
    font-family: 'Space Grotesk', system-ui, sans-serif !important;
    font-size: clamp(48px, 7vw, 112px) !important;
    font-weight: 500 !important;
    line-height: .92 !important;
    letter-spacing: -.05em !important;
    color: var(--ink, #141519) !important;
    margin-bottom: 28px !important;
}
.page-hero h1 span {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: var(--red, #C8000A) !important;
}
.page-hero p {
    font-size: 17px !important;
    color: var(--ink-soft, #3d3a35) !important;
    max-width: 560px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}
.page-hero .eyebrow {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
    color: var(--muted, #6b655c) !important;
    letter-spacing: .15em !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--rule, #e4dccb);
    border-radius: 100px;
    margin-bottom: 32px;
}
.page-hero .eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red, #C8000A);
    animation: breath 2.2s infinite;
}

/* ─── Section titles ─── */
.section-title {
    font-family: 'Space Grotesk', system-ui, sans-serif !important;
    font-size: clamp(38px, 5vw, 72px) !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: -.04em !important;
    color: var(--ink, #141519) !important;
}
.section-title span, .section-title em {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-style: italic !important;
    color: var(--red, #C8000A) !important;
    font-weight: 400 !important;
}
/* Retirer le red dot précédent qui collait */
.section-title:not(.no-dot)::after,
.hero h1:not(.no-dot)::after,
.page-hero h1:not(.no-dot)::after { display: none; content: none; }

.section-sub {
    font-size: 17px !important;
    color: var(--ink-soft, #3d3a35) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    max-width: 560px !important;
}

/* ─── Eyebrow universel ─── */
.eyebrow {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
    color: var(--muted, #6b655c) !important;
    letter-spacing: .15em !important;
    text-transform: uppercase;
    font-weight: 500 !important;
    margin-bottom: 18px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--red, #C8000A);
    display: inline-block;
}

/* ─── Boutons ─── */
.btn {
    font-family: 'Space Grotesk', system-ui, sans-serif !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    transition: all .25s cubic-bezier(.4,0,.2,1) !important;
}
.btn-red {
    background: var(--red, #C8000A) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.btn-red:hover {
    background: var(--ink, #141519) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20,21,25,.18) !important;
}
.btn-dark {
    background: var(--ink, #141519) !important;
    color: #fff !important;
}
.btn-dark:hover {
    background: var(--red, #C8000A) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200,0,10,.25) !important;
}
.btn-outline {
    background: transparent !important;
    color: var(--ink, #141519) !important;
    border: 1px solid var(--rule-strong, #c9bca1) !important;
}
.btn-outline:hover {
    border-color: var(--ink, #141519) !important;
    background: var(--bg-card, #fff) !important;
    transform: translateY(-2px);
}

/* ─── Page-hero-actions : layout flex avec gap ─── */
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* ─── Sections avec background cream/white ─── */
section.section { padding: 100px 32px !important; }
section.section[style*="background:var(--white)"],
section.section[style*="background:#fff"] {
    background: var(--bg, #faf7f1) !important;
}
section.section[style*="background:var(--cream)"] {
    background: var(--bg-card, #fff) !important;
}
section.section[style*="background:var(--ink)"] {
    background: var(--ink, #141519) !important;
    color: #fff;
}
section.section[style*="background:var(--ink)"] h2,
section.section[style*="background:var(--ink)"] .section-title { color: #fff !important; }
section.section[style*="background:var(--ink)"] .section-sub,
section.section[style*="background:var(--ink)"] p { color: rgba(255,255,255,.7) !important; }

/* ─── WHY section (dark, déjà bien mais alignement typo) ─── */
.why {
    background: var(--ink, #141519) !important;
}
.why-title {
    font-family: 'Space Grotesk', system-ui, sans-serif !important;
    font-size: clamp(40px, 5vw, 72px) !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
    line-height: .98 !important;
}
.why-sub { color: rgba(255,255,255,.55) !important; font-weight: 400 !important; }
.why-num {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: clamp(60px, 7vw, 108px) !important;
    font-weight: 400 !important;
    letter-spacing: -.06em !important;
}
.why-num em {
    font-family: 'Instrument Serif', serif !important;
    color: var(--red, #C8000A) !important;
    font-size: .5em !important;
    font-weight: 400 !important;
}

/* ─── Rachat banner ─── */
.rachat-banner {
    background: var(--ink, #141519) !important;
    border-radius: 24px !important;
}
.rachat-banner h2 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
}

/* ─── Cartes de service svc-item ─── */
.svc-grid {
    background: var(--rule, #e4dccb) !important;
    border-radius: 20px !important;
    gap: 1px !important;
}
.svc-item {
    background: var(--bg, #faf7f1) !important;
    transition: all .3s cubic-bezier(.2,.9,.3,1) !important;
}
.svc-item:hover {
    background: var(--bg-card, #fff) !important;
    transform: translateY(-2px);
}
.svc-icon {
    background: rgba(200,0,10,.08) !important;
    border-radius: 12px !important;
}
.svc-item h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    letter-spacing: -.02em !important;
}

/* ─── Repair cards, prix cards, prod cards ─── */
.repair-card, .price-card, .prod-card, .ent-card, .info-block, .form-card {
    border-radius: 20px !important;
    background: var(--bg-card, #fff) !important;
    border-color: var(--rule, #e4dccb) !important;
    transition: all .3s cubic-bezier(.2,.9,.3,1) !important;
}
.repair-card:hover, .prod-card:hover, .ent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08) !important;
    border-color: var(--red, #C8000A) !important;
}
.repair-card h3, .price-card-head h3, .prod-name, .ent-card h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -.02em !important;
}
.repair-type, .prod-cat {
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: .12em !important;
}
.repair-price, .prod-price {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -.03em !important;
}

/* ─── Filtres / cat-btn / filter-btn / model-btn ─── */
.filter-btn, .model-btn, .cat-btn, .tab-btn {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 13px !important;
    border-radius: 100px !important;
    padding: 8px 18px !important;
}
.filter-btn.active, .model-btn.active {
    background: var(--ink, #141519) !important;
    border-color: var(--ink, #141519) !important;
}

/* ─── Price card table ─── */
.price-card-head h3 { font-size: 19px !important; }
.price-table td:last-child {
    font-family: 'Space Grotesk', sans-serif !important;
    letter-spacing: -.02em !important;
}

/* ─── Garantie box ─── */
.garantie-box {
    background: var(--ink, #141519) !important;
    border-radius: 24px !important;
}
.garantie-box h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -.02em !important;
}

/* ─── Process-step ─── */
.process-step {
    border-radius: 16px !important;
    background: var(--bg-card, #fff) !important;
    border-color: var(--rule, #e4dccb) !important;
}
.step-num {
    background: var(--red, #C8000A) !important;
    border-radius: 8px !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* ─── Wizard (rachat) ─── */
.wizard-wrap {
    border-radius: 24px !important;
    border-color: var(--rule, #e4dccb) !important;
    background: var(--bg-card, #fff) !important;
}
.wizard-head h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -.02em !important;
}
.wizard-step-label {
    font-family: 'JetBrains Mono', monospace !important;
    color: var(--red, #C8000A) !important;
}

/* ─── Tabs sticky bar ─── */
.tabs-bar, .cat-bar, .filters-bar {
    background: var(--bg, #faf7f1) !important;
    border-bottom-color: var(--rule, #e4dccb) !important;
}

/* ─── CTA dark ─── */
.cta-dark {
    background: var(--ink, #141519) !important;
}
.cta-grid h2 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: -.04em !important;
}

/* ─── Focus accessibilité ─── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--red, #C8000A);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ─── Mobile overrides ─── */
@media(max-width:768px){
    .page-hero-inner { padding: 40px 20px 56px; }
    .page-hero h1 { font-size: clamp(38px, 10vw, 64px) !important; }
    section.section { padding: 64px 20px !important; }
}


/* ═══ FIX INLINE — texte blanc sur fond clair (pages réparation, entreprises, prix, rachat) ═══ */

/* Targeter les styles inline qui utilisent des couleurs blanches dans .page-hero */
.page-hero [style*="color:rgba(255,255,255"],
.page-hero [style*="color: rgba(255,255,255"],
.page-hero [style*="color:var(--white)"],
.page-hero [style*="color: var(--white)"],
.page-hero [style*="color:#fff"],
.page-hero [style*="color: #fff"] {
    color: var(--ink-soft, #3d3a35) !important;
}

/* Eyebrow spécifique */
.page-hero .eyebrow[style*="rgba(255,255,255"] {
    color: var(--muted, #6b655c) !important;
}

/* Boutons outline dans page-hero : bordures beige au lieu de blanc semi-trans */
.page-hero .btn-outline[style*="border-color:rgba(255,255,255"],
.page-hero .btn-outline[style*="color:rgba(255,255,255"] {
    color: var(--ink, #141519) !important;
    border-color: var(--rule-strong, #c9bca1) !important;
}
.page-hero .btn-outline[style*="rgba(255,255,255"]:hover {
    background: var(--bg-card, #fff) !important;
    border-color: var(--ink, #141519) !important;
}

/* Liens tel: avec texte blanc underlined dans page-hero */
.page-hero a[style*="rgba(255,255,255"] {
    color: var(--ink-soft, #3d3a35) !important;
}

/* Divs avec fond sombre ink à l'intérieur de page-hero : transformer en carte claire */
.page-hero div[style*="background:var(--ink)"],
.page-hero div[style*="background: var(--ink)"],
.page-hero div[style*="background:#0"] {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    color: var(--ink, #141519) !important;
}
.page-hero div[style*="background:var(--ink)"] * ,
.page-hero div[style*="background: var(--ink)"] * {
    color: var(--ink, #141519) !important;
}
.page-hero div[style*="background:var(--ink)"] strong,
.page-hero div[style*="background:var(--ink)"] span[style*="color:var(--white)"] {
    color: var(--red, #C8000A) !important;
}

/* Stats blocks (containers flex dans hero) — quand les nombres sont en blanc */
.page-hero div[style*="color:var(--white)"][style*="font-size:28px"],
.page-hero div[style*="color:var(--white)"][style*="font-size: 28px"] {
    color: var(--ink, #141519) !important;
}

/* ─── Sections intentionally dark (background:var(--ink)) : garder sombres MAIS harmoniser typo ─── */
section[style*="background:var(--ink)"] .eyebrow,
section[style*="background: var(--ink)"] .eyebrow,
.cta-dark .eyebrow {
    color: rgba(255,255,255,.45) !important;
}

/* Rachat wizard result box (fond ink intentionnel) : OK */
#result-box, .estimate-result, .garantie-box {
    /* Ceux-ci restent sombres avec texte blanc — pas de fix nécessaire */
}

/* ─── Entreprises : la section CTA en bas est dark (keep), mais hero pas ─── */
/* Le hero entreprises a inline background cream ou ink ? Vérifier */
/* S'il utilise .page-hero, les overrides ci-dessus s'appliquent */

/* ─── Rachat banner sur accueil (intentionnellement sombre) ─── */
.rachat-banner, .rachat-banner * {
    /* garder */
}


/* ═══ FOOTER — typographie nouveau design ═══ */
footer .footer-brand .footer-logo {
    font-family: 'Space Grotesk', system-ui, sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: -.04em !important;
}
footer .footer-brand .footer-logo span {
    color: var(--red, #C8000A) !important;
    }
footer .footer-desc {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #d1d5db !important;
}
footer .footer-col h4 {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .15em !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid var(--red, #C8000A) !important;
}
footer .footer-col ul li a {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
footer .footer-contact a {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    border-radius: 12px !important;
}
footer .footer-contact a strong {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 1.05em;
}
footer .footer-bottom .copyright {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}
footer .footer-bottom .legal,
footer .footer-bottom-right {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: .05em !important;
    color: #9ca3af !important;
}
footer .footer-bottom-right .disclaimer {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    color: #d1d5db !important;
}


/* ═══ CONTACT PAGE — override ct-* classes vers nouveau design ═══ */

/* Hero contact : passer du noir au clair */
.ct-hero {
    background: var(--bg, #faf7f1) !important;
    color: var(--ink) !important;
    padding: 120px 32px 64px !important;
    position: relative;
    overflow: hidden;
}
.ct-hero::before {
    content: ''!important;
    position: absolute;
    top: 10%; right: -15%;
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(200,0,10,.08), transparent 55%) !important;
    filter: blur(40px);
    pointer-events: none;
}
.ct-hero::after { display: none !important; }
.ct-hero .wrap { position: relative; z-index: 1; }

.ct-hero .eyebrow {
    font-family: 'JetBrains Mono', monospace !important;
    color: var(--muted, #6b655c) !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    letter-spacing: .15em !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--rule, #e4dccb);
    border-radius: 100px;
    margin-bottom: 32px;
    text-align: left !important;
}
.ct-hero .eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red, #C8000A);
    animation: breath 2.2s infinite;
}

.ct-hero h1 {
    font-family: 'Space Grotesk', system-ui, sans-serif !important;
    font-size: clamp(48px, 7vw, 112px) !important;
    font-weight: 500 !important;
    letter-spacing: -.05em !important;
    line-height: .92 !important;
    color: var(--ink) !important;
    margin: 14px 0 24px !important;
    text-align: left !important;
}
.ct-hero h1 span {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-style: italic !important;
    color: var(--red, #C8000A) !important;
    font-weight: 400 !important;
}

.ct-hero .lede {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 17px !important;
    color: var(--ink-soft, #3d3a35) !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    max-width: 560px !important;
    margin: 0 0 40px !important;
    text-align: left !important;
}

/* Grid du hero : passer en left aligned */
.ct-hero .wrap { text-align: left !important; }
.ct-primary-ctas { max-width: 640px !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Gros CTAs : adapter au clair */
.ct-big-btn {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    color: var(--ink) !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    text-align: left !important;
}
.ct-big-btn:hover {
    border-color: var(--red, #C8000A) !important;
    background: var(--bg-card, #fff) !important;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08) !important;
}
.ct-big-email:hover { border-color: var(--red, #C8000A) !important; }
.ct-big-sms:hover { border-color: var(--ink, #141519) !important; background: var(--bg-card, #fff) !important; }
.ct-big-btn .ic { font-size: 32px !important; }
.ct-big-btn .lbl {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--ink, #141519) !important;
    letter-spacing: -.02em !important;
}
.ct-big-btn .hint {
    font-family: 'Space Grotesk', sans-serif !important;
    color: var(--muted, #6b655c) !important;
    font-size: 13px !important;
}

/* Phone fallback en bas */
.ct-phone-fallback {
    color: var(--muted, #6b655c) !important;
    text-align: left !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}
.ct-phone-fallback a {
    color: var(--ink, #141519) !important;
    font-weight: 600 !important;
}
.ct-phone-fallback a:hover { color: var(--red, #C8000A) !important; }

/* Cards (Visite / Horaires / Contact rapide) */
.ct-cards {
    margin-top: 64px !important;
    position: relative;
    z-index: 2;
}
.ct-card {
    border: 1px solid var(--rule, #e4dccb) !important;
    border-radius: 20px !important;
    background: var(--bg-card, #fff) !important;
    transition: all .3s cubic-bezier(.2,.9,.3,1) !important;
}
.ct-card:hover {
    border-color: var(--red, #C8000A) !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.06) !important;
}
.ct-card h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -.02em !important;
}
.ct-card h3 .ico { font-size: 24px !important; }

/* Hours today */
.ct-hours-row.today {
    background: linear-gradient(90deg, rgba(200,0,10,.06), transparent) !important;
}
.ct-hours-row.today .day,
.ct-hours-row.today .time {
    color: var(--red, #C8000A) !important;
    font-weight: 700;
}

/* Action buttons dans la 3e carte */
.ct-action-btn {
    font-family: 'Space Grotesk', sans-serif !important;
    border-radius: 12px !important;
    border-color: var(--rule, #e4dccb) !important;
    transition: all .2s !important;
}
.ct-action-btn:hover {
    border-color: var(--red, #C8000A) !important;
    transform: translateX(3px);
}


/* ═══ LEGAL PAGES — refonte vers design AZ clair ═══ */

/* Heros pages légales : passer de sombre à clair */
.wr-hero, .pp-hero, .md-hero, .ck-hero {
    background: var(--bg, #faf7f1) !important;
    color: var(--ink, #141519) !important;
    padding: 120px 32px 72px !important;
    position: relative;
    overflow: hidden;
}
.wr-hero::before, .pp-hero::before, .ck-hero::before, .md-hero::before {
    content: '' !important;
    position: absolute;
    top: 10%; right: -15%;
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(200,0,10,.08), transparent 55%) !important;
    filter: blur(40px);
    pointer-events: none;
    display: block !important;
}
.wr-hero::after, .pp-hero::after, .ck-hero::after, .md-hero::after { display: none !important; }
.wr-hero .wrap, .pp-hero .wrap, .ck-hero .wrap, .md-hero .wrap {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
}

/* Eyebrow */
.wr-hero .eyebrow, .pp-hero .eyebrow, .ck-hero .eyebrow, .md-hero .eyebrow {
    font-family: 'JetBrains Mono', monospace !important;
    color: var(--muted, #6b655c) !important;
    background: var(--bg-card, #fff);
    border: 1px solid var(--rule, #e4dccb);
    border-radius: 100px;
    padding: 8px 16px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.wr-hero .eyebrow::before, .pp-hero .eyebrow::before, .ck-hero .eyebrow::before, .md-hero .eyebrow::before {
    content: '' !important;
    width: 6px !important; height: 6px !important;
    border-radius: 50%;
    background: var(--red, #C8000A);
    animation: breath 2.2s infinite;
    display: inline-block !important;
}

/* Hero h1 */
.wr-hero h1, .pp-hero h1, .ck-hero h1, .md-hero h1 {
    font-family: 'Space Grotesk', system-ui, sans-serif !important;
    font-size: clamp(48px, 7vw, 112px) !important;
    font-weight: 500 !important;
    letter-spacing: -.05em !important;
    line-height: .92 !important;
    color: var(--ink, #141519) !important;
    margin: 14px 0 24px !important;
}
.wr-hero h1 span, .pp-hero h1 span, .ck-hero h1 span, .md-hero h1 span {
    color: var(--red, #C8000A) !important;
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
}

/* Hero p */
.wr-hero p, .pp-hero p, .ck-hero p, .md-hero p {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 17px !important;
    color: var(--ink-soft, #3d3a35) !important;
    max-width: 640px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}
.wr-hero p em, .pp-hero p em, .ck-hero p em, .md-hero p em {
    font-style: italic;
    color: var(--ink, #141519);
}

/* Badges (wr-badges, pp-badges) : transparents sur clair */
.wr-badges, .pp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.wr-badge, .pp-badge {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    color: var(--ink-soft, #3d3a35) !important;
    border-radius: 100px;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-family: 'Space Grotesk', sans-serif !important;
}
.wr-badge strong, .pp-badge strong {
    color: var(--red, #C8000A) !important;
    font-weight: 700;
}

/* Stats hero (wr-hero-stats) */
.wr-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 32px;
    max-width: 720px;
}
.wr-stat {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    border-radius: 14px;
    padding: 18px 20px;
}
.wr-stat .big {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    color: var(--ink, #141519) !important;
    letter-spacing: -.04em !important;
}
.wr-stat .lbl {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    color: var(--muted, #6b655c) !important;
    text-transform: uppercase;
    letter-spacing: .1em !important;
}

/* Mode switchers (court/intégrale) */
.pp-mode-switch, .wr-mode-switch {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
}
.pp-mode-btn, .wr-mode-btn {
    font-family: 'Space Grotesk', sans-serif !important;
    color: var(--muted, #6b655c) !important;
}
.pp-mode-btn.active, .wr-mode-btn.active {
    background: var(--ink, #141519) !important;
    color: #fff !important;
}

/* Accordion sections (pp-section, wr-section) */
.pp-section, .wr-section {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    border-radius: 16px !important;
    transition: all .25s !important;
}
.pp-section[open], .wr-section[open] {
    border-color: var(--red, #C8000A) !important;
    box-shadow: 0 8px 24px rgba(200,0,10,.06) !important;
}
.pp-section summary, .wr-section summary {
    font-family: 'Space Grotesk', sans-serif !important;
}
.pp-section-title, .wr-section-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -.02em !important;
}
.pp-num, .wr-num {
    font-family: 'JetBrains Mono', monospace !important;
    background: var(--red, #C8000A) !important;
}

/* Body des accordions */
.pp-section-body, .wr-section-body {
    color: var(--ink-soft, #3d3a35) !important;
}
.pp-section-body h4, .wr-section-body h4 {
    font-family: 'Space Grotesk', sans-serif !important;
    color: var(--ink, #141519) !important;
}

/* Summary cards (pp-cards, pp-card) */
.pp-summary-intro {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
}
.pp-summary-intro p {
    color: var(--ink-soft, #3d3a35) !important;
}
.pp-summary-intro strong {
    color: var(--red, #C8000A) !important;
}
.pp-card {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    border-radius: 16px !important;
    transition: all .25s cubic-bezier(.2,.9,.3,1) !important;
}
.pp-card:hover {
    border-color: var(--red, #C8000A) !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.06) !important;
}
.pp-card h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
}

/* Contact cards (pp-contact) */
.pp-contact {
    background: linear-gradient(135deg, var(--bg-card, #fff) 0%, var(--bg, #faf7f1) 100%) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
}

/* Benefits warranty */
.wr-benefit {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
}
.wr-benefit:hover {
    border-color: var(--red, #C8000A) !important;
    box-shadow: 0 12px 32px rgba(200,0,10,.08) !important;
}

/* CTA buttons in legal */
.pp-btn-primary, .wr-btn-primary {
    background: var(--red, #C8000A) !important;
    color: #fff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    border-radius: 100px !important;
}
.pp-btn-primary:hover, .wr-btn-primary:hover {
    background: var(--ink, #141519) !important;
}
.pp-btn-secondary, .wr-btn-secondary {
    background: var(--bg-card, #fff) !important;
    color: var(--ink, #141519) !important;
    border: 1px solid var(--rule-strong, #c9bca1) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    border-radius: 100px !important;
}

/* Mes-données form card */
.md-card {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    border-radius: 20px !important;
}
.md-card h2, .md-card .md-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
}

/* Cookies */
.ck-content {
    color: var(--ink-soft) !important;
}
.ck-content h2, .ck-content h3 {
    font-family: 'Space Grotesk', sans-serif !important;
    color: var(--ink, #141519) !important;
}
.ck-category {
    background: var(--bg-card, #fff) !important;
    border: 1px solid var(--rule, #e4dccb) !important;
    border-radius: 16px !important;
}
