/* =================================================================
   DLCH — Feuille de style principale
   Thème sombre · accents néon/cyan · glassmorphism · responsive
   ================================================================= */

/* ---------- 1. Variables & thème ---------------------------------- */
:root {
    --bg:            #070a12;
    --bg-soft:       #0b1020;
    --bg-elevated:   #10172a;
    --surface:       rgba(255, 255, 255, 0.04);
    --surface-brd:   rgba(255, 255, 255, 0.09);

    --txt:           #e7ecf5;
    --txt-soft:      #aeb8cc;
    --txt-mute:      #6b7689;

    --cyan:          #22e3ff;
    --cyan-soft:     #5cf0ff;
    --blue:          #4f7dff;
    --accent:        #b3123a;   /* bordeaux du logo */
    --accent-soft:   #e11d48;

    --grad-neon:     linear-gradient(110deg, #22e3ff 0%, #4f7dff 55%, #9d6bff 100%);
    --grad-line:     linear-gradient(90deg, transparent, var(--cyan), transparent);

    --radius:        18px;
    --radius-sm:     12px;
    --maxw:          1180px;
    --header-h:      76px;

    --shadow:        0 24px 60px -24px rgba(0, 0, 0, 0.7);
    --glow-cyan:     0 0 0 1px rgba(34, 227, 255, 0.25), 0 14px 40px -12px rgba(34, 227, 255, 0.35);

    --ease:          cubic-bezier(0.22, 1, 0.36, 1);
    --font-head:     'Space Grotesk', system-ui, sans-serif;
    --font-body:     'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset & base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--txt);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(900px 500px at 80% -5%, rgba(79, 125, 255, 0.10), transparent 60%),
        radial-gradient(700px 500px at 0% 10%, rgba(34, 227, 255, 0.08), transparent 55%);
    background-attachment: fixed;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.grad-text {
    background: var(--grad-neon);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.glass {
    background: var(--surface);
    border: 1px solid var(--surface-brd);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--cyan); color: #001018; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Boutons -------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
    font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
    padding: 0.85em 1.6em; border-radius: 999px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.2s;
    white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
    color: #021018;
    background: var(--grad-neon);
    background-size: 160% 160%;
    box-shadow: var(--glow-cyan);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 0 0 1px rgba(34,227,255,.4), 0 18px 48px -10px rgba(34,227,255,.55); }

.btn-ghost { color: var(--txt); border: 1px solid var(--surface-brd); background: var(--surface); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ---------- 4. Header / navigation -------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    display: flex; align-items: center;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(7, 10, 18, 0.78);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--surface-brd);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; transition: height 0.3s; }
.site-header.scrolled .brand-logo { height: 34px; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.6rem; }
.nav-list a { color: var(--txt-soft); font-size: 0.94rem; font-weight: 500; position: relative; }
.nav-list a::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
    background: var(--grad-neon); transition: width 0.3s var(--ease);
}
.nav-list a:hover { color: var(--txt); }
.nav-list a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: var(--txt); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 90;
    background: rgba(8, 12, 22, 0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--surface-brd);
    transform: translateY(-120%); transition: transform 0.4s var(--ease);
    padding: 1rem 0 1.6rem;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.4rem; padding-inline: clamp(20px, 5vw, 40px); }
.mobile-nav a { display: block; padding: 0.85rem 0.4rem; color: var(--txt-soft); font-family: var(--font-head); font-size: 1.05rem; border-bottom: 1px solid var(--surface-brd); }
.mobile-nav a.btn { margin-top: 0.8rem; border-bottom: none; justify-content: center; }

/* ---------- 5. Sections génériques -------------------------------- */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 1.1rem; }
.section-intro { color: var(--txt-soft); font-size: clamp(1rem, 1.6vw, 1.12rem); }

/* ---------- 6. Hero ----------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
    position: absolute; inset: -2px;
    background-image: linear-gradient(rgba(79,125,255,.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(79,125,255,.07) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero-glow-1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(34,227,255,.5), transparent 70%); top: -80px; right: -60px; animation: float 14s ease-in-out infinite; }
.hero-glow-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(157,107,255,.4), transparent 70%); bottom: -120px; left: -80px; animation: float 18s ease-in-out infinite reverse; }

.hero-content { position: relative; z-index: 1; max-width: 880px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.6em;
    font-size: 0.85rem; font-weight: 500; color: var(--txt-soft);
    padding: 0.5em 1.1em; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--surface-brd);
    margin-bottom: 1.8rem;
}
.hero-badge::before { content: attr(data-icon); }
.hero-title { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: 1.4rem; }
.hero-lead { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: var(--txt-soft); max-width: 720px; margin-bottom: 2.4rem; }
.hero-lead strong { color: var(--txt); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.4rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 5vw, 3.4rem); }
.hero-stats li { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--txt-mute); font-size: 0.88rem; margin-top: 0.2rem; }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--surface-brd); border-radius: 14px; z-index: 1; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); animation: scroll 1.8s infinite; }

/* ---------- 7. Services ------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.service-card { position: relative; padding: 2rem 1.8rem; border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.service-card::before { content: ''; position: absolute; inset: 0; background: var(--grad-neon); opacity: 0; transition: opacity 0.35s; mask: linear-gradient(#000, transparent 40%); -webkit-mask: linear-gradient(#000, transparent 40%); }
.service-card:hover { transform: translateY(-6px); border-color: rgba(34,227,255,.35); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 0.08; }
.service-icon { font-size: 2.1rem; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--surface-brd); margin-bottom: 1.3rem; }
.service-title { font-size: 1.28rem; margin-bottom: 0.7rem; }
.service-text { color: var(--txt-soft); font-size: 0.97rem; margin-bottom: 1.3rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-tags li { font-size: 0.78rem; color: var(--cyan); padding: 0.3em 0.8em; border-radius: 999px; border: 1px solid rgba(34,227,255,.22); background: rgba(34,227,255,.06); }
.service-badge { position: absolute; top: 1.2rem; right: 1.2rem; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #021018; background: var(--cyan); padding: 0.35em 0.8em; border-radius: 999px; }

/* ---------- 7b. Service card featured ----------------------------- */
.service-card--featured {
    border-color: rgba(34, 227, 255, 0.32);
    background: linear-gradient(135deg, rgba(34,227,255,.06) 0%, rgba(79,125,255,.06) 100%), var(--surface);
    box-shadow: 0 0 0 1px rgba(34,227,255,.18), var(--shadow);
}
.service-card--featured .service-icon {
    background: linear-gradient(135deg, rgba(34,227,255,.18), rgba(79,125,255,.14));
    border-color: rgba(34,227,255,.35);
}

/* ---------- 7c. Hébergement professionnel ------------------------- */
.hosting { overflow: hidden; }
.hosting-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(700px 400px at 10% 60%, rgba(34,227,255,.07), transparent 60%),
        radial-gradient(500px 350px at 90% 20%, rgba(79,125,255,.08), transparent 55%);
}
.hosting > .container { position: relative; z-index: 1; }

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.6rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hosting-card {
    padding: 1.8rem 1.6rem;
    border-radius: var(--radius);
    transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.hosting-card:hover { transform: translateY(-5px); border-color: rgba(34,227,255,.3); box-shadow: var(--shadow); }

.hosting-icon {
    font-size: 1.8rem;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--surface-brd);
    margin-bottom: 1.1rem;
}
.hosting-card-title { font-size: 1.12rem; margin-bottom: 0.55rem; }
.hosting-card-text { color: var(--txt-soft); font-size: 0.94rem; line-height: 1.6; }

.hosting-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    flex-wrap: wrap;
    padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 4vw, 2.8rem);
    border-radius: var(--radius);
    border-color: rgba(34,227,255,.2);
}
.hosting-banner-inner { display: flex; align-items: flex-start; gap: 1.1rem; flex: 1; min-width: 260px; }
.hosting-banner-icon { font-size: 1.6rem; flex: none; margin-top: 0.1rem; }
.hosting-banner-quote {
    font-size: clamp(0.97rem, 1.5vw, 1.1rem);
    color: var(--txt-soft);
    font-style: italic;
    line-height: 1.65;
}
.hosting-banner-quote::before { content: ''; }
.hosting-banner .btn { flex: none; white-space: nowrap; }

/* ---------- 7d. Intelligence Artificielle ------------------------- */
.ai-section { overflow: hidden; }
.ai-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(600px 400px at 85% 50%, rgba(157,107,255,.12), transparent 60%),
        radial-gradient(500px 300px at 15% 30%, rgba(79,125,255,.09), transparent 55%);
}
.ai-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}

.ai-left .section-title,
.ai-left .section-intro { text-align: left; }

.ai-badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.6rem 0 2rem; }
.ai-badge {
    font-size: 0.8rem; font-family: var(--font-head); font-weight: 600;
    padding: 0.35em 0.9em; border-radius: 999px;
    border: 1px solid rgba(157,107,255,.4);
    background: rgba(157,107,255,.08);
    color: #c4aaff;
}

.ai-right { display: flex; flex-direction: column; gap: 1rem; }

.ai-card {
    display: flex; gap: 1.1rem;
    padding: 1.3rem 1.4rem; border-radius: var(--radius-sm);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.ai-card:hover { transform: translateX(6px); border-color: rgba(157,107,255,.35); }
.ai-card.reveal { transition-delay: calc(var(--i, 0) * 90ms); }

.ai-card-icon {
    flex: none; width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 12px; font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(157,107,255,.2), rgba(79,125,255,.15));
    border: 1px solid rgba(157,107,255,.3);
}
.ai-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.ai-card p { color: var(--txt-soft); font-size: 0.93rem; }

/* ---------- 8. Souveraineté --------------------------------------- */
.sovereignty { overflow: hidden; }
.sov-bg { position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 30%, rgba(177,18,58,.16), transparent 60%); z-index: 0; }
.sov-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sov-left .section-title, .sov-left .section-intro { text-align: left; }
.sov-left .section-intro strong { color: var(--txt); }
.sov-flag { display: flex; align-items: center; gap: 0.9rem; margin: 2rem 0; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--surface-brd); }
.sov-flag-bar { width: 10px; height: 34px; border-radius: 3px; }
.sov-flag-bar:nth-child(1) { background: #1b3fae; }
.sov-flag-bar:nth-child(2) { background: #f3f4f8; }
.sov-flag-bar:nth-child(3) { background: var(--accent); margin-right: 0.5rem; }
.sov-flag p { font-size: 0.95rem; color: var(--txt-soft); }
.sov-flag strong { color: var(--txt); }

.sov-right { display: flex; flex-direction: column; gap: 1rem; }
.sov-card { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius-sm); transition: transform 0.3s var(--ease), border-color 0.3s; }
.sov-card:hover { transform: translateX(6px); border-color: rgba(34,227,255,.3); }
.sov-check { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-neon); color: #021018; font-weight: 700; font-size: 0.95rem; }
.sov-card h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.sov-card p { color: var(--txt-soft); font-size: 0.93rem; }

/* ---------- 9. À propos / valeurs --------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(1rem, 2.5vw, 1.6rem); }
.value-card { text-align: center; padding: 2rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--surface-brd); transition: transform 0.3s var(--ease), border-color 0.3s; }
.value-card:hover { transform: translateY(-5px); border-color: rgba(34,227,255,.3); }
.value-icon { font-size: 2rem; display: inline-block; margin-bottom: 0.9rem; }
.value-card h3 { font-size: 1.14rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--txt-soft); font-size: 0.92rem; }

/* ---------- 10. Blog ---------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.blog-card { border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(34,227,255,.35); box-shadow: var(--shadow); }
.blog-card-media { position: relative; aspect-ratio: 16 / 8; display: grid; place-items: center; background: linear-gradient(135deg, var(--bg-elevated), var(--bg-soft)); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-mono { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: rgba(34,227,255,.4); }
.blog-card-body { padding: 1.5rem 1.5rem 1.7rem; }
.blog-card-meta { display: flex; gap: 0.5rem; color: var(--txt-mute); font-size: 0.82rem; margin-bottom: 0.7rem; }
.blog-card-title { font-size: 1.2rem; margin-bottom: 0.6rem; line-height: 1.25; }
.blog-card:hover .blog-card-title { color: var(--cyan); }
.blog-card-excerpt { color: var(--txt-soft); font-size: 0.93rem; margin-bottom: 1rem; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.blog-card-tags li { font-size: 0.74rem; color: var(--txt-mute); padding: 0.25em 0.7em; border-radius: 999px; border: 1px solid var(--surface-brd); }
.blog-card-more { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--cyan); }
.blog-preview-cta { text-align: center; margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.blog-empty { text-align: center; color: var(--txt-mute); padding: 3rem 0; }

/* ---------- 11. Contact ------------------------------------------- */
.contact-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-left .section-title, .contact-left .section-intro { text-align: left; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info li { display: flex; flex-direction: column; gap: 0.15rem; }
.ci-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--txt-mute); }
.contact-info a { color: var(--cyan); font-size: 1.05rem; font-family: var(--font-head); }
.contact-info a:hover { color: var(--cyan-soft); }

.contact-form { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.86rem; font-weight: 500; color: var(--txt-soft); margin-bottom: 0.45rem; }
.form-group input, .form-group textarea {
    width: 100%; font-family: inherit; font-size: 0.97rem; color: var(--txt);
    background: rgba(0,0,0,.25); border: 1px solid var(--surface-brd); border-radius: var(--radius-sm);
    padding: 0.85em 1em; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,227,255,.15); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--txt-mute); }
.form-note { font-size: 0.8rem; color: var(--txt-mute); margin-top: 0.9rem; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 0.95rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.3rem; font-size: 0.93rem; border: 1px solid; }
.alert-success { background: rgba(34,227,255,.08); border-color: rgba(34,227,255,.35); color: var(--cyan-soft); }
.alert-error { background: rgba(225,29,72,.1); border-color: rgba(225,29,72,.4); color: #ff8da6; }

/* ---------- 11b. CGV ---------------------------------------------- */
.cgv-body { padding-bottom: clamp(50px, 8vw, 90px); }
.cgv-body .article-body h2 { margin-top: 2.8rem; }
.cgv-back { margin-top: 3rem; border-top: 1px solid var(--surface-brd); padding-top: 1.8rem; }

/* ---------- 11c. Captcha téléphone -------------------------------- */
.phone-reveal { display: inline-flex; flex-direction: column; gap: 0.45rem; }
.phone-reveal-btn {
    font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
    color: var(--cyan); background: none; border: none; cursor: pointer;
    padding: 0; text-align: left;
    transition: color 0.2s;
}
.phone-reveal-btn:hover { color: var(--cyan-soft); }
.phone-challenge { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.challenge-question { font-size: 0.9rem; color: var(--txt-soft); }
.challenge-input {
    width: 64px; font-family: inherit; font-size: 0.95rem; color: var(--txt);
    background: rgba(0,0,0,.3); border: 1px solid var(--surface-brd);
    border-radius: var(--radius-sm); padding: 0.35em 0.6em;
    transition: border-color 0.2s;
}
.challenge-input:focus { outline: none; border-color: var(--cyan); }
.challenge-submit {
    font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
    color: #021018; background: var(--cyan); border: none; border-radius: 999px;
    padding: 0.35em 0.9em; cursor: pointer; transition: opacity 0.2s;
}
.challenge-submit:hover { opacity: 0.85; }
.challenge-error { font-size: 0.82rem; color: #ff8da6; }
.phone-number { font-family: var(--font-head); font-size: 1.05rem; color: var(--cyan); }
.phone-number:hover { color: var(--cyan-soft); }

/* ---------- 12. Footer -------------------------------------------- */
.site-footer { position: relative; border-top: 1px solid var(--surface-brd); background: var(--bg-soft); padding-top: clamp(50px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 3rem; }
.footer-logo { height: 38px; width: auto; margin-bottom: 1.1rem; }
.footer-tagline { color: var(--txt-soft); font-size: 0.95rem; max-width: 320px; margin-bottom: 1rem; }
.footer-sov { font-size: 0.88rem; color: var(--txt-mute); }
.footer-col h3 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--txt); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-hours { color: var(--txt-soft); font-size: 0.92rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.1rem; }
.footer-social a { font-size: 0.85rem; padding: 0.4em 0.9em; border-radius: 999px; border: 1px solid var(--surface-brd); }
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--surface-brd); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; align-items: center; color: var(--txt-mute); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--cyan); }

/* ---------- 13. Pages intérieures (blog, 404) --------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 60px; overflow: hidden; text-align: center; }
.page-hero .hero-bg .hero-glow-1 { top: -120px; left: 50%; transform: translateX(-50%); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.page-lead { color: var(--txt-soft); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }

.article-hero { position: relative; padding: calc(var(--header-h) + 60px) 0 30px; overflow: hidden; }
.article-hero-inner { max-width: 800px; }
.article-back { display: inline-block; color: var(--txt-soft); font-size: 0.9rem; margin-bottom: 1.4rem; }
.article-back:hover { color: var(--cyan); }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.article-tags li { font-size: 0.78rem; color: var(--cyan); padding: 0.3em 0.85em; border-radius: 999px; border: 1px solid rgba(34,227,255,.22); }
.article-title { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 1.2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; color: var(--txt-mute); font-size: 0.9rem; }
.article-body-wrap { max-width: 760px; padding-top: 1.4rem; padding-bottom: clamp(50px, 8vw, 90px); }
.article-body { font-size: 1.08rem; color: var(--txt-soft); }
.article-body h2 { font-size: 1.55rem; color: var(--txt); margin: 2.2rem 0 0.9rem; }
.article-body p { margin-bottom: 1.3rem; }
.article-body strong { color: var(--txt); }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-cta { margin-top: 2.6rem; padding: 2rem; border-radius: var(--radius); text-align: center; }
.article-cta h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.article-cta p { color: var(--txt-soft); margin-bottom: 1.4rem; }
.article-related { border-top: 1px solid var(--surface-brd); }
.article-related .section-title { font-size: 1.6rem; margin-bottom: 2rem; }

.error-page { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.error-inner { position: relative; z-index: 1; max-width: 560px; }
.error-code { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); font-weight: 700; line-height: 1; }
.error-title { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0.5rem 0 1rem; }
.error-text { color: var(--txt-soft); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 14. Back to top --------------------------------------- */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 80;
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.2rem; color: #021018; background: var(--grad-neon);
    box-shadow: var(--glow-cyan); opacity: 0; visibility: hidden;
    transform: translateY(14px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- 15. Animations ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.sov-card.reveal { transition-delay: calc(var(--i, 0) * 90ms); }

@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, 24px); } }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- 16. Responsive ---------------------------------------- */
@media (max-width: 980px) {
    .sov-inner, .contact-inner, .ai-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .ai-card:hover { transform: translateY(-3px); }
}

@media (max-width: 820px) {
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .hero { min-height: auto; padding-block: calc(var(--header-h) + 50px) 70px; }
    .hero-stats { gap: 1.6rem 2.4rem; }
}

@media (max-width: 560px) {
    :root { --header-h: 66px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .btn { width: 100%; }
    .nav-cta { width: auto; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ---------- 17. Accessibilité : préférences mouvement ------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

::selection { background: rgba(34,227,255,.3); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
