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

:root {
    --violet: #6e4990;
    --orange: #ed6b5f;
    --violet-fonce: #2f193a;
    --bleu: #69c4cf;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--violet-fonce);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--violet-fonce);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--violet);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-fonce) 100%);
    color: var(--blanc);
    text-align: center;
    padding: clamp(6.5rem, 12vh, 8rem) 2rem clamp(2rem, 6vh, 4rem);
    position: relative;
    overflow: hidden;
}

.data-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    will-change: transform, opacity;
}

.hero-logo {
    height: clamp(120px, 24vh, 240px);
    margin-bottom: clamp(1rem, 3vh, 2rem);
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: clamp(1.8rem, 2.2vw + 1.5vh, 3.5rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: clamp(1rem, 1vw + 0.8vh, 1.5rem);
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--orange);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 107, 95, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(237, 107, 95, 0.6);
    background: #e55a4d;
}

/* Stats Section */
.stats-section {
    padding: 6rem 2rem;
    background: var(--blanc);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--gris-clair);
    padding: 2.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-card p {
    flex: 1;
    line-height: 1.7;
}

.stat-source {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
}

/* Audit Section */
.audit {
    padding: 6rem 2rem;
    background: var(--gris-clair);
    position: relative;
    overflow: hidden;
}

.audit-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    text-align: center;
    line-height: 1.8;
}

.audit-subtitle {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--violet);
    margin: 4rem 0 2rem;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.phase-card {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.phase-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--orange));
    color: var(--blanc);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.phase-card h4 {
    color: var(--violet);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.phase-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.axes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.axe-card {
    background: var(--blanc);
    padding: 1.75rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--bleu);
}

.axe-card h4 {
    color: var(--violet);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.axe-card p {
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.85;
    line-height: 1.6;
}

.deliverables {
    background: var(--blanc);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.deliverables ul {
    list-style: none;
}

.deliverables li {
    padding: 0.9rem 0 0.9rem 2rem;
    position: relative;
    line-height: 1.7;
}

.deliverables li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.audit-cta {
    text-align: center;
    margin-top: 4rem;
}

.audit-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    opacity: 0.85;
}

/* Souveraineté */
.souverainete {
    padding: 5rem 2rem;
    background: var(--violet-fonce);
    color: var(--blanc);
    text-align: center;
}

.souverainete h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.souverainete p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* Ressources */
.ressources {
    padding: 6rem 2rem;
    background: var(--blanc);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.resource-card {
    background: var(--gris-clair);
    padding: 2.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.resource-tag {
    align-self: flex-start;
    background: var(--bleu);
    color: var(--blanc);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.resource-card h3 {
    color: var(--violet);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.resource-meta {
    font-size: 0.85rem;
    opacity: 0.65;
    margin-bottom: 1rem;
}

.resource-card > p:not(.resource-meta) {
    flex: 1;
    line-height: 1.7;
}

.resource-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
}

.resource-link:hover {
    text-decoration: underline;
}

.resource-source {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
    font-style: italic;
}

.data-network-features {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--violet-fonce);
    margin-bottom: 4rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bleu) 0%, var(--violet) 100%);
    color: var(--blanc);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--blanc);
    color: var(--violet);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: var(--violet-fonce);
    color: var(--blanc);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

footer p {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-section h2,
    .souverainete h2 {
        font-size: 2rem;
    }

    .deliverables {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

}

/* Écrans peu hauts (petits portables, tablettes en paysage) */
@media (max-height: 700px) {
    .hero-logo {
        height: 110px;
        margin-bottom: 0.75rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
}

/* ===== Page Veille ===== */
.page-header {
    padding: 140px 0 60px;
    background: var(--gris-clair);
    text-align: center;
}
.page-header h1 {
    color: var(--violet);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
.page-header p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--violet-fonce);
}
.veille {
    padding: 60px 0 100px;
}
.veille-filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.veille-chip {
    border: 1px solid var(--violet);
    background: transparent;
    color: var(--violet);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.veille-chip:hover { background: rgba(110, 73, 144, 0.08); }
.veille-chip.actif { background: var(--violet); color: var(--blanc); }
.veille-voir-plus {
    display: block;
    margin: 2rem auto 0;
    padding: 0.75rem 2rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--violet);
    background: transparent;
    border: 2px solid var(--violet);
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.veille-voir-plus:hover {
    background: var(--violet);
    color: var(--blanc);
}
.veille-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.veille-carte {
    display: flex;
    flex-direction: column;
    background: var(--blanc);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.veille-carte:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.veille-carte-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}
.veille-source { color: var(--orange); font-weight: 600; }
.veille-carte-meta time { color: #999; }
.veille-carte h2 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 0.6rem; }
.veille-carte h2 a { color: var(--violet-fonce); text-decoration: none; }
.veille-carte h2 a:hover { color: var(--violet); }
.veille-resume { font-size: 0.92rem; color: #555; flex-grow: 1; margin-bottom: 1rem; }
.veille-themes { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.veille-themes li {
    font-size: 0.72rem;
    background: var(--gris-clair);
    color: var(--violet);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.veille-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bleu);
    border: 1px solid var(--bleu);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}
.veille-erreur { text-align: center; color: #999; padding: 2rem; }
@media (max-width: 600px) {
    .veille-grid { grid-template-columns: 1fr; }
}

/* ===== Page synthèse (article) ===== */
.synthese { padding: 140px 0 100px; }
.synthese .container { max-width: 760px; }
.synthese-retour { display: inline-block; margin-bottom: 2rem; color: var(--violet); text-decoration: none; font-size: 0.9rem; }
.synthese-retour:hover { text-decoration: underline; }
.synthese-source { color: var(--orange); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.5rem; }
.synthese h1 { color: var(--violet); font-size: 2rem; line-height: 1.25; margin-bottom: 1.25rem; }
.synthese-themes { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2.5rem; }
.synthese-themes li { font-size: 0.72rem; background: var(--gris-clair); color: var(--violet); padding: 0.2rem 0.6rem; border-radius: 4px; }
.synthese h2 { color: var(--violet-fonce); font-size: 1.35rem; margin: 2.5rem 0 1rem; }
.synthese h3 { color: var(--violet-fonce); font-size: 1.1rem; margin: 1.8rem 0 0.8rem; }
.synthese p { margin-bottom: 1.2rem; }
.synthese ul:not(.synthese-themes) { margin: 0 0 1.2rem 1.2rem; }
.synthese ul:not(.synthese-themes) li { margin-bottom: 0.5rem; }
.synthese-origine { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #eee; }
.synthese-origine a { color: var(--violet); font-weight: 600; text-decoration: none; }
.synthese-origine a:hover { text-decoration: underline; }
.synthese table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 0.9rem; }
.synthese th, .synthese td { border: 1px solid #e5e5e5; padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
.synthese th { background: var(--gris-clair); color: var(--violet); }
.ressources-veille-cta { text-align: center; margin-top: 3rem; }
