/* ===============================================
   ATYPIKIA — CSS PAGE TARIFS v6
   Migré depuis bloc <style> inline tarifs.php
   =============================================== */

/* ── Hero ─────────────────────────────────────────────────── */
.tarifs-hero--v6 {
    position: relative;
    background: #FAFAF8;
    margin-top: -80px;
    padding: 140px 0 80px;
    overflow: hidden;
    text-align: center;
}
.tarifs-hero--v6 .hero-content-modern { position: relative; z-index: 2; }
.tarifs-hero--v6 .hero-title-modern { color: #1f2937; }
.tarifs-hero--v6 .hero-subtitle-modern { color: #475569; }

/* ── Grille 4 cartes ─────────────────────────────────────── */
.tarifs-grid-section { padding: 80px 0; background: var(--gray-100); }
.tarifs-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

.tarif-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Carte mise en avant (Pass Bilan) */
.tarif-card-featured {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(13,115,119,0.1);
    z-index: 2;
}
.tarif-card-featured .tarif-card-top {
    background: rgba(13,115,119,0.03);
}

/* Top de carte */
.tarif-card-top {
    padding: 28px 20px 18px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}
.tarif-step {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin-bottom: 4px;
}
.tarif-card-featured .tarif-step { color: var(--primary); }
.tarif-name { font-size: 1.05rem; font-weight: 800; color: #1e1b4b; margin-bottom: 10px; }
.tarif-card-featured .tarif-name { color: var(--primary); }
.tarif-price { font-size: 2.2rem; font-weight: 900; color: #1e1b4b; line-height: 1; margin-bottom: 8px; }
.tarif-card-featured .tarif-price { color: var(--primary); }
.tarif-currency { font-size: 0.9rem; font-weight: 700; }
.tarif-tagline { font-size: 0.82rem; color: #64748b; line-height: 1.4; }

/* Badge */
.tarif-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 16px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    letter-spacing: 0.03em;
}
.tarif-badge-small {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(13,115,119,0.1);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* Features list */
.tarif-features { list-style: none; margin: 0; padding: 16px 18px; flex: 1; }
.tarif-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: #374151;
    padding: 6px 0;
    line-height: 1.4;
}
.tarif-features li i[data-lucide="check"] {
    color: #0D7377;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA */
.tarif-cta-wrap { padding: 12px 18px 20px; margin-top: auto; }
.tarif-cta {
    display: block;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.tarif-cta-light { background: #f1f5f9; color: #475569 !important; }
.tarif-cta-light:hover { background: #e2e8f0; color: #1e293b !important; }
.tarif-cta-main { background: var(--primary); color: #fff !important; }
.tarif-cta-main:hover { opacity: 0.88; }
.tarif-cta-accent { background: var(--primary); color: #fff !important; font-size: 0.92rem; padding: 14px; }
.tarif-cta-accent:hover { opacity: 0.88; }
.tarif-reassurance { text-align: center; font-size: 0.72rem; color: #94a3b8; margin-top: 8px; }

/* ── Responsive grille ───────────────────────────────────── */
@media (max-width: 1024px) {
    .tarifs-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
    .tarifs-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ── Sections ────────────────────────────────────────────── */
.tarifs-section { padding: 80px 0; }

/* ── VS Narrative ────────────────────────────────────────── */
.tarifs-vs-section { background: #f8fafc; }
.tarifs-vs-narrative {
    max-width: 1160px;
    margin: 0 auto 40px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    text-align: center;
}
.tarifs-vs-narrative strong { color: #1e1b4b; }

/* ── Stat bar ────────────────────────────────────────────── */
.tarifs-vs-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tarifs-vs-stat { flex: 1; min-width: 160px; padding: 24px 20px; text-align: center; }
.tarifs-vs-stat-sep { width: 1px; background: #e2e8f0; align-self: stretch; }
.tarifs-vs-stat-num { font-size: 1.5rem; font-weight: 900; color: #dc2626; line-height: 1; margin-bottom: 7px; }
.tarifs-vs-stat-us .tarifs-vs-stat-num { color: var(--primary); }
.tarifs-vs-stat-label { font-size: 0.78rem; color: #64748b; line-height: 1.4; }

/* ── Tableau comparatif ──────────────────────────────────── */
.tarifs-vs-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 1160px;
    margin: 0 auto;
}
.tarifs-vs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
}
.tarifs-vs-table thead th {
    padding: 14px 24px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    white-space: nowrap;
}
.tarifs-vs-table thead th:first-child { text-align: left; }
.tarifs-vs-table td {
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    color: #374151;
    vertical-align: middle;
    white-space: nowrap;
}
.tarifs-vs-alt td { background: #f8fafc; }
.tarifs-vs-us td { background: rgba(13,115,119,0.06); border-top: 2px solid rgba(13,115,119,0.25) !important; }
.tarifs-vs-name { text-align: left !important; color: #1e1b4b !important; font-weight: 600; }
.tarifs-vs-icon { margin-right: 8px; opacity: 0.6; font-size: 0.8rem; }
.tarifs-vs-price-high { color: #dc2626; font-weight: 700; }
.tarifs-vs-price-free { color: #64748b; font-weight: 600; }
.tarifs-vs-price-us { color: var(--primary); font-weight: 800; font-size: 1rem; }
.tarifs-vs-delay { color: #64748b; font-size: 0.83rem; }
.tarifs-vs-now { color: #059669 !important; font-weight: 700; }
.tarifs-vs-yes { color: #059669; font-weight: 600; }
.tarifs-vs-yes i, .tarifs-vs-no i, .tarifs-vs-partial i { margin-right: 5px; }
.tarifs-vs-no { color: #94a3b8; }
.tarifs-vs-partial { color: #d97706; }
.tarifs-vs-disclaimer {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.65;
}
.tarifs-vs-disclaimer i { color: #cbd5e1; margin-right: 5px; }
.tarifs-vs-disclaimer strong { color: #64748b; }

@media (max-width: 768px) {
    .tarifs-vs-stats { flex-direction: column; }
    .tarifs-vs-stat-sep { width: 100%; height: 1px; }
    .tarifs-vs-table { font-size: 0.78rem; }
    .tarifs-vs-table td, .tarifs-vs-table th { padding: 10px 8px; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.tarifs-faq { display: flex; flex-direction: column; gap: 12px; }
.ap-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.ap-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 22px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e1b4b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    line-height: 1.45;
    font-family: inherit;
}
.ap-faq-q:hover { color: var(--primary); background: rgba(13,115,119,0.03); }
.ap-faq-icon { flex-shrink: 0; font-size: 1.2rem; color: var(--primary); transition: transform 0.3s ease; font-weight: 300; }
.ap-faq-q.open .ap-faq-icon { transform: rotate(45deg); }
.ap-faq-a { display: none; padding: 0 22px 18px; color: #475569; font-size: 0.9rem; line-height: 1.7; border-top: 1px solid rgba(13,115,119,0.08); }
.ap-faq-a.open { display: block; }
.ap-faq-a p { margin: 0; }
.ap-faq-a p + p { margin-top: 10px; }

/* ── Pro section ─────────────────────────────────────────── */
.tarifs-pro-section { background: #f8fafc; padding: 60px 0; }
.tarifs-pro-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.tarifs-pro-content { flex: 1; min-width: 200px; }
.tarifs-pro-content h3 { font-size: 1.05rem; font-weight: 700; color: #1e1b4b; margin: 0 0 6px; }
.tarifs-pro-content p { font-size: 0.9rem; color: #475569; margin: 0; line-height: 1.6; }

/* ── CTA finale ──────────────────────────────────────────── */
.final-cta-section-modern { background: var(--primary) !important; padding: 90px 0 !important; position: relative; overflow: hidden; }
.final-cta-section-modern h2,
.final-cta-section-modern p { color: #fff !important; }
.cta-wrapper-modern { position: relative; z-index: 2; text-align: center; }

/* ── CTA Buttons ─────────────────────────────────────────── */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}
.cta-btn-primary { background: var(--primary); color: #fff !important; }
.cta-btn-primary:hover { opacity: 0.88; }
.cta-btn-outline { background: rgba(255,255,255,0.15); color: #fff !important; border: 1.5px solid rgba(255,255,255,0.4); }
.cta-btn-outline:hover { background: rgba(255,255,255,0.25); }

/* ── Responsive global ───────────────────────────────────── */
@media (max-width: 768px) {
    .tarifs-section { padding: 56px 0; }
    .tarifs-pro-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .tarifs-hero--v6 { padding: 120px 0 56px; }
}
