:root {
    --bg: #f3f4f6;
    --bg-alt: #ffffff;
    --card: #ffffff;
    --accent: #16a34a;
    --accent-soft: rgba(22, 163, 74, 0.08);
    --accent-2: #2563eb;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --transition-fast: 0.25s ease;
    --max-width: 1200px;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #ffffff 0, #f3f4f6 45%, #e5e7eb 100%);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.page {
    min-height: 100vh;
}

.wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header / Navbar */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: conic-gradient(from 180deg, #16a34a, #2563eb, #a855f7, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #f9fafb, 0 8px 25px rgba(15, 23, 42, 0.15);
    font-size: 0.9rem;
    font-weight: 700;
    color: #f9fafb;
}

.nav-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.nav-sub {
    font-size: 0.75rem;
    color: var(--muted);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    gap: 0.9rem;
    font-size: 0.9rem;
}

.nav-links a {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    color: var(--muted);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    background: #e5f3ff;
    color: var(--accent-2);
    transform: translateY(-1px);
}

.nav-cta {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    color: #052e16;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-1px) translateX(1px);
    box-shadow: 0 14px 35px rgba(22, 163, 74, 0.45);
}

.nav-cta span {
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Hero */

.hero {
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 2rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: radial-gradient(circle at top left, var(--accent-soft), #ffffff 60%);
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.28);
}

.hero-title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.hero-highlight {
    background: linear-gradient(135deg, #16a34a, #2563eb, #a855f7);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 1.4rem;
}

.hero-subtitle strong {
    color: var(--text);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-meta strong {
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
}

.btn-primary,
.btn-ghost {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border var(--transition-fast);
}

.btn-primary {
    background: radial-gradient(circle at top left, #4ade80, #22c55e);
    color: #052e16;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px) translateX(1px);
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.45);
}

.btn-ghost {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--muted);
}

.btn-ghost:hover {
    background: #f3f4f6;
    color: var(--accent-2);
    transform: translateY(-1px) translateX(1px);
    border-color: #d1d5db;
}

.btn-primary svg,
.btn-ghost svg {
    width: 14px;
    height: 14px;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--muted);
}

.hero-note span {
    color: var(--accent);
    font-weight: 600;
}

.hero-right {
    position: relative;
}

.hero-card {
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    border-radius: 26px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 1.3rem 1.2rem 1.2rem;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 90% 0%, rgba(52, 211, 153, 0.2), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.hero-card>* {
    position: relative;
    z-index: 1;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
}

.hero-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.hero-pillars-item {
    padding: 0.55rem 0.6rem;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--muted);
}

.hero-pillars-item strong {
    display: block;
    font-size: 0.78rem;
    margin-bottom: 0.1rem;
    color: var(--accent);
}

.hero-timeline {
    margin-top: 0.4rem;
    border-radius: 16px;
    border: 1px dashed #bfdbfe;
    padding: 0.7rem 0.8rem;
    background: #eff6ff;
    font-size: 0.76rem;
    color: var(--muted);
}

.hero-timeline-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.hero-timeline-step {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbeafe;
}

.hero-orbit {
    position: absolute;
    inset: -15%;
    border-radius: 40px;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    transform: rotate(-8deg);
    pointer-events: none;
}

/* Sections */

section {
    padding: 3rem 0;
    scroll-margin-top: 80px;
}

.section-heading {
    text-align: left;
    margin-bottom: 1.9rem;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 620px;
}

/* Vision & chiffres clés */

.vision-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.card {
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.card>* {
    position: relative;
    z-index: 1;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.card p {
    font-size: 0.92rem;
    color: var(--muted);
}

.list {
    margin-top: 0.7rem;
    list-style: none;
}

.list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.list li span {
    margin-top: 0.15rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.6rem;
}

.number-card {
    background: #f9fafb;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 0.9rem;
    position: relative;
    overflow: hidden;
}

.number-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 55%);
}

.number-card strong {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 1.3rem;
    color: var(--text);
}

.number-card span {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.counter {
    font-variant-numeric: tabular-nums;
}

/* Piliers */

.pillars-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr);
    gap: 2rem;
    align-items: flex-start;
}

.pillars-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pillar-tab {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: border var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    text-align: left;
}

.pillar-tab small {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.pillar-tab strong {
    font-size: 0.9rem;
    color: var(--text);
}

.pillar-tab span {
    font-size: 0.8rem;
    color: var(--muted);
}

.pillar-tab.active {
    border-color: var(--accent);
    background: #f0fdf4;
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
}

.pillars-content {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow-soft);
    min-height: 220px;
}

.pillars-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.pillars-content .slogan {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.pillars-content p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Axes */

.axes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.axis-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 0.95rem;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.axis-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.13), transparent 55%);
    opacity: 0.75;
}

.axis-card>* {
    position: relative;
    z-index: 1;
}

.axis-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.4rem;
    color: #1d4ed8;
}

.axis-label span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.axis-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.axis-card ul {
    list-style: none;
}

.axis-card li {
    margin-bottom: 0.3rem;
    color: var(--muted);
}

.axis-card li::before {
    content: "• ";
    color: var(--accent);
}

/* Projets structurants */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 0.9rem;
    font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
}

.project-tag {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.project-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text);
}

.project-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.4rem;
}

.project-pill {
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--muted);
    background: #f9fafb;
}

/* Financement */

.finance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.finance-bars {
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.finance-row {
    font-size: 0.85rem;
}

.finance-row-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2rem;
    color: var(--muted);
}

.finance-bar-track {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

.finance-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #2563eb);
    width: 0;
    transition: width 1s ease-out;
}

.finance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.finance-table th,
.finance-table td {
    padding: 0.35rem 0.4rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.finance-table th {
    color: var(--muted);
    font-weight: 500;
}

.finance-table tr:last-child td {
    border-bottom: none;
}

/* Timeline */

.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.timeline-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 0.9rem;
    font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
}

.timeline-phase {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.timeline-period {
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.timeline-card ul {
    list-style: none;
}

.timeline-card li {
    margin-bottom: 0.3rem;
    color: var(--muted);
}

.timeline-card li::before {
    content: "› ";
    color: var(--accent);
}

/* FAQ */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: flex-start;
}

.faq-intro {
    font-size: 0.9rem;
    color: var(--muted);
}

.faq-intro p+p {
    margin-top: 0.7rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.faq-item {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-header {
    padding: 0.7rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    cursor: pointer;
}

.faq-question {
    font-size: 0.9rem;
    color: var(--text);
}

.faq-toggle {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--muted);
    flex-shrink: 0;
    background: #f9fafb;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 0.9rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.85rem;
    color: var(--muted);
    background: #f9fafb;
}

.faq-item.open .faq-body {
    padding-bottom: 0.7rem;
}

/* Footer */

footer {
    border-top: 1px solid var(--border);
    padding: 1.8rem 0 2rem;
    margin-top: 2rem;
    background: #f9fafb;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-inner a {
    color: var(--accent-2);
    font-weight: 500;
}

/* Animations d’apparition */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Responsive */

@media (max-width: 960px) {

    .hero-inner,
    .vision-grid,
    .pillars-layout,
    .finance-layout,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 2.4rem;
    }

    .hero-right {
        order: -1;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 1.5rem;
        left: 1.5rem;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid var(--border);
        flex-direction: column;
        padding: 0.7rem 0.7rem;
        margin-top: 0.4rem;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity var(--transition-fast), transform var(--transition-fast);
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 820px) {

    .axes-grid,
    .projects-grid,
    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .axes-grid,
    .projects-grid,
    .timeline,
    .numbers-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    header {
        top: 0;
    }
}
