:root {
    --navy: #031B3A;
    --navy2: #062B57;
    --blue: #087FF5;
    --blue2: #28A9FF;
    --orange: #FF7900;
    --light: #F4F7FA;
    --white: #fff;
    --text: #172333;
    --muted: #68788A;
    --border: #DCE5EF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
}

/* NAVBAR */
.navbar {
    margin-top: 0;
    position: relative;
    top: 0;
    z-index: 100;
    background: rgba(3, 27, 58, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 21px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: white;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    color: white;
    font-size: 14px;
}

.nav-links a {
    opacity: 0.88;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--blue2);
    opacity: 1;
}

.nav-cta {
    padding: 10px 17px;
    background: var(--orange);
    border-radius: 6px;
    font-weight: 700;
    opacity: 1 !important;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.nav-cta:hover {
    background: #ff8d26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 121, 0, 0.3);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #02152F 0%,
        #063665 65%,
        #0759B8 100%
    );
    color: #fff;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 55px 24px 50px;
    text-align: center;
}

/* Titre */
.hero h1 {
    margin: 0 0 22px;
    font-size: 4.2rem;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2px;
}

/* Deuxième ligne */
.hero h1 span {
    display: block;
    margin-top: 5px;
    color: var(--blue2);
    font-size: 1em;
    font-weight: 800;
    line-height: 1.05;
}

/* Sous-titre */
.hero p {
    max-width: 760px;
    margin: 0 auto 38px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

/* Boutons */
.hero .btn {
    min-height: 54px;
}
/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    border-radius: 6px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:focus-visible {
    outline: 2px solid var(--blue2);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}

.btn-primary:hover {
    background: #ff8d26;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 121, 0, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    margin-left: 10px;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

section {
    padding: 75px 0;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-title .label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

.section-title h2 {
    font-size: 38px;
    line-height: 1.15;
    color: var(--navy);
    margin: 9px 0 12px;
    font-weight: 800;
}

.section-title p {
    color: var(--muted);
    margin: 0;
    font-size: 16px;
}

/* GRID & CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 5px 20px rgba(3, 27, 58, 0.05);
}

.card:hover {
    border-color: var(--blue2);
    box-shadow: 0 10px 30px rgba(3, 27, 58, 0.1);
}

.card h3 {
    color: var(--navy);
    margin: 0 0 9px;
    font-size: 19px;
    font-weight: 700;
}

.card p {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(8, 127, 245, 0.1);
    color: var(--blue);
    font-size: 25px;
    margin-bottom: 17px;
    transition: var(--transition);
}

.card:hover .icon {
    background: rgba(8, 127, 245, 0.15);
    transform: scale(1.05);
}

/* PROGRAM */
.program {
    background: white;
}

.program-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 45px;
}

.program-list {
    display: grid;
    gap: 13px;
}

.program-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: var(--light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.program-item:hover {
    border-color: var(--blue2);
    background: rgba(8, 127, 245, 0.05);
}

.num {
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.program-item strong {
    display: block;
    color: var(--navy);
    margin-bottom: 3px;
    font-weight: 600;
}

.program-item span {
    color: var(--muted);
    font-size: 14px;
}

/* INFO BOX */
.info-box {
    background: linear-gradient(145deg, #031B3A, #0759B8);
    color: white;
    border-radius: 12px;
    padding: 30px;
    height: max-content;
    box-shadow: 0 8px 24px rgba(3, 27, 58, 0.2);
}

.info-box h3 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
}

.info-row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info-row:last-child {
    border: 0;
}

.info-row strong {
    display: block;
    color: var(--blue2);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.info-row span {
    color: #E1EDF8;
    margin-top: 4px;
}

/* HIGHLIGHT SECTION */
.highlight {
    background: var(--navy);
    color: white;
}

.highlight .section-title h2 {
    color: white;
}

.highlight .section-title p {
    color: #C7D8E8;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blue2);
    transform: translateY(-4px);
}

.benefit strong {
    display: block;
    color: var(--blue2);
    margin-bottom: 7px;
    font-weight: 700;
}

.benefit span {
    color: #D2E0ED;
    font-size: 14px;
    line-height: 1.6;
}

/* APPROACH BUTTON */
.approach-button {
    text-align: center;
    margin-top: 40px;
}

.approach-button .btn {
    display: inline-flex;
}

/* CTA SECTION */
.cta {
    padding: 70px 0;
    background: white;
}

.cta-box {
    max-width: 1050px;
    margin: auto;
    padding: 45px 50px;
    border-radius: 12px;
    background: linear-gradient(120deg, #052650, #075FC0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 12px 36px rgba(3, 27, 58, 0.15);
    transition: var(--transition);
}

.cta-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(3, 27, 58, 0.2);
}

.cta-box h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 700;
}

.cta-box p {
    margin: 0;
    color: #D7E7F7;
    font-size: 16px;
}

/* MODULES */
.modules .module {
    margin-bottom: 60px;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.modules .module:hover {
    border-color: var(--blue2);
    box-shadow: 0 8px 20px rgba(8, 127, 245, 0.1);
}

.module h3 {
    margin-top: 0;
    color: var(--navy);
    font-weight: 700;
}

.module-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.module-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: var(--text);
    line-height: 1.6;
}

.module-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

/* MODULE CARD (Consolidated) */
.module-card {
    border: 1px solid var(--border);
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
    transition: var(--transition);
}

.module-card:hover {
    border-color: var(--blue2);
    box-shadow: 0 8px 20px rgba(8, 127, 245, 0.1);
}

.module-card h3 {
    margin-top: 0;
    color: var(--navy);
    font-weight: 700;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.module-card ul li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: var(--text);
    line-height: 1.6;
}

.module-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

.module-card .module-desc {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

/* FORM */
.form-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    margin: auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 127, 245, 0.1);
}

.form-group input:disabled,
.form-group select:disabled {
    background-color: var(--light);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-group.checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

/* CHIPS */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.chip {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.chip:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(8, 127, 245, 0.15);
    background: rgba(8, 127, 245, 0.03);
}

.chip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    accent-color: var(--blue);
    transition: var(--transition);
}

.chip input[type="checkbox"]:focus {
    outline: 2px solid var(--blue2);
    outline-offset: 2px;
}

.chip span {
    font-size: 15px;
    color: var(--text);
    user-select: none;
}

.chip input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--blue);
}

.full-width {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text);
}

.full-width:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 127, 245, 0.1);
}

/* RGPD */
.rgpd-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: var(--text);
    line-height: 1.4;
    transition: var(--transition);
}

.rgpd-label:hover span {
    color: var(--blue);
}

.rgpd-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    cursor: pointer;
    accent-color: var(--blue);
    flex-shrink: 0;
    transition: var(--transition);
}

.rgpd-label input[type="checkbox"]:focus {
    outline: 2px solid var(--blue2);
    outline-offset: 2px;
}

.rgpd-label span {
    display: block;
    font-size: 15px;
}

/* FOOTER */
footer {
    background: #02152D;
    color: #9FB3C7;
    padding: 45px 24px 20px;
}

/* Contenu principal du footer */
.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
    align-items: start;
}

/* Marque */
.footer-brand {
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Labels */
.footer-label {
    color: #FFFFFF;
    font-weight: 600;
}

/* Liens généraux */
.footer-inner a {
    color: var(--blue2);
    text-decoration: none;
    transition: var(--transition);
}

.footer-inner a:hover {
    color: var(--orange);
}

/* Liens légaux */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: #FFFFFF;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-links a.active {
    color: var(--orange);
    font-weight: 700;
}

/* Ligne copyright */
.footer-bottom {
    max-width: 1000px;
    margin: 35px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    color: #7F94A8;
    font-size: 13px;
}

/* Responsive */ 
@media (max-width: 768px) {

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 16px;
        font-size: 12px;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 850px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .grid,
    .benefits {
        grid-template-columns: 1fr 1fr;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .grid,
    .benefits {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        padding: 65px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

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

    .btn-secondary {
        margin: 10px 0 0 0;
    }

    .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .cta-box h2 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .nav-container {
        min-height: 60px;
        padding: 0 16px;
    }

    .program-item {
        padding: 14px;
    }

    .form-card {
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
