/* ============================================================
   PAGE — Nos offres / Tarification
   Expat' Immo
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.tarif-hero {
    background: linear-gradient(135deg, #1a2b4a 0%, #0d1f38 100%);
    color: #fff;
    padding: 80px 24px 64px;
    text-align: center;
}
.tarif-hero .section-label { color: rgba(34,159,168,.9); }
.tarif-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin: 16px 0 20px;
    line-height: 1.15;
}
.tarif-hero h1 span { color: #5cdee6; }
.tarif-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.9);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Section ────────────────────────────────────────────────── */
.tarif-section-wrap { background: #f8fafc; }
.tarif-section {
    padding: 80px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

/* ── Grille 3 cartes ────────────────────────────────────────── */
.tarif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

/* ── Carte ──────────────────────────────────────────────────── */
.tarif-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px 32px;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.tarif-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #e0e0e0;
}
.tarif-card--featured::before { background: linear-gradient(90deg, #229FA8, #1a6e8a); }
.tarif-card--featured {
    box-shadow: 0 8px 48px rgba(34,159,168,.18);
    transform: translateY(-6px);
}

/* ── Header carte ───────────────────────────────────────────── */
.tarif-card-header { margin-bottom: 24px; }
.tarif-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 14px;
}
.tarif-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a2b4a;
    margin: 0 0 6px;
}
.tarif-subtitle {
    font-size: .88rem;
    color: #777;
    margin: 0;
}

/* ── Bloc prix ──────────────────────────────────────────────── */
.tarif-price-block {
    background: #f0f9fa;
    border-radius: 14px;
    padding: 20px 20px 16px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tarif-rate {
    font-size: 2rem;
    font-weight: 800;
    color: #229FA8;
    line-height: 1.1;
}
.tarif-rate-sub {
    font-size: .8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.tarif-minmax {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #555;
    font-weight: 600;
    margin-top: 4px;
}
.tarif-sep { color: #ccc; }
.tarif-buyer-note {
    font-size: .78rem;
    color: #999;
    margin: 6px 0 0;
    font-style: italic;
}

/* Grille de taux pour la gestion locative */
.tarif-rates-grid { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.tarif-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
}
.tarif-rate-zone { color: #555; font-weight: 600; }
.tarif-rate-val  { font-weight: 800; color: #229FA8; }

/* ── Features ───────────────────────────────────────────────── */
.tarif-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tarif-features li {
    padding: 9px 0 9px 26px;
    position: relative;
    font-size: .9rem;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.4;
}
.tarif-features li:last-child { border-bottom: none; }
.tarif-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #229FA8;
    font-weight: 700;
}
.tarif-vat-note {
    font-size: .78rem;
    color: #aaa;
    margin: 0 0 20px;
    text-align: right;
}

/* ── CTA ────────────────────────────────────────────────────── */
.tarif-cta {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: all .2s;
    background: #229FA8;
    color: #fff;
    margin-top: auto;
}
.tarif-cta:hover { background: #1a7a82; }
.tarif-cta--outline {
    background: transparent;
    color: #229FA8;
    border: 2px solid #229FA8;
}
.tarif-cta--outline:hover { background: #229FA8; color: #fff; }

/* ── Mention légale ─────────────────────────────────────────── */
.tarif-legal-wrap {
    background: #fff;
    padding: 32px 24px;
}
.tarif-legal {
    max-width: 860px;
    margin: 0 auto;
    background: #f8fafc;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #229FA8;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.tarif-legal-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.tarif-legal p {
    margin: 0;
    font-size: .85rem;
    color: #555;
    line-height: 1.6;
}
.tarif-legal strong { color: #1a2b4a; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .tarif-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .tarif-card--featured { transform: none; }
}
@media (max-width: 560px) {
    .tarif-grid { max-width: 100%; }
    .tarif-minmax { flex-direction: column; align-items: flex-start; gap: 2px; }
    .tarif-sep { display: none; }
}

/* ─── FAQ Tarification (GEO) ──────────────────────────────────── */
.tarif-faq { padding: 4rem 1.5rem; background: #F7FAFA; }
.tarif-faq-inner { max-width: 860px; margin: 0 auto; }
.tarif-faq h2 { font-size: 1.9rem; font-weight: 600; color: #1a1a1a; text-align: center; margin-bottom: .8rem; font-family: 'Quicksand', sans-serif; }
.tarif-faq-intro { text-align: center; color: #555; max-width: 640px; margin: 0 auto 2.5rem; font-size: 1.02rem; line-height: 1.55; }
.tarif-faq-item { background: #fff; border: 1px solid #e5ecec; border-radius: 10px; margin-bottom: .75rem; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tarif-faq-item[open] { border-color: #229FA8; box-shadow: 0 2px 12px rgba(34,159,168,.08); }
.tarif-faq-item summary { padding: 1.1rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 1.02rem; color: #1a1a1a; list-style: none; position: relative; line-height: 1.4; }
.tarif-faq-item summary::-webkit-details-marker { display: none; }
.tarif-faq-item summary::after { content: "+"; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: #229FA8; font-weight: 400; transition: transform .2s; }
.tarif-faq-item[open] summary::after { content: "−"; }
.tarif-faq-a { padding: 0 1.5rem 1.25rem; color: #444; line-height: 1.65; font-size: .98rem; }
.tarif-faq-a p { margin: 0; }
@media (max-width: 560px) {
  .tarif-faq { padding: 3rem 1rem; }
  .tarif-faq h2 { font-size: 1.55rem; }
  .tarif-faq-item summary { padding: 1rem 2.2rem 1rem 1.1rem; font-size: .96rem; }
  .tarif-faq-item summary::after { right: 1rem; }
  .tarif-faq-a { padding: 0 1.1rem 1.1rem; }
}
