

:root {
    --navy: #0f2744;
    --navy-mid: #1a3a5c;
    --navy-light: #2a5280;
    --gold: #c8922a;
    --gold-light: #e8b94f;
    --gold-pale: #fdf4e3;
    --cream: #f8f5f0;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-muted: #5a6070;
    --text-light: #8a909e;
    --border: #e0dbd2;
    --danger: #c0392b;
    --success: #1a6b3c;
    --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(--text-muted);
}

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

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

.breadcrumb span {
    margin: 0 6px;
}

/* ── HERO ── */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 2rem 3.5rem;
    position: relative;
    overflow: hidden;
}

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

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}

.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;
}

.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;
    border: none;
    cursor: pointer;
    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;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    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;
    line-height: 1;
}


/*  ── Exppertisess  ── */
/* Variables de couleurs basées sur votre charte graphique */
:root {
    --navy: #002349;       /* Bleu foncé pour les titres */
    --gold: #c5a059;       /* Couleur dorée pour les accents si besoin */
    --border: #e2e8f0;     /* Gris clair pour les bordures */
    --text-muted: #64748b; /* Gris pour le texte descriptif */
}

/* Grille principale : 2 colonnes sur desktop, 1 sur mobile */
.expertises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* La Carte */
.expertise-card {
    display: flex;
    align-items: flex-start; /* Aligne le numéro en haut */
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Le numéro (le badge bleu) */
.expertise-num {
    background-color: var(--navy);
    color: white;
    font-weight: bold;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 1.25rem;
    font-size: 0.9rem;
    flex-shrink: 0; /* Empêche le numéro de s'écraser */
}

/* Contenu textuel */
.expertise-content {
    flex: 1;
}

.expertise-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.expertise-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Lien "En savoir plus" */
.expertise-link {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.expertise-link:hover {
    text-decoration: underline;
}

/* Responsive pour mobiles */
@media (max-width: 600px) {
    .expertises-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 1.25rem;
    }
}
/* Style de la section globale */
.section-highlight {
    padding: 4rem 0;
    background-color: #fff;
}

/* Introduction de la section */
.section-highlight h2 {
    font-family: 'DM Serif Display', serif; /* Ou votre police de titre */
    color: #002349;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-intro {
    color: #4a5568;
    max-width: 800px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Grille des éléments */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

/* Style de chaque carte (Item) */
.highlight-item {
    background-color: #f8f5f0; /* Fond beige très clair comme sur l'image */
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Le titre de la catégorie (Label) */
.highlight-label {
    text-transform: uppercase;
    color: #c5a059; /* Couleur dorée pour le titre */
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* Le texte descriptif */
.highlight-text {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Adaptabilité mobile */
@media (max-width: 768px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        padding: 1.5rem;
    }
}
/* Conteneur principal de la zone */
.zones-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: #fcfaf7; /* Fond beige très léger */
    border-radius: 12px;
    padding: 2rem 1rem;
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Chaque colonne */
.zone-block {
    flex: 1;
    min-width: 200px;
    padding: 0 2rem;
    border-left: 1px solid #cbd5e1; /* Ligne verticale de séparation */
}

/* On enlève la bordure gauche pour la première colonne */
.zone-block:first-child {
    border-left: none;
}

/* Titre des colonnes (ex: Agglomération berruyère) */
.zone-title {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.85rem;
    color: #002349;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #e2e8f0; /* Petite ligne sous le titre */
}

/* Liste des villes */
.zone-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zone-block li {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Ajustements pour mobile */
@media (max-width: 992px) {
    .zone-block {
        flex: 0 0 50%; /* 2 colonnes sur tablette */
        border-left: none;
        margin-bottom: 2rem;
    }
    
    /* On peut rajouter une bordure subtile pour séparer visuellement en mobile si besoin */
    .zone-block:nth-child(even) {
        border-left: 1px solid #e2e8f0;
    }
}

@media (max-width: 576px) {
    .zone-block {
        flex: 0 0 100%; /* 1 colonne sur petit mobile */
        border-left: none !important;
        padding: 0 1rem;
    }
}
/* Conteneur principal (le bandeau beige) */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    background-color: #f8f5f0; /* Fond beige identique aux autres sections */
    border-radius: 15px;
    padding: 2rem 1rem;
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Chaque cellule de contact */
.contact-card {
    flex: 1;
    min-width: 200px;
    padding: 0 2.5rem;
    border-left: 1px solid #cbd5e1; /* Ligne verticale de séparation */
}

/* Suppression de la bordure pour le premier élément */
.contact-card:first-child {
    border-left: none;
}

/* Label en haut (Adresse, Téléphone, etc.) */
.contact-label {
    text-transform: uppercase;
    color: #c5a059; /* Doré pour les labels */
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* Valeur textuelle */
.contact-val {
    color: #002349; /* Bleu marine pour le contenu */
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.4;
}

.contact-val a {
    color: inherit;
    text-decoration: none;
}

.contact-val a:hover {
    text-decoration: underline;
}

/* Adaptabilité mobile */
@media (max-width: 992px) {
    .contact-grid {
        padding: 1rem;
    }
    
    .contact-card {
        flex: 0 0 50%; /* 2 par ligne sur tablette */
        border-left: none;
        margin: 1.5rem 0;
    }
    
    /* Ajout d'une bordure subtile pour la structure en 2x2 */
    .contact-card:nth-child(even) {
        border-left: 1px solid #e2e8f0;
    }
}

@media (max-width: 600px) {
    .contact-card {
        flex: 0 0 100%; /* 1 par ligne sur mobile */
        border-left: none !important;
        padding: 1rem 1.5rem;
        text-align: center;
    }
}
/* Style de la section d'introduction */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    gap: 4rem; /* Espace généreux entre les colonnes */
    margin-top: 2.5rem;
}

/* Titres de blocs (h3) */
.intro-block h3 {
    font-weight: 700;
    color: #002349; /* Bleu marine Assuromieux */
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

/* Paragraphes à l'intérieur des blocs */
.intro-block p {
    color: #4a5568; /* Gris anthracite lisible */
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Optimisation pour les tablettes et mobiles */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr; /* Passage en une seule colonne */
        gap: 2rem;
    }
    
    .intro-block h3 {
        font-size: 1.15rem;
    }
}
section {
    padding: 3.5rem 0;
}

section+section {
    border-top: 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;
}

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

/* ── SIMULATEUR ── */
.simulator-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.sim-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
    display: block;
}

.sim-select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6070' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.sim-slider-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sim-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--navy);
    cursor: pointer;
}

.sim-ca-display {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    min-width: 90px;
    text-align: right;
}

.sim-result {
    margin-top: 1.5rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.sim-result-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2px;
}

.sim-result-val {
    font-size: 1.5rem;
    font-weight: 500;
}

.sim-result-val em {
    font-style: normal;
    color: var(--gold-light);
}

.sim-cta-inline {
    background: var(--gold);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.sim-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: .75rem;
}

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

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

.tarif-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #c5bdb0;
}

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

.tarif-card .examples {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.tarif-card .taux-unit {
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    margin-top: 2px;
}

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

.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;
}

/* ── 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;
}

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

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

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

.facteur-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .4rem;
}

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

/* ── ECONOMIES ── */
.economies-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.eco-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: .75rem;
}

.eco-card ul {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 1.1rem;
    line-height: 1.9;
}

/* ── 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;
}

.faq-btn .faq-arrow {
    font-size: 18px;
    color: var(--text-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(--text-muted);
    line-height: 1.75;
}

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

/* ── CTA FINAL ── */
.cta-final {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
}

.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-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 INTERNE ── */
.internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .75rem;
}

.internal-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;
}

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

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

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

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



/* ── MOBILE CTA BAR ── */
.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;
}

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

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

@media (max-width: 600px) {
   

    .hero {
        padding: 2.5rem 1.25rem 2rem;
    }

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

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

    .trust-bar {
        gap: 1rem;
    }

    .economies-row {
        grid-template-columns: 1fr;
    }

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

    .mobile-cta {
        display: flex;
    }

    

    section {
        padding: 2.25rem 0;
    }

    .breadcrumb {
        padding: 10px 1.25rem;
    }

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