@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/ibm-plex-sans.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/ibm-plex-sans.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/ibm-plex-sans.woff2') format('woff2');
}
@font-face {
    font-family: 'Share Tech Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/share-tech-mono.woff2') format('woff2');
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/space-grotesk.woff2') format('woff2');
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/space-grotesk.woff2') format('woff2');
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/space-grotesk.woff2') format('woff2');
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/space-grotesk.woff2') format('woff2');
}

:root {
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-mid: #2a2a2a;
    --green: #068a41;
    --green-light: #0abf58;
    --green-dark: #046b32;
    --green-glow: rgba(6, 138, 65, 0.4);
    --white: #f5f5f5;
    --white-pure: #ffffff;
    --gray: #3a3a3a;
    --gray-light: #4a4a4a;
    --gray-mid: #888;
    --font-mono: 'Share Tech Mono', 'Courier New', monospace;
    --font-heading: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--white);
    background:
        radial-gradient(ellipse 80% 50% at 15% 15%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 60% 45% at 80% 55%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 45% 90%, rgba(255, 255, 255, 0.05) 0%, transparent 45%),
        var(--black);
    overflow-x: hidden;
    cursor: crosshair;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.04) 50px,
            rgba(255, 255, 255, 0.04) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.04) 50px,
            rgba(255, 255, 255, 0.04) 51px
        );
    pointer-events: none;
    z-index: 9999;
}

main {
    position: relative;
}

main::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 0;
}

/* ==================== SKIP LINK ==================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--green);
    color: var(--white-pure);
    padding: 0.8rem 1.5rem;
    z-index: 10000;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* ==================== UTILITY CLASSES ==================== */
.text-green { color: var(--green-light); }
.text-white { color: var(--white); }

/* ==================== HEADER ==================== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 138, 65, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    color: var(--green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 2px;
}

.logo-img {
    height: 1.6rem;
    width: auto;
    object-fit: contain;
    margin-left: 8px;
    filter: drop-shadow(0 0 6px var(--green-glow));
    transition: filter 0.3s ease;
    vertical-align: middle;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 12px var(--green-glow));
}

.logo-bracket {
    color: var(--green-light);
    opacity: 0.6;
}

.logo-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--green);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    vertical-align: middle;
}

@keyframes blink {
    50% { opacity: 0; }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    box-shadow: 0 0 10px var(--green-glow);
    transition: width 0.3s ease;
}

nav ul li a:hover { color: var(--green-light); }
nav ul li a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--green);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(6, 138, 65, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 138, 65, 0.05) 0%, transparent 60%),
        var(--black);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(6, 138, 65, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 138, 65, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-classification {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #cc0000;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding: 0.4rem 1.5rem;
    border: 1px solid rgba(204, 0, 0, 0.4);
    display: inline-block;
    text-shadow: 0 0 15px rgba(204, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: var(--white-pure);
    margin-bottom: 0.5rem;
    letter-spacing: 8px;
    text-shadow: 0 0 40px var(--green-glow);
    line-height: 1.1;
}

.hero-title .green { color: var(--green-light); }

.hero-subtitle-line {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gray-mid);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.hero-typewriter {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    color: var(--green-light);
    margin-bottom: 3rem;
    min-height: 2.5rem;
}

.hero-typewriter .typed-text {
    border-right: 2px solid var(--green);
    padding-right: 4px;
    animation: blink 0.8s step-end infinite;
}

.hero-cta {
    display: inline-block;
    background: transparent;
    color: var(--green-light);
    padding: 1rem 2.5rem;
    border: 2px solid var(--green);
    border-radius: 0;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--green);
    transition: left 0.4s ease;
    z-index: -1;
}

.hero-cta:hover::before { left: 0; }
.hero-cta:hover { color: var(--black); }

/* ==================== SECTIONS ==================== */
.section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-dark {
    background:
        radial-gradient(ellipse 70% 50% at 80% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 55%),
        var(--black);
    overflow-x: hidden;
}
.section-darker {
    background:
        radial-gradient(ellipse 70% 50% at 20% 70%, rgba(255, 255, 255, 0.035) 0%, transparent 55%),
        rgba(5, 5, 5, 1);
    overflow-x: hidden;
}

.section-full {
    max-width: 100%;
    padding: 6rem 5%;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: var(--font-mono);
    font-size: 6rem;
    color: rgba(6, 138, 65, 0.03);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 15px;
    text-transform: uppercase;
    z-index: 0;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #cc0000;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(204, 0, 0, 0.06);
    border: 1px solid rgba(204, 0, 0, 0.25);
    border-radius: 3px;
    text-align: center;
    width: auto;
}

.section-label-wrap {
    text-align: center;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--white-pure);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 3px;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: var(--green);
    margin: 0 auto 3rem;
    box-shadow: 0 0 15px var(--green-glow);
}

h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--green-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #ccc;
    line-height: 1.8;
}

/* ==================== A PROPOS ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text p { text-align: justify; }

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: rgba(6, 138, 65, 0.05);
    border: 1px solid rgba(6, 138, 65, 0.15);
    border-left: 3px solid var(--green);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    background: rgba(6, 138, 65, 0.1);
    border-left-width: 6px;
    transform: translateX(5px);
}

.highlight-card strong {
    color: var(--green-light);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.3rem;
}

.highlight-card span {
    color: #bbb;
    font-size: 0.95rem;
}

/* ==================== POURQUOI SCORCYBER ==================== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid rgba(6, 138, 65, 0.15);
    background: rgba(6, 138, 65, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    border-color: var(--green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 138, 65, 0.1);
}

.trust-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    color: var(--green-light);
    font-weight: 700;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-mid);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.certifications-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(6, 138, 65, 0.2);
    border-radius: 8px;
    background: rgba(6, 138, 65, 0.05);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(6, 138, 65, 0.15);
}

.cert-badge svg { flex-shrink: 0; }

.cert-badge .cert-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 1px;
}

.cert-badge .cert-sub {
    font-size: 0.7rem;
    color: var(--gray-mid);
    display: block;
}

.frameworks-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.framework-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gray-mid);
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.framework-tag:hover {
    color: var(--green-light);
    border-color: rgba(6, 138, 65, 0.3);
}

/* ==================== SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(6, 138, 65, 0.12);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(6, 138, 65, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
    border-color: var(--green);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(6, 138, 65, 0.08);
}

.service-dossier {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: #cc0000;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--green);
}

.service-card h3 {
    color: var(--white-pure);
    margin-top: 0;
    font-size: 1.2rem;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ==================== METHODOLOGIE ==================== */
.methodology-content { margin-top: 2rem; }
.methodology-content > p { text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Échelle de maturité horizontale : Niveau 1 → 5 (gauche → droite) */
.maturity-gauge {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3.5rem;
    position: relative;
}

/* Ligne de progression reliant les points (rouge → lila) */
.maturity-gauge::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: calc(3rem + 7.5px);
    height: 3px;
    background: linear-gradient(90deg, #cc0000, #e67e22, #f1c40f, #2ecc71, #b57edc);
    border-radius: 3px;
    z-index: 0;
}

.level-card {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.3rem;
    background: none;
    border: none;
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-6px);
}

/* Titre au-dessus du point */
.level-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-5 h4 { color: #b57edc; }
.level-4 h4 { color: #2ecc71; }
.level-3 h4 { color: #f1c40f; }
.level-2 h4 { color: #e67e22; }
.level-1 h4 { color: #cc0000; }

/* Point représentant le niveau */
.level-dot {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid;
    background: var(--black);
}

.level-5 .level-dot { border-color: #b57edc; box-shadow: 0 0 10px rgba(181, 126, 220, 0.4); }
.level-4 .level-dot { border-color: #2ecc71; }
.level-3 .level-dot { border-color: #f1c40f; }
.level-2 .level-dot { border-color: #e67e22; }
.level-1 .level-dot { border-color: #cc0000; box-shadow: 0 0 10px rgba(204, 0, 0, 0.3); }

/* Résumé sous le point */
.level-urgency {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 0.9rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
}

.level-1 .level-urgency { background: rgba(204, 0, 0, 0.15); color: #cc0000; }
.level-2 .level-urgency { background: rgba(230, 126, 34, 0.15); color: #e67e22; }
.level-3 .level-urgency { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.level-4 .level-urgency { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.level-5 .level-urgency { background: rgba(181, 126, 220, 0.15); color: #b57edc; }

/* Domains 3x3 grid */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.domain-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(6, 138, 65, 0.12);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.domain-item:hover {
    border-color: var(--green);
    background: rgba(6, 138, 65, 0.05);
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(6, 138, 65, 0.1);
}

.domain-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.8rem;
    color: var(--green);
}

.domain-item strong {
    font-family: var(--font-mono);
    color: var(--white);
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.domain-item span {
    color: var(--gray-mid);
    font-size: 0.85rem;
}

/* Approach */
.approach-list {
    list-style: none;
    margin: 1.5rem 0;
}

.approach-list li {
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--green);
    color: #bbb;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.approach-list li:hover {
    border-left-width: 4px;
    background: rgba(6, 138, 65, 0.03);
    padding-left: 2rem;
}

.approach-list li strong { color: var(--green-light); }

/* ==================== CONTACT ==================== */
.contact-box {
    text-align: center;
    padding: 4rem 3rem;
    border: 1px solid rgba(6, 138, 65, 0.2);
    border-radius: 8px;
    background: rgba(6, 138, 65, 0.03);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: 'CONFIDENTIEL';
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(204, 0, 0, 0.25);
    letter-spacing: 3px;
    border: 1px solid rgba(204, 0, 0, 0.2);
    padding: 0.2rem 0.6rem;
    transform: rotate(0deg);
}

.contact-box h3 {
    font-family: var(--font-heading);
    color: var(--white-pure);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-box p { color: #bbb; text-align: center; }

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(6, 138, 65, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 15px rgba(6, 138, 65, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #cc0000;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23068a41' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--black-light);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    display: inline-block;
    background: var(--green);
    color: var(--white-pure);
    padding: 1rem 2.5rem;
    margin-top: 0.5rem;
    border-radius: 0;
    border: 2px solid var(--green);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
}

.form-submit:hover {
    background: transparent;
    color: var(--green-light);
    box-shadow: 0 0 30px var(--green-glow);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-notice {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 1.5rem;
}

/* Champ piege anti-bot : hors ecran, jamais rempli par un humain */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Message d'erreur d'envoi du formulaire */
.form-error {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #cc0000;
    text-align: center;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(204, 0, 0, 0.4);
    border-radius: 4px;
    background: rgba(204, 0, 0, 0.08);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.visible {
    display: block;
}

.form-success p {
    color: var(--green-light);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    text-align: center;
}

/* ==================== FOOTER ==================== */
footer {
    background: rgba(5, 5, 5, 1);
    border-top: 1px solid rgba(6, 138, 65, 0.15);
    padding: 4rem 5% 2rem;
}

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

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--green-light); }

.footer-col p {
    color: var(--gray-mid);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-legal {
    margin-top: 1rem;
    font-size: 0.8rem;
}

.footer-legal a {
    color: var(--gray-mid);
    text-decoration: none;
}

.footer-legal a:hover { color: var(--green-light); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #555;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-align: center;
    letter-spacing: 1px;
}

.footer-secure {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* ==================== SUBPAGE HERO ==================== */
.hero-subpage {
    min-height: 60vh;
    padding-top: 10rem;
}

.hero-intro {
    font-size: 1.15rem;
    color: #bbb;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================== SECTION CTA ==================== */
.section-cta-wrap {
    text-align: center;
    margin-top: 3rem;
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px) rotate(-0.5deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .about-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .domains-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

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

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 5rem 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(6, 138, 65, 0.2);
    }

    nav.open { right: 0; }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    nav ul li a { font-size: 1.1rem; }

    .hero-title { font-size: 2.8rem; letter-spacing: 4px; }
    .hero-subpage { min-height: 50vh; padding-top: 8rem; }
    .hero-typewriter { font-size: 1.1rem; }
    h2 { font-size: 2rem; }
    .section { padding: 4rem 5%; }
    .services-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .domains-grid { grid-template-columns: 1fr; }
    .maturity-gauge { flex-direction: column-reverse; align-items: stretch; gap: 1.5rem; }
    .maturity-gauge::before { display: none; }
    .level-card { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; text-align: left; padding: 0.5rem 0; }
    .level-card h4 { height: auto; order: 2; }
    .level-dot { order: 1; flex-shrink: 0; }
    .level-urgency { order: 3; margin-top: 0; margin-left: auto; }
    .certifications-bar { flex-direction: column; align-items: center; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .trust-grid { grid-template-columns: 1fr; }
}

/* ==================== PAGES LEGALES ==================== */
.legal-content {
    max-width: 850px;
    margin: 0 auto;
}

.legal-content h2 { text-align: left; margin-top: 3.5rem; }
.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white-pure);
    margin-top: 2rem;
}

.legal-content p,
.legal-content li { text-align: left; }

.legal-content ul,
.legal-content ol {
    margin: 0 0 1.5rem 1.5rem;
    color: #ccc;
}

.legal-content li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.legal-content li::marker { color: var(--green-light); }

.legal-content a { color: var(--green-light); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--white-pure); }

.legal-updated {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--gray-mid);
    text-align: center;
    margin-bottom: 3rem;
}

.legal-placeholder {
    background: rgba(255, 174, 0, 0.08);
    border: 1px dashed rgba(255, 174, 0, 0.5);
    color: #ffae00;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    white-space: nowrap;
}
