/* ============================================
   ELIEL POSTER — style.css (v3 final)
   Dark mode natif, animations premium
   ============================================ */

:root {
    --rouge:        #c62828;
    --rouge-sombre: #8e0000;
    --rouge-vif:    #ef5350;
    --rouge-pale:   #ffebee;

    --noir:         #0a0a0a;
    --gris-fond:    #111111;
    --gris-fonce:   #1c1c1c;
    --gris-moyen:   #3a3a3a;
    --gris-texte:   #666666;
    --gris-clair:   #f0f0f0;
    --gris-border:  #e4e4e4;
    --blanc:        #ffffff;
    --blanc-off:    #fafafa;

    /* Dark mode tokens */
    --bg:           var(--blanc);
    --bg-alt:       var(--blanc-off);
    --bg-card:      var(--blanc);
    --fg:           var(--noir);
    --fg-muted:     var(--gris-texte);
    --border:       var(--gris-border);
    --border-dark:  #222;

    --font-titre:   'Outfit', sans-serif;
    --font-corps:   'Poppins', sans-serif;

    --transition:   0.28s ease;
    --radius-sm:    4px;
    --radius-md:    10px;
    --radius-lg:    16px;
    --radius-pill:  100px;

    --ombre-card:   0 2px 20px rgba(0,0,0,0.07);
    --ombre-forte:  0 8px 40px rgba(198,40,40,0.15);
}

[data-theme="dark"] {
    --bg:           #0d0d0d;
    --bg-alt:       #111111;
    --bg-card:      #161616;
    --fg:           #f0f0f0;
    --fg-muted:     #888888;
    --border:       #222222;
    --gris-border:  #222222;
    --blanc:        #0d0d0d;
    --blanc-off:    #111111;
    --noir:         #f0f0f0;
    --gris-texte:   #888888;
    --ombre-card:   0 2px 20px rgba(0,0,0,0.4);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-corps);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1,h2,h3,h4 { font-family: var(--font-titre); font-weight: 700; line-height: 1.15; color: var(--fg); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; }
p  { font-size: 1rem; font-weight: 300; color: var(--fg-muted); line-height: 1.85; }

/* ---- SECTION COMMONS ---- */
.section-label {
    display: inline-block;
    font-family: var(--font-corps);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rouge);
    margin-bottom: 1rem;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.section-desc { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--rouge);
    color: #fff;
    font-family: var(--font-corps);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--rouge);
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover { background: var(--rouge-sombre); border-color: var(--rouge-sombre); transform: translateY(-2px); box-shadow: var(--ombre-forte); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--fg);
    font-family: var(--font-corps);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn-large { padding: 1rem 2.4rem; font-size: 1rem; }

/* ---- NAVBAR ---- */
.entete {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 6%;
    background: rgba(var(--bg-rgb, 255,255,255), 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

[data-theme="dark"] .entete { background: rgba(13,13,13,0.96); }

.entete--scroll { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }

.logo img { height: 40px; width: auto; object-fit: contain; transition: transform var(--transition); }
.logo:hover img { transform: scale(1.04); }

nav ul { display: flex; gap: 2.2rem; align-items: center; }

nav ul li a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
    position: relative;
    transition: color var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--rouge);
    transition: width var(--transition);
    border-radius: 1px;
}

nav ul li a:hover, nav ul li a.nav-actif { color: var(--rouge); }
nav ul li a:hover::after, nav ul li a.nav-actif::after { width: 100%; }

.nav-cta {
    background: var(--rouge);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-cta:hover { background: var(--rouge-sombre); transform: translateY(-1px); }

/* Dark mode toggle */
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-muted);
    transition: all var(--transition);
    flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--fg); color: var(--fg); background: var(--bg-alt); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; z-index: 1001; padding: 4px; border-radius: 6px; transition: background var(--transition); }
.hamburger:hover { background: var(--rouge-pale); }
[data-theme="dark"] .hamburger:hover { background: rgba(198,40,40,0.15); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.35s ease, opacity 0.35s ease; }
.hamburger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.ouvert span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 997; opacity: 0; transition: opacity 0.3s ease; }
.menu-overlay.ouvert { display: block; opacity: 1; }

.mobile-menu { position: fixed; top: 0; right: -100%; width: min(320px,85vw); height: 100vh; background: var(--bg); z-index: 998; padding: 5rem 2rem 2rem; transition: right 0.35s cubic-bezier(0.16,1,0.3,1); display: flex; flex-direction: column; gap: 1.5rem; box-shadow: -8px 0 40px rgba(0,0,0,0.2); }
.mobile-menu.ouvert { right: 0; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu ul li a { display: block; padding: 1rem 0; font-size: 1rem; font-weight: 500; color: var(--fg); border-bottom: 1px solid var(--border); transition: color var(--transition); }
.mobile-menu ul li a:hover { color: var(--rouge); }
.btn-mobile-cta { display: block; text-align: center; background: var(--rouge); color: #fff; font-weight: 500; padding: 1rem; border-radius: var(--radius-pill); margin-top: auto; }

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg);
    padding: 8rem 6% 4rem;
    position: relative;
    overflow: hidden;
}

/* Animated background lines */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(198,40,40,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198,40,40,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background-image:
        linear-gradient(rgba(198,40,40,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198,40,40,0.06) 1px, transparent 1px);
}

@keyframes gridDrift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(198,40,40,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.1); }
}

.hero-container { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 3.5rem; position: relative; z-index: 1; }

/* Tech icons strip */
.tech-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-icon:hover { border-color: var(--rouge); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(198,40,40,0.15); }

.tech-icon svg { width: 18px; height: 18px; }

.tech-separator {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
    padding: 0 0.5rem;
}

/* Hero center */
.hero-center { max-width: 860px; }

.hero-titre {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
    margin-bottom: 1.8rem;
    animation: fadeUp 0.9s ease both;
}

.hero-em {
    color: var(--rouge);
    font-style: italic;
    font-weight: 800;
    position: relative;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--fg-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeUp 0.9s 0.15s ease both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.9s 0.3s ease both;
}

/* Ghost button tooltip visible on hover only */
.btn-ghost-wrap {
    position: relative;
    display: inline-flex;
}

.btn-ghost-wrap .btn-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--fg);
    color: var(--bg);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-ghost-wrap .btn-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-bottom-color: var(--fg);
}

.btn-ghost-wrap:hover .btn-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Stats bar */
.hero-proof-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem 2.2rem;
    max-width: 680px;
    animation: fadeUp 0.9s 0.45s ease both;
}

.proof-item { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 0.3rem; }

.proof-num {
    font-family: var(--font-titre);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--rouge);
    line-height: 1;
    letter-spacing: -0.03em;
}

.proof-label { font-size: 0.75rem; color: var(--fg-muted); text-align: center; font-weight: 400; }
.proof-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* ---- TRUST STRIP (programme icons) ---- */
.trust-strip {
    background: var(--gris-fonce);
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

[data-theme="dark"] .trust-strip { background: #111; }

/* fade edges */
.trust-strip::before,
.trust-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.trust-strip::before { left: 0;  background: linear-gradient(to right, var(--gris-fonce), transparent); }
.trust-strip::after  { right: 0; background: linear-gradient(to left,  var(--gris-fonce), transparent); }
[data-theme="dark"] .trust-strip::before { background: linear-gradient(to right, #111, transparent); }
[data-theme="dark"] .trust-strip::after  { background: linear-gradient(to left,  #111, transparent); }

.trust-label {
    display: none; /* hidden — label not needed with scroll */
}

.trust-icons-track {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 28s linear infinite;
    padding: 1rem 0;
}

.trust-icons-track:hover { animation-play-state: paused; }

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-lang-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    margin: 0 0.3rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: default;
    flex-shrink: 0;
}

.trust-lang-icon:hover {
    background: rgba(198,40,40,0.18);
    border-color: rgba(198,40,40,0.35);
    transform: translateY(-2px);
}

.trust-lang-icon svg { width: 16px; height: 16px; flex-shrink: 0; }
.trust-lang-icon span { font-size: 0.72rem; color: #aaa; font-weight: 400; white-space: nowrap; }

/* ---- POSITIONNEMENT ---- */
.positionnement-section { padding: 7rem 6%; background: var(--bg-alt); }

.pos-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.pos-text { display: flex; flex-direction: column; gap: 1.5rem; }
.pos-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.pos-text .btn-primary { align-self: flex-start; margin-top: 0.5rem; }

.pos-pillars { display: flex; flex-direction: column; gap: 2rem; }
.pillar { display: flex; gap: 1.2rem; align-items: flex-start; }
.pillar-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--rouge-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--rouge); }
[data-theme="dark"] .pillar-icon { background: rgba(198,40,40,0.15); }
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.pillar p { font-size: 0.9rem; }

/* ---- RÉALISATIONS ---- */
.realisations-section { padding: 7rem 6%; background: var(--bg); }

.case-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }

.case-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); transition: transform var(--transition), box-shadow var(--transition); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--ombre-card); }

.case-visual { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.case-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover .case-visual img { transform: scale(1.04); }

.case-category-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }

.case-body { padding: 1.5rem; }
.case-body h3 { margin-bottom: 0.5rem; }
.case-body p { font-size: 0.9rem; margin-bottom: 1rem; }

.case-results { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.result-tag { font-size: 0.72rem; font-weight: 500; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill); background: var(--rouge-pale); color: var(--rouge-sombre); }
[data-theme="dark"] .result-tag { background: rgba(198,40,40,0.15); color: var(--rouge-vif); }

.case-cta-card { background: var(--gris-fonce); border-color: var(--gris-fonce); display: flex; align-items: center; justify-content: center; }
[data-theme="dark"] .case-cta-card { background: #111; border-color: #1e1e1e; }
.case-cta-inner { padding: 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.case-cta-count { font-family: var(--font-titre); font-size: 3.5rem; font-weight: 800; color: var(--rouge-vif); line-height: 1; }
.case-cta-inner p { color: #aaa; font-size: 0.9rem; }

/* ---- SERVICES ---- */
.services-section { padding: 7rem 6%; background: var(--bg-alt); }

.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; transition: all var(--transition); }
.service-card:hover { border-color: var(--rouge); box-shadow: 0 4px 24px rgba(198,40,40,0.08); transform: translateY(-2px); }

.service-card--highlight { background: var(--rouge); border-color: var(--rouge); }
.service-card--highlight h3, .service-card--highlight p { color: rgba(255,255,255,0.9); }
.service-card--highlight .card-label { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.service-card--highlight .card-icon { background: rgba(255,255,255,0.15); color: #fff; }
.service-card--highlight .card-cta { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); }
.service-card--highlight .card-cta:hover { color: #fff; border-color: #fff; }

.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.card-icon { width: 40px; height: 40px; background: var(--rouge-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--rouge); }
[data-theme="dark"] .card-icon { background: rgba(198,40,40,0.15); }
.card-icon svg { width: 18px; height: 18px; }
.card-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rouge); background: var(--rouge-pale); padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); }
[data-theme="dark"] .card-label { background: rgba(198,40,40,0.15); }
.card-cta { font-size: 0.82rem; font-weight: 500; color: var(--rouge); border-bottom: 1px solid transparent; align-self: flex-start; margin-top: auto; transition: border-color var(--transition); }
.card-cta:hover { border-color: var(--rouge); }

/* ---- PROCESSUS ---- */
.processus-section { padding: 7rem 6%; background: var(--bg); }
.process-steps { max-width: 1200px; margin: 0 auto; display: flex; align-items: flex-start; gap: 1rem; }
.process-step { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.step-num { font-family: var(--font-titre); font-size: 2.5rem; font-weight: 800; color: var(--border); line-height: 1; }
.step-content h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.88rem; }
.process-arrow { font-size: 1.5rem; color: var(--rouge); padding-top: 0.5rem; flex-shrink: 0; font-weight: 300; }

/* ---- TÉMOIGNAGES ---- */
.temoignages-section { padding: 7rem 6%; background: var(--bg-alt); }

.temoignages-grid { max-width: 1200px; margin: 0 auto 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }

.temoignage-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }

.temoignage-featured { background: var(--noir); border-color: #222; }
[data-theme="dark"] .temoignage-featured { background: #0a0a0a; border-color: #1a1a1a; }
.temoignage-featured .temoignage-text,
.temoignage-featured .temoignage-quote { color: #ddd; }
.temoignage-featured strong { color: #fff; }
.temoignage-featured span { color: #888; }

.temoignage-quote { font-family: var(--font-titre); font-size: 3rem; color: var(--rouge); line-height: 1; font-weight: 800; }
.temoignage-text { font-size: 0.95rem; line-height: 1.7; flex: 1; font-weight: 300; }
.temoignage-author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--rouge-pale); color: var(--rouge-sombre); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; font-family: var(--font-titre); flex-shrink: 0; }
[data-theme="dark"] .author-avatar { background: rgba(198,40,40,0.2); color: var(--rouge-vif); }
.temoignage-featured .author-avatar { background: rgba(198,40,40,0.2); color: var(--rouge-vif); }
.temoignage-author strong { display: block; font-size: 0.9rem; font-weight: 600; }
.temoignage-author span { font-size: 0.8rem; color: var(--fg-muted); display: block; }

.proof-mention { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.88rem; color: var(--fg-muted); }
.proof-mention a { color: var(--rouge); font-weight: 500; transition: opacity var(--transition); }
.proof-mention a:hover { opacity: 0.75; }

/* ---- CTA FINAL ---- */
.cta-final { padding: 8rem 6%; background: var(--noir); text-align: center; position: relative; overflow: hidden; }
[data-theme="dark"] .cta-final { background: #000; }

.cta-final::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 800px; height: 400px; background: radial-gradient(ellipse at center, rgba(198,40,40,0.12) 0%, transparent 70%); pointer-events: none; animation: pulse-glow 8s ease-in-out infinite; }

.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-tag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rouge-vif); }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-final p { color: #888; font-size: 1.05rem; max-width: 500px; }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* La question apparaît seulement au hover */
.cta-btns .btn-ghost-wrap .btn-ghost { opacity: 1; transition: all var(--transition); }

.cta-reassurance { font-size: 0.78rem; color: #555; margin-top: 0.5rem; }

/* ---- FOOTER ---- */
.footer { background: var(--gris-fonce); }
[data-theme="dark"] .footer { background: #0a0a0a; }

.footer-top { max-width: 1200px; margin: 0 auto; padding: 5rem 6%; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; }
.footer-brand { font-family: var(--font-titre); font-size: 1.6rem; font-weight: 800; color: #fff; display: block; margin-bottom: 1rem; }
.footer-brand span { color: var(--rouge); }
.footer-brand-block p { color: #666; font-size: 0.88rem; }
.footer-seo-text { font-size: 0.75rem; color: #444; margin-top: 1rem; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links h4 { font-family: var(--font-corps); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: #555; margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: #888; transition: color var(--transition); }
.footer-links a:hover { color: var(--rouge-vif); }
.footer-contact-block { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-contact-block h4 { font-family: var(--font-corps); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: #555; margin-bottom: 0.5rem; }
.footer-contact-block a { font-size: 0.88rem; color: #888; transition: color var(--transition); }
.footer-contact-block a:hover { color: var(--rouge-vif); }
.footer-contact-block p { font-size: 0.88rem; color: #555; }
.footer-cta-btn { display: inline-block; margin-top: 0.5rem; background: var(--rouge); color: #fff; font-size: 0.82rem; font-weight: 500; padding: 0.65rem 1.4rem; border-radius: var(--radius-pill); transition: all var(--transition); align-self: flex-start; }
.footer-cta-btn:hover { background: var(--rouge-sombre); }
.footer-bottom { border-top: 1px solid #222; padding: 1.5rem 6%; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: #444; }

/* ---- ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal--visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.25); transform: scale(0); animation: rippleAnim 0.6s ease-out; pointer-events: none; }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .case-grid { grid-template-columns: 1fr 1fr; }
    .case-cta-card { grid-column: 1/-1; }
    .pos-container { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand-block { grid-column: 1/-1; }
}

@media (max-width: 768px) {
    nav, .nav-cta { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 6rem 5% 3rem; min-height: auto; }
    .hero-proof-bar { flex-wrap: wrap; gap: 1rem; padding: 1.2rem; }
    .proof-divider { display: none; }
    .proof-item { flex: 1 1 40%; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { flex-direction: column; gap: 2rem; }
    .process-arrow { transform: rotate(90deg); align-self: flex-start; }
    .temoignages-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    /* trust-strip: marquee stays horizontal on mobile */
    .cta-btns { flex-direction: column; align-items: center; }
    .cta-btns a { width: 100%; text-align: center; justify-content: center; }
    .pos-pillars { gap: 1.5rem; }
    .theme-toggle { display: flex; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-titre { font-size: 2.4rem; }
    .tech-strip { gap: 0.4rem; }
}
