:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #d9f99d;
    --accent-strong: #bef264;
    --bg: #f4f7f6;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-soft: #e2e8f0;
    --card-bg: #ffffff;
}

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.hero-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 35rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    color: #475569;
    background-color: #e2e8f0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: var(--primary);
    color: var(--accent);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    cursor: pointer;
    font-size: 0.9rem;
    background-color: #fff;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #cbd5f1;
}

.btn-primary span.icon,
.btn-secondary span.icon {
    margin-left: 0.4rem;
    font-size: 1rem;
}

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

/* Slideshow modal */
.example-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1200;
}

.example-modal.is-open {
    display: flex;
}

.example-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: min(960px, 95vw);
    max-height: 90vh;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: grid;
    gap: 1rem;
}

.example-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 1.25rem;
    cursor: pointer;
}

.example-modal-body {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.example-nav {
    border: none;
    background: #0f172a;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.2rem;
}

.example-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
}

#example-slide-image {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 10px;
    object-fit: contain;
}

.example-slide-empty {
    color: var(--text-muted);
    display: none;
}

.example-modal-footer {
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: radial-gradient(circle at top left, #1d2842 0, #020617 65%);
    border-radius: 18px;
    padding: 1.4rem 1.3rem;
    color: #e5e7eb;
    box-shadow: 0 18px 40px rgba(15,23,42,0.45);
    min-height: 220px;
}

.hero-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: #cbd5f5;
}

.hero-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.hero-card-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background-color: rgba(15,23,42,0.8);
    border: 1px solid rgba(148,163,184,0.8);
}

.hero-card-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.hero-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(15,23,42,0.8);
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(51,65,85,0.9);
}

.hero-step-main {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-step-index {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent);
}

.hero-step-text {
    font-size: 0.8rem;
}

.hero-step-label {
    font-weight: 600;
}

.hero-step-desc {
    font-size: 0.75rem;
    color: #9ca3af;
}

.hero-step-tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background-color: rgba(34,197,94,0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34,197,94,0.4);
}

/* SECTION ETAPES */
.section {
    margin-bottom: 2.5rem;
}

.section-header {
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: baseline;
}

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

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.card-step {
    background-color: var(--card-bg);
    border-radius: 14px;
    padding: 1.2rem 1.1rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 20px rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-step-index {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-step-title {
    font-size: 1rem;
    font-weight: 600;
}

.card-step-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-step-footer {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* POUR QUI */
.audience-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1.1rem;
    align-items: start;
}

.audience-card {
    background-color: var(--card-bg);
    border-radius: 14px;
    padding: 1.1rem 1rem;
    border: 1px solid var(--border-soft);
}

.audience-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.audience-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.audience-list span.bullet {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background-color: rgba(34,197,94,0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #16a34a;
}

.info-card {
    background-color: #e0f2fe;
    border-radius: 14px;
    padding: 1rem 1rem;
    border: 1px solid #bae6fd;
    font-size: 0.88rem;
    color: #0c4a6e;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-card img {
    flex-shrink: 0;
}

.info-card-text {
    flex: 1;
}

.info-card strong {
    display: block;
    margin-bottom: 0.2rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 720px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
