* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background: #f8f9fb;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

/* Header */
header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e4e9;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.header-text h1 {
    font-size: 1.3em;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.header-text h1 span { color: #cc0000; }
.header-text .tagline {
    font-size: 0.85em;
    color: #4a4a4a;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    text-align: center;
}
.hero h2 {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.hero h2 .red { color: #cc0000; }
.hero p {
    color: #2e2e2e;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 8px;
}
.hero .punch {
    font-size: 0.95em;
    color: #555;
    font-style: italic;
}

/* Grille enquêtes */
.investigations {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border: 1px solid #e8eaef;
    border-radius: 12px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    border-radius: 12px 0 0 12px;
    transition: width 0.25s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    text-decoration: none;
    border-color: #d0d3da;
}
.card:hover::before { width: 6px; }

.card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.8em;
}
.card-body h3 {
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 4px;
}
.card-body .domain {
    font-size: 0.9em;
    color: #4a4a4a;
    font-family: monospace;
    margin-bottom: 6px;
}
.card-body .desc {
    font-size: 0.9em;
    color: #2e2e2e;
    line-height: 1.5;
}

/* Couleurs par site */
.card-ftv::before { background: #cc0000; }
.card-ftv .card-icon { background: #fff0f0; }
.card-ftv:hover { border-color: #ffcccc; }

.card-jms::before { background: #d47500; }
.card-jms .card-icon { background: #fff8f0; }
.card-jms:hover { border-color: #ffe0c0; }

.card-bilan2027::before { background: #4a148c; }
.card-bilan2027 .card-icon { background: #f8f0ff; }
.card-bilan2027:hover { border-color: #e0ccff; }

.card-canicule::before { background: #e65100; }
.card-canicule .card-icon { background: #fff5f0; }
.card-canicule:hover { border-color: #ffe0cc; }
.card-retraite::before { background: #7b1fa2; }
.card-retraite .card-icon { background: #f8f0ff; }
.card-retraite:hover { border-color: #e0ccff; }

.card-grece::before { background: #0d47a1; }
.card-grece .card-icon { background: #eef3fb; }
.card-grece:hover { border-color: #c5d5ee; }

.card-petit-remplacement::before { background: #00897b; }
.card-petit-remplacement .card-icon { background: #e0f2f1; }
.card-petit-remplacement:hover { border-color: #b2dfdb; }
.card-conseil::before { background: #1e3a8a; }
.card-conseil .card-icon { background: #eef2fb; }
.card-conseil:hover { border-color: #c5d0ee; }
.card-cuba::before { background: #0e7490; }
.card-cuba .card-icon { background: #e6f3f6; }
.card-cuba:hover { border-color: #b9e0e8; }
.badge-new {
    position: absolute; top: 14px; right: 14px;
    background: #c0392b; color: #fff;
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 3px 10px; border-radius: 999px;
    box-shadow: 0 2px 6px rgba(192,57,43,0.3);
}



/* Estampille OI sur chaque carte */
.oi-stamp {
    position: absolute;
    top: 14px;
    right: 14px;
    opacity: 0.12;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

/* Footer */
footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e4e9;
    padding: 40px 24px;
    text-align: center;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
footer nav {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
footer nav a {
    color: #2e2e2e;
    text-decoration: none;
    font-size: 0.9em;
}
footer nav a:hover { color: #cc0000; }
footer .copy {
    color: #555;
    font-size: 0.9em;
    margin-top: 12px;
}

@media (max-width: 720px) {
    .investigations { grid-template-columns: 1fr; }
    .hero h2 { font-size: 1.875em; }
    .header-text h1 { font-size: 1.1em; }
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 2px solid #cc0000;
    padding: 14px 24px;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
.cookie-banner.is-hidden { display: none; }
.cookie-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-banner-text {
    flex: 1;
    min-width: 250px;
    margin: 0;
    font-size: 13px;
    color: #4a4a4a;
}
.cookie-banner-link { color: #cc0000; text-decoration: underline; }
.cookie-banner-btn {
    padding: 8px 20px;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
