/* =========================================
   1. BANDEAU HERO BLEU & EFFET DE COUCHE
   ========================================= */

.home-top-wrapper {
    background-color: var(--beige-bg);
    border-radius: 0 0 80px 80px;
    overflow: hidden; /* Empêche le grand cercle marron de dépasser de la zone beige */
    position: relative; 
    padding-top: env(safe-area-inset-top);
}
   .about-hero-blue {
    background-color: #5C80BC;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    position: relative;
}

/* Zone fixe en hauteur pour verrouiller le cadrage */
.hero-stage {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 60px;
}

/* Règles communes pour les deux textes */
.hero-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5.5rem, 21vw, 17rem);
    letter-spacing: 2px;
    line-height: 0.85;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

/* Couche 1 : Texte plein au fond */
.hero-text-solid {
    color: #EBDDC4;
    z-index: 1;
}

/* Couche 2 : Portrait centré collé au bord inférieur */
.hero-person-img {
    max-height: 460px;
    width: auto;
    max-width: 100%;
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto;
}

/* Couche 3 : Texte avec bordure/contour uniquement */
.hero-text-outline {
    color: transparent;
    -webkit-text-stroke: 2px #EBDDC4;
    text-stroke: 2px #EBDDC4;
    z-index: 3;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    .hero-stage {
        padding-top: 40px;
    }
    .hero-person-img {
        max-height: 220px;
    }
    .hero-text {
        top: 52%; 
    }
    .hero-text-outline {
        -webkit-text-stroke: 1.2px #EBDDC4; 
        text-stroke: 1.2px #EBDDC4;
    }
}

/* =========================================
   SURCHARGE 
   ========================================= */

.main-header {
    background-color: var(--bg-color, #ffffff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.nav-link-main:hover,
.nav-item-dropdown:hover .nav-link-main {
    background-color: var(--purple-light, #F8F2FB);
    color: var(--purple-text, #8A4BAF);
}

.search-wrapper:hover .search-input,
.search-input:focus {
    width: 200px;
    opacity: 1;
    padding: 8px 18px; 
    margin-right: 10px;
    background-color: var(--purple-light); 
}

/* =========================================
   2. QUI SUIS-JE (Images superposées)
   ========================================= */
.signature {
    font-family: 'Mea Culpa', cursive;
    font-size: 3.5rem;
    color: var(--brown-card);
    transform: rotate(-5deg);
}
.about-images-wrapper { height: 500px; }
.about-blob {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 350px;
    height: 350px;
    background-color: var(--beige-bg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}
.about-img-main {
    position: absolute;
    top: 0;
    left: 40px;
    width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 40px;
    border: 8px solid #ffffff;
    z-index: 1;
}
.about-img-sub {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #ffffff;
    z-index: 2;
}

/* =========================================
   3. POURQUOI CE BLOG (Carte "Dessinée")
   ========================================= */
.drawn-card {
    background-color: #ffffff;
    border: 2px dashed var(--purple-mid); /* Donne un effet carnet de croquis */
    border-radius: 40px;
    box-shadow: 10px 10px 0px var(--beige-bg); /* Ombre décalée solide */
}
.drawn-icon {
    font-size: 35px;
    color: var(--purple-text);
    background-color: #ffffff;
    padding: 15px;
    border-radius: 50%;
    border: 2px dashed var(--purple-mid);
    transform: rotate(-15deg);
}

/* =========================================
   4. CE QUE VOUS TROUVEREZ ICI (Arches)
   ========================================= */
.values-section {
    background-color: var(--purple-light);
    border-radius: 60px;
}
.value-card {
    background-color: #ffffff;
    border-radius: 60px 60px 30px 30px; /* Forme d'arche */
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(138, 75, 175, 0.05);
}
.value-card:hover { transform: translateY(-10px); }
.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--beige-bg);
    color: var(--brown-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px auto;
    border: 1px solid var(--brown-btn); /* Petit contour illustratif */
}
.value-title {
    font-weight: 800;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 15px;
}
.value-desc { font-size: 14px; color: var(--text-light); }

/* =========================================
   5. REMERCIEMENTS (Citation)
   ========================================= */
.quote-wrapper {
    max-width: 800px;
    background-color: var(--beige-bg);
    border-radius: 40px;
    border: 2px solid #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}
.quote-icon {
    font-size: 40px;
    opacity: 0.8;
}
.quote-text {
    font-size: 1.1rem;
    color: var(--text-main);
}