/* ==========================================================================
   LIGNE 1 — REFONTE UI 2026 : Scrollytelling + Bento + Magnetic + Mesh
   ========================================================================== */

:root {
    /* PALETTE CIRCUS SHANGHAI INVERSÉE (validée) */
    --bg-primary: #dc321e;
    --bg-secondary: #f0e9dd;
    --bg-dark: #0a0a0a;
    --bg-light: #f0e9dd;
    --text-light: #ffffff;
    --text-dark: #0a0a0a;
    --text-muted: #666666;
    --accent: #dc321e;
    --accent-color: #ffaa00;
    --accent-pink: #ff5bae;
    --accent-blue: #2e4cff;
    --border: #e0d8cd;

    /* Typographies */
    --font-head: 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', sans-serif;

    /* Easing modernes */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: clip; /* clip ne crée pas de scroll container → ne coupe pas les fixed */
    position: relative;
}

/* Grain argentique (signature japonisante) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.06;
    z-index: 9998;
    pointer-events: none;
    mix-blend-mode: overlay;
}

::selection { background: var(--accent-color); color: var(--text-dark); }

/* ================= CURSEUR CUSTOM ================= */
@media (hover: hover) and (pointer: fine) {
    body, a, button, .cta-btn, .bento-card, .sticker { cursor: none; }
}
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}
.cursor-dot {
    width: 32px; height: 32px;
    background: transparent;
    font-size: 24px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0;
    mix-blend-mode: normal;
    transition: opacity .25s;
}
.cursor-dot::after { content: "🚀"; }
.cursor-ring {
    width: 0; height: 0;
    border: none;
    display: none;
}
.cursor-dot.hover { opacity: 0.6; }
.cursor-ring.hover { display: none; }

@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ================= SCROLL PROGRESS ================= */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--bg-primary), var(--accent-color), var(--bg-primary));
    background-size: 200% 100%;
    z-index: 10001;
    animation: shimmer 3s linear infinite;
    box-shadow: 0 0 10px var(--bg-primary);
}
@keyframes shimmer {
    from { background-position: 0% 0; }
    to   { background-position: 200% 0; }
}

/* Gradient mesh désactivé (design épuré) */
.gradient-mesh { display: none; }

/* ================= NAVBAR ================= */
.navbar {
    position: fixed; width: 100%; padding: 1.2rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    overflow: visible;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo {
    font-family: var(--font-head); font-size: 2rem; letter-spacing: -2px;
    position: relative;
    color: var(--text-light);
    text-decoration: none;
}
.logo::after {
    content: "";
    position: absolute; bottom: -6px; left: 0;
    width: 0; height: 3px;
    background: var(--accent-color);
    transition: width .4s var(--ease-out-expo);
}
.logo:hover::after { width: 100%; }
.dot { color: var(--accent-color); }

.cta-btn {
    background: var(--accent-color); color: var(--text-dark); padding: 1rem 2rem;
    border-radius: 50px; font-weight: 700; text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px;
    transition: transform .3s var(--ease-out-expo), box-shadow .3s;
    display: inline-block;
    position: relative;
    border: 2px solid transparent;
}
.cta-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* Magnetic buttons subtle shimmer */
.magnetic { will-change: transform; }

/* ================= HERO ================= */
.scrolly-hero {
    height: 120vh;
    position: relative;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 0 5%;
    z-index: 5;
}

/* "1" géant en filigrane */
.watermark-one {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-head);
    font-size: clamp(400px, 85vh, 1100px);
    color: rgba(255, 255, 255, 0.07);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    letter-spacing: -40px;
    user-select: none;
    text-shadow: 0 0 40px rgba(255,255,255,0.05);
}

.giant-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 6rem);
    line-height: 0.9; text-align: center;
    z-index: 10; pointer-events: none;
    letter-spacing: -2px;
    margin-top: 0;
    position: relative;
}
.outline-text {
    color: var(--accent-color);
    -webkit-text-stroke: 0;
}

/* Slogan sous le H1 */
.hero-slogan {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,0.65);
    text-align: center;
    letter-spacing: 0.05em;
    margin-top: 1.2rem;
    z-index: 10;
    position: relative;
}
.hero-slogan strong {
    color: var(--accent-color);
    font-weight: 700;
}
.hero-location-line {
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    color: rgba(255,255,255,0.38);
    text-align: center;
    letter-spacing: 0.08em;
    margin-top: 0.7rem;
    z-index: 10;
    position: relative;
}
.hero-location-line strong { color: rgba(255,255,255,0.55); font-weight: 600; }

/* Animation "split text" lettres */
.split-text .line { display: inline-block; }
.split-text .line > span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-90deg);
    animation: letterIn .9s var(--ease-out-expo) forwards;
}
@keyframes letterIn {
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* Stickers Business */
.sticker {
    position: absolute;
    background: #000000;
    color: #ffaa00;
    padding: 1.2rem 2rem; border-radius: 15px;
    font-family: var(--font-head); font-size: clamp(1rem, 2vw, 1.5rem);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
    z-index: 35; white-space: nowrap;
    transition: transform .35s var(--ease-back), box-shadow .35s;
    will-change: transform;
    letter-spacing: -.5px;
    text-shadow: none;
}
.sticker:hover {
    transform: scale(1.12) rotate(0deg) !important;
    box-shadow: 12px 12px 0 var(--accent-color);
}

.c-money   { top: 10%; left: 2%;   transform: rotate(-8deg); }
.c-traffic { top: 10%; right: 2%;  transform: rotate(5deg); }
.c-visi    { bottom: 18%; right: 2%; transform: rotate(-4deg); }
.c-lead    { bottom: 6%;  left: 2%;  transform: rotate(12deg); }

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 3rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    z-index: 12;
    animation: fadeUp 1.5s 1.2s var(--ease-out-expo) backwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}
.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
    font-weight: 500;
}
.scroll-line {
    width: 1px; height: 60px;
    background: rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
}
.scroll-line::before {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 100%; height: 30px;
    background: var(--accent-color);
    animation: scrollLine 2s infinite var(--ease-in-out-expo);
}
@keyframes scrollLine {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(300%); }
}

/* ================= SERP ANIMATION ================= */
.serp-anim-container {
    position: relative;
    margin-top: 2rem;
    display: flex; justify-content: center; width: 100%;
    z-index: 25; pointer-events: none;
}
.serp-browser {
    width: 850px; max-width: 95vw; background: rgba(255, 255, 255, 0.98);
    border: 4px solid var(--text-dark); border-radius: 16px;
    box-shadow: 20px 20px 0 var(--text-dark), 0 0 80px rgba(0,0,0,0.35);
    overflow: hidden;
    color: var(--text-dark); font-family: 'Inter', sans-serif;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}
.browser-header {
    background: var(--bg-secondary); border-bottom: 3px solid var(--text-dark);
    padding: 10px 16px; display: flex; gap: 8px; align-items: center;
}
.browser-header > span {
    display: block; width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid var(--text-dark);
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.browser-url-pill {
    margin-left: auto;
    background: #fff;
    border: 2px solid var(--text-dark);
    border-radius: 30px;
    padding: 2px 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
}
.cursor-blink { animation: blink 1s infinite step-end; color: var(--bg-primary); }
@keyframes blink { 50% { opacity: 0; } }

.serp-search-bar {
    margin: 20px; padding: 12px 20px; border: 3px solid var(--text-dark); border-radius: 30px;
    display: flex; align-items: center; gap: 15px; background: #fff; height: 45px;
    position: relative;
}
.g-logo { color: #4285f4; font-weight: 900; font-size: 1.5rem; }
.typing-text { font-size: 1rem; font-weight: 500; color: var(--text-dark); }
.search-cta {
    margin-left: auto;
    background: var(--bg-primary); color: #fff;
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    border: 2px solid var(--text-dark);
    box-shadow: 3px 3px 0 var(--text-dark);
}

.serp-results-area { position: relative; height: 320px; margin: 0 20px 20px 20px; }

.serp-item {
    position: absolute; width: 100%; left: 0; padding: 10px 15px;
    border-radius: 8px; background: #fff; border: 1px solid transparent; text-align: left;
}
.serp-url { font-size: 0.8rem; color: #4d5156; margin-bottom: 5px; font-family: var(--font-mono); }
.serp-title { font-size: 1.2rem; color: #1a0dab; font-weight: 800; margin-bottom: 5px; position: relative; }

.competitor-1 { top: 0; animation: drop1 8s infinite cubic-bezier(0.4,0,0.2,1); border: 2px solid var(--accent-color); z-index: 5; }
.competitor-1 .text-before { display: block; animation: compFadeOutText 8s infinite; }
.competitor-1 .text-after  { display: block; position: absolute; left: 0; top: 0; width: 100%; opacity: 0; animation: compFadeInText 8s infinite; }

.competitor-2 { top: 75px;  animation: drop2 8s infinite cubic-bezier(0.4,0,0.2,1); }
.competitor-3 { top: 150px; animation: drop3 8s infinite cubic-bezier(0.4,0,0.2,1); }

.client-result {
    top: 225px; border: 3px dashed rgba(0,0,0,0.15); opacity: 0.6; filter: grayscale(1);
    animation: climb 8s infinite cubic-bezier(0.4,0,0.2,1);
}
.client-result .text-before { display: block; animation: fadeOutText 8s infinite; }
.client-result .text-after  { display: block; position: absolute; left: 0; top: 0; width: 100%; opacity: 0; animation: fadeInText 8s infinite; align-items: center; gap: 10px; }
.client-result .serp-url { animation: climbTextColor 8s infinite; }

.serp-badge {
    background: var(--accent-color); color: var(--text-dark); border: 2px solid var(--text-dark);
    padding: 3px 10px; font-size: 0.85rem; font-weight: bold; border-radius: 20px;
    opacity: 0; display: inline-block; white-space: nowrap; margin-left: 10px;
}
.comp-badge {
    background: #ffbd2e; color: var(--text-dark); opacity: 1; animation: compBadgeHide 8s infinite;
    padding: 3px 8px; font-size: 0.8rem; font-weight: bold; border-radius: 20px;
    border: 2px solid var(--text-dark); margin-left: 8px; display: inline-block; vertical-align: middle;
}

@keyframes drop1 {
    0%,45%   { top: 0; border: 2px solid var(--accent-color); opacity: 1; filter: grayscale(0); z-index: 5; transform: scale(1); }
    50%,85%  { top: 75px; border: 3px dashed rgba(0,0,0,0.15); opacity: 0.6; filter: grayscale(1); z-index: 1; transform: scale(0.98); }
    95%,100% { top: 0; border: 2px solid var(--accent-color); opacity: 1; filter: grayscale(0); z-index: 5; transform: scale(1); }
}
@keyframes drop2 {
    0%,45% { top: 75px; } 50%,85% { top: 150px; } 95%,100% { top: 75px; }
}
@keyframes drop3 {
    0%,45% { top: 150px; } 50%,85% { top: 225px; } 95%,100% { top: 150px; }
}
@keyframes compFadeOutText {
    0%,45% { opacity: 1; color: #1a0dab; }
    50%,85% { opacity: 0; }
    95%,100% { opacity: 1; color: #1a0dab; }
}
@keyframes compFadeInText {
    0%,45% { opacity: 0; }
    50%,85% { opacity: 1; color: #1a0dab; }
    95%,100% { opacity: 0; }
}
@keyframes climb {
    0%,45%   { top: 225px; border: 3px dashed rgba(0,0,0,0.15); background: #fff; opacity: 0.6; filter: grayscale(1); transform: scale(1); box-shadow: none; z-index:1; }
    50%,85%  { top: -10px; border: 3px solid var(--bg-primary); background: var(--bg-primary); opacity: 1; filter: grayscale(0); transform: scale(1.03); box-shadow: none; z-index:10; }
    95%,100% { top: 225px; border: 3px dashed rgba(0,0,0,0.15); background: #fff; opacity: 0.6; filter: grayscale(1); transform: scale(1); box-shadow: none; z-index:1; }
}
@keyframes fadeOutText {
    0%,45% { opacity: 1; color: #1a0dab; }
    50%,85% { opacity: 0; }
    95%,100% { opacity: 1; color: #1a0dab; }
}
@keyframes fadeInText {
    0%,45% { opacity: 0; display: flex; }
    50%,85% { opacity: 1; color: #ffffff; display: flex; }
    95%,100% { opacity: 0; display: flex; }
}
@keyframes climbTextColor {
    0%,45% { color: #4d5156; } 50%,85% { color: rgba(255,255,255,0.7); } 95%,100% { color: #4d5156; }
}
.client-result .serp-badge { animation: badgeShow 8s infinite; }
@keyframes badgeShow {
    0%,50%   { opacity: 0; transform: scale(0.8) translateY(2px); }
    55%,85%  { opacity: 1; transform: scale(1) translateY(2px); }
    90%,100% { opacity: 0; transform: scale(0.8) translateY(2px); }
}
@keyframes compBadgeHide {
    0%,45%   { opacity: 1; transform: scale(1.1); }
    50%,85%  { opacity: 0; transform: scale(0.8); }
    95%,100% { opacity: 1; transform: scale(1.1); }
}

/* ================= MARQUEE ================= */
.marquee {
    background: var(--text-dark);
    color: var(--accent-color);
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 3px solid var(--text-dark);
    border-bottom: 3px solid var(--text-dark);
    position: relative;
    z-index: 40;
}
.marquee-track {
    display: flex; align-items: center; gap: 3rem;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    width: max-content;
    letter-spacing: -1px;
}
.marquee-track span { display: inline-block; padding: 0 .5rem; }
.marquee-track .marquee-dot { color: var(--bg-primary); font-size: 1.2rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }

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

/* ================= WAVE + SERVICES SECTION ================= */
.wavy-curvy {
    display: block; width: 100%; margin-top: -80px; z-index: 30; position: relative;
    pointer-events: none;
}
.services-content {
    background: var(--bg-secondary);
    color: var(--text-dark);
    min-height: 80vh;
    position: relative; z-index: 30;
    padding: 4rem 5% 6rem;
}
.container { max-width: 1280px; margin: 0 auto; }

/* Eyebrow (tag au-dessus des H2) */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: 3px;
    font-weight: 600;
    padding: .5rem 1.1rem;
    border: 1.5px solid var(--text-dark);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}
.eyebrow.centered { margin: 0 auto 1.5rem; }
.eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(220,50,30,0.2);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0%,100% { box-shadow: 0 0 0 4px rgba(220,50,30,0.2); }
    50%     { box-shadow: 0 0 0 8px rgba(220,50,30,0); }
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 6rem);
    letter-spacing: -2px; margin-bottom: 2rem; line-height: 0.9;
}
.section-desc { font-size: 1.3rem; max-width: 800px; line-height: 1.6; margin-bottom: 2.5rem; }
.accent-text { color: var(--bg-primary); }

/* ================= BENTO GRID ================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin: 3rem 0 6rem;
}
.bento-card {
    position: relative;
    padding: 2rem;
    border-radius: 24px;
    background: #fff;
    border: 3px solid var(--text-dark);
    overflow: hidden;
    transition: transform .5s var(--ease-out-expo), box-shadow .5s;
    transform-style: preserve-3d;
    will-change: transform;
    min-height: 320px;
    display: flex; flex-direction: column;
}
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--bg-primary), transparent 55%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
    z-index: 0;
}
.bento-card:hover::before { opacity: 0.18; }
.bento-card:hover {
    box-shadow: 14px 14px 0 var(--text-dark);
    border-color: var(--bg-primary);
}
.bento-card > * { position: relative; z-index: 2; }

/* Variantes de taille (asymétrique) */
.bento-hero   { grid-column: span 4; grid-row: span 2; background: var(--text-dark); color: var(--text-light); min-height: 500px; }
.bento-medium { grid-column: span 2; }
.bento-accent { grid-column: span 2; background: var(--accent-color); border-color: var(--text-dark); }
.bento-small  { grid-column: span 2; }
.bento-wide   { grid-column: span 4; }

.bento-hero .silo-list a { color: var(--accent-color); border-bottom-color: var(--accent-color); }
.bento-hero .link-btn { color: var(--accent-color); }
.bento-hero::before { background: radial-gradient(circle at var(--mx,50%) var(--my,50%), var(--accent-color), transparent 55%); }
.bento-hero:hover { box-shadow: 14px 14px 0 var(--accent-color); border-color: var(--accent-color); }

.bento-accent .silo-list a { color: var(--text-dark); border-bottom-color: var(--text-dark); }
.bento-accent .link-btn { color: var(--text-dark); }
.bento-accent::before { background: radial-gradient(circle at var(--mx,50%) var(--my,50%), var(--bg-primary), transparent 55%); }

.bento-tag {
    display: none; /* tags "Silo 01..." supprimés */
    font-family: var(--font-mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    opacity: 0.65;
    margin-bottom: 1rem;
}
.bento-card h3 {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1;
}
.bento-hero h3 { font-size: clamp(2rem, 3.5vw, 3.2rem); }

.bento-card p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 1.2rem;
    margin-top: auto;
}

.bento-bg {
    position: absolute;
    top: -30px; right: -30px;
    font-size: clamp(7rem, 18vw, 14rem);
    opacity: 0.08;
    pointer-events: none;
    animation: floatIcon 5s infinite ease-in-out alternate;
    z-index: 1;
    line-height: 1;
}
.bento-hero .bento-bg { opacity: 0.15; }

/* Photo humaine dans la bento hero — fond complet */
.bento-photo-wrap {
    position: absolute !important;
    inset: 0;
    overflow: hidden;
    border-radius: 24px;
    z-index: 1 !important;
}
.bento-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,10,10,0.65) 0%,
        rgba(10,10,10,0.28) 50%,
        rgba(10,10,10,0.05) 100%
    );
    z-index: 2;
}
.bento-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    opacity: 0.9;
    filter: grayscale(10%) contrast(1.05);
    transition: opacity 0.5s, transform 0.7s var(--ease-out-expo);
    display: block;
}
.bento-hero:hover .bento-photo {
    opacity: 1;
    transform: scale(1.03);
}
@keyframes floatIcon {
    from { transform: translate(0,0) rotate(-6deg); }
    to   { transform: translate(-10px, -18px) rotate(6deg); }
}

.silo-list { list-style: none; margin-bottom: 1.2rem; text-align: left; padding: 0; }
.silo-list li { margin-bottom: 0.4rem; font-size: .95rem; }
.silo-list a {
    color: var(--bg-primary); text-decoration: none; font-weight: 600;
    border-bottom: 1px dashed var(--bg-primary); transition: all .3s;
}
.silo-list a:hover { color: var(--text-dark); border-bottom-color: var(--text-dark); }

.link-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-top: auto; font-weight: bold;
    color: var(--text-dark); text-decoration: none; font-size: 1rem;
    padding-bottom: 2px;
    border-bottom: 2px solid currentColor;
    align-self: flex-start;
    transition: gap .3s var(--ease-out-expo);
}
.link-btn .arrow { transition: transform .4s var(--ease-back); display: inline-block; }
.link-btn:hover .arrow { transform: translateX(6px); }
.link-btn:hover { gap: .9rem; }

/* ================= CTA MINI ================= */
.cta-mini-btn {
    display: inline-block; padding: 1.1rem 2.3rem; background: var(--text-dark);
    color: var(--text-light); text-decoration: none; border-radius: 50px;
    font-weight: bold; font-size: 1.1rem;
    box-shadow: 6px 6px 0 var(--bg-primary);
    transition: transform .3s var(--ease-out-expo), box-shadow .3s;
    border: 2px solid var(--text-dark);
}
.cta-mini-btn:hover {
    transform: translate(-3px,-3px);
    box-shadow: 10px 10px 0 var(--bg-primary);
}

/* ================= STATS GRID ================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 0;
    border-top: 3px solid var(--text-dark);
    border-bottom: 3px solid var(--text-dark);
    margin-bottom: 5rem;
    position: relative;
}
.stats-grid::before, .stats-grid::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--text-dark) 0 12px, transparent 12px 24px);
}
.stats-grid::before { top: -10px; }
.stats-grid::after  { bottom: -10px; }

.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
    content: "";
    position: absolute; right: 0; top: 15%; bottom: 15%;
    width: 1px;
    background: rgba(0,0,0,0.15);
}
.stat-wrap { display: flex; align-items: baseline; justify-content: center; gap: .2rem; }
.stat-num {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--bg-primary);
    line-height: 1;
    letter-spacing: -3px;
}
.stat p {
    font-size: 1rem;
    margin-top: .5rem;
    opacity: 0.7;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .85rem;
}

/* ================= ACTION BOARD ================= */
.action-board {
    text-align: center;
    padding: 6rem 2rem;
    border: 3px solid var(--text-dark);
    border-radius: 32px;
    background: #fff;
    position: relative;
    overflow: hidden;
}
/* conic-gradient supprimé (design épuré) */
.action-board > * { position: relative; z-index: 2; }

.action-board h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: -2px;
}
.action-board p { font-size: 1.3rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.primary-cta {
    font-size: 1.1rem; padding: 1.2rem 2.5rem;
    background: var(--bg-primary); color: #fff;
    border: 2px solid var(--bg-primary);
    box-shadow: none;
}
.primary-cta:hover {
    background: var(--text-dark); color: #fff;
    border-color: var(--text-dark);
    box-shadow: 4px 4px 0 var(--bg-primary);
    transform: translate(-2px,-2px) scale(1.02);
}
.outline-cta {
    background: transparent; color: var(--text-dark);
    border: 2px solid var(--text-dark);
}
.outline-cta:hover {
    background: var(--text-dark); color: var(--text-light);
    transform: translateY(-2px);
}
/* Bouton téléphone simplifié */
.simple-cta {
    background: transparent; color: var(--text-dark);
    border: 2px solid var(--text-dark);
}
.simple-cta:hover {
    background: var(--text-dark); color: var(--text-light);
    transform: translateY(-2px);
}
.btn-group { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ================= NAV LINKS ================= */
.nav-links {
    display: flex; gap: 2rem;
    background: rgba(20, 20, 20, 0.75);
    padding: 0.8rem 2rem; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
}
.nav-links a {
    color: var(--text-light); text-decoration: none;
    font-weight: 600; font-size: 1rem;
    transition: color .3s ease;
    position: relative;
}
.nav-links a::after {
    content: "";
    position: absolute; bottom: -5px; left: 50%;
    width: 0; height: 2px;
    background: var(--accent-color);
    transition: width .3s var(--ease-out-expo), left .3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--accent-color); }
.nav-links a:hover::after { width: 100%; left: 0; }

/* ================= PROBLEM STATEMENT ================= */
.problem-statement { padding-top: 3rem; margin-bottom: 2rem; }

/* ================= PULSE ANIM ================= */
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 50, 30, 0.4); }
    70%  { box-shadow: 0 0 0 18px rgba(220, 50, 30, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 50, 30, 0); }
}
.pulse-anim { animation: pulse 2.5s infinite cubic-bezier(0.66, 0, 0, 1); }

/* ================= REVEAL ON SCROLL ================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(4, 1fr); }
    .bento-hero { grid-column: span 4; }
    .bento-wide { grid-column: span 4; }
    .bento-medium, .bento-accent, .bento-small { grid-column: span 2; }
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; padding: 1rem; }
    .nav-links { flex-wrap: wrap; justify-content: center; padding: 0.5rem 1rem; gap: 1rem; font-size: .85rem; }

    .watermark-one { font-size: clamp(280px, 60vh, 500px); letter-spacing: -20px; }

    .giant-title { font-size: clamp(2rem, 10vw, 3rem); margin-top: 2vh; }

    .serp-anim-container { margin-top: 2vh; transform: scale(0.85); transform-origin: top center; margin-bottom: -80px; }

    .sticker { display: none; }

    .section-title { font-size: 2.5rem; }
    .btn-group { flex-direction: column; }
    .serp-badge { display: none; } /* trop long sur mobile */
    .client-result .text-after { font-size: .85rem; }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-hero, .bento-medium, .bento-accent, .bento-small, .bento-wide { grid-column: span 1; }
    .bento-hero { min-height: 400px; }

    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stat:not(:last-child)::after { display: none; }

    .cursor-dot, .cursor-ring { display: none; }
}

/* ================= DROPDOWN & MEGA-MENU ================= */
.nav-links {
    position: static; /* NE PAS mettre relative → backdrop-filter + relative crée un containing block qui piège le mega-menu */
}
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
/* Le services-item est static pour que le méga-menu se positionne
   par rapport à .navbar (son ancêtre positionné le plus proche) */
.services-item {
    position: static;
}
.nav-item > a {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color .3s;
    white-space: nowrap;
}
.nav-item > a:hover { color: var(--accent-color); }
.nav-chevron {
    font-size: .65rem;
    transition: transform .3s var(--ease-out-expo);
    display: inline-block;
    line-height: 1;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown standard */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 3px solid var(--text-dark);
    border-radius: 16px;
    padding: .6rem;
    padding-top: 1rem;
    min-width: 230px;
    box-shadow: 8px 8px 0 var(--text-dark);
    z-index: 9999;
}
/* Bridge invisible pour garder le hover actif entre le lien et le dropdown */
.nav-item {
    position: relative;
}
.nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    display: block;
}

/* Méga-menu Services — position: fixed garantit pleine largeur viewport */
.mega-dropdown {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100vw;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 2rem 5%;
    background: #fff;
    border-top: 3px solid var(--text-dark);
    border-bottom: 3px solid var(--text-dark);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-radius: 0;
    z-index: 9999;
    box-sizing: border-box;
}
.services-item:hover .mega-dropdown,
.services-item:focus-within .mega-dropdown {
    display: grid;
}
.mega-col {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    padding: 0 1.2rem;
    border-right: 1px solid rgba(0,0,0,0.07);
}
.mega-col:last-child { border-right: none; }
.mega-silo-title {
    font-family: var(--font-head) !important;
    font-size: .95rem !important;
    letter-spacing: -.3px;
    color: var(--text-dark) !important;
    text-decoration: none;
    padding: .5rem .4rem !important;
    border-radius: 8px;
    display: block !important;
    margin-bottom: .2rem;
    background: none !important;
    transition: color .2s;
}
.mega-silo-title:hover { color: var(--bg-primary) !important; background: none !important; }
.mega-sub {
    font-size: .85rem !important;
    color: rgba(0,0,0,.55) !important;
    text-decoration: none;
    padding: .3rem .4rem .3rem 1.2rem !important;
    border-radius: 6px;
    display: block !important;
    position: relative;
    background: none !important;
    transition: color .2s, background .2s !important;
}
.mega-sub::before {
    content: "→";
    position: absolute;
    left: .3rem;
    opacity: 0;
    transition: opacity .2s, left .2s;
    color: var(--bg-primary);
    font-size: .75rem;
}
.mega-sub:hover {
    color: var(--bg-primary) !important;
    background: rgba(220,50,30,.06) !important;
}
.mega-sub:hover::before { opacity: 1; left: .4rem; }
.mega-sub-group {
    font-size: .78rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(0,0,0,0.35) !important;
    padding: .6rem .4rem .1rem 1.2rem !important;
    display: block;
}
.mega-sub--indent {
    padding-left: 2rem !important;
}
/* Petite flèche pointant vers le haut */
.dropdown::before {
    content: "";
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--text-dark);
}
.dropdown a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s, color .2s;
}
.dropdown a:hover {
    background: var(--bg-primary);
    color: var(--text-light);
}
.dropdown a .dd-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}
.dropdown-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: .4rem .6rem;
}

/* ================= SECTION QUI SOMMES-NOUS ================= */
.about-section { background: var(--bg-secondary); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}

.about-visual { position: relative; }

.about-photo-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--text-dark);
    box-shadow: 10px 10px 0 var(--text-dark);
}

.about-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: grayscale(10%);
    transition: filter .4s;
}
.about-photo-wrap:hover .about-photo { filter: grayscale(0%); }

.award-badge {
    position: absolute;
    bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
    background: var(--accent-color);
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    border-radius: 12px;
    padding: .8rem 1.2rem;
    font-size: .85rem;
    text-align: center;
    box-shadow: 4px 4px 0 var(--text-dark);
}

.about-content { display: flex; flex-direction: column; gap: 1.2rem; }
.about-content p { color: #333; line-height: 1.7; }
.about-content strong { color: var(--text-dark); }

.about-clients {
    background: #fff;
    border: 2px solid var(--text-dark);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    margin-top: .5rem;
}
.clients-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #999;
    margin-bottom: .6rem;
}
.clients-marquee {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .8rem;
    align-items: center;
}
.clients-marquee span {
    font-family: var(--font-head);
    font-size: .9rem;
    color: var(--text-dark);
    font-weight: 700;
}
.clients-marquee span:nth-child(even) {
    color: var(--bg-primary);
    font-weight: 400;
}

.about-cta { align-self: flex-start; margin-top: .5rem; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-photo { height: 280px; }
}

/* ================= MARQUEE OUTILS ================= */
.marquee--tools {
    background: var(--text-dark);
    border-top: 2px solid rgba(255,255,255,0.08);
    border-bottom: 2px solid rgba(255,255,255,0.08);
}
.marquee-track--slow { animation-duration: 50s; }

/* Logos outils */
.tool-logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: .35rem .9rem;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: .02em;
    white-space: nowrap;
}
.tool-logo svg { flex-shrink: 0; border-radius: 4px; }

/* Marquee clients — dark, même style hero */
.marquee--clients {
    background: var(--text-dark);
    margin: 0 0 0 0;
    width: calc(100% + 10%);
    margin-left: -5%;
}
.marquee--clients .marquee-track {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: .02em;
}
.marquee--clients .marquee-dot { color: var(--bg-primary); }
.marquee-track--logos { gap: 0; }
.mq-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    padding: .5rem 1.2rem;
    margin: 0 .6rem;
    height: 56px;
    min-width: 100px;
    vertical-align: middle;
}
.mq-logo img {
    height: 36px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
}

/* ================= CONTENT SECTIONS ================= */
.content-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    color: var(--text-dark); /* forcer texte sombre sur fond clair */
}
.content-section .section-title,
.content-section .section-desc,
.content-section p,
.content-section h2,
.content-section h3,
.content-section h4 {
    color: var(--text-dark);
}
.content-section--dark {
    background: var(--text-dark);
    color: var(--text-light);
}
.content-section--dark .section-title,
.content-section--dark .section-desc,
.content-section--dark p,
.content-section--dark h2,
.content-section--dark h3 {
    color: var(--text-light);
}
.content-section--cream {
    background: #f7f2ea;
    color: var(--text-dark);
}
.content-section--cream .content-block {
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(10,10,10,0.12);
}
.content-section--cream .content-block h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: .8rem;
}
.content-section--cream .content-block h4 {
    color: var(--text-dark);
    font-size: .95rem;
}
.content-section--cream .content-block p,
.content-section--cream .content-block ul li {
    color: rgba(10,10,10,0.8);
    line-height: 1.7;
}
.section-title.centered,
.section-desc.centered-text {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-desc.centered-text { margin-bottom: 3rem; }

/* 2 colonnes contenu */
.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}
.content-block {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
}
.content-section--dark .content-block h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: .8rem;
}
.content-section--dark .content-block p { color: rgba(255,255,255,0.8); line-height: 1.7; }

/* Grille processus 6 cards */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.process-card {
    background: #fff;
    border: 2px solid var(--text-dark);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: box-shadow .3s, transform .3s;
}
.process-card:hover {
    box-shadow: 6px 6px 0 var(--bg-primary);
    transform: translate(-3px,-3px);
}
.process-num {
    font-family: var(--font-head);
    font-size: 3rem;
    color: var(--bg-primary);
    opacity: .2;
    line-height: 1;
    margin-bottom: .5rem;
}
.process-card h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: .6rem;
    color: var(--text-dark);
}
.process-card p { font-size: .9rem; color: #555; line-height: 1.6; }

/* FAQ Accordéon */
.faq-list {
    max-width: 860px;
    margin: 3rem auto 0;
}
.faq-item {
    border-bottom: 2px solid var(--text-dark);
    padding: 0;
}
.faq-item summary {
    font-family: var(--font-head);
    font-size: 1.05rem;
    padding: 1.2rem 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}
.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--bg-primary);
    transition: transform .3s;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    padding: 0 0 1.2rem;
    color: #444;
    line-height: 1.7;
    font-size: .95rem;
}
.faq-item ul {
    padding-left: 1.4rem;
    margin: 0 0 1.2rem;
    list-style: disc;
}
.faq-item ul li {
    margin-bottom: .6rem;
    color: #444;
    line-height: 1.6;
    font-size: .9rem;
}
.faq-item ul li strong {
    color: var(--text-dark);
}
.faq-item a {
    color: var(--bg-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--bg-primary);
    transition: color .2s, border-color .2s;
}
.faq-item a:hover {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

/* Témoignages */
.testimonials-section { background: var(--bg-secondary); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: #fff;
    border: 2px solid var(--text-dark);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 5px 5px 0 var(--text-dark);
}
.stars { color: var(--accent-color); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text {
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: .95rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-avatar {
    width: 44px; height: 44px;
    background: var(--bg-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-size: .85rem;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .95rem; }
.testimonial-author span { font-size: .8rem; color: #888; }
.testimonial-card--featured {
    border-color: var(--bg-primary);
    box-shadow: 5px 5px 0 var(--bg-primary);
    grid-column: span 1;
}
.testimonial-linkedin,
.testimonial-google {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .8rem;
}
.testimonial-linkedin { color: #0077b5; }
.testimonial-google   { color: #4285F4; }

/* CTA pleine largeur en bas de grille */
.testimonial-card--cta {
    grid-column: 1 / -1;
    background: var(--text-dark);
    border-color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.testimonial-cta-inner {
    text-align: center;
    color: #fff;
}
.testimonial-cta-inner p { color: #ccc; margin: 0 0 .4rem; }
.testimonial-cta-inner strong, .testimonial-cta-inner [style*="font-weight: 700"] { color: #fff; }

/* Responsive nouvelles sections */
@media (max-width: 768px) {
    .two-col-grid, .process-grid, .testimonials-grid { grid-template-columns: 1fr; }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    background: var(--bg-secondary);
    padding: 6rem 5% 0;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    padding-bottom: 5rem;
}

/* Colonne visuelle */
.contact-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    position: sticky;
    top: 120px;
}
.contact-badge {
    background: var(--text-dark);
    color: var(--accent-color);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .5rem 1.2rem;
    border-radius: 999px;
    display: inline-block;
}
.rocket-svg {
    width: 200px;
    height: auto;
    transform: rotate(45deg);
    filter: drop-shadow(6px -6px 0 var(--bg-primary));
    animation: rocketFloat 3s ease-in-out infinite;
}
@keyframes rocketFloat {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(-14px); }
}
.contact-tagline {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-dark);
    line-height: 1.3;
}
.contact-tagline strong { color: var(--bg-primary); }
.contact-info-pills {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    width: 100%;
}
.contact-info-pills span {
    background: #fff;
    border: 2px solid var(--text-dark);
    border-radius: 12px;
    padding: .6rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 3px 3px 0 var(--text-dark);
}

/* Formulaire */
.contact-form-wrap {
    background: #fff;
    border: 3px solid var(--text-dark);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 8px 8px 0 var(--text-dark);
}
.contact-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #0a0a0a;
    margin: .5rem 0 2rem;
    line-height: 1.2;
}
.contact-title .accent-text { color: var(--bg-primary); }
.contact-form-wrap .eyebrow {
    color: var(--text-dark);
    background: rgba(240,233,221,0.6);
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    border: 2px solid var(--text-dark);
    border-radius: 12px;
    padding: .85rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
    background: var(--bg-secondary);
    color: var(--text-dark);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--bg-primary);
    box-shadow: 3px 3px 0 var(--bg-primary);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: var(--bg-primary);
    color: #fff;
    border: 2px solid var(--text-dark);
    border-radius: 999px;
    padding: 1rem 2.5rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--text-dark);
    transition: transform .15s, box-shadow .15s;
    margin-top: .5rem;
}
.contact-submit:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--text-dark);
}
.submit-arrow {
    font-size: 1.3rem;
    transition: transform .2s;
}
.contact-submit:hover .submit-arrow { transform: translateX(4px); }
.form-note {
    text-align: center;
    font-size: .78rem;
    color: #999;
    margin-top: .2rem;
}

/* ===== VIGNETTES SERVICES ===== */
.services-tiles {
    border-top: 3px solid var(--text-dark);
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.tiles-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-align: center;
    text-decoration: none;
    width: 140px;
    height: 140px;
    border-radius: 20px;
    border: 3px solid var(--text-dark);
    box-shadow: 4px 4px 0 var(--text-dark);
    padding: 1rem;
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.tile:hover {
    transform: translate(-3px, -3px) rotate(-2deg);
    box-shadow: 7px 7px 0 var(--text-dark);
}
.tile-icon { font-size: 1.8rem; line-height: 1; }
.tile-num {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: .65rem;
    font-weight: 800;
    opacity: .35;
    letter-spacing: .05em;
}
.tile strong {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}
/* Tiles — palette douce (blanc, beige, noir, rouge discret) */
.tile--red    { background: #fff; border-color: var(--bg-primary); }
.tile--red strong { color: var(--bg-primary); }
.tile--yellow { background: #f0e9dd; }
.tile--yellow strong { color: var(--text-dark); }
.tile--green  { background: #fff; border-color: var(--text-dark); }
.tile--green strong { color: var(--text-dark); }
.tile--blue   { background: #f0e9dd; }
.tile--blue strong { color: var(--text-dark); }
.tile--purple { background: var(--text-dark); }
.tile--purple strong { color: #fff; }
.tile--orange { background: #fff; border-color: var(--bg-primary); }
.tile--orange strong { color: var(--bg-primary); }
.tile--dark   { background: var(--text-dark); }
.tile--dark strong { color: #fff; }

/* Responsive contact */
@media (max-width: 900px) {
    .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-visual { position: static; }
    .rocket-svg { width: 130px; }
    .form-row { grid-template-columns: 1fr; }
    .tiles-grid { gap: .7rem; }
    .tile { width: 110px; height: 110px; }
}

/* ================= FOOTER ================= */
.site-footer {
    background: #0a0a0a !important;
    color: #ffffff;
    padding: 5rem 5% 2rem;
    position: relative;
    z-index: 50;
    isolation: isolate;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
    font-size: 2.5rem;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    display: block;
}
.footer-brand p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: .65;
    max-width: 320px;
    margin-bottom: 1.5rem;
}
.footer-socials {
    display: flex;
    gap: .8rem;
}
.footer-socials a {
    width: 40px; height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    color: var(--text-light);
    transition: background .3s, border-color .3s;
}
.footer-socials a:hover { background: var(--accent-color); border-color: var(--accent-color); color: var(--text-dark); }

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    letter-spacing: -.5px;
    margin-bottom: 1.2rem;
    color: var(--accent-color);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .65rem; }
.footer-col ul a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: .95rem;
    transition: color .3s;
}
.footer-col ul a:hover { color: var(--accent-color); }

.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { font-size: .85rem; opacity: .45; }
.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal a {
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color .3s;
}
.footer-legal a:hover { color: var(--accent-color); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .dropdown { position: fixed; left: 1rem; right: 1rem; transform: none; min-width: unset; }
    .nav-item:hover .dropdown { transform: translateY(0); }
}

/* ================= EXPANDABLE CONTENT « LIRE PLUS » ================= */
.expandable-content {
    position: relative;
    max-height: 160px;
    overflow: hidden;
    transition: max-height .6s var(--ease-out-expo);
}
.expandable-content::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--text-dark));
    pointer-events: none;
    transition: opacity .4s;
}
/* Variante pour fond clair */
.content-section--cream .expandable-content::after,
.content-section .expandable-content::after {
    background: linear-gradient(to bottom, transparent, var(--bg-secondary));
}
.content-section--cream .expandable-content::after {
    background: linear-gradient(to bottom, transparent, #f7f2ea);
}
/* Le fond blanc des process-cards */
.process-card .expandable-content::after {
    background: linear-gradient(to bottom, transparent, #fff);
}

.expandable-content.expanded {
    max-height: 3000px;
}
.expandable-content.expanded::after {
    opacity: 0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .8rem;
    padding: .5rem 1.2rem;
    background: transparent;
    border: 1.5px solid currentColor;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background .3s, color .3s, transform .2s;
    color: var(--accent-color);
}
.read-more-btn:hover {
    background: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}
.read-more-btn .chevron {
    display: inline-block;
    transition: transform .3s var(--ease-out-expo);
    font-size: .7rem;
}
.read-more-btn.expanded .chevron {
    transform: rotate(180deg);
}

/* Variante claire */
.content-section .read-more-btn,
.content-section--cream .read-more-btn {
    color: var(--bg-primary);
}
.content-section .read-more-btn:hover,
.content-section--cream .read-more-btn:hover {
    background: var(--bg-primary);
    color: var(--text-light);
}
.process-card .read-more-btn {
    color: var(--bg-primary);
    font-size: .75rem;
    padding: .4rem 1rem;
}
.process-card .read-more-btn:hover {
    background: var(--bg-primary);
    color: #fff;
}

/* Contenu enrichi dans les content-blocks */
.content-block h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    margin: 1.2rem 0 .5rem;
}
.content-section--dark .content-block h4 {
    color: var(--accent-color);
    font-size: .95rem;
}
.content-block ul {
    padding-left: 1.2rem;
    margin: .8rem 0;
}
.content-block ul li {
    margin-bottom: .5rem;
    line-height: 1.6;
    font-size: .9rem;
}
.content-section--dark .content-block ul li {
    color: rgba(255,255,255,0.75);
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
