/* ==========================================================================
   ASSETS/CSS/OFFRE.CSS
   Styles spécifiques pour la landing page de l'offre.
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* STYLES GÉNÉRAUX DE LA PAGE                                                 */
/* -------------------------------------------------------------------------- */
.landing-page-body {
    background-color: var(--white-rock-light); /* Un fond doux et uni */
}

/* -------------------------------------------------------------------------- */
/* SECTION HÉROS                                                              */
/* -------------------------------------------------------------------------- */
.hero-offre {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0;
    position: relative; /* Contexte de positionnement pour la surcouche */
    background-image: url('/assets/images/page-principal/nina-thomas-portrait-v4.webp'); /* Chemin vers votre image */
    background-size: cover; /* L'image couvre tout l'espace */
    background-position: center; /* L'image est centrée */
    background-repeat: no-repeat; /* L'image ne se répète pas */
    color: white; /* Couleur de texte par défaut pour la section */
}

/* Ajout d'une surcouche pour la lisibilité du texte */
.hero-offre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 12, 12, 0.50); /* Fond noir semi-transparent (ajustez l'opacité au besoin) */
    z-index: 1; /* Place la surcouche au-dessus de l'image de fond */
}

/* Le contenu doit être au-dessus de la surcouche */
.hero-offre .container {
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin: 0 auto 3.2rem auto;
    transition: transform var(--transition-fast);
}

.hero-logo-link:hover .hero-logo {
    transform: scale(1.05);
}

.hero-offre-title {
    font-size: clamp(3.6rem, 5.5vw, 6.4rem);
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
    color: white; /* Assure que le titre est blanc */
}

.hero-offre-subtitle {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    color: rgba(255, 255, 255, 0.9); /* Blanc légèrement transparent pour une meilleure hiérarchie */
    max-width: 65ch;
    margin: 0 auto 4.8rem auto;
    line-height: 1.5;
}


/* -------------------------------------------------------------------------- */
/* FOOTER MINIMALISTE                                                         */
/* -------------------------------------------------------------------------- */
.footer-minimal {
    padding: 3.2rem 0;
    background-color: transparent;
}

.footer-minimal .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.footer-minimal .copyright {
    color: var(--black-pearl-light);
    font-size: 1.4rem;
}

.back-to-site-link {
    font-size: 1.4rem;
    color: var(--walnut);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.back-to-site-link:hover {
    color: var(--walnut-light);
}

/* -------------------------------------------------------------------------- */
/* SECTION DÉTAILS DE L'OFFRE                                                 */
/* -------------------------------------------------------------------------- */
.offre-details {
    padding: 10rem 0 var(--section-spacing); 
    background-color: var(--white-rock-light);
}

.offre-intro, .offre-pour-qui {
    margin-bottom: var(--section-spacing);
}

.offre-processus {
    /* La valeur par défaut a été retirée pour la remplacer par une plus faible */
    margin-bottom: 0.4rem; 
}

.offre-portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2.4rem auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 4px solid white;
}

.offre-intro .subtitle {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

/* Grille des bénéfices ("Pour qui ?") */
.benefices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.2rem;
    margin-top: 6.4rem;
}

.benefice-card {
    background-color: white;
    padding: 3.2rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-fast);
}

.benefice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-md);
}

.benefice-card .feature-icon {
    margin: 0 auto 2.4rem auto;
}

.benefice-card h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.6rem;
    color: var(--black-pearl);
}

.benefice-card p {
    color: var(--black-pearl-light);
    font-size: 1.5rem;
}

/* Grille du processus ("Comment ça marche ?") */
.processus-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 800px;
    margin: 3.4rem auto 0 auto;
    position: relative;
}

/* Ligne verticale décorative */
.processus-grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 2.8rem;
    width: 4px;
    background-image: linear-gradient(to bottom, var(--quicksand-light) 0%, var(--quicksand-light) 50%, transparent 50%);
    background-size: 10px 10px; /* Crée l'effet pointillé */
    border-radius: 2px;
    z-index: 0;
}

.processus-etape {
    display: flex;
    align-items: flex-start;
    gap: 2.4rem;
    position: relative;
    z-index: 1;
}

.etape-numero {
    flex-shrink: 0;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(to right, var(--walnut), var(--walnut-light));
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    box-shadow: var(--box-shadow-sm);
    border: 4px solid var(--white-rock-light);
}

.etape-contenu {
    padding-top: 0.8rem;
}

.etape-titre {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* -------------------------------------------------------------------------- */
/* SECTION DISCOVERY CALL (APPEL DÉCOUVERTE)                                  */
/* -------------------------------------------------------------------------- */

.discovery {
    padding: var(--section-spacing) 0;
    background-color: var(--black-pearl); /* Fond sombre */
    color: white; /* Texte blanc par défaut */
    position: relative;
    overflow: hidden;
}

/* Décoration de fond */
.discovery-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(155, 98, 58, 0.1) 100%); /* Dégradé subtil */
    z-index: 1; /* Derrière le contenu */
    pointer-events: none;
}

/* Grille pour le contenu et Calendly */
.discovery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Grille 12 colonnes */
    gap: 4rem; /* Espace entre les colonnes */
    align-items: center; /* Alignement vertical */
    position: relative;
    z-index: 2; /* Au-dessus de la décoration */
}

/* Contenu texte de gauche */
.discovery-content {
    grid-column: 1 / 6; /* Prend 5 colonnes */
}

/* Titre spécifique (déjà stylé par .title, mais on force la couleur) */
.discovery-title {
    color: white;
}

/* Texte descriptif */
.discovery-text {
    color: rgba(255, 255, 255, 0.8); /* Blanc légèrement transparent */
    margin-bottom: 4rem;
    font-size: 1.8rem;
}

/* Liste des bénéfices */
.discovery-benefits {
    margin-bottom: 4rem;
}

/* Bénéfice individuel (icône + texte) */
.discovery-benefit {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 0.9); /* Un peu plus opaque */
    font-size: 1.6rem;
}

.discovery-benefit i { /* Icône check */
    color: var(--walnut-light); /* Couleur contrastante */
    width: 1.8rem;
    height: 1.8rem;
    flex-shrink: 0;
}

/* Conteneur pour l'iframe Calendly */
.discovery-calendly {
    grid-column: 7 / 13; /* Prend les 6 colonnes restantes */
    height: 60rem; /* Hauteur fixe pour Calendly */
    background-color: var(--white-rock-light); /* Fond pendant le chargement de l'iframe */
    border-radius: var(--border-radius-md);
    overflow: hidden; /* Cache les bords de l'iframe si dépasse */
    box-shadow: var(--box-shadow-lg);
}

.discovery-calendly iframe {
    width: 100%;
    height: 100%;
    border: none; /* Supprime la bordure de l'iframe */
}

/* -------------------------------------------------------------------------- */
/* SECTION OUTILS GRATUITS                                                    */
/* -------------------------------------------------------------------------- */
.offre-outils {
    padding: 7rem 0; /* Réduction des marges verticales (valeur originale: var(--section-spacing)) */
    background-color: var(--white-rock); 
}

.offre-outils-intro {
    font-size: 2rem;
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE                                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .discovery-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    .discovery-content, .discovery-calendly {
        grid-column: 1 / -1;
    }
    .discovery-content {
        text-align: center;
    }
    .discovery-content .section-divider {
        margin-left: auto;
        margin-right: auto;
    }
    .discovery-benefits {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .discovery-calendly {
        height: 70rem;
    }
}

@media (max-width: 768px) {
    .hero-offre {
        min-height: 70vh;
        padding: 6rem 0;
    }

    .footer-minimal .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .processus-grid::before {
        left: 2.4rem;
    }
}

@media (max-width: 576px) {
    .discovery-calendly {
        height: 60rem;
    }
}