:root {
    --navy: #06163A;
    --dark: #020B22;
    --blue: #0066C9;
    --light-blue: #0A8DFF;
    --yellow: #FFD000;
    --white: #FFFFFF;
    --soft: #F4F7FB;
    --text: #0B1736;
    --muted: #65708A;
    --border: #E3E9F4;
    --shadow: 0 18px 45px rgba(2, 11, 34, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--soft);
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.header {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--navy);
    min-width: 280px;
}

.brand img {
    height: 68px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.brand strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}

.brand span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1;
}

.menu a {
    color: var(--navy);
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-phone {
    background: var(--blue);
    color: var(--white);
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.hero {
    background:
        linear-gradient(110deg, rgba(2,11,34,.98), rgba(6,22,58,.92), rgba(0,102,201,.45)),
        var(--navy);
    color: var(--white);
    padding: 95px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    display: inline-block;
    background: rgba(255, 208, 0, .14);
    color: var(--yellow);
    border: 1px solid rgba(255, 208, 0, .4);
    padding: 8px 14px;
    border-radius: 30px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: .95;
    text-transform: uppercase;
    margin: 22px 0;
}

.hero h1 strong {
    color: var(--light-blue);
}

.hero p {
    max-width: 620px;
    font-size: 21px;
    line-height: 1.55;
    color: #EAF2FF;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--light-blue);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.full {
    width: 100%;
}

.hero-card {
    background: var(--white);
    color: var(--text);
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 25px 70px rgba(0,0,0,.28);
    border-top: 8px solid var(--yellow);
}

.hero-card h2 {
    margin-top: 0;
    color: var(--navy);
    font-size: 30px;
}

.stats {
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.stats-grid div {
    padding: 28px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stats-grid div:last-child {
    border-right: none;
}

.stats-grid strong {
    display: block;
    color: var(--blue);
    font-size: 34px;
    font-weight: 950;
}

.stats-grid span {
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 38px;
}

.section-title span {
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
}

.section-title h2 {
    color: var(--navy);
    font-size: 42px;
    margin: 8px 0 0;
    text-transform: uppercase;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.formation-card {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.formation-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.formation-body {
    padding: 28px;
}

.badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    padding: 7px 13px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 13px;
}

.formation-card h3 {
    color: var(--navy);
    font-size: 25px;
    margin: 18px 0 10px;
}

.formation-card p {
    color: var(--muted);
    line-height: 1.55;
}

.formation-bottom {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.formation-bottom strong {
    color: var(--blue);
    font-size: 22px;
}

.formation-bottom a {
    color: var(--navy);
    font-weight: 900;
}

.cta {
    background: var(--navy);
    color: var(--white);
    padding: 70px 0;
}

.cta-box {
    text-align: center;
}

.cta h2 {
    font-size: 38px;
    margin: 0 0 12px;
}

.page-hero {
    background:
        linear-gradient(110deg, rgba(2,11,34,.98), rgba(6,22,58,.92), rgba(0,102,201,.55)),
        var(--navy);
    color: var(--white);
    padding: 80px 0;
}

.page-hero h1 {
    font-size: 54px;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.page-hero p {
    font-size: 20px;
    color: #EAF2FF;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.detail-content,
.inscription-box,
.contact-card,
.merci-box {
    background: var(--white);
    border-radius: 22px;
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.detail-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 28px;
}

.detail-content h2 {
    color: var(--navy);
    margin-top: 30px;
}

.detail-content p {
    line-height: 1.75;
    color: var(--muted);
}

.inscription-box {
    position: sticky;
    top: 105px;
}

.inscription-box h2 {
    color: var(--navy);
    margin-top: 0;
}

.info-line {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.info-line span {
    color: var(--muted);
}

.info-line strong {
    color: var(--blue);
}

.form {
    margin-top: 22px;
}

.form p {
    margin: 0 0 15px;
}

.form label {
    display: block;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 7px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    outline: none;
}

.form textarea {
    min-height: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 32px;
}

.contact-card h2 {
    color: var(--navy);
    margin-top: 0;
}

.merci {
    padding: 100px 0;
}

.merci-box {
    max-width: 720px;
    text-align: center;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 42px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
}

.footer h3,
.footer h4 {
    margin-top: 0;
    color: var(--white);
}

.footer p {
    color: #C9D4EA;
}

@media (max-width: 950px) {
    .nav {
        padding: 18px 0;
        flex-direction: column;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid,
    .cards-grid,
    .stats-grid,
    .detail-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        margin-top: 0;
    }

    .inscription-box {
        position: static;
    }
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    background: #25D366;
    color: white;
    padding: 15px 22px;
    border-radius: 50px;
    font-weight: 900;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.dashboard-filter {
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.dashboard-filter input,
.dashboard-filter select {
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 14px;
}

.dashboard-block {
    background: white;
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.dashboard-block h2 {
    color: var(--navy);
    margin-top: 0;
}

.table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.dashboard-table th {
    color: var(--navy);
    background: var(--soft);
}

.status {
    background: var(--yellow);
    color: var(--dark);
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 12px;
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.actions a {
    background: var(--blue);
    color: white;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.about-block {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.about-block h2 {
    color: var(--navy);
    margin-top: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-card {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    border-top: 5px solid var(--blue);
}

.about-card h3 {
    margin-top: 0;
    color: var(--navy);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tags span {
    background: var(--yellow);
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 900;
}

.highlight {
    border-left: 6px solid var(--yellow);
}

.form-container {
    max-width: 700px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.price-box {
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: red;
    margin-right: 10px;
}

.new-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--yellow);
}

.price-big {
    font-size: 36px;
    font-weight: 900;
    color: var(--blue);
}

.center {
    text-align: center;
    margin-top: 30px;
}

.paiement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}


.btn-small {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    background: var(--navy);
    color: white;
}

.btn-small.primary {
    background: var(--blue);
}


.brand img {
    height: 55px;
    width: auto;
}

.legal {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.legal h2 {
    margin-top: 30px;
    color: var(--navy);
}

.legal ul {
    padding-left: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #C9D4EA;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    font-size: 13px;
    color: #C9D4EA;
}