﻿/* ═══════════════════════════════════════════════════════════
   AXION — PAGES.CSS
   Styles partagés pour toutes les pages internes
   (À Propos, Expertises, Associés Fondateurs, Pourquoi Axion,
   Espace Partenaires, Contact, Mentions Légales)
   ═══════════════════════════════════════════════════════════ */

/* ── Page banner ── */
@keyframes bannerSlowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growLine {
    from {
        width: 0;
    }

    to {
        width: 64px;
    }
}

@keyframes softPulse {
    0%, 100% {
        opacity: 0.65;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-d1 {
    animation-delay: 0.15s;
}

.reveal-d2 {
    animation-delay: 0.3s;
}

.reveal-d3 {
    animation-delay: 0.48s;
}

.reveal-d4 {
    animation-delay: 0.65s;
}

.page-banner {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: bannerSlowZoom 14s ease-out forwards;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 30, 61, 0.93) 0%, rgba(1, 30, 61, 0.8) 100%);
}

.page-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    z-index: 2;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 6.5rem 2rem 3rem;
    width: 100%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.6rem;
}

    .breadcrumb a {
        color: rgba(255, 255, 255, 0.75);
        transition: color 0.2s ease;
    }

        .breadcrumb a:hover {
            color: var(--gold);
        }

    .breadcrumb i {
        font-size: 0.6rem;
    }

.page-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

    .page-banner-eyebrow i {
        animation: softPulse 2.4s ease-in-out infinite;
    }

.page-banner-title {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-banner-accent-line {
    display: block;
    width: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0.2rem 0 1rem;
    animation: growLine 0.7s ease forwards;
    animation-delay: 0.85s;
}

.page-banner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    max-width: 560px;
}


/* ═══════════════════════════════════════════════════════════
   BOUTONS PARTAGÉS (pages internes)
   ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

    .btn i {
        font-size: 1rem;
    }

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

    .btn-gold:hover {
        background: var(--gold-light);
        border-color: var(--gold-light);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(242, 144, 12, 0.3);
    }

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

    .btn-navy:hover {
        background: var(--navy-mid);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

    .btn-outline-light:hover {
        border-color: var(--gold);
        color: var(--gold-light);
        transform: translateY(-2px);
    }


/* ═══════════════════════════════════════════════════════════
   SECTION HEADER générique (titres centrés)
   ═══════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--gold);
        margin-bottom: 1rem;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        color: var(--navy);
        margin-bottom: 0.8rem;
    }

.section-subtitle {
    font-size: 1rem;
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════
   CTA BAND générique (bas de page)
   ═══════════════════════════════════════════════════════════ */
.page-cta {
    padding: 5.5rem 0;
    background: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: bannerSlowZoom 16s ease-out forwards;
}

.page-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(1, 30, 61, 0.93) 0%, rgba(1, 30, 61, 0.84) 100%);
}

    .page-cta-overlay::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 25% 40%, rgba(242, 144, 12, 0.1) 0%, transparent 55%), radial-gradient(circle at 75% 60%, rgba(242, 144, 12, 0.07) 0%, transparent 55%);
    }

.page-cta-content {
    position: relative;
    z-index: 1;
}

    .page-cta-content h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
        color: var(--white);
        margin-bottom: 0.9rem;
    }

    .page-cta-content p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.7);
        max-width: 480px;
        margin: 0 auto 2rem;
        line-height: 1.6;
    }

.page-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL (partagé avec home.js)
   ═══════════════════════════════════════════════════════════ */
.reveal-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — éléments partagés
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
    .page-banner-content {
        padding: 5.5rem 1.5rem 2.5rem;
    }

    .page-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
