/* ===== Franck Débarras Services — feuille de style commune ===== */
:root {
    --bleu-marine-logo: #0a2463;
    --bleu-clair-original: #3e92cc;
    --blanc-original: #ffffff;
    --gris-clair-original: #f5f5f5;
    --texte-fonce: #333333;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6; color: var(--texte-fonce); background-color: var(--blanc-original);
}
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1100px; margin: auto; padding: 0 20px; }
h1, h2, h3 { color: var(--bleu-marine-logo); margin-bottom: 1rem; line-height: 1.25; }
h1 { font-size: 2.8rem; font-family: 'Georgia', Times, serif; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 2.5rem; }
h2::after { content: ''; display: block; width: 80px; height: 4px; background-color: var(--bleu-clair-original); margin: 0.5rem auto 0; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--bleu-clair-original); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid var(--bleu-clair-original); outline-offset: 2px;
}

/* En-tête */
header { background-color: var(--bleu-marine-logo); color: #fff; padding: 0.5rem 1rem; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo .logo-svg { display: block; height: 55px; width: auto; }
.logo-svg-text { font-family: 'Georgia', Times, serif; fill: #fff; text-anchor: middle; font-weight: bold; }
.logo-svg-truck-main { fill: #fff; }
.logo-svg-truck-lines { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 1.3rem; }
nav ul li a { color: #fff; font-weight: 500; transition: color 0.3s; }
nav ul li a:hover, nav ul li a[aria-current="page"] { color: var(--bleu-clair-original); text-decoration: none; }
.header-contact-info { font-size: 1.1rem; font-weight: bold; text-align: right; }
.header-contact-info a { color: #fff; }
.header-contact-info small { display: block; font-weight: normal; font-size: 0.8rem; opacity: 0.8; }

/* Héros */
.hero {
    background: linear-gradient(rgba(10,36,99,0.85), rgba(10,36,99,0.85)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%230a2463"/><path d="M0,100 Q300,150 600,100 T1200,100 V600 H0 Z" fill="%233e92cc" opacity="0.2"/></svg>');
    background-size: cover; background-position: center; color: #fff; text-align: center;
    padding: 5rem 1rem; min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hero-small { min-height: auto; padding: 3.5rem 1rem; }
.hero h1 { color: #fff; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); margin-bottom: 1.5rem; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; color: var(--gris-clair-original); }
.hero .hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-badges { list-style: none; display: flex; gap: 0.6rem 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; font-size: 1rem; color: var(--gris-clair-original); }
.hero-badges li::before { content: '✓ '; color: var(--bleu-clair-original); font-weight: bold; }

/* Boutons */
.btn {
    display: inline-block; background-color: var(--bleu-clair-original); color: #fff;
    padding: 0.9rem 2rem; font-size: 1.1rem; border-radius: 50px; font-weight: 600;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn:hover { background-color: #fff; color: var(--bleu-marine-logo); border-color: var(--bleu-marine-logo); transform: translateY(-2px); text-decoration: none; }
.btn-outline { background: transparent; border: 2px solid #fff; }

/* Sections */
section { padding: 4rem 1rem; }
.bg-gris { background-color: var(--gris-clair-original); }
.services-overview { text-align: center; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem 2rem; margin-top: 2rem; text-align: left; }
.service-item { background: #fff; border-radius: 10px; padding: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; position: relative; display: flex; flex-direction: column; }
.service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.service-item h3 { margin-top: 0.5rem; margin-bottom: 0.8rem; }
.service-item .more { margin-top: auto; font-weight: 600; }
.service-icon { position: absolute; top: -25px; left: 20px; background: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.service-icon svg { width: 24px; height: 24px; fill: var(--bleu-marine-logo); }
.service-content { padding-top: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.why-us ul, .how-it-works ol, .content-page ul, .content-page ol { margin-left: 1.5rem; }
.why-us ul li, .how-it-works ol li { margin-bottom: 1rem; padding-left: 0.5rem; font-size: 1.05rem; }
.why-us strong, .how-it-works strong { color: var(--bleu-marine-logo); font-weight: 600; }
.narrow { max-width: 800px; margin: 0 auto; }

/* Équipe */
.team-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; }
.team-photo { border-radius: 10px; overflow: hidden; background: #02305d; box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.team-grid h2 { text-align: left; }
.team-grid h2::after { margin-left: 0; }
.team-grid ul { margin: 1rem 0 0 1.5rem; }

/* Zones */
.zones-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.5rem; }
.zones-list a { display: inline-block; padding: 0.6rem 1.3rem; border: 2px solid var(--bleu-marine-logo); border-radius: 50px; color: var(--bleu-marine-logo); font-weight: 600; }
.zones-list a:hover { background: var(--bleu-marine-logo); color: #fff; text-decoration: none; }

/* Pages de contenu */
.breadcrumb { font-size: 0.9rem; margin-bottom: 1rem; color: var(--gris-clair-original); }
.breadcrumb a { color: #fff; text-decoration: underline; }
.content-page { max-width: 800px; margin: 0 auto; font-size: 1.05rem; }
.content-page h2 { text-align: left; font-size: 1.8rem; margin: 2.5rem 0 1rem; }
.content-page h2::after { margin-left: 0; }
.content-page h2:first-child { margin-top: 0; }
.content-page li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.encart { background: var(--gris-clair-original); border-left: 5px solid var(--bleu-clair-original); padding: 1.5rem; border-radius: 0 10px 10px 0; margin: 2rem 0; }
.encart p:last-child { margin-bottom: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid #ddd; padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--bleu-marine-logo); font-size: 1.1rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.3rem; top: -0.1rem; font-size: 1.4rem; color: var(--bleu-clair-original); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.8rem 0 0; }

/* Formulaire */
.reservation-section { background: #fff; }
#bookingForm { background: var(--gris-clair-original); padding: 2.5rem; border-radius: 10px; max-width: 750px; margin: 0 auto; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.6rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.85rem; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; font-family: inherit; background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--bleu-clair-original); outline: none; box-shadow: 0 0 0 2px rgba(62,146,204,0.2); }
.form-group textarea { min-height: 120px; resize: vertical; }
.checkbox-group { display: flex; align-items: center; }
.checkbox-group input[type="checkbox"] { width: auto; margin-right: 0.7rem; transform: scale(1.1); }
.checkbox-group label { margin-bottom: 0; }
.form-note { font-size: 0.85rem; color: #666; }
.hidden-field { display: none; }
#bookingForm .btn { width: 100%; font-size: 1.2rem; }

/* Appel à l'action */
.cta-secondary { text-align: center; background: var(--gris-clair-original); padding: 3rem 1rem; }
.cta-secondary .btn { font-size: 1.3rem; padding: 1rem 2.5rem; margin: 0.4rem; }

/* Pied de page */
footer { background: var(--bleu-marine-logo); color: #fff; padding: 3rem 1rem; text-align: center; }
footer p { margin-bottom: 0.8rem; color: rgba(255,255,255,0.85); }
footer strong { color: #fff; }
footer a { color: #fff; font-weight: 500; }
footer a:hover { color: var(--bleu-clair-original); }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; text-align: left; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-nav h3 { color: #fff; font-size: 1.1rem; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 0.4rem; font-size: 0.95rem; }
.footer-contact-details p { font-size: 0.95rem; line-height: 1.5; }
.siret { font-size: 0.85rem; margin-top: 1rem; color: rgba(255,255,255,0.7); }
.site-credit { font-size: 0.8em; opacity: 0.7; margin-top: 15px; }

/* Barre d'appel mobile */
.call-bar { display: none; }

@media (max-width: 992px) {
    header { position: static; }
    html { scroll-padding-top: 0; }
    header .container { flex-direction: column; }
    .logo { margin-bottom: 0.5rem; }
    nav { width: 100%; }
    nav ul { justify-content: center; flex-wrap: wrap; }
    nav ul li { margin: 0.3rem 0.7rem; }
    .header-contact-info { margin-top: 0.5rem; text-align: center; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero { padding: 3rem 1rem; min-height: auto; }
    .team-grid { grid-template-columns: 1fr; gap: 2rem; }
    .team-photo { max-width: 280px; margin: 0 auto; }
    #bookingForm { padding: 1.5rem; }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .call-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
        padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom, 0px)); gap: 0.6rem;
        background: var(--bleu-marine-logo); box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    }
    .call-bar a { flex: 1; text-align: center; padding: 0.7rem; border-radius: 50px; font-weight: 700; color: #fff; }
    .call-bar .call { background: var(--bleu-clair-original); }
    .call-bar .quote { border: 2px solid #fff; }
    .call-bar a:hover { text-decoration: none; }
}
@media (max-width: 480px) {
    nav ul li { margin: 0.2rem 0.5rem; font-size: 0.9rem; }
    .btn { padding: 0.7rem 1.2rem; font-size: 1rem; }
    .cta-secondary .btn { font-size: 1.1rem; padding: 0.8rem 1.5rem; }
}

/* ---------- Réalisations avant / après ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 2.5rem; }
.ba-pair { background: #fff; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); overflow: hidden; margin: 0; display: flex; flex-direction: column; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bleu-marine-logo); }
.ba-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #e8e8e8; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 1; background: rgba(10,36,99,0.92); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 50px; }
.ba-tag-apres { background: var(--bleu-clair-original); }
.ba-pair figcaption { padding: 1.3rem 1.5rem 1.5rem; font-size: 1rem; }
.ba-pair figcaption strong { display: block; color: var(--bleu-marine-logo); font-size: 1.15rem; margin-bottom: 0.4rem; }
.ba-home .ba-grid { margin-bottom: 2rem; }
.ba-home .center { text-align: center; }

/* ---------- Logo au-dessus du titre de l'accueil ---------- */
.hero-logo { width: min(340px, 78vw); height: auto; margin: 0 auto 1.8rem; filter: drop-shadow(0 0 1.5px rgba(255,255,255,0.75)) drop-shadow(0 6px 16px rgba(0,0,0,0.35)); }
@media (max-width: 768px) { .hero-logo { margin-bottom: 1.3rem; } }
