html {
    height: fit-content;
}

body {
    font-family: 'Poppins', sans-serif !important;
    margin: 0;
    padding: 0;
    overflow-x: clip !important;
    width: 100vw !important;
    min-height: 100vh;
    font-weight: 400;
    color: #000;
}

.max-row {
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    border-bottom: solid 2px #000;
    min-height: 100px;
}

.navbar-logo {
    width: auto;
    height: 55px;
}

.banner {
    background: linear-gradient(to bottom right, #FFD048, #FBBA00);
}

.banner-section-el-title {
    color: white;
    font-weight: 500;
}

.banner-section-el-card {
    width: 48%;
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.banner-section-el-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.banner-section-el-card-text {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 0;
}

.ppf-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    font-family: 'Segoe UI', sans-serif;
    width: 100%;
    margin: 0 auto;
    /* Ajout : s'assurer que la carte ne déborde pas */
    box-sizing: border-box;
}

.ppf-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 24px;
}

.ppf-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* RESPONSIVE : Sur mobile, une seule colonne */
@media (max-width: 576px) {
    .ppf-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
        /* Le margin-bottom des .ppf-field gère déjà l'espacement */
    }

    .ppf-card {
        padding: 24px 20px;
        /* Padding réduit sur mobile */
    }

    .ppf-card h2 {
        font-size: 18px;
        /* Titre légèrement plus petit */
    }
}

.ppf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    /* Ajout : éviter le débordement */
    min-width: 0;
}

.ppf-field label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.ppf-field input[type="text"],
.ppf-field input[type="email"],
.ppf-field input[type="tel"] {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background-color: #F2F2F2;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 14px;
    color: #1a1a1a;
    outline: none;
    transition: box-shadow 0.2s;
    border: solid 1px rgba(0, 0, 0, 0.1);
    /* Ajout : s'assurer que les inputs s'adaptent */
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    /* Empêche le débordement sur grid */
}

.ppf-field input:focus {
    box-shadow: 0 0 0 2.5px #F5C430;
}

.ppf-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 22px;
    /* Ajout : éviter le débordement du texte */
    min-width: 0;
}

.ppf-checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    /* Empêche le rétrécissement de la checkbox */
    margin-top: 2px;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}

.ppf-checkbox-wrap input[type="checkbox"]:checked {
    background: #F5C430;
    border-color: #F5C430;
}

.ppf-checkbox-wrap input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.ppf-checkbox-wrap span {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    /* Ajout : permettre au texte de se wrap correctement */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ppf-btn {
    color: white;
    appearance: none;
    width: 100%;
    padding: 14px;
    background: #F5C430;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.5;
    transition: background 0.2s, transform 0.1s, opacity 0.4s;
    /* Ajout : éviter le débordement du texte du bouton */
    white-space: normal;
    word-wrap: break-word;
}

.ppf-btn:hover {
    background: #e6b820;
    opacity: 1;
}

.ppf-btn:active {
    transform: scale(0.98);
}

/* RESPONSIVE : Ajustements supplémentaires pour très petits écrans */
@media (max-width: 375px) {
    .ppf-card {
        padding: 20px 16px;
    }

    .ppf-checkbox-wrap {
        gap: 8px;
    }

    .ppf-checkbox-wrap span {
        font-size: 12px;
    }
}

/* section 1 calendly */

.section-1-main-content {
    background-color: #fffae6;
    border-radius: 10px;
}

.section-1-title,
.section-2-title,
.section-3-title,
.section-4-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-1-card {
    background-color: white;
    border-radius: 16px;
    width: 32%;
    margin-bottom: -100px;
    min-height: 225px;
}

.section-1-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px;
}

.section-1-card-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.zero-img {
    width: 64px;
}

.col-6.section-2-el-1 {
    position: relative;
    /* référence pour l'absolute */
}

@media (max-width: 500px) {
    .section-1-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .section-1-card:last-child {
        margin-bottom: 0;
    }
}

/* section 2 calendly */

.section-2-img {
    width: 100%;
}

.section-2-el-1-yellow-div {
    background-color: #FBBA00;
    border-radius: 16px;
    width: 192px;
    height: 192px;
    position: absolute;
    /* sort du flux */
    bottom: 0;
    right: 0;
    z-index: -1;
}

.section-2-el-2-list-el {
    margin-bottom: 16px;
}

.section-2-el-2-list-el-text {
    height: fit-content;
}

.section-2-el-2-yellow-bg {
    background-color: #fff9e6;
    padding: 20px;
    border-left: solid 3px #FBBA00;
}

/* section 3 calendly */

.section-3 {
    background-color: #FBBA00;
}

.check-icon {
    width: 24px;
    height: 24px;
}

.section-3-card {
    border-radius: 16px;
    background-color: #fff;
}

.section-3-list-el {
    margin-bottom: 20px;
}

.section-3-bottom-div {
    background-color: #fbba00;
    border-radius: 16px;
    padding: 12px 36px;
}

.section-3-bottom-div-title {
    color: white;
    font-weight: 600;
    font-size: 18px;
}

/* section 4 linked steps */

.section-4-steps-numbers {
    position: relative;
    align-items: flex-start;
    /* padding: 40px 0;  ← SUPPRIMÉ ou réduit */
    padding: 0;
    /* Pas de padding qui décale */
    margin-top: 40px;
    /* Espace au-dessus si besoin */
    margin-bottom: 40px;
}

.steps-connector {
    position: absolute;
    top: 30px;
    /* 30px = moitié du cercle de 60px */
    left: 0;
    right: 0;
    height: 3px;
    z-index: 0;
    pointer-events: none;
}

.step-line {
    position: absolute;
    top: 0;
    border: none;
    height: 3px;
    background-color: #FBBA00;
    margin: 0;
    padding: 0;
}

.step-line-1 {
    left: 12.5%;
    width: 25%;
}

.step-line-2 {
    left: 37.5%;
    width: 25%;
}

.step-line-3 {
    left: 62.5%;
    width: 25%;
}

.section-4-steps-number {
    width: 60px;
    height: 60px;
    background-color: #FBBA00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 32px;
    position: relative;
    z-index: 1;
    margin: 0 auto 20px auto;
    font-family: 'DM Serif Display', serif;
    /* Assurez-vous qu'il n'y a pas de margin-top ici */
}

.section-4-steps-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
}

.section-4-steps-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    text-align: center;
    padding: 0 10px;
}

/* section 5 calendly */

.section-5-title {
    font-weight: 700;
    color: white;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-5-btn {
    background-color: #fff;
    text-decoration: none;
    color: black;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    display: inline-block;
    transition: background-color 0.6s ease, color 0.6s ease;
}

.section-5-btn:hover {
    background-color: #1a1a1a;
    color: #fff;
    transform: none;
}
.section-5-small-text {
    font-size: 14px;
    color: #fff;
}

.footer {
    background-color: #000;
    color: #fff;
}

.logo-white {
    width: 250px;
    margin-bottom: 40px;
}

@media (max-width: 500px) {
    .logo-white {
        width: 150px;
        margin-bottom: 30px;
    }
}

/* Titre avec lignes HR */
.footer-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-line {
    width: 150px;
    height: 2px;
    background-color: #fff;
    border: none;
    margin: 0;
    opacity: 1;
    /* Force l'opacité */
    color: #fff;
    /* Fallback pour certains navigateurs */
}

.footer-title {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
}

/* Réseaux sociaux - logos à taille réelle */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.social-link {
    display: block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

/* Liens légaux */
.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}


.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FBBA00;
}

.footer-dot {
    color: #FBBA00;
}

@media (max-width: 500px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        justify-content: start;
        text-align: start;
    }

    .footer-links a {
        width: fit-content;
        text-align: start;
    }
}

/* Copyright */
.footer-copyright {
    font-size: 12px;
    color: #FBBA00;
    margin: 0;
}

.confirmation-section {
    background-color: #FFFBF0;
    min-height: 100vh;
    /* Prend toute la hauteur si besoin */
}

.confirmation-content {
    text-align: center;
    padding: 40px 0;
}

.confirmation-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #000;
}

.confirmation-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 40px 0;
}

.confirmation-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.confirmation-item {
    display: flex;
    align-items: center;
    /* ← CHANGÉ de flex-start à center */
    gap: 15px;
    margin-bottom: 30px;
}

.confirmation-item:last-child {
    margin-bottom: 0;
}

.confirmation-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    /* ← AJOUTÉ */
    align-items: center;
    /* ← AJOUTÉ */
    justify-content: center;
    /* ← AJOUTÉ */
}

.confirmation-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #000;
}

.confirmation-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* page formation */

.formation-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #000;
}

.highlight-yellow {
    color: #FBBA00;
}

.formation-text {
    width: 80%;
}

/* formulaire formation */

.formation-form-fields {
    width: 100%;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.formation-form-container h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.formation-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.formation-form .form-group {
    flex: 1;
    margin-bottom: 15px;
}

.formation-form .form-group.full-width {
    width: 100%;
}

.formation-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.formation-form input[type="text"],
.formation-form input[type="email"],
.formation-form input[type="tel"] {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: #f0f0f0;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.6s;
}

.formation-form input[type="text"]:focus,
.formation-form input[type="email"]:focus,
.formation-form input[type="tel"]:focus {
    border-color: #fbba00;
}

.formation-form .checkbox-group {
    margin-top: 25px;
}

.formation-form .checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.formation-form .checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.formation-form .checkbox-item input[type="checkbox"]:checked {
    background: #fbba00;
    border-color: #fbba00;
}

.formation-form .checkbox-item input[type="checkbox"]:checked::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.formation-form .checkbox-item label {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
}

.formation-form .checkbox-item a {
    color: #4a90d9;
    text-decoration: none;
}

.formation-form .checkbox-item a:hover {
    text-decoration: underline;
}

.formation-form .submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 10px;
    background: #f5a623;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.formation-form .submit-btn:hover {
    background: #e69512;
}

.formation-bottom-text {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

/* section paiement  */

.payment-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.payment-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.payment-img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
}

.payment-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.payment-price {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.payment-btn {
    width: 100%;
    padding: 18px 24px;
    background: #fbba00;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 20px;
}

.payment-btn:hover {
    background: #e5a700;
}

.payment-methods-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
}

.payment-cards {
    height: 30px;
    width: auto;
}

/* calendly */

.banner-calendly {
    width: 100%;
    height: 100%;
    min-height: 700px;
}

.banner-calendly .calendly-inline-widget {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 700px;
}

.banner-calendly {
    width: 100%;
    height: 100%;
    min-height: 700px;
    padding: 0;
    margin: 0;
}

.banner-calendly .calendly-inline-widget,
.banner-calendly iframe {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 700px;
    border: none;
}

.form-error-messages {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.5;
}

.form-error-messages:empty {
    display: none !important;
}

/* Classes pour les animations de fade */
.fade-out {
    opacity: 0 !important;
    transition: opacity 500ms ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 500ms ease-in;
}

.fade-in.visible {
    opacity: 1;
}