/* =============================================
   PAGES INTERNES — L'Espace N.G.
   pages.css — services.html & apropos.html
   ============================================= */

/* Lien actif dans la nav */
.nav-active {
    color: var(--pink-primary) !important;
}
.nav-active::after {
    width: 100% !important;
}

/* Logo cliquable */
.logo a {
    display: inline-block;
    line-height: 0;
}

/* =============================================
   PAGE HERO (bandeau haut des pages internes)
   ============================================= */
.page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.page-hero-bg .orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -20%;
    right: -5%;
    opacity: 0.4;
}

.page-hero-bg .orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-gold);
    bottom: -20%;
    left: -5%;
    opacity: 0.3;
}

.page-breadcrumb {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.page-breadcrumb a {
    color: var(--pink-primary);
    text-decoration: none;
}

.page-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    animation: slideUp 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    font-family: 'Cormorant Garamond', serif;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.8s forwards 0.4s;
    opacity: 0;
}

/* =============================================
   PAGE SERVICES — Blocs détaillés
   ============================================= */
.services-page {
    padding: 5rem 0;
    background: var(--white);
}

.service-detail-block {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem;
    margin-bottom: 2.5rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(239, 151, 193, 0.1);
    border: 1px solid rgba(239, 151, 193, 0.15);
    position: relative;
    transition: var(--transition);
}

.service-detail-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(239, 151, 193, 0.2);
}

.service-detail-block.reverse {
    grid-template-columns: 1fr 120px;
}

.service-detail-block.reverse .service-detail-icon {
    order: 2;
}

.service-detail-block.reverse .service-detail-content {
    order: 1;
}

.service-detail-featured {
    background: linear-gradient(135deg, #fff5f9 0%, #fffbf0 100%);
    border-color: var(--pink-primary);
    border-width: 2px;
}

.service-detail-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.service-detail-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.service-detail-icon svg {
    width: 44px;
    height: 44px;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-detail-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.6rem;
}

.service-detail-list li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray);
}

.service-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--pink-primary);
    font-weight: 700;
}

/* CTA bas de page services */
.services-cta {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, #FDF0F7 100%);
}

.cta-box {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    color: white;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-box .btn-primary {
    background: white;
    color: var(--pink-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cta-box .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

/* =============================================
   PAGE À PROPOS
   ============================================= */
.about-page {
    padding: 5rem 0;
    background: var(--white);
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}

.about-page-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.about-visual-stack {
    position: relative;
    width: 280px;
    height: 340px;
}

.about-stats-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.stat-pill {
    background: var(--white);
    border: 2px solid rgba(239, 151, 193, 0.25);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(239, 151, 193, 0.1);
    transition: var(--transition);
}

.stat-pill:hover {
    border-color: var(--pink-primary);
    transform: translateX(4px);
}

.stat-pill .stat-number {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-pill .stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.about-page-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
}

.about-page-text .section-title {
    margin-bottom: 1.5rem;
}

/* =============================================
   SECTION VALEURS
   ============================================= */
.about-values {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FDF0F7 0%, var(--white) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(239, 151, 193, 0.1);
    border: 1px solid rgba(239, 151, 193, 0.15);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(239, 151, 193, 0.2);
    border-color: var(--pink-primary);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.about-closing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 1rem;
}

.about-closing p {
    font-size: 1.15rem;
    font-family: 'Cormorant Garamond', serif;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* =============================================
   TÉMOIGNAGES — Design amélioré
   ============================================= */
.testimonials-page {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff5f9 0%, #fffdf0 100%);
}

/* Témoignage vedette */
.testimonial-featured {
    background: var(--gradient-primary);
    border-radius: 28px;
    padding: 3.5rem 4rem;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.testimonial-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.testimonial-featured-quote {
    font-size: 5rem;
    line-height: 1;
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: white;
}

.testimonial-featured blockquote {
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.9;
    color: white;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 800px;
    border: none;
    padding: 0;
}

.testimonial-featured-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.testimonial-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: var(--pink-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.testimonial-featured-author strong {
    display: block;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.2rem;
}

.testimonial-featured-author span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 0.2rem;
}

/* Grille des autres témoignages */
.testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-item {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(239, 151, 193, 0.12);
    border: 1px solid rgba(239, 151, 193, 0.15);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(239, 151, 193, 0.22);
    border-color: var(--pink-light);
}

.testimonial-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.testimonial-avatar-sm {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}

.testimonial-item-header strong {
    display: block;
    color: var(--black);
    font-size: 0.95rem;
}

.tquote {
    margin-left: auto;
    font-size: 2rem;
    color: var(--pink-light);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.testimonial-item p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--gray);
    font-style: italic;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .about-page-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-page-visual {
        flex-direction: row;
        justify-content: center;
    }
    .about-visual-stack {
        width: 200px;
        height: 240px;
    }
    .about-stats-side {
        width: auto;
        flex: 1;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-detail-block {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }
    .service-detail-block.reverse {
        grid-template-columns: 1fr 80px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 30vh;
        padding: 5rem 0 3rem;
    }
    .service-detail-block,
    .service-detail-block.reverse {
        grid-template-columns: 1fr;
    }
    .service-detail-block.reverse .service-detail-icon,
    .service-detail-block.reverse .service-detail-content {
        order: unset;
    }
    .service-detail-icon {
        width: 70px;
        height: 70px;
    }
    .service-detail-icon svg {
        width: 34px;
        height: 34px;
    }
    .service-detail-list {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 2.5rem 1.5rem;
    }
    .cta-box h2 {
        font-size: 1.8rem;
    }
    .about-page-visual {
        flex-direction: column;
        align-items: center;
    }
    .about-stats-side {
        width: 100%;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-featured {
        padding: 2rem;
    }
    .testimonial-featured blockquote {
        font-size: 1rem;
    }
    .testimonials-masonry {
        grid-template-columns: 1fr;
    }
}
