/* ==========================================================================
   Thème Transports Fertier
   Mobile first · Barlow / Barlow Condensed · bleu Fertier
   ========================================================================== */

:root {
    --brand: #0b4aa2;
    --brand-600: #0a3f8a;
    --brand-800: #072f6b;
    --brand-900: #051d44;
    --accent: #3d8bff;
    --accent-soft: #e8f1ff;

    --ink: #0d1728;
    --text: #3b4658;
    --muted: #667085;
    --line: #e2e7ef;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;

    --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(13, 23, 40, .06), 0 2px 8px rgba(13, 23, 40, .05);
    --shadow: 0 10px 30px -10px rgba(7, 47, 107, .22);
    --shadow-lg: 0 30px 60px -20px rgba(5, 29, 68, .35);

    --wrap: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section: clamp(4rem, 9vw, 7rem);
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.05; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-display); font-weight: 700; font-size: .95rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
    margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; transform: skewX(-30deg); }
.eyebrow-light { color: #a9ccff; }

.section { padding: var(--section) 0; }
.section-tinted { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.25rem); font-weight: 800; }
.section-intro { font-size: 1.15rem; color: var(--muted); margin: 0; }

.rich > *:last-child { margin-bottom: 0; }
.rich ul { padding-left: 1.2rem; margin-bottom: 1em; }
.rich strong { color: var(--ink); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.4rem; border: 2px solid transparent; border-radius: 999px;
    font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 74, 162, .6); }
.btn-primary:hover { background: var(--brand-800); color: #fff; }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--brand-800); color: #fff; }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--accent-soft); color: var(--brand-900); }
.btn-ghost { background: var(--accent-soft); color: var(--brand-800); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(5, 29, 68, .35); }

.topbar { display: none; background: var(--brand-900); color: #c8d6ee; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar-tagline { margin: 0; }
.topbar-infos { display: flex; gap: 1.5rem; list-style: none; }
.topbar-infos li { display: flex; align-items: center; gap: .45rem; }
.topbar-infos .icon { width: 1rem; height: 1rem; color: var(--accent); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.navbar { border-bottom: 1px solid var(--line); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand img { height: 48px; width: auto; }

.navbar-actions { display: flex; align-items: center; gap: .75rem; }
.navbar-phone { display: none; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.navbar-phone small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.1; }
.navbar-phone strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.navbar-phone-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--brand); }
.navbar-cta { display: none; }

.burger { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--bg-soft); color: var(--ink); cursor: pointer; }
.burger .burger-close { display: none; }
.burger[aria-expanded="true"] .burger-open { display: none; }
.burger[aria-expanded="true"] .burger-close { display: block; }
.burger span { display: contents; }

.nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
    background: #fff; padding: 1.5rem var(--gutter) 2rem;
    display: flex; flex-direction: column; gap: 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-list { list-style: none; display: flex; flex-direction: column; }
.nav-link {
    display: block; padding: 1rem 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
    color: var(--ink); text-decoration: none;
}
.nav-link.is-active { color: var(--brand); }
.nav-mobile-cta { display: grid; gap: .75rem; }
body.nav-open { overflow: hidden; }

@media (min-width: 768px) {
    .topbar { display: block; }
    .navbar-cta { display: inline-flex; }
    .nav { inset: calc(var(--header-h) + 38px) 0 0 0; }
}

@media (min-width: 1100px) {
    :root { --header-h: 88px; }
    .brand img { height: 58px; }
    .burger { display: none; }
    .nav {
        position: static; inset: auto; padding: 0; background: none; overflow: visible;
        opacity: 1; visibility: visible; transform: none; flex-direction: row;
    }
    .nav-list { flex-direction: row; gap: .25rem; }
    .nav-link {
        position: relative; padding: .5rem .8rem; border: 0;
        font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink);
    }
    .nav-link::after {
        content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .1rem; height: 3px;
        background: var(--brand); transform: scaleX(0) skewX(-30deg); transform-origin: left; transition: transform .25s var(--ease);
    }
    .nav-link:hover { color: var(--brand); }
    .nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1) skewX(-30deg); }
    .nav-mobile-cta { display: none; }
    .navbar-phone { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(88vh, 820px); display: flex; align-items: flex-end;
    color: #fff; background: var(--brand-900);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: heroZoom 18s var(--ease) both; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(5, 29, 68, .35) 0%, rgba(5, 29, 68, .15) 35%, rgba(5, 29, 68, .92) 100%),
        linear-gradient(90deg, rgba(5, 29, 68, .75) 0%, rgba(5, 29, 68, 0) 70%);
}
.hero::after {
    content: ""; position: absolute; right: -6%; bottom: 0; width: 45%; height: 12px; z-index: -1;
    background: var(--accent); transform: skewX(-35deg); transform-origin: bottom;
}
.hero-inner { padding-top: 6rem; padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.hero-content { max-width: 760px; }
.hero-title { color: #fff; font-size: clamp(2.8rem, 8vw, 5.4rem); font-weight: 800; line-height: .95; margin-bottom: 1.25rem; text-wrap: balance; }
.hero-title em { font-style: normal; color: #8cbcff; }
.hero-text { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: #dbe6f7; max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2.5rem; font-weight: 600; color: #e6eefb; }
.hero-badges li { display: flex; align-items: center; gap: .45rem; }
.hero-badges .icon { color: #8cbcff; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ==========================================================================
   Chiffres clés
   ========================================================================== */
.figures { position: relative; z-index: 2; padding: 3rem 0; }
.figures-overlap { padding-top: 0; margin-top: -2.5rem; }
.figures-grid {
    list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.figure { display: flex; flex-direction: column; gap: .15rem; padding: 1.5rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure:nth-child(2n) { border-right: 0; }
.figure-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .6rem; border-radius: 12px; background: var(--accent-soft); color: var(--brand); }
.figure-value { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--ink); line-height: 1; }
.figure-label { font-size: .95rem; color: var(--muted); font-weight: 500; }

@media (min-width: 900px) {
    .figures-grid { grid-template-columns: repeat(4, 1fr); }
    .figure { border-bottom: 0; padding: 2rem; }
    .figure:nth-child(2n) { border-right: 1px solid var(--line); }
    .figure:last-child { border-right: 0; }
}

/* ==========================================================================
   Services (cartes)
   ========================================================================== */
.services-grid { display: grid; gap: 1.5rem; }
.service-card { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.service-card-link:hover { color: inherit; }
.service-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--brand-800); overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-icon {
    position: absolute; left: 1.25rem; bottom: -1px; display: grid; place-items: center;
    width: 58px; height: 52px; background: #fff; color: var(--brand); border-radius: 14px 14px 0 0;
}
.service-card-icon .icon { width: 30px; height: 30px; }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.5rem 1.75rem; }
.service-card-tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .35rem; }
.service-card-title { font-size: 1.9rem; margin-bottom: .5rem; }
.service-card-text { color: var(--muted); }
.service-card-specs { font-weight: 600; color: var(--ink); padding: .6rem .8rem; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: .95rem; }
.service-card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--brand); }
.service-card-more .icon { transition: transform .25s var(--ease); }
.service-card:hover .service-card-more .icon { transform: translateX(4px); }

@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ==========================================================================
   Image + texte
   ========================================================================== */
.split-inner { display: grid; gap: 2.5rem; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-badge {
    position: absolute; right: 1rem; bottom: -1.5rem; padding: 1.1rem 1.4rem;
    background: var(--brand); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.split-badge strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.split-badge span { font-size: .9rem; color: #cfe0fb; }
.checklist { list-style: none; display: grid; gap: .75rem; margin: 1.5rem 0 2rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--brand); stroke-width: 2.6; margin-top: .05rem; }

@media (min-width: 900px) {
    .split-inner { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); }
    .split-reverse .split-media { order: 2; }
    .split-badge { right: -1.5rem; }
    .split-reverse .split-badge { right: auto; left: -1.5rem; }
}

/* ==========================================================================
   En-tête de page
   ========================================================================== */
.page-header {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
    background: linear-gradient(120deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand) 100%);
    color: #fff;
}
.page-header::after {
    content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 40%; z-index: -1;
    background: rgba(255, 255, 255, .05); transform: skewX(-30deg);
}
.page-header-media { position: absolute; inset: 0; z-index: -2; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; opacity: .25; mix-blend-mode: luminosity; }
.page-header-title { color: #fff; font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; margin-bottom: .75rem; }
.page-header-intro { max-width: 640px; font-size: 1.15rem; color: #d3e1f6; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: #a9c1e6; margin-bottom: 1.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   Détail service
   ========================================================================== */
.service-detail-inner { display: grid; gap: 2.5rem; }
.service-detail-main { display: grid; gap: 2.5rem; min-width: 0; }
.service-detail-main .section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.checklist-cards { grid-template-columns: 1fr; margin: 0; }
.checklist-cards li { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

.specs { border-radius: var(--radius-lg); background: var(--bg-soft); padding: clamp(1.5rem, 4vw, 2.25rem); }
.specs-title { font-size: 1.6rem; margin-bottom: 1.25rem; }
.specs-list { display: grid; gap: 1rem; margin: 0; }
.spec { padding: 1.25rem; background: #fff; border-radius: var(--radius); border-left: 4px solid var(--brand); box-shadow: var(--shadow-sm); }
.spec dt { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: .2rem 0 0; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.specs-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0 0; color: var(--ink); font-weight: 500; }
.specs-note .icon { color: var(--brand); margin-top: .15rem; }
.service-detail-figure { margin: 0; }
.service-detail-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }

.contact-card {
    align-self: start; padding: 2rem; border-radius: var(--radius-lg);
    background: var(--brand-900); color: #d3e1f6;
    background-image: linear-gradient(160deg, var(--brand-800), var(--brand-900));
}
.contact-card-title { color: #fff; font-size: 1.8rem; margin-bottom: .5rem; }
.contact-card-list { list-style: none; display: grid; gap: .9rem; margin: 1.5rem 0; }
.contact-card-list li { display: flex; align-items: center; gap: .75rem; }
.contact-card-list .icon { color: var(--accent); }
.contact-card-list a { color: #fff; font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card-list a:hover { text-decoration: underline; }
.contact-card .btn-primary { background: #fff; color: var(--brand-800); box-shadow: none; }
.contact-card .btn-primary:hover { background: var(--accent-soft); }

@media (min-width: 700px) {
    .checklist-cards { grid-template-columns: repeat(2, 1fr); }
    .specs-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .service-detail-inner { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; }
    .contact-card { position: sticky; top: calc(var(--header-h) + 60px); }
}

/* ==========================================================================
   Parc de véhicules
   ========================================================================== */
.fleet-grid { list-style: none; display: grid; gap: 1rem; }
.fleet-item {
    position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center;
    padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
    transition: border-color .25s, box-shadow .25s;
}
.fleet-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.fleet-icon { grid-row: span 3; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); color: var(--brand); }
.fleet-icon .icon { width: 34px; height: 34px; }
.fleet-count { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; }
.fleet-label { font-weight: 700; color: var(--ink); line-height: 1.3; }
.fleet-detail { font-size: .95rem; color: var(--muted); }
.fleet-note {
    display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.5rem;
    border-radius: var(--radius-lg); background: var(--brand-900); color: #d3e1f6;
}
.fleet-note .icon { color: var(--accent); width: 32px; height: 32px; }
.fleet-note strong { color: #fff; }

@media (min-width: 700px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-inner { display: grid; gap: 2rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-item { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.faq-toggle { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--brand); transition: transform .25s var(--ease), background-color .25s, color .25s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--text); }
.faq-answer p { margin: 0; }

@media (min-width: 1024px) {
    .faq-inner { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
    .faq-head { position: sticky; top: calc(var(--header-h) + 60px); }
}

/* ==========================================================================
   Bandeau CTA
   ========================================================================== */
.cta-banner { padding: 0 0 var(--section); }
.section + .cta-banner, .section-tinted + .cta-banner { padding-top: 0; }
.section-tinted + .cta-banner { padding-top: var(--section); }
.cta-banner-box {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; gap: 1.75rem; align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-800) 100%); color: #d8e5f8;
}
.cta-banner-box::before {
    content: ""; position: absolute; right: -8%; top: -20%; bottom: -20%; width: 35%; z-index: -1;
    background: rgba(255, 255, 255, .07); transform: skewX(-30deg);
}
.cta-banner-title { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: .5rem; }
.cta-banner-text p { margin: 0; font-size: 1.1rem; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

@media (min-width: 900px) {
    .cta-banner-box { grid-template-columns: 1fr auto; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-inner { display: grid; gap: 3rem; }
.contact-list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--bg-soft); }
.contact-item-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.contact-item-body { display: flex; flex-direction: column; min-width: 0; }
.contact-item-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item-body a, .contact-item-value { font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-item-body a:hover { color: var(--brand); }
.contact-map { margin-top: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form-title { font-size: 2rem; margin-bottom: .4rem; }
.contact-form-text { color: var(--muted); }
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--brand); }
.field input:not([type="checkbox"]), .field textarea, .field select {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-soft); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(61, 139, 255, .18); }
.field textarea { resize: vertical; min-height: 140px; }
.field-checkbox label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.field-checkbox input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--brand); }
.contact-form-privacy { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }

@media (min-width: 640px) {
    .contact-form { grid-template-columns: 1fr 1fr; }
    .field-full { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .contact-inner { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; }
}

/* ---------- Messages formulaires (datastore) ---------- */
.form-message-success, .form-message-error { display: none; grid-column: 1 / -1; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-message-success p, .form-message-error p { margin: 0; }
.form-message-success { background: #e7f7ee; color: #146c3c; border: 1px solid #b6e4c8; }
.form-message-error { background: #fdecec; color: #a42020; border: 1px solid #f5c2c2; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--brand-900); color: #a9bcd9; font-size: .98rem; }
.site-footer::before {
    content: ""; position: absolute; top: 0; left: 0; width: 38%; height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--brand)); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.footer-grid { display: grid; gap: 2.5rem; padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: 3rem; }
.footer-logo { display: inline-block; padding: .75rem 1rem; background: #fff; border-radius: var(--radius); margin-bottom: 1.25rem; }
.footer-logo img { height: 48px; width: auto; }
.footer-brand p { max-width: 360px; margin: 0; }
.footer-title { color: #fff; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: .65rem; }
.site-footer address { font-style: normal; }
.site-footer a { color: #e3ebf7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); width: 1.15rem; height: 1.15rem; margin-top: .25rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; }

@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; } }

/* ==========================================================================
   Blocks communs (common.*)
   ========================================================================== */
.block-title, .block-text, .block-image, .block-form-wrap {
    width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 2.5rem var(--gutter);
}
.block-title[data-align="center"], .block-text[data-align="center"] { text-align: center; }
.block-title[data-align="right"], .block-text[data-align="right"] { text-align: right; }
.block-title-heading { margin: 0 0 .5rem; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; color: var(--ink); }
.block-title-subtitle { margin: 0; font-size: 1.15rem; color: var(--muted); }

.block-text { line-height: 1.7; }
.block-text h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-top: 1.5em; }
.block-text h3 { font-size: 1.5rem; margin-top: 1.4em; }
.block-text ul, .block-text ol { padding-left: 1.3rem; margin-bottom: 1em; }
.block-text li { margin-bottom: .35em; }
.block-text > *:first-child { margin-top: 0; }
.block-text > p, .block-text > ul, .block-text > ol, .block-text > h2, .block-text > h3 { max-width: 78ch; }
.block-text[data-align="center"] > * { margin-left: auto; margin-right: auto; }

.block-image { margin-top: 0; margin-bottom: 0; }
.block-image-media { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.block-image-caption { margin-top: .75rem; font-size: .9rem; color: var(--muted); text-align: center; }

.block-form-wrap > h2, .block-form-wrap > h3 { font-size: 2rem; }
.block-form { display: grid; gap: 1rem; max-width: 640px; }
.block-form-field { display: flex; flex-direction: column; gap: .4rem; }
.block-form-label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.block-form-input {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.block-form-input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(61, 139, 255, .18); }
textarea.block-form-input { min-height: 140px; resize: vertical; }
.block-form-checkbox { width: 18px; height: 18px; accent-color: var(--brand); }
.block-form-submit {
    justify-self: start; display: inline-flex; align-items: center; gap: .5rem;
    padding: 1rem 1.7rem; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--brand); color: #fff; font-weight: 700; font-size: 1.05rem;
    transition: background-color .2s, transform .2s;
}
.block-form-submit:hover { background: var(--brand-800); }

/* ==========================================================================
   Animations d'apparition
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* Carte service sans photo */
.service-card-media-empty {
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-800), var(--brand-900));
    background-image: repeating-linear-gradient(-60deg, rgba(255, 255, 255, .04) 0 18px, transparent 18px 36px), linear-gradient(135deg, var(--brand), var(--brand-900));
}
.service-card-media-empty::after { content: ""; width: 38%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .06); }
