/* =============================================================================
   Assurance décennale Bayonne — satellite CSS
   URL : /courtier-assurance-bayonne/assurance-decennale
   ============================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0f2744;
    --navy-mid: #1a3a5c;
    --navy-blue: #1a5a9a;
    --gold: #c8922a;
    --gold-light: #e8b94f;
    --cream: #f8f5f0;
    --white: #ffffff;
    --text: #1a1a1a;
    --muted: #5a6070;
    --light: #8a909e;
    --border: #e0dbd2;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 2px 16px rgba(15, 39, 68, 0.08);
    --shadow-md: 0 4px 32px rgba(15, 39, 68, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}



/* ── BREADCRUMB ── */
.breadcrumb {
    background: var(--cream);
    padding: 10px 2rem;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

/* ── HERO — variante bleue Bayonne ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem 3.5rem;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--gold);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(200, 146, 42, 0.18) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(200, 146, 42, 0.2);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(200, 146, 42, 0.3);
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    padding: 13px 26px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, transform .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 13px 26px;
    border-radius: 7px;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background .2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.trust-bar {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.trust-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

/* ── BARRE MÉTIERS ── */
.metiers-bar {
    background: var(--navy);
    padding: 1.25rem 2rem;
}

.metiers-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.metier-item {
    border-left: 2px solid rgba(200, 146, 42, 0.35);
    padding-left: 14px;
}

.metier-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 2px;
}

.metier-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

/* ── LAYOUT ── */
/* .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
} */

section {
    padding: 3.5rem 0;
}

section+section {
    border-top: 1px solid var(--border);
}

.section-cream {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: .5rem;
    line-height: 1.25;
}

h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .5rem;
}

p {
    color: var(--muted);
    margin-bottom: .85rem;
}

p:last-child {
    margin-bottom: 0;
}

.section-intro {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 640px;
}

/* ── GARANTIES ── */
.garanties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.garantie-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: box-shadow .2s;
}

.garantie-card:hover {
    box-shadow: var(--shadow-md);
}

.garantie-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-light);
    font-family: 'DM Serif Display', serif;
}

.garantie-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .35rem;
}

.garantie-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* ── ALERTE LÉGALE ── */
.alerte {
    background: #fff5f5;
    border: 1px solid #f5c0c0;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.alerte-icon {
    width: 20px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
}

.alerte-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid #c0392b;
    opacity: 0.6;
}

.alerte-icon::after {
    content: '!';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: #fff5f5;
    line-height: 1;
}

.alerte-text {
    font-size: 14px;
    color: #7a2020;
    line-height: 1.6;
}

.alerte-text strong {
    font-weight: 600;
}

/* ── CORPS DE MÉTIER ── */
.corps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.corps-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.corps-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gold);
    margin-bottom: .5rem;
}

.corps-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* ── TARIFS ── */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.tarif-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    transition: box-shadow .2s;
}

.tarif-card:hover {
    box-shadow: var(--shadow-md);
}

.tarif-card--featured {
    border-color: var(--navy);
}

.tarif-card--featured::before {
    content: 'Plus demandé';
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 500;
    background: var(--navy);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 99px;
}

.tarif-metier {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 500;
    color: var(--light);
    margin-bottom: .6rem;
}

.tarif-exemples {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: .85rem;
    line-height: 1.5;
}

.tarif-taux {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--navy);
    line-height: 1;
}

.tarif-unit {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

.tarif-equiv {
    font-size: 12px;
    color: var(--light);
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}

.tarif-note {
    font-size: 13px;
    color: var(--muted);
}

.tarif-note a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

/* ── ÉTAPES ── */
.etapes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.etape-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.etape-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.etape-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .5rem;
}

.etape-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── ZONES ── */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.zone-block {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.zone-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .75rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border);
}

.zone-block ul {
    list-style: none;
    padding: 0;
}

.zone-block li {
    font-size: 14px;
    color: var(--muted);
    padding: 3px 0;
}

/* ── FAQ ── */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    gap: 1rem;
    font-family: 'DM Sans', sans-serif;
}

.faq-btn .faq-arrow {
    font-size: 18px;
    color: var(--light);
    transition: transform .25s;
    flex-shrink: 0;
}

.faq-btn[aria-expanded="true"] .faq-arrow {
    transform: rotate(45deg);
}

.faq-body {
    display: none;
    padding-bottom: 1.1rem;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
}

.faq-body.open {
    display: block;
}

/* ── CTA FINAL ── */
.cta-final {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-blue) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    border-left: 4px solid var(--gold);
}

.cta-final h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: .75rem;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
    font-size: 15px;
}

.cta-final__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-final__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.badge {
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* ── MAILLAGE ── */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .75rem;
}

.link-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    transition: border-color .2s, box-shadow .2s;
}

.link-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow);
}

.link-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--light);
    margin-bottom: 4px;
}

.link-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.link-arrow {
    font-size: 13px;
    color: var(--gold);
    margin-top: 6px;
}


/* ── MOBILE CTA ── */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--navy);
    padding: 12px 1.25rem;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 11px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.mc-call {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.mc-devis {
    background: var(--gold);
    color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    nav .nav-links {
        display: none;
    }

    .hero {
        padding: 2.5rem 1.25rem 2rem;
        border-left: none;
        border-top: 4px solid var(--gold);
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .metiers-bar {
        display: none;
    }

    .garanties-grid {
        grid-template-columns: 1fr;
    }

    .etapes-grid {
        grid-template-columns: 1fr;
    }

    .mobile-cta {
        display: flex;
    }

    body {
        padding-bottom: 72px;
    }

    /* .container {
        padding: 0 1.25rem;
    } */

    section {
        padding: 2.25rem 0;
    }

    .cta-final {
        padding: 2rem 1.25rem;
    }

    .trust-bar {
        gap: 1rem;
    }
}