/* ============================================================
 * Travel Advantage — Page /programme-ambassadeur/
 * Styles dédiés (créé 2026-05-19 — le CSS d'origine était perdu)
 * ============================================================ */

/* ── HERO ───────────────────────────────────────────── */
.amb-hero {
    position: relative;
    padding: 8rem 0 5rem;
    background:
        linear-gradient(180deg, rgba(15, 36, 68, 0.85) 0%, rgba(30, 64, 175, 0.85) 60%, rgba(15, 36, 68, 0.92) 100%),
        url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=2000&q=80&auto=format&fit=crop') center/cover;
    color: #fff;
    text-align: center;
}

.amb-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 20, 40, 0.35) 100%);
    pointer-events: none;
}

.amb-hero .conteneur {
    position: relative;
    z-index: 2;
}

.section-tag-clair {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(214, 177, 94, 0.15);
    border: 1px solid rgba(214, 177, 94, 0.45);
    color: #d6b15e;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

.btn-hero {
    padding: 1.2rem 2.5rem !important;
    font-size: 1.1rem !important;
    display: inline-block;
}

/* ── ONGLETS NAVIGATION ─────────────────────────────── */
.amb-onglets-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(15, 36, 68, 0.08);
}

.amb-onglet-btn {
    padding: 0.85rem 1.6rem;
    background: #fff;
    border: 1.5px solid rgba(15, 36, 68, 0.12);
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
}

.amb-onglet-btn:hover {
    border-color: #d6b15e;
    color: #0f2444;
    transform: translateY(-2px);
}

.amb-onglet-btn.actif {
    background: linear-gradient(135deg, #0f2444 0%, #1e40af 100%);
    border-color: #0f2444;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 36, 68, 0.25);
}

.amb-panneau {
    display: none;
}

.amb-panneau.actif {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── PROFILS ────────────────────────────────────────── */
.grille-profils {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profil-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 36, 68, 0.08);
    border: 1px solid rgba(15, 36, 68, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profil-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 36, 68, 0.15);
}

.profil-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.profil-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    color: #0f2444;
    margin: 0 0 0.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.profil-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ── ÉTAPES ─────────────────────────────────────────── */
.amb-etapes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 2rem;
}

.amb-etape {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 1.8rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 36, 68, 0.08);
    border: 1px solid rgba(15, 36, 68, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.amb-etape:hover {
    transform: translateY(-4px);
}

.amb-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0f2444 0%, #2563eb 100%);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 20px rgba(15, 36, 68, 0.25);
    line-height: 1;
}

.amb-etape h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    color: #0f2444;
    margin: 0 0 0.8rem;
    font-weight: 700;
}

.amb-etape p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ── AVANTAGES ──────────────────────────────────────── */
.amb-avantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.amb-avantage {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    box-shadow: 0 6px 20px rgba(15, 36, 68, 0.06);
    border: 1px solid rgba(15, 36, 68, 0.05);
    transition: all 0.3s ease;
}

.amb-avantage:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(15, 36, 68, 0.1);
    border-color: rgba(214, 177, 94, 0.3);
}

.amb-avantage-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(214, 177, 94, 0.1);
    border-radius: 12px;
}

.amb-avantage h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: #0f2444;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.amb-avantage p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* ── TÉMOIGNAGE LOÏC ────────────────────────────────── */
.loic-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f2444 0%, #1e3a8a 100%);
    color: #fff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 60px rgba(15, 36, 68, 0.3);
    border: 1px solid rgba(214, 177, 94, 0.15);
}

.loic-quote {
    font-family: 'Cormorant Garamond', 'Plus Jakarta Sans', serif;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-style: italic;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding-left: 1.5rem;
    border-left: 3px solid #d6b15e;
}

.loic-raisons {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.loic-raison {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    border-left: 3px solid #d6b15e;
}

.loic-raison h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: #d6b15e;
    margin: 0 0 0.8rem;
    font-weight: 700;
}

.loic-raison p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin: 0;
}

.loic-sig {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.8rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.loic-sig-text {
    flex: 1;
}

.loic-sig-text .name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.loic-sig-text .role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
}

/* ── CTA FINAL ──────────────────────────────────────── */
.amb-cta-section {
    background: linear-gradient(135deg, #0f2444 0%, #1e40af 100%);
    color: #fff;
    border-radius: 24px;
    padding: 4rem 2.5rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(15, 36, 68, 0.25);
}

.amb-cta-section h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin: 1rem 0 0.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.amb-cta-section > .conteneur > p,
.amb-cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.6;
}

.amb-cta-section .btn-or {
    color: #0f2444 !important;
}

.amb-cta-section .btn-secondaire {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 0.9rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.amb-cta-section .btn-secondaire:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
    .grille-profils,
    .amb-etapes-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .amb-avantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .amb-hero {
        padding: 6rem 0 3.5rem;
    }
    .amb-onglet-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.88rem;
    }
    .loic-card {
        padding: 2rem 1.5rem;
    }
    .amb-cta-section {
        padding: 2.5rem 1.5rem;
    }
    .amb-avantage {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
}

/* ============================================================
   AUDIT MOBILE 2026-05-31 — Fixes ambassadeur responsive
   ============================================================ */
@media (max-width: 640px) {
    /* Onglets ambassadeur : 2 cols empilées au lieu de scroll horizontal */
    .amb-onglets-nav {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: center !important;
    }
    .amb-onglet-btn {
        flex: 1 1 calc(50% - 0.25rem) !important;
        max-width: calc(50% - 0.25rem);
        font-size: 0.8rem !important;
        padding: 0.65rem 0.7rem !important;
        white-space: normal !important;
        line-height: 1.2;
        text-align: center;
    }

    /* Grille 3 profils : 1 col mobile (au lieu de 3 cols tassées) */
    .grille-profils {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Numéros étapes : taille réduite */
    .amb-num {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.8rem !important;
    }

    /* Grille 3 avantages : 1 col */
    .amb-avantages-grid,
    .amb-etapes-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}
