/* =========================================================
   ETGM SARL — feuille de style du site public
   Couleurs : bleu marine du logo, jaune des tenues ETGM.
   ========================================================= */

:root {
    --navy: #1f2a8c;
    --navy-900: #121a5c;
    --navy-950: #0b1140;
    --navy-100: #e6e9f7;
    --yellow: #f2c200;
    --yellow-600: #d9ad00;
    --yellow-100: #fff6cc;
    --red: #d62b2b;
    --bronze: #b8862b;
    --sand: #f6f2e8;
    --sand-200: #ebe4d2;
    --ink: #1b2033;
    --ink-soft: #4a5068;
    --muted: #6b7088;
    --line: #e2e4ec;
    --white: #ffffff;
    --success: #1d7a46;
    --danger: #b42318;

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

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(11, 17, 64, .06), 0 1px 3px rgba(11, 17, 64, .08);
    --shadow: 0 10px 30px -12px rgba(11, 17, 64, .25);
    --container: 1200px;
    --gutter: 20px;
    --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; color: var(--navy-950); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3, .h3 { font-size: 1.5rem; }
.h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 8px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .78em 1.4em; border-radius: 8px; border: 2px solid transparent;
    font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--yellow); color: var(--navy-950); }
.btn-primary:hover { background: var(--yellow-600); color: var(--navy-950); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark: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-outline-dark { border-color: var(--navy-950); color: var(--navy-950); }
.btn-outline-dark:hover { background: var(--navy-950); color: var(--white); }
.btn-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-light:hover { background: var(--white); color: var(--navy-950); }
.btn-whatsapp { background: #1fa855; color: var(--white); width: 100%; margin-top: 1rem; }
.btn-whatsapp:hover { background: #178a45; color: var(--white); }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.actions-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--navy); }
.link-arrow .icon { transition: transform .15s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: var(--shadow-sm); }
.topbar { background: var(--navy-950); color: #cfd3ee; font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; align-items: center; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar .icon { color: var(--yellow); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); letter-spacing: .04em; }
.brand-text small { font-size: .72rem; font-weight: 700; letter-spacing: .32em; color: var(--red); margin-top: 3px; }
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text small { color: var(--yellow); }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li > a { font-weight: 600; color: var(--ink); text-decoration: none; }
.main-nav a[aria-current="page"], .main-nav .is-active > a { color: var(--navy); }
.nav-toggle { display: none; }
.submenu-toggle { background: none; border: 0; padding: 4px; color: inherit; cursor: pointer; }

@media (min-width: 1081px) {
    .main-nav { display: flex; align-items: center; gap: 22px; }
    .main-nav > ul { display: flex; gap: 4px; }
    .main-nav > ul > li { position: relative; display: flex; align-items: center; }
    .main-nav > ul > li > a { padding: 10px 10px; border-radius: 6px; position: relative; }
    .main-nav > ul > li > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; border-radius: 2px; }
    .main-nav > ul > li > a:hover::after, .main-nav > ul > li.is-active > a::after { transform: scaleX(1); }
    .submenu-toggle { margin-left: -8px; }
    .submenu-toggle .icon { width: 14px; height: 14px; }
    .submenu {
        position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
        background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
        border-top: 3px solid var(--yellow);
        opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
    }
    .has-children:hover .submenu, .has-children:focus-within .submenu, .has-children.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
    .submenu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .97rem; }
    .submenu a:hover, .submenu a[aria-current="page"] { background: var(--sand); color: var(--navy); }
}

@media (max-width: 1080px) {
    :root { --header-h: 72px; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy); cursor: pointer; }
    .nav-toggle .icon { width: 24px; height: 24px; }
    .nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: var(--white);
        padding: 12px var(--gutter) 32px; overflow-y: auto;
        transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .main-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
    .main-nav > ul > li > a { flex: 1; padding: 15px 0; font-size: 1.1rem; }
    .submenu-toggle { width: 44px; height: 44px; }
    .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
    .submenu { display: none; width: 100%; padding: 0 0 12px 12px; }
    .is-open > .submenu { display: block; }
    .submenu a { display: block; padding: 9px 0; color: var(--ink-soft); text-decoration: none; }
    .nav-cta { margin-top: 20px; width: 100%; }
    .brand img { width: 44px; height: 44px; }
    .brand-text strong { font-size: 1.6rem; }
}
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (max-width: 1080px) { .hide-md { display: none !important; } }
@media (max-width: 420px) { .topbar-social { display: none !important; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--sand); }
.bg-dark { background: var(--navy-950); color: #d9dcf2; }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.section-heading { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.section-heading.is-left { margin-left: 0; text-align: left; }
.section-title { margin-bottom: .35em; }
.section-intro { color: var(--ink-soft); font-size: 1.12rem; margin: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 .7em;
    font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.eyebrow-light { color: var(--yellow); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; }
.lead-dark { color: var(--ink-soft); }
.empty-state { text-align: center; padding: 32px; background: var(--white); border-radius: var(--radius-lg); border: 1px dashed var(--sand-200); color: var(--ink-soft); }
.empty-state .icon { width: 40px; height: 40px; color: var(--bronze); margin: 0 auto 12px; }
.preview-banner { background: var(--yellow); color: var(--navy-950); text-align: center; padding: 10px; font-weight: 600; }

/* ---------- Texte riche ---------- */
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 1.6em; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--yellow); border-radius: 2px; transform: rotate(45deg); }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--yellow); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.prose-article { font-size: 1.12rem; }

/* ---------- Bandeau principal ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-950); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 17, 64, .94) 0%, rgba(11, 17, 64, .82) 42%, rgba(11, 17, 64, .25) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--yellow) 0 70%, var(--red) 70% 100%); }
.hero-inner { padding: clamp(80px, 13vw, 160px) var(--gutter); max-width: var(--container); }
.hero h1 { color: var(--white); max-width: 15ch; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.hero .lead { max-width: 58ch; color: #e3e6f7; }

/* ---------- En-tête de page ---------- */
.page-header { position: relative; isolation: isolate; background: var(--navy-950); color: var(--white); overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 17, 64, .95), rgba(11, 17, 64, .7)); }
.page-header:not(.has-image)::before { background: radial-gradient(circle at 85% 20%, rgba(242, 194, 0, .16), transparent 45%), var(--navy-950); }
.page-header::after { content: ""; position: absolute; left: 0; bottom: 0; width: 160px; height: 5px; background: var(--yellow); }
.page-header-inner { padding: clamp(48px, 8vw, 88px) var(--gutter); }
.page-header h1 { color: var(--white); max-width: 22ch; margin-bottom: .3em; }
.page-header .lead { color: #d9dcf2; max-width: 62ch; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: #aab0d6; margin-bottom: 18px; }
.breadcrumb a { color: #d9dcf2; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- Chiffres clés ---------- */
.stats-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.stats-grid li { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 4px solid var(--yellow); }
.stat-value { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 3.2rem); line-height: 1; font-weight: 700; color: var(--white); }
.bg-white .stat-value, .bg-light .stat-value { color: var(--navy); }
.stat-label { font-size: 1rem; line-height: 1.35; }
.stats.bg-dark { padding: clamp(40px, 6vw, 64px) 0; }

/* ---------- Texte + image ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.is-reversed .split-media { order: -1; }
.split.no-media { grid-template-columns: 1fr; max-width: 860px; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-media::before { content: ""; position: absolute; width: 45%; height: 45%; right: -14px; bottom: -14px; background: var(--yellow); border-radius: var(--radius-lg); z-index: -1; }
.split.is-reversed .split-media::before { right: auto; left: -14px; }
.split-text .section-heading { margin-bottom: 20px; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split.is-reversed .split-media { order: 0; }
}

/* ---------- Cartes ---------- */
.cards-grid { display: grid; gap: 24px; }
.cards-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--yellow); }
.bg-white .card { border: 1px solid var(--line); border-top: 4px solid var(--yellow); box-shadow: none; }
.card h3 { font-size: 1.4rem; }
.card-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--navy-100); color: var(--navy); margin-bottom: 16px; }
.card-icon .icon { width: 26px; height: 26px; }
.testimonial blockquote { margin: 0 0 1em; font-style: italic; }

/* ---------- Prestations ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.service-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--navy-950)); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-icon { position: absolute; left: 20px; bottom: -24px; width: 52px; height: 52px; border-radius: 12px; background: var(--yellow); color: var(--navy-950); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.service-icon .icon { width: 26px; height: 26px; }
.service-body { display: flex; flex-direction: column; gap: 8px; padding: 36px 22px 24px; flex: 1; }
.service-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--navy-950); }
.service-text { color: var(--ink-soft); flex: 1; }

/* ---------- Citation ---------- */
.quote-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 64px); align-items: center; }
.quote-block.no-media { grid-template-columns: 1fr; max-width: 900px; text-align: center; }
.quote-photo { margin: 0; }
.quote-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); }
.quote-body blockquote { margin: 0; position: relative; }
.quote-body blockquote::before { content: "“"; font-family: Georgia, serif; font-size: 7rem; line-height: .6; color: var(--yellow); display: block; height: .45em; }
.quote-body blockquote p { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.2; color: var(--navy-950); font-weight: 600; }
.quote-author { display: flex; flex-direction: column; margin-top: 1rem; }
.quote-author strong { font-size: 1.1rem; }
.quote-author span { color: var(--muted); }
@media (max-width: 760px) { .quote-block { grid-template-columns: 1fr; } .quote-photo { max-width: 280px; } }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 18px; font: 600 .95rem var(--font); color: var(--ink-soft); cursor: pointer; }
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card[hidden] { display: none; }
.project-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.project-card a:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.project-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--navy-950)); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--navy-950); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 6px; }
.project-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.project-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--bronze); font-weight: 600; font-size: .92rem; }
.project-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; font-weight: 700; color: var(--navy-950); }
.project-partners { color: var(--muted); font-size: .95rem; }

/* ---------- Partenaires ---------- */
.logos-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.logos-row li { display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: var(--radius); min-height: 92px; padding: 12px; box-shadow: var(--shadow-sm); }
.logos-row img { max-height: 64px; width: auto; }
.partners-strip .section-heading { margin-bottom: 28px; }
.partners-detailed { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.partner-item { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.partner-logo { flex: none; width: 120px; display: flex; align-items: center; justify-content: center; }
.partner-item h3 { font-size: 1.25rem; margin-bottom: .2em; }
.partner-item p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Actualités ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s; }
.post-card a:hover { box-shadow: var(--shadow); color: var(--ink); }
.post-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--sand); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.post-body time { color: var(--bronze); font-weight: 600; font-size: .92rem; }
.post-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; font-weight: 700; color: var(--navy-950); }
.post-excerpt { color: var(--ink-soft); flex: 1; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; }
.pagination a.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.article-cover { margin: 0 0 32px; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); }
.article-back { margin-top: 40px; }

/* ---------- Équipe ---------- */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.team-card { display: flex; flex-direction: column; text-align: center; gap: 4px; }
.team-photo { display: block; margin-bottom: 12px; }
.team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--sand); }
.team-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy-950); line-height: 1.15; }
.team-role { color: var(--ink-soft); }
.team-bio { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* ---------- Appel à l'action ---------- */
.cta { padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-dark { background: var(--navy); color: #e3e6f7; }
.cta-dark h2 { color: var(--white); }
.cta-yellow { background: var(--yellow); color: var(--navy-950); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 640px; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta .actions-row { margin-top: 0; }
.cta-dark::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border: 36px solid rgba(242, 194, 0, .14); border-radius: 50%; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--navy-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--navy); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .prose { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Informations ---------- */
.info-list { margin: 0; display: grid; gap: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-list div { display: grid; grid-template-columns: 260px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { font-weight: 600; color: var(--navy-950); }
.info-list dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .info-list div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Pages de détail ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--sand); border-radius: var(--radius-lg); padding: 24px; }
.aside-cta { background: var(--navy); color: #e3e6f7; }
.aside-cta h2 { color: var(--white); }
.aside-cta .btn + .btn { margin-top: 10px; }
.aside-cta .btn-outline { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.aside-cta .btn-outline:hover { background: var(--white); color: var(--navy); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sand-200); text-decoration: none; color: var(--ink); font-weight: 500; }
.aside-links a:hover { color: var(--navy); }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--sand-200); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy-950); }
.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: 5px; }
.detail-main .h3 { margin-top: 36px; }
.detail-figure { margin: 32px 0 0; }
.detail-figure img { border-radius: var(--radius-lg); width: 100%; }
@media (max-width: 960px) { .detail-layout { grid-template-columns: 1fr; } .detail-aside { position: static; } }

/* ---------- Offres d'emploi ---------- */
.jobs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.job-item { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--white); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.job-item h3 { margin-bottom: .3em; }
.job-item h3 a { text-decoration: none; color: var(--navy-950); }
.job-item p { margin: 0; color: var(--ink-soft); }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px !important; font-size: .95rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 640px) { .job-item { flex-direction: column; align-items: flex-start; } }

/* ---------- Formulaires ---------- */
.form { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, .form-field .label { font-weight: 600; font-size: .97rem; color: var(--navy-950); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 12px 14px; border: 1.5px solid #cdd1df; border-radius: 8px; background: var(--white);
    transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 42, 140, .15); }
.form input[type="file"] { font-size: .95rem; padding: 10px; border: 1.5px dashed #cdd1df; border-radius: 8px; background: var(--sand); }
.form textarea { resize: vertical; min-height: 120px; }
.req { color: var(--red); }
.optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--ink-soft) !important; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.inline-options { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 10px; }
.inline-options label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.segmented { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.segmented legend { font-weight: 600; margin-bottom: 8px; color: var(--navy-950); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented label { display: inline-flex; padding: 10px 18px; border: 1.5px solid #cdd1df; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--ink-soft); }
.segmented label:has(input:checked) { background: var(--navy); border-color: var(--navy); color: var(--white); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.alert ul { margin: 6px 0 0; }
.alert-success { background: #e7f6ed; color: var(--success); border: 1px solid #b7e2c7; }
.alert-success .icon { margin-top: 4px; }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c2bc; display: block; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { background: var(--navy-950); color: #d9dcf2; border-radius: var(--radius-lg); padding: 28px; }
.contact-card h2 { color: var(--white); font-size: 1.6rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { color: var(--yellow); width: 22px; height: 22px; margin-top: 3px; }
.contact-list strong { color: var(--white); }
.contact-list a { color: #d9dcf2; }
.contact-list a:hover { color: var(--yellow); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; }
.map a { display: block; padding: 10px 14px; font-size: .92rem; font-weight: 600; text-decoration: none; background: var(--sand); }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { position: static; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: #b9bfe0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px var(--gutter) 48px; }
.footer-brand p { margin-top: 16px; }
.footer-title { color: var(--white); font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--yellow); }
.footer-links, .footer-contact, .footer-social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.site-footer a { color: #d9dcf2; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contact .icon { color: var(--yellow); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--yellow); color: var(--navy-950); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-legal-inner { padding-top: 18px; padding-bottom: 18px; }
.footer-legal p { margin: 4px 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.07); color: var(--white); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Erreurs ---------- */
.error-page { min-height: 50vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--yellow); font-weight: 700; margin: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Cadrage fixe des vignettes : l'image remplit le cadre sans l'agrandir. */
.service-media img, .project-media img, .post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-icon, .badge { z-index: 1; }
.quote-block.no-media .quote-author { align-items: center; }
.quote-block.no-media .actions-row { justify-content: center; }
@media (min-width: 900px) { .logos-row { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Améliorations V1/V2 (octobre 2026) ---------- */
.btn-blue { background: #2f45b8; color: var(--white); }
.btn-blue:hover { background: var(--navy); color: var(--white); }

/* Citation : guillemets dans le texte, sans grand guillemet décoratif */
.quote-body blockquote::before { content: none; }
.quote-body blockquote p { color: var(--navy); font-weight: 700; }

.field-hint { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }

.contact-links { display: grid; gap: 10px; }
.contact-links a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--navy-950); background: var(--white); }
.contact-links a:hover { border-color: var(--navy); color: var(--navy); }
.contact-links .icon { color: var(--bronze); width: 22px; height: 22px; }

.article-video { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.article-video video, .article-video iframe { display: block; width: 100%; height: 100%; border: 0; }

.play-badge { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: rgba(11, 17, 64, .8); color: var(--white); display: flex; align-items: center; justify-content: center; }
.play-badge svg { width: 22px; height: 22px; margin-left: 3px; }

/* Titre du bandeau plus large (deux lignes sur ordinateur) */
.hero h1 { max-width: 30ch; text-wrap: balance; }

/* Listes de choix avec « Autre (à préciser) » */
.other-field { margin-top: 8px; }
.other-field[hidden] { display: none; }
