/* ==========================================================================
   SECC — feuille de style publique
   Palette issue du logo officiel (à valider) :
     marine #0a2469 · bleu #456ddb · bleu clair #859ce8
   Aucune police ni ressource externe (performance, confidentialité, CSP).
   ========================================================================== */

:root {
    --navy: #0a2469;
    --navy-900: #06184a;
    --navy-700: #1b3a8c;
    --blue: #456ddb;
    --blue-300: #859ce8;
    --blue-100: #e8edfb;
    --blue-50: #f4f6fd;
    --ink: #172233;
    --text: #3c4859;
    --muted: #5f6b7c;
    --border: #d9e2ee;
    --white: #ffffff;
    --success: #1d6b44;
    --success-bg: #e9f6ee;
    --error: #a42323;
    --error-bg: #fcecec;
    --warn: #7a4f00;
    --warn-bg: #fff6e0;

    --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(6, 24, 74, .06), 0 2px 8px rgba(6, 24, 74, .05);
    --shadow: 0 10px 30px rgba(6, 24, 74, .10);
    --container: 1180px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .hero-actions, .hero-actions.center { justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
    background: var(--navy); color: var(--white); border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 40px; height: 40px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-900); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-100); color: var(--navy-900); }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--navy-700); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Bandeau d'avis ---------- */
.notice-bar { background: var(--warn-bg); color: var(--warn); font-size: .88rem; text-align: center; padding: 8px 16px; }

/* ---------- En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border); backdrop-filter: saturate(160%) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.55rem/1 var(--font-serif); letter-spacing: .04em; color: var(--navy); }
.brand-sub { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.main-nav { display: none; }
.main-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 8px 16px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li > a {
    display: block; padding: 12px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--blue-100);
}
.nav-list a[aria-current="page"] { color: var(--navy-700); }
.sub-nav { list-style: none; margin: 0; padding: 0 0 8px 12px; }
.sub-nav a { display: block; padding: 8px 4px; color: var(--text); text-decoration: none; font-size: .95rem; }
.sub-nav a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.lang-switch {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--border);
    border-radius: 999px; font-size: .88rem; color: var(--muted); text-decoration: none;
}
.lang-switch strong { color: var(--navy); }
.lang-switch:hover { border-color: var(--navy); }

@media (min-width: 1080px) {
    .nav-toggle { display: none; }
    .main-nav, .main-nav.is-open {
        display: flex; align-items: center; gap: 20px; position: static; padding: 0; box-shadow: none; border: 0; max-height: none; overflow: visible;
    }
    .nav-list { display: flex; gap: 2px; }
    .nav-list > li { position: relative; }
    .nav-list > li > a { border: 0; padding: 10px 12px; border-radius: 8px; font-size: .97rem; }
    .nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { background: var(--blue-50); color: var(--navy); }
    .sub-nav {
        position: absolute; top: 100%; left: 0; min-width: 320px; padding: 10px; background: var(--white);
        border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
    }
    .sub-nav a { border-radius: 6px; padding: 9px 12px; }
    .sub-nav a:hover { background: var(--blue-50); }
    .has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-actions { margin: 0; }
}

/* ---------- Héros d'accueil ---------- */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
    padding: 48px 0 56px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow {
    display: inline-block; margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--navy-700);
}
.eyebrow-light { color: var(--blue-300); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 60ch; }
.hero h1 { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.hero-mark .arc { fill: none; stroke-width: 44; }
.arc-light { stroke: var(--blue-300); }
.arc-mid { stroke: var(--blue); }
.arc-dark { stroke: var(--navy); }
.bars .b1 { fill: var(--blue-300); }
.bars .b2 { fill: var(--blue); }
.bars .b3 { fill: var(--navy); }
.hero-badge {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; max-width: 250px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font-size: .85rem; line-height: 1.35;
}
.hero-badge strong { display: block; font: 700 1.25rem/1.1 var(--font-serif); color: var(--navy); }
.hero-badge-1 { left: 0; top: 8%; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero-badge-2 { right: 0; bottom: 6%; color: var(--ink); }
.hero-badge-2 .icon { color: var(--blue); }
@media (min-width: 900px) {
    .hero { padding: 80px 0 96px; }
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* ---------- Chiffres clés ---------- */
.key-facts { background: var(--navy); color: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); }
.fact { background: var(--navy); padding: 26px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.fact-value { font: 700 2.2rem/1 var(--font-serif); color: var(--white); min-height: 40px; display: flex; align-items: center; }
.fact-value .icon { color: var(--blue-300); }
.fact-label { font-size: .9rem; color: #d6e2f2; max-width: 24ch; }
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--blue-50); }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-title { color: var(--navy); }
.section-title-sm { font-size: 1.5rem; }
.section-intro { font-size: 1.08rem; color: var(--muted); }
.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
    .split { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
    .split-wide { grid-template-columns: 1fr 340px; }
    .split-form { grid-template-columns: 1fr 360px; }
}

/* ---------- Héros de page ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--white);
    background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
    padding: 36px 0 48px;
}
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lead { color: #dbe6f4; }
.hero-arc { position: absolute; right: -120px; top: -60px; width: 420px; color: rgba(133, 156, 232, .14); pointer-events: none; }
@media (min-width: 900px) { .page-hero { padding: 48px 0 72px; } }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; font-size: .87rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--blue-300); }
.breadcrumb a { color: #dbe6f4; }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Cartes ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
    position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--blue-300); }
.card:focus-within { border-color: var(--blue); }
.card-title { font-size: 1.18rem; margin-bottom: .5em; }
.card-title a { color: var(--ink); text-decoration: none; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 2px; }
.service-card { padding: 28px; display: flex; flex-direction: column; }
.service-card p { color: var(--muted); flex: 1; }
.card-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 18px;
    border-radius: 14px; background: var(--blue-100); color: var(--navy);
}
.card-icon .icon { width: 28px; height: 28px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-700); font-size: .95rem; }

.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { aspect-ratio: 16 / 9; background: var(--blue-50); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.is-placeholder { display: flex; align-items: center; justify-content: center; }
.post-thumb.is-placeholder img { width: 72px; height: 72px; opacity: .55; }
.post-body { padding: 22px 24px 26px; }
.post-body p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.tag {
    position: relative; z-index: 2; display: inline-block; padding: 3px 10px; border-radius: 999px;
    background: var(--blue-100); color: var(--navy); font-weight: 600; font-size: .78rem; text-decoration: none;
}
.tag-warn { background: var(--warn-bg); color: var(--warn); }

/* ---------- Atouts ---------- */
.feature-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { padding-top: 20px; border-top: 3px solid var(--blue-300); }
.feature-icon { display: inline-flex; color: var(--navy); margin-bottom: 12px; }
.feature-icon .icon { width: 34px; height: 34px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- Panneaux ---------- */
.panel { background: var(--blue-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; }
.panel-navy { background: var(--navy); border-color: var(--navy); color: #dbe6f4; }
.panel-navy h2, .panel-navy h3 { color: var(--white); }
.panel-navy a { color: var(--white); }
.panel-title { font-size: 1.15rem; }
.panel h3 { font-size: 1.1rem; }
.panel h3 + p { margin-bottom: 1.4em; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.check-list .icon { color: var(--blue-300); margin-top: 4px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .96rem; }
.side-links a:hover, .side-links a.is-current { background: var(--white); color: var(--navy); }
.side-links a.is-current { font-weight: 700; box-shadow: inset 3px 0 0 var(--navy); }
.side-links .icon { color: var(--navy-700); }
.facts-list { margin: 0; }
.facts-list div { padding: 10px 0; border-bottom: 1px solid var(--border); }
.facts-list div:last-child { border: 0; }
.facts-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts-list dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }

/* ---------- Contenu éditorial ---------- */
.prose { color: var(--text); }
.prose h2 { font-size: 1.55rem; color: var(--navy); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.prose ol li { margin-bottom: .5em; }
.prose blockquote { margin: 0 0 1.5em; padding: 14px 18px; background: var(--warn-bg); border-left: 4px solid #d99a00; border-radius: 6px; color: var(--warn); }
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.legal-list { margin: 0 0 1.5em; }
.legal-list div { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .legal-list div { grid-template-columns: 260px 1fr; gap: 16px; } }
.legal-list dt { font-weight: 600; color: var(--ink); }
.legal-list dd { margin: 0; }

.callout { padding: 18px 20px; background: var(--blue-50); border: 1px solid var(--border); border-left: 4px solid var(--navy); border-radius: var(--radius); margin: 28px 0; }
.callout p:last-child { margin: 0; }
.callout-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.callout-info { border-left-color: var(--blue); }
.callout-warn { display: flex; gap: 10px; align-items: flex-start; background: var(--warn-bg); border-color: #f0dca8; border-left-color: #d99a00; color: var(--warn); margin: 0 0 24px; }
.callout-warn .icon { margin-top: 3px; }

/* ---------- Services (liste) ---------- */
.service-list { display: grid; gap: 16px; }
.service-row {
    display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center;
    padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.service-row .card-icon { margin: 0; }
.service-num { display: none; }
.service-row-text { min-width: 0; }
.service-row h2 { font-size: 1.3rem; margin-bottom: .3em; }
.service-row h2 a { color: var(--ink); text-decoration: none; }
.service-row h2 a:hover { color: var(--navy-700); text-decoration: underline; }
.service-row p { margin: 0; color: var(--muted); }
.service-row .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 800px) {
    .service-row { grid-template-columns: 48px auto 1fr auto; padding: 28px 32px; }
    .service-num { display: block; font: 700 1.4rem/1 var(--font-serif); color: var(--blue-300); }
    .service-row .btn { grid-column: auto; }
}
.service-figure { margin: 0 0 28px; }
.service-figure img { border-radius: var(--radius-lg); width: 100%; }

/* ---------- Références ---------- */
.ref-cloud { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ref-cloud li { padding: 10px 18px; background: var(--white); border: 1px solid var(--border); border-radius: 999px; font-weight: 600; color: var(--navy); font-size: .93rem; }
.ref-grid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
.ref-grid li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; color: var(--ink); }
.ref-grid .icon { color: var(--blue); }

/* ---------- Actualités ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--text); font-size: .93rem; min-height: 40px; display: inline-flex; align-items: center; }
.chips a:hover { border-color: var(--navy); color: var(--navy); }
.chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination { display: flex; gap: 8px; justify-content: center; }
.pagination a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; }
.pagination a[aria-current="page"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.empty-state { padding: 48px 16px; text-align: center; color: var(--muted); background: var(--blue-50); border-radius: var(--radius-lg); }
.post-figure { margin: 0 0 28px; }
.post-figure img { border-radius: var(--radius-lg); width: 100%; }

/* ---------- Formulaires ---------- */
.form fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.form legend { font: 700 1.1rem/1.3 var(--font-serif); color: var(--navy); margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .97rem; }
.field .req { color: var(--error); }
.field .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--white); border: 1.5px solid #b9c6d8; border-radius: var(--radius);
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(69, 109, 219, .35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-help { margin: 6px 0 0; font-size: .87rem; color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: .9rem; color: var(--error); font-weight: 600; }
.field-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--navy); }
.field-check label { font-weight: 400; color: var(--text); margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.alert:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.alert p, .alert ul { margin: 6px 0 0; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #b7dfc6; }
.alert-error { background: var(--error-bg); color: var(--error); border: 1px solid #f1c4c4; }
.alert-error a { color: var(--error); }
.steps { margin: 0; padding-left: 1.3em; }
.steps li { margin-bottom: .6em; }

/* ---------- Coordonnées ---------- */
.contact-details { font-style: normal; }
.cd-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.cd-item .icon { margin-top: 2px; color: var(--blue-300); }
.contact-details.is-compact .cd-item { font-size: .95rem; }
.cd-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.cd-social a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: .9rem; font-weight: 600; text-decoration: none;
}
.cd-social a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: var(--white); padding: 56px 0; }
.cta-inner { display: flex; flex-direction: column; gap: 24px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #dbe6f4; margin: 0; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #c5d3e6; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr .9fr 1.3fr; } }
.footer-logo { display: inline-flex; padding: 8px; background: var(--white); border-radius: 14px; margin-bottom: 14px; }
.footer-logo img { width: 64px; height: 64px; }
.footer-name { font: 700 1.05rem/1.35 var(--font-serif); color: var(--white); margin-bottom: 6px; }
.footer-tagline { color: #a9bbd3; }
.footer-title { font: 700 .82rem/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: #e3ebf6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .86rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }

/* ---------- Erreurs ---------- */
.error-code { font: 700 clamp(4rem, 12vw, 7rem)/1 var(--font-serif); color: var(--blue-300); margin-bottom: 12px; }
.error-page .lead { margin-left: auto; margin-right: auto; }

/* ---------- Impression ---------- */
@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle, .hero-visual, .notice-bar { display: none !important; }
    .page-hero { background: none; color: #000; padding: 0; }
    .page-hero h1 { color: #000; }
    a { color: #000; }
}

/* ---------- Héros photo (page d'accueil) ----------
   Mobile : la photo s'affiche en entier au-dessus du texte (aucun voile).
   Écran large : photo en arrière-plan ; un fondu blanc à gauche, dans les tons du site,
   porte le texte bleu nuit sans masquer la réunion. */
.hero-photo { position: relative; overflow: hidden; padding: 0; background: var(--white); color: var(--navy-900); }
.hero-bg { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 1364 / 819; object-fit: cover; object-position: 50% 50%; }
.hero-photo .container { position: relative; z-index: 2; padding-top: 32px; padding-bottom: 48px; }
.hero-photo .hero-text { max-width: 600px; }
.hero-photo .eyebrow { color: var(--blue); }
.hero-photo h1 { color: var(--navy-900); }
.hero-photo .lead { color: var(--navy-700); }
.hero-photo .btn-light { background: var(--navy); color: var(--white); }
.hero-photo .btn-light:hover { background: var(--navy-900); color: var(--white); }
.hero-photo .btn-outline-light { border-color: var(--navy); color: var(--navy); background: var(--white); }
.hero-photo .btn-outline-light:hover { background: var(--navy); color: var(--white); }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.hero-badges li {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: .88rem; color: var(--navy-700);
    background: var(--blue-100); border: 1px solid rgba(69, 109, 219, .25); border-radius: 999px;
}
.hero-badges strong { color: var(--navy); font-family: var(--font-serif); }
.hero-badges .icon { color: var(--blue); }
@media (min-width: 900px) {
    .hero-photo { display: flex; align-items: center; padding: 0; min-height: clamp(560px, 80vh, 760px); }
    .hero-bg { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 50% 40%; }
    .hero-photo::before {
        content: ""; position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .7) 28%, rgba(255, 255, 255, .38) 44%, rgba(255, 255, 255, 0) 60%);
    }
    .hero-photo .container { padding-top: 88px; padding-bottom: 96px; }
    .hero-photo .hero-text { max-width: 540px; }
    /* Fondu plus léger : un halo blanc discret garde le texte lisible sur la photo. */
    .hero-photo h1, .hero-photo .lead, .hero-photo .eyebrow { text-shadow: 0 0 12px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9); }
    .hero-photo .lead { font-weight: 600; }
    .hero-badges li { background: rgba(255, 255, 255, .85); }
}

/* ---------- Animations des textes ----------
   Sobres et désactivées si l'utilisateur préfère réduire les animations.
   Le contenu reste visible sans JavaScript (la classe .reveal est posée par site.js). */
@keyframes secc-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes secc-slow-zoom {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
    .hero-text > *, .page-hero .container > * { animation: secc-fade-up .8s cubic-bezier(.2, .65, .3, 1) both; }
    .hero-text > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .1s; }
    .hero-text > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .2s; }
    .hero-text > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: .3s; }
    .hero-text > :nth-child(5), .page-hero .container > :nth-child(5) { animation-delay: .4s; }
    .hero-bg { animation: secc-slow-zoom 12s ease-out both; }

    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity .7s cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms),
                    transform .7s cubic-bezier(.2, .65, .3, 1) var(--reveal-delay, 0ms);
    }
    .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Images de section (visuel corporate SECC) ---------- */
.service-card { padding: 0; overflow: hidden; }
.service-card .card-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card .card-body p { flex: 1; }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .card-media img { transform: scale(1.04); }
.card-media .card-icon {
    position: absolute; left: 20px; bottom: -1px; margin: 0; width: 52px; height: 52px;
    border-radius: 14px 14px 0 0; background: var(--white); box-shadow: 0 -4px 14px rgba(6, 24, 74, .12);
}
.card-media.is-placeholder {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, var(--blue) 100%);
}
.card-media.is-placeholder::after {
    content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
    border: 26px solid rgba(255, 255, 255, .12);
}
.side-figure, .panel-figure { margin: 0 0 20px; }
.side-figure img, .panel-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.panel-figure img { border-radius: var(--radius); box-shadow: none; }
.panel-navy .panel-figure { margin-bottom: 18px; }

/* ---------- Carte Google Maps (chargée au clic) ---------- */
.map-box {
    position: relative; overflow: hidden; min-height: 380px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    background:
        linear-gradient(rgba(244, 246, 253, .9), rgba(244, 246, 253, .9)),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(10, 36, 105, .07) 38px 40px),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(10, 36, 105, .07) 38px 40px),
        var(--white);
}
.map-box iframe { display: block; width: 100%; height: 440px; border: 0; }
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 380px; padding: 32px 20px; }
.map-consent p { max-width: 58ch; color: var(--text); font-size: .95rem; }
.map-pin { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 16px; border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(6, 24, 74, .25); }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 0; }
@media (min-width: 900px) { .map-box iframe { height: 480px; } }

/* ---------- Page « Le cabinet » : dirigeant et équipe ---------- */
.leader-card {
    margin: 0 0 20px; overflow: hidden; border-radius: var(--radius-lg);
    background: var(--navy); color: #dbe6f4; box-shadow: var(--shadow);
}
.leader-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.leader-card figcaption { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 4px; }
.leader-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }
.leader-name { font: 700 1.3rem/1.25 var(--font-serif); color: var(--white); }
.leader-role { font-size: .9rem; line-height: 1.5; }
@media (min-width: 640px) and (max-width: 959px) {
    .leader-card { display: grid; grid-template-columns: 220px 1fr; align-items: center; }
    .leader-card img { height: 100%; }
}
.team-figure { margin: 0; }
.team-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
