/* ============================================================
   LOCAL.CSS — Pages CPT zone_expertise (département + ville)
   Dépendances : style.css, home.css
   NB : hero, section-domaines, section-process, section-faq,
        section-contact, hero__breadcrumb, section-exp-intro,
        exp-intro-picto sont déjà stylés dans home.css / nos-expertises.css
============================================================ */

/* ============================================================
   HERO LOCAL — variante (hauteur réduite vs accueil)
============================================================ */

.hero--local {
    min-height: 480px;
}

.hero--local h1 {
    font-size: clamp(26px, 3.5vw, 44px);
}

.text-red {
    color: var(--btn-color-hover);
}

.hero__tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin: 6px 0 20px;
    line-height: 1.6;
}


/* ============================================================
   POURQUOI CERTIS LOCAL
============================================================ */

.section-pourquoi-local {
    padding: 72px 0;
    background: white;
}

.pourquoi-local-inner {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-top: 36px;
}

.pourquoi-local-items {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pourquoi-local-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--border-color, #e8ecf1);
    border-radius: 10px;
    padding: 24px 20px;
}

.pourquoi-local-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}
.pourquoi-local-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pourquoi-local-label {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--title-color, #1a3a6b);
    margin: 0 0 6px;
}

.pourquoi-local-text {
    font-size: 14px;
    color: var(--txt-color, #555);
    line-height: 1.6;
    margin: 0;
}

.pourquoi-local-photo {
    flex-shrink: 0;
    width: 550px;
    border-radius: 10px;
    overflow: hidden;
}
.pourquoi-local-photo img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

/* ============================================================
   VILLES COUVERTES (page département)
============================================================ */

.section-villes {
    padding-bottom: 40px;
    background: #fff;
}

.villes-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 20px;
    margin: 24px 0 12px;
    padding: 0;
    list-style: none;
}

.villes-list__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--title-color, #1a3a6b);
}

.villes-list__item--autres {
    color: #999;
}

.villes-note {
    margin-top: 25px;
    font-size: 14px;
    color: var(--txt-color, #666);
    font-style: italic;
    text-align: center;
}

.villes-list__item a {
    color: var(--title-color, #1a3a6b);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.villes-list__item a:hover {
    color: var(--btn-color, #C4312B);
    text-decoration: underline;
}

/* ============================================================
   GRILLE AUTRES DÉPARTEMENTS (page département)
============================================================ */

.section-dept-grid {
    padding: 72px 0;
    background: white;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 32px;
}

/* Les 5 cards de la 2e ligne centrées */
.dept-grid .dept-card:nth-child(n+7) {
    grid-column: auto;
}

.dept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px 20px;
    background: #fff;
    border: 1px solid var(--border-color, #e8ecf1);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.dept-card:hover {
    box-shadow: 0 4px 16px rgba(26,58,107,0.1);
    border-color: #c2cfe0;
    transform: translateY(-2px);
}

.dept-card-name {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--title-color, #1a3a6b);
    margin: 0 0 12px;
    line-height: 1.4;
}

.dept-card-resume {
    font-size: 14px;
    color: var(--txt-color, #666);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.dept-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color, #e8ecf1);
    color: var(--btn-color, #C4312B);
    margin-top: 16px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.dept-card:hover .dept-card-arrow {
    background: var(--btn-color, #C4312B);
    border-color: var(--btn-color, #C4312B);
    color: #fff;
}

/* ============================================================
   BLOC DÉPARTEMENT PARENT (page ville uniquement)
============================================================ */

.section-dept-parent {
    padding: 48px 0;
    background: var(--bg-section, #f5f7fa);
}

.dept-parent__inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.dept-parent__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--btn-color, #C4312B);
    margin: 0 0 6px;
}

.dept-parent__link { text-decoration: none; }

.dept-parent__name {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--title-color, #1a3a6b);
    line-height: 1.2;
}

.dept-parent__right { flex: 1; }

.dept-parent__communes-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--title-color, #1a3a6b);
    margin: 0 0 12px;
}

.communes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.communes-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--title-color, #1a3a6b);
}

.communes-note {
    font-size: 14px;
    color: var(--txt-color, #666);
    font-style: italic;
    margin: 0;
}

/* ============================================================
   BANDEAU INTRO + FIL D'ARIANE
   Copié depuis nos-expertises.css — non chargé sur les CPT
============================================================ */

.hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 14px;
    color: var(--title-color);
    margin-top: -20px;
    margin-bottom: 20px;
    padding: 0;
    height: auto;
}

.hero__breadcrumb a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.2s;
}

.hero__breadcrumb a:hover {
    color: var(--btn-color);
}

.hero__breadcrumb span[aria-current="page"] {
    color: var(--title-color);
    font-weight: 600;
}

.section-exp-intro {
    padding: 44px 0;
    background: white;
}

.exp-intro-picto {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-section);
    border: 1.5px solid var(--border-color);
    border-left: 4px solid var(--btn-color-hover);
    border-radius: 10px;
    padding: 24px 28px;
    margin-top: 20px;
}

.exp-intro-picto img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.exp-intro-picto p {
    font-size: 14px !important;
    color: var(--txt-color);
    line-height: 1.75;
    margin: 0 !important;
    font-weight: 400 !important;
}

/* ============================================================
   FAQ LOCALE — sous-titre complémentaire
============================================================ */

.section-faq__subtitle {
    text-align: center;
    color: var(--txt-color, #666);
    font-size: 15px;
    margin: -16px 0 32px;
}

.section-faq {
    background: var(--bg-section);
}

.faq-list {
    background: white;
}

/* ============================================================
   FOOTER CTA LOCAL
============================================================ */

.footer-cta-local {
    background: var(--title-color, #1a3a6b);
    padding: 28px 0;
}

.footer-cta-local__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-cta-local__text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.footer-cta-local__text small {
    font-weight: 400;
    font-size: 14px;
    opacity: 0.75;
}

.footer-cta-local__brand {
    display: inline-block;
    margin-top: 4px;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: var(--btn-color-hover);
    opacity: 1 !important;
}

.footer-cta-local__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.footer-cta-local__actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-cta-local__note {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-cta-local__tel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    white-space: nowrap;
}

/* ============================================================
   ZONE D'INTERVENTION VILLE (page ville uniquement)
============================================================ */

.section-zone-ville {
    padding: 56px 0;
    background: var(--bg-section, #f5f7fa);
    border-top: 1px solid var(--border-color, #e8ecf1);
}

.zone-ville-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
}

.zone-ville-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--btn-color, #C4312B);
    font-weight: 600;
    margin: 0 0 10px;
}

.zone-ville-title {
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--title-color, #1a3a6b);
    line-height: 1.2;
    margin: 0;
}

.zone-ville-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color, #1a3a6b);
    margin: 0 0 14px;
}

.zone-ville-communes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.zone-ville-communes li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--title-color, #1a3a6b);
}

.zone-ville-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--txt-color, #666);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

.zone-ville-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--title-color, #1a3a6b);
    opacity: 0.55;
}

/* ============================================================
   BTN-TEL — footer CTA
============================================================ */

.btn-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    color: #fff;
    font-family: 'Gotham', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.btn-tel:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.7);
}

.villes-list__item a {
    color: var(--title-color, #1a3a6b);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.villes-list__item a:hover {
    color: var(--btn-color, #C4312B);
    text-decoration: underline;
}

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

@media (max-width: 1024px) {
    .pourquoi-local-photo { display: none; }
    .dept-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero--local { min-height: 380px; }
    .villes-list { grid-template-columns: repeat(2, 1fr); }
    .dept-grid { grid-template-columns: repeat(2, 1fr); }
    .pourquoi-local-items { grid-template-columns: 1fr; }
    .dept-parent__inner { flex-direction: column; gap: 24px; }
    .footer-cta-local__inner { flex-direction: column; text-align: center; }
    .footer-cta-local__actions { justify-content: center; }
    .zone-ville-inner { grid-template-columns: 1fr; gap: 28px; }
    .exp-intro-picto { flex-direction: column; }
}

@media (max-width: 480px) {
    .villes-list { grid-template-columns: 1fr; }
}

