/* ==========================================================================
   PAGE TARIFS — VERSION ULTIME (0,01 %)
   Compatible foundation.css + DS global OF⇄Transfer
   ========================================================================== */

/* Contexte page */
.tarifs-page {
    /* optionnel si tu veux un léger différentiel de rythme */
}

/* ==========================================================================
   HERO TARIFS
   ========================================================================== */

.hero-tarifs { 
    display: grid;
    gap: var(--sp-8);
    padding-top: var(--sp-8);
    align-items: center;
}

.hero-tarifs .hero-left {
    max-width: 640px;
}

.hero-tarifs h1 {
    font-size: var(--fs-xxl);
    font-weight: var(--fw-extrabold);
    line-height: 1.25;
    margin-bottom: var(--sp-3);
}

.hero-tarifs .hero-sub {
    font-size: var(--fs-sm);
    opacity: 0.9;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: var(--sp-4);
}

/* Tag + badges, scoped à la page Tarifs pour éviter les collisions */

.tarifs-page .tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(6,193,103,0.12);
    border: 1px solid rgba(6,193,103,0.45);
    font-size: var(--fs-xs);
    margin-bottom: var(--sp-3);
}

.tarifs-page .tag-pill.small {
    font-size: var(--fs-xs);
    padding: 4px 10px;
    margin-bottom: 0;
}

.hero-tarifs .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
}

.hero-tarifs .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tarifs .badge-pill {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--c-glass-soft);
    border: 1px solid var(--c-border-light);
    font-size: var(--fs-xs);
}

/* ==========================================================================
   HERO — CARTE RÉCAP WHATSAPP
   ========================================================================== */

.tarifs-hero-card {
    background: radial-gradient(circle at top left,
        rgba(255,255,255,0.16),
        rgba(4,15,30,0.96)
    );
    border-radius: var(--r-xl);
    border: 1px solid var(--c-border-light);
    padding: var(--sp-5);
    box-shadow: var(--shadow-medium);
    max-width: 420px;
    margin: 0 auto;
}

.th-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-xs);
    opacity: 0.88;
    margin-bottom: var(--sp-3);
}

.th-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.th-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-primary-1);
    box-shadow: 0 0 10px rgba(6,193,103,0.9);
}

.th-label {
    padding: 3px 8px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.35);
}

.th-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--sp-3);
}

.th-row {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-3);
    font-size: var(--fs-xs);
}

.th-row span {
    opacity: 0.78;
}

.th-row strong {
    font-weight: var(--fw-semibold);
}

.th-note {
    font-size: var(--fs-xs);
    opacity: 0.82;
    line-height: 1.6;
}

/* ==========================================================================
   SIMULATEUR TARIFS
   ========================================================================== */

.tarifs-sim-card {
    margin-top: var(--sp-5);
    max-width: 540px;
    padding: var(--sp-5);
    border-radius: var(--r-xl);
    background: var(--c-glass-soft);
    border: 1px solid var(--c-border-light);
    box-shadow: var(--shadow-soft);
}

.sim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.sim-note {
    font-size: var(--fs-xs);
    opacity: 0.8;
}

.sim-grid {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.sim-row {
    display: flex;
    flex-direction: column;
}

.sim-label {
    display: block;
    font-size: var(--fs-xs);
    opacity: 0.82;
    margin-bottom: 6px;
}

.tarifs-sim-card .input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--r-md);
    border: 1px solid rgba(184,210,255,0.7);
    background: rgba(3,18,40,0.94);
    font-size: var(--fs-sm);
    color: #fff;
}

.tarifs-sim-card .input:focus {
    border-color: var(--c-primary-1);
    box-shadow: 0 0 0 1px rgba(6,193,103,0.45);
    outline: none;
}

.sim-info {
    font-size: var(--fs-xs);
    opacity: 0.8;
    margin-top: var(--sp-3);
}

.sim-btn {
    width: 100%;
    margin-top: var(--sp-3);
}

/* ==========================================================================
   COMMENT SONT CALCULÉS LES TARIFS
   ========================================================================== */

.how-grid {
    display: grid;
    gap: var(--sp-4);
    margin-top: var(--sp-4);
}

.how-card {
    background: var(--c-glass-soft);
    border-radius: var(--r-card);
    border: 1px solid var(--c-border-light);
    padding: var(--sp-5);
    box-shadow: var(--shadow-soft);
}

.how-card h3 {
    margin-bottom: var(--sp-2);
    font-size: var(--fs-md);
}

.how-card p {
    font-size: var(--fs-sm);
    opacity: 0.88;
    line-height: 1.6;
}

/* ==========================================================================
   DÉLAIS PAR PAYS
   ========================================================================== */

.delays-block {
    margin-top: var(--sp-4);
    border-radius: var(--r-xl);
    border: 1px solid var(--c-border-light);
    background: var(--c-glass-soft);
    padding: var(--sp-5);
    box-shadow: var(--shadow-soft);
}

.delay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: var(--fs-sm);
}

.delay-row:last-child {
    border-bottom: none;
}

.delay-tag {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,0.25);
    font-size: var(--fs-xs);
    opacity: 0.9;
}

/* ==========================================================================
   MÉTHODES DE RETRAIT
   ========================================================================== */

.methods-grid {
    display: grid;
    gap: var(--sp-4);
    margin-top: var(--sp-4);
}

.method-card {
    background: var(--c-glass-soft);
    border-radius: var(--r-card);
    border: 1px solid var(--c-border-light);
    padding: var(--sp-5);
    box-shadow: var(--shadow-soft);
}

.method-card h3 {
    margin-bottom: var(--sp-2);
    font-size: var(--fs-md);
}

.method-card p {
    font-size: var(--fs-sm);
    opacity: 0.88;
    line-height: 1.6;
}

/* ==========================================================================
   SÉCURITÉ & ANTI-ARNAQUE
   ========================================================================== */

.security-block {
    margin-top: var(--sp-4);
    padding: var(--sp-5);
    border-radius: var(--r-xl);
    border: 1px solid var(--c-border-light);
    background: var(--c-glass-soft);
    box-shadow: var(--shadow-soft);
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-3);
}

.security-list li {
    margin-bottom: 6px;
    font-size: var(--fs-sm);
    opacity: 0.9;
}

.security-note {
    font-size: var(--fs-xs);
    opacity: 0.8;
    line-height: 1.6;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.cta-final {
    text-align: center;
    margin-top: var(--sp-8);
}

.cta-final h2 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-3);
}

.cta-final p {
    font-size: var(--fs-sm);
    opacity: 0.85;
    margin-bottom: var(--sp-4);
}

/* ==========================================================================
   STICKY CTA MOBILE
   ========================================================================== */

.tarifs-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.55)
    );
    border-top: 1px solid rgba(255,255,255,0.16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-3);
    z-index: 9999;
}

.tarifs-sticky-text {
    font-size: var(--fs-xs);
    opacity: 0.9;
    line-height: 1.5;
}

.tarifs-sticky-btn {
    padding: 9px 18px;
    border-radius: var(--r-pill);
    border: none;
    background: var(--c-wa);
    color: #03120a;
    font-weight: var(--fw-bold);
    font-size: var(--fs-sm);
    cursor: pointer;
}

/* ==========================================================================
   MICRO-INTERACTIONS (aligné Travel/FAQ)
   ========================================================================== */

.btn-primary,
.btn-secondary,
.btn-wa-nav,
.tarifs-sticky-btn {
    transition:
        transform 0.15s var(--ease-out),
        box-shadow 0.15s var(--ease-out),
        background-color 0.15s var(--ease-out);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-wa-nav:hover,
.tarifs-sticky-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-wa-nav:focus-visible,
.tarifs-sticky-btn:focus-visible {
    outline: 2px solid var(--c-primary-1);
    outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 900px) {
    .hero-tarifs {
        grid-template-columns: 1.5fr 1fr;
    }

    .how-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .methods-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tarifs-hero-card {
        margin: 0; /* aligné à droite sur desktop */
        justify-self: end;
    }

    .tarifs-sticky {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-tarifs {
        padding-top: var(--sp-6);
    }

    .tarifs-hero-card {
        max-width: 100%;
    }
}
