/* ── Services Page ── */

/* Legacy selectors */
#explorer_map { max-width:100%; width:auto; height:auto; margin:10px; }
#filter { padding-top:20px; }
nav#filter a { padding:10px !important; background-color:#555; color:#fff; }
nav#filter a.current, nav#filter a:hover { background-color:#c40018; color:#fff; }
#section-services { background-color:#92a4b7; }

/* ── Surcharge des couleurs globales pour les sections claires ── */
#transfert .heading, #transfert .heading-text,
#assurance .heading, #assurance .heading-text,
#horaires .heading, #horaires .heading-text,
#carte .heading, #carte .heading-text,
#boraexpl .heading, #boraexpl .heading-text,
#retours .heading, #retours .heading-text {
    color: #222;
    text-shadow: none;
}
#transfert h2.heading, #assurance h2.heading, #horaires h2.heading,
#carte h2.heading, #boraexpl h2.heading, #retours h2.heading {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}
#transfert h3.heading, #horaires h3.heading, #retours h3.heading {
    color: #333;
    font-size: 1.9rem;
}
#transfert .heading-text, #assurance .heading-text,
#horaires .heading-text, #carte .heading-text,
#boraexpl .heading-text, #retours .heading-text {
    color: #444;
}

/* ── Hero rouge ── */
.fd-rouge-services {
    background: #c40018;
    padding: 52px 0 44px;
}
.fd-rouge-services .heading {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.fd-rouge-services .heading-text {
    color: rgba(255,255,255,.92);
    font-size: 1.6rem;
}

/* ── Navigation rapide interne ── */
.services-quicknav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.services-quicknav a {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 24px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.services-quicknav a:hover {
    background: rgba(255,255,255,.3);
    border-color: #fff;
    text-decoration: none;
    color: #fff;
}

/* ── Icon card (Transfert, Carte) ── */
.service-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    height: 100%;
    min-height: 200px;
}
.service-icon-card svg {
    margin-bottom: 16px;
}
.service-icon-label {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* ── Services list (bullets Transfert) ── */
.services-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
}
.services-list li {
    font-size: 1.45rem;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.5;
}
.services-list li:last-child { border-bottom: none; }

/* ── Lien "en savoir plus" ── */
.btn-link-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.btn-link-more:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, .75);
}

/* ── Assurance cards grid ── */
.services-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.service-card {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #e8e8e8;
    padding: 20px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.service-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}
.service-card p {
    font-size: 1.3rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}
.service-card-highlight {
    border-color: #c40018;
    background: #fff8f8;
}
.service-card-highlight h4 { color: #c40018; }

/* ── Franchise table ── */
.franchise-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.35rem;
    margin-top: 10px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.franchise-table thead {
    background: #c40018;
    color: #fff;
}
.franchise-table th {
    padding: 12px 16px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
}
.franchise-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    vertical-align: middle;
}
.franchise-table tr:last-child td { border-bottom: none; }
.franchise-table tbody tr:nth-child(even) { background: #fafafa; }
.franchise-table tbody tr:hover { background: #fff3f3; }

/* ── Agence cards (horaires) ── */
.agence-card {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #e8e8e8;
    padding: 28px 24px;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
    margin-bottom: 16px;
    height: 100%;
}
.agence-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #c40018;
    margin: 0 0 14px;
}
.agence-card p {
    font-size: 1.35rem;
    color: #444;
    line-height: 1.6;
    margin: 0 0 10px;
}
.agence-card p:last-child { margin-bottom: 0; }
.agence-card small { color: #777; font-size: 1.2rem; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .services-cards-grid { grid-template-columns: 1fr; }
    .service-icon-card { margin-top: 24px; min-height: 150px; }
    .agence-card { margin-bottom: 16px; }
    .franchise-table th, .franchise-table td { font-size: 1.2rem; padding: 10px 12px; }
}
@media (max-width: 767px) {
    .services-quicknav { gap: 8px; }
    .services-quicknav a { font-size: 1.15rem; padding: 7px 14px; }
    .fd-rouge-services { padding: 36px 0 30px; }
    .fd-rouge-services .heading-text { font-size: 1.4rem; }
    .services-list li { font-size: 1.35rem; }
    .agence-title { font-size: 1.5rem; }
}
