/* ============================================================
   RESET & BASE
   ============================================================ */
.main {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-sec {
    position: relative;
    width: 100%;
    aspect-ratio: 2500 / 837;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(1.5rem, 3vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 0rem;
    text-shadow: 0 2px 30px rgba(3, 22, 52, 0.8);
}

.hero-title span {
    color: #0AAA66;
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 1024px) {
    .hero-sec {
        aspect-ratio: 16 / 7;
    }
    .hero-title {
        font-size: clamp(1.8rem, 4vw, 3.2rem);
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    .hero-sec {
        aspect-ratio: 16 / 9;
    }
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.4rem);
    }
}

@media (max-width: 640px) {
    .hero-sec {
        aspect-ratio: 4 / 3;
    }
    .hero-title {
        font-size: 1.7rem;
        line-height: 1.15;
        white-space: normal;
        padding: 0 4%;
    }
}

@media (max-width: 480px) {
    .hero-sec {
        aspect-ratio: 3 / 4;
    }
    .hero-title {
        font-size: 1.3rem;
        line-height: 1.2;
        text-shadow: 0 2px 20px rgba(3, 22, 52, 0.9);
    }
}

@media (max-width: 360px) {
    .hero-sec {
        aspect-ratio: 2 / 3;
    }
    .hero-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
}

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.sec {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 5vw;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.s1 {
    align-content: center;
    background: #ffffff;
}

.s2 {
    background: #f3f8f5;
}

.s3 {
    align-content: center;
    background: #031634;
}

/* --- RESPONSIVE SECTIONS --- */
@media (max-width: 768px) {
    .sec {
        padding: 20px 4vw;
    }
}

@media (max-width: 480px) {
    .sec {
        padding: 16px 3vw;
    }
}

/* ============================================================
   GRID FEATURE (Images + Texte)
   ============================================================ */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
}

.feature__media {
    flex: 1;
}

.feature__media img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(15, 79, 138, 0.12);
    object-fit: cover;
    box-shadow: 0 22px 50px rgba(15, 79, 138, 0.08);
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.feature__media:hover img {
    transform: scale(1.03);
}

.feature__content {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2.4rem;
}

.feature_bordure {
    border: 0.0625rem solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 1.125rem 3.125rem rgba(15, 79, 138, 0.06);
}

.feature__content h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.05;
    color: #031535;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.03em;
}

.feature__content h2 span {
    color: #0AAA66;
}

.feature__underline {
    width: 80px;
    height: 5px;
    border-radius: 999px;
    background: #0AAA66;
}

.feature__content p {
    margin: 0;
    color: #475569;
    font-size: clamp(1rem, 1.3vw, 1.05rem);
    line-height: 1.85;
    text-align: justify;
}

.feature__pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature__pill {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.12);
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
}

.feature__quote {
    margin: 0;
    padding: 1.4rem 1.6rem;
    border-left: 4px solid #0AAA66;
    background: #f8fbff;
    color: #0f172a;
    font-style: italic;
    border-radius: 16px;
}

.feature__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 8px;
    background: #0AAA66;
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 99px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(10, 184, 106, 0.3);
    transition: background 0.2s, transform 0.2s;
}

.feature__button:hover {
    background: #0AAA66;
    transform: translateY(-2px);
}

/* --- RESPONSIVE GRID --- */
@media (max-width: 1024px) {
    .grid {
        gap: 40px;
    }
    .feature__content {
        padding: 2rem;
    }
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feature__media img {
        max-height: 350px;
        object-fit: cover;
    }
}

@media (max-width: 640px) {
    .grid {
        gap: 24px;
    }
    .feature__content {
        padding: 1.5rem;
        gap: 1rem;
    }
    .feature__content h2 {
        font-size: 1.4rem;
    }
    .feature__content p {
        font-size: 0.95rem;
        text-align: left;
    }
    .feature__pill {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    .feature__button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    .feature__quote {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .grid {
        gap: 16px;
    }
    .feature__content {
        padding: 1rem;
    }
    .feature__media img {
        max-height: 250px;
        border-radius: 16px;
    }
    .feature__content h2 {
        font-size: 1.2rem;
    }
}

/* ============================================================
   STATISTIQUES (Chiffres)
   ============================================================ */
.stat-card {
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-6px);
    background: #0AAA66;
    border-color: #0AAA66;
}

.stat-card:hover .stat-card__number,
.stat-card:hover h4,
.stat-card:hover p {
    color: #ffffff;
}

.stat-card__number {
    font-size: clamp(2rem, 4vw, 2rem);
    font-weight: 800;
    color: #0f172a;
}

.stat-card h4 {
    margin: 0;
    color: #0f172a;
    font-size: 0.70rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stat-card p {
    margin: 0;
    color: #6b7280;
    font-size: 0.7rem;
    line-height: 1.6;
}

/* --- RESPONSIVE STATS --- */
@media (max-width: 768px) {
    .stat-card {
        padding: 0.8rem;
    }
    .stat-card__number {
        font-size: 1.8rem;
    }
    .stat-card h4 {
        font-size: 0.6rem;
    }
    .stat-card p {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 0.6rem;
        border-radius: 1rem;
    }
    .stat-card__number {
        font-size: 1.5rem;
    }
}

/* ============================================================
   SECTION BLEUE (sec2)
   ============================================================ */
.sec2 {
    background: #102847;
    border-radius: 0;
    margin: 0 auto;
    padding: 28px 5vw;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.sec2::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(10, 184, 106, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.sec2::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(10, 184, 106, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.sec2-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sec2-inner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 20px 0;
    line-height: 1.05;
    color: #ffffff;
}

.sec2-inner h2 span {
    color: #0AAA66;
}

.sec2-inner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.sec2-inner p:last-of-type {
    margin-bottom: 32px;
}

/* --- RESPONSIVE SEC2 --- */
@media (max-width: 1024px) {
    .sec2-inner {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .sec2 {
        padding: 40px 4vw;
    }
    .sec2-inner h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    .sec2-inner p {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .sec2 {
        padding: 32px 20px;
        border-radius: 24px;
        margin: 20px 16px;
    }
    .sec2-inner h2 {
        font-size: 1.6rem;
    }
    .sec2-inner p {
        font-size: 14px;
    }
    .sec2::before {
        width: 150px;
        height: 150px;
        top: -30%;
        right: -30%;
    }
    .sec2::after {
        width: 120px;
        height: 120px;
        bottom: -20%;
        left: -20%;
    }
}

@media (max-width: 480px) {
    .sec2 {
        padding: 24px 16px;
        margin: 16px 12px;
        border-radius: 20px;
    }
    .sec2-inner h2 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    .sec2-inner p {
        font-size: 13px;
        line-height: 1.5;
    }
    .sec2-inner p:last-of-type {
        margin-bottom: 20px;
    }
}

/* ============================================================
   SECTION CENTRÉE
   ============================================================ */
.sec-center {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sec-center-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #031634;
    margin: 0;
}

.sec-center-content h2 span {
    font-style: normal;
    color: #0AAA66;
}

.sec-center-content p {
    font-size: 0.88rem;
    color: #53657a;
    margin-top: 0.4rem;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

/* --- RESPONSIVE SEC-CENTER --- */
@media (max-width: 768px) {
    .sec-center-content h2 {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
    }
    .sec-center-content p {
        font-size: 0.8rem;
        padding: 0 10%;
    }
}

@media (max-width: 480px) {
    .sec-center-content h2 {
        font-size: 1.1rem;
    }
    .sec-center-content p {
        font-size: 0.75rem;
        padding: 0 5%;
    }
}

/* ============================================================
   FORMULAIRE
   ============================================================ */
.nr-apply-section {
    padding: 80px 20px;
    background: #f8fafc;
}

.nr-apply-container {
    max-width: 800px;
    margin: 0 auto;
}

.nr-apply-container h2 {
    font-size: 2.2rem;
    color: #031634;
    margin-bottom: 10px;
}

.nr-apply-container > p {
    color: #4a5568;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.nr-apply-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #031634;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0AAA66;
    box-shadow: 0 0 0 3px rgba(8, 138, 80, 0.1);
}

.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #e2e8f0;
    background: #fafafa;
}

.form-group input[type="file"]:hover {
    border-color: #0AAA66;
    background: #f0fdf4;
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #718096;
}

/* Conteneur des champs de type fichier */
.piecejoint {
    margin-bottom: 1.5rem;
}

/* Style du label */
.piecejoint label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #2d3748;
    font-size: 0.95rem;
}

/* Style du champ input[type="file"] */
.piecejoint input[type="file"] {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    background-color: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: #2d3748;
}

/* Effet au survol */
.piecejoint input[type="file"]:hover {
    background-color: #edf2f7;
    border-color: #3182ce;
}

/* Effet au focus */
.piecejoint input[type="file"]:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
    background-color: #ffffff;
}

/* Style du petit texte d'information */
.piecejoint small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #718096;
}

/* Ajustement pour les écrans mobiles */
@media (max-width: 768px) {
    .piecejoint input[type="file"] {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

.nr-submit-btn {
    background: #0AAA66;
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.nr-submit-btn:hover {
    background: #0AAA66;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 138, 80, 0.3);
}

.nr-form-confirmation {
    background: #e7fbf2;
    border: 2px solid #0AAA66;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
}

.nr-form-confirmation h3 {
    color: #0AAA66;
    margin-bottom: 10px;
}

.nr-form-confirmation p {
    color: #065f3a;
}

/* --- RESPONSIVE FORMULAIRE --- */
@media (max-width: 1024px) {
    .nr-apply-section {
        padding: 60px 20px;
    }
    .nr-apply-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nr-apply-section {
        padding: 50px 16px;
    }
    .nr-apply-container h2 {
        font-size: 1.8rem;
    }
    .nr-apply-container > p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .nr-apply-form {
        padding: 30px 24px;
    }
}

@media (max-width: 640px) {
    .nr-apply-section {
        padding: 40px 12px;
    }
    .nr-apply-container h2 {
        font-size: 1.5rem;
    }
    .nr-apply-form {
        padding: 24px 16px;
        border-radius: 12px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    .form-group label {
        font-size: 0.8rem;
    }
    .nr-submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nr-apply-section {
        padding: 30px 10px;
    }
    .nr-apply-container h2 {
        font-size: 1.3rem;
    }
    .nr-apply-container > p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .nr-apply-form {
        padding: 16px 12px;
        border-radius: 10px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-group {
        margin-bottom: 14px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    .nr-submit-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    .nr-form-confirmation {
        padding: 20px 16px;
    }
}

@media (max-width: 360px) {
    .nr-apply-section {
        padding: 20px 8px;
    }
    .nr-apply-container h2 {
        font-size: 1.1rem;
    }
    .nr-apply-form {
        padding: 12px 8px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    .nr-submit-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
a {
    text-decoration: none !important;
}

/* Conteneur flex pour les statistiques si besoin */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}