/* =====================================================================
   VOMETRA — Design 2026
   Palette : encre (bleu nuit) + or de la marque + sable clair
   Typographies : Sora (titres) / Manrope (texte)
   ===================================================================== */

:root {
    --ink: #0d1821;
    --ink-2: #16242f;
    --ink-3: #22333f;
    --gold: #ce941c;
    --gold-2: #f0b43a;
    --gold-soft: #fbf1dc;
    --sand: #f6f3ec;
    --paper: #ffffff;
    --text: #1d2730;
    --muted: #5d6a75;
    --line: #e6e1d6;
    --line-dark: rgba(255, 255, 255, .12);
    --blue: #1f6fb2;
    --success: #1e7a46;
    --danger: #b3261e;

    --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(13, 24, 33, .06);
    --shadow: 0 12px 32px -12px rgba(13, 24, 33, .18);
    --shadow-lg: 0 30px 60px -20px rgba(13, 24, 33, .35);
    --container: 1220px;
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
    font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }
.icon-lg { width: 30px; height: 30px; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }

.sr-only { 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: -9999px; top: 8px; z-index: 1000; background: var(--gold-2); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { left: 12px; }

/* ---------- Titres de section ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-size: .78rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--gold-2); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1;
    cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
    white-space: nowrap;
}
.btn .icon, .btn .icon-sm { transition: transform .25s var(--ease); }
.btn:hover .icon, .btn:hover .icon-sm { transform: translateX(3px); }
.btn-primary { background: var(--gold-2); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(240, 180, 58, .8); }
.btn-primary:hover { background: #f6c55c; color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.link-arrow .icon-sm { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover .icon-sm { transform: translateX(4px); }

/* ---------- Barre supérieure + en-tête ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-2); }
.topbar .icon-sm { width: 15px; height: 15px; color: var(--gold-2); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.topbar-social a:hover { background: var(--ink-3); }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(13, 24, 33, .35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { height: 52px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
    position: relative; display: block; padding: 10px 14px;
    font-family: var(--font-head); font-size: .92rem; font-weight: 500; color: var(--ink);
    border-radius: 999px; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--sand); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px;
    margin-left: -2.5px; border-radius: 50%; background: var(--gold);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
    transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--sand); border-color: var(--ink); color: var(--ink); }
.nav-toggle { display: none; }

/* Recherche plein écran */
.search-overlay {
    position: fixed; inset: 0; z-index: 300; display: none; align-items: flex-start; justify-content: center;
    padding: 16vh 20px 0; background: rgba(13, 24, 33, .92); backdrop-filter: blur(6px);
}
.search-overlay.is-open { display: flex; animation: fade .25s var(--ease); }
.search-overlay form { width: 100%; max-width: 760px; position: relative; }
.search-overlay input {
    width: 100%; padding: 22px 70px 22px 26px; border-radius: 999px; border: 0;
    font: 500 1.25rem var(--font-head); color: var(--ink); background: #fff;
}
.search-overlay button[type="submit"] { position: absolute; right: 8px; top: 8px; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--gold-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.search-overlay .search-close { position: absolute; top: 24px; right: 24px; background: transparent; color: #fff; border-color: var(--line-dark); }
.search-overlay p { color: rgba(255, 255, 255, .6); text-align: center; margin-top: 18px; font-size: .9rem; }

/* ---------- Héros d'accueil ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 24, 33, .92) 0%, rgba(13, 24, 33, .72) 45%, rgba(13, 24, 33, .25) 100%),
        linear-gradient(0deg, rgba(13, 24, 33, .6) 0%, rgba(13, 24, 33, 0) 40%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0 210px; max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-caption {
    position: absolute; z-index: 2; left: 0; right: 0; bottom: 104px;
}
.hero-caption .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-caption-text { max-width: 560px; font-size: .9rem; color: rgba(255, 255, 255, .75); padding-left: 16px; border-left: 2px solid var(--gold-2); }
.hero-caption-text strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: var(--gold-2); width: 54px; }

/* Bandeau chiffres clés */
.stats-band { position: relative; z-index: 5; margin-top: -70px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 34px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat-value .plus { color: var(--gold); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ---------- Cartes de services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    position: relative; display: flex; flex-direction: column; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-icon {
    position: relative; z-index: 2; margin: -54px 0 18px;
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
    background: var(--gold-2); color: var(--ink); box-shadow: 0 10px 20px -8px rgba(206, 148, 28, .7);
}
.service-card-body { padding: 0 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; list-style: none; }
.chips li { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-3); }
.service-card .link-arrow { margin-top: auto; position: relative; z-index: 2; }

/* Liste de services compacte (version sombre) */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.service-list a { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--ink); color: rgba(255, 255, 255, .75); transition: background .3s; }
.service-list a:hover { background: var(--ink-2); color: #fff; }
.service-list .icon-lg { color: var(--gold-2); }
.service-list strong { font-family: var(--font-head); color: #fff; font-size: 1.1rem; }

/* ---------- Bloc « pourquoi nous » ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.split-media .img-secondary {
    position: absolute; right: -24px; bottom: -32px; width: 46%; aspect-ratio: 1; border-radius: var(--radius);
    border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.badge-years {
    position: absolute; left: -22px; top: 36px; padding: 22px 26px; border-radius: var(--radius);
    background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.badge-years strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--gold-2); }
.badge-years span { font-size: .85rem; color: rgba(255, 255, 255, .75); }
.features { display: grid; gap: 22px; margin-top: 32px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 32px 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.step::before {
    counter-increment: step; content: "0" counter(step);
    display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px var(--gold-2); margin-bottom: 22px;
}
.step h3 { font-size: 1.12rem; }
.step p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .68); }

/* ---------- Réalisations ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); color: #fff; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; opacity: .9; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 24, 33, .9) 0%, rgba(13, 24, 33, 0) 60%); }
.project-card:hover img { transform: scale(1.06); opacity: 1; }
.project-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; }
.project-card-body .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--gold-2); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.project-card h3 { color: #fff; margin: 0 0 6px; }
.project-card .meta { font-size: .88rem; color: rgba(255, 255, 255, .72); display: flex; align-items: center; gap: 6px; }
.project-card:hover { color: #fff; }

/* ---------- Partenaires (défilement) ---------- */
.logos-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-track { display: flex; gap: 22px; width: max-content; animation: marquee 38s linear infinite; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logo-tile { display: grid; place-items: center; width: 210px; height: 120px; padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.logo-tile img { max-height: 80px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }

.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.partner-card { display: grid; grid-template-columns: 150px 1fr; gap: 26px; padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.partner-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partner-logo { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--sand); padding: 16px; }
.partner-logo img { max-height: 100%; object-fit: contain; }
.partner-card h3 { font-size: 1.1rem; }
.partner-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Témoignages ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial .icon-lg { color: var(--gold); margin-bottom: 16px; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.02rem; color: var(--text); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-family: var(--font-head); font-weight: 700; }
.testimonial-author strong { display: block; font-family: var(--font-head); color: var(--ink); }
.testimonial-author span { font-size: .88rem; color: var(--muted); }

/* ---------- Appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px); }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 180, 58, .45), transparent 65%); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 10px; max-width: 640px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .72); max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- En-tête des pages internes ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 90px); }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 24, 33, .95) 20%, rgba(13, 24, 33, .55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 900px; margin-bottom: 14px; }
.page-hero .lead { color: rgba(255, 255, 255, .75); max-width: 720px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: .88rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Mise en page avec colonne latérale ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-dark { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .75); }
.card-dark h3 { color: #fff; }
.card h3 { font-size: 1.12rem; margin-bottom: 14px; }
.side-nav { list-style: none; display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--ink); transition: background .2s; }
.side-nav a:hover { background: var(--sand); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.side-nav a .icon-sm { opacity: .5; }

.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); }
.card-dark .contact-list .ci, .section-dark .contact-list .ci { background: rgba(240, 180, 58, .14); color: var(--gold-2); }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card-dark .contact-list small { color: rgba(255, 255, 255, .55); }
.contact-list a, .contact-list span { font-weight: 600; }
.card-dark .contact-list a, .card-dark .contact-list span { color: #fff; }

/* Texte éditorial */
.prose { font-size: 1.05rem; }
.prose p { color: var(--text); }
.prose .intro { font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--ink); font-weight: 500; margin-bottom: 1.4em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 1.6em; }

.check-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.check-grid li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.check-grid .tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); margin-top: 1px; }
.check-grid .tick svg { width: 15px; height: 15px; stroke-width: 2.6; }

.block-title { display: flex; align-items: center; gap: 14px; margin: 56px 0 26px; }
.block-title h2 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Galerie + visionneuse */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(13, 24, 33, 0); transition: background .3s; }
.gallery a:hover::after { background: rgba(13, 24, 33, .25); }
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(8, 14, 20, .94); padding: 60px 70px; }
.lightbox.is-open { display: flex; animation: fade .25s var(--ease); }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.lightbox button:hover { background: var(--gold-2); color: var(--ink); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; margin-top: -26px; }
.lightbox .lb-next { right: 14px; top: 50%; margin-top: -26px; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: .9rem; }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.facts { list-style: none; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts strong { text-align: right; color: var(--ink); }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
    background: var(--paper); font: 500 1rem var(--font-body); color: var(--text);
    transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1821' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240, 180, 58, .2); }
.field input::placeholder, .field textarea::placeholder { color: #9aa3ab; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); flex: none; }
.consent a { color: var(--ink); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.hp-field, .vm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Messages ---------- */
.alerts { padding-top: 24px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 12px; border: 1px solid; }
.alert-success { background: #ecf7f0; border-color: #bfe3cc; color: var(--success); }
.alert-error { background: #fdeceb; border-color: #f4c6c2; color: var(--danger); }
.alert-info { background: #edf4fb; border-color: #c7dcf0; color: #1d4f7d; }

/* ---------- Contact / carte ---------- */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { padding: 28px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.info-card .ci { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--gold-2); margin-bottom: 18px; }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card p, .info-card a { margin: 0; color: var(--muted); font-size: .95rem; }
.info-card a:hover { color: var(--gold); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; height: 440px; background: var(--sand); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Pagination, recherche, 404 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-form-inline { display: flex; gap: 10px; max-width: 640px; }
.search-form-inline input { flex: 1; padding: 15px 20px; border-radius: 999px; border: 1.5px solid var(--line); font: 500 1rem var(--font-body); }
.search-form-inline input:focus { outline: none; border-color: var(--gold); }
.results { list-style: none; display: grid; gap: 14px; }
.results a { display: block; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.results a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); color: inherit; }
.results strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; }
.results span { color: var(--muted); font-size: .95rem; }
.big-404 { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--gold); margin-bottom: 10px; }
.empty-state { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding-top: clamp(64px, 8vw, 96px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; background: #fff; border-radius: 14px; padding: 6px; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.4rem; letter-spacing: .08em; color: #fff; }
.footer-brand strong span { color: var(--gold-2); }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 20px; letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: #fff; transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0; font-size: .85rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold-2); }

/* Boutons flottants */
.float-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 28px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.float-whatsapp:hover { transform: scale(1.08); color: #fff; }
.float-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s infinite; }
.to-top { position: fixed; right: 30px; bottom: 94px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; border: 0; cursor: pointer; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold-2); color: var(--ink); }

/* ---------- Animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav a { padding: 10px 10px; font-size: .88rem; }
    .header-actions .btn { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .info-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    :root { --header-h: 72px; }
    .topbar-info span:last-child { display: none; }
    .brand img { height: 44px; }
    .nav-toggle { display: grid; }
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .nav-open .site-header { z-index: 260; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 250; margin: 0;
        background: var(--ink); padding: 96px 28px 28px; transform: translateX(100%);
        transition: transform .4s var(--ease); overflow-y: auto;
    }
    .main-nav.is-open { transform: none; box-shadow: -30px 0 60px rgba(0, 0, 0, .4); }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { color: #fff; font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; }
    .main-nav a:hover { background: var(--ink-3); color: #fff; }
    .main-nav a[aria-current="page"] { background: var(--ink-3); color: var(--gold-2); }
    .main-nav a[aria-current="page"]::after { display: none; }
    .main-nav .nav-cta { display: flex; margin-top: 22px; }
    .nav-backdrop { position: fixed; inset: 0; z-index: 240; background: rgba(13, 24, 33, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
    .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
    .nav-close { position: absolute; top: 18px; right: 18px; background: transparent; color: #fff; border-color: var(--line-dark); }
    .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .service-list { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .split { grid-template-columns: 1fr; }
    .split-media { max-width: 560px; }
    .layout-aside { grid-template-columns: 1fr; }
    .aside-sticky { position: static; }
    .partners-grid { grid-template-columns: 1fr; }
}
@media (min-width: 961px) { .nav-close, .nav-cta, .nav-backdrop { display: none !important; } }
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 18px; }
    .topbar { display: none; }
    .hero-content { padding: 64px 0 150px; }
    .hero-caption-text { display: none; }
    .hero-caption .container { justify-content: center; }
    .hero-caption { bottom: 96px; }
    .services-grid, .projects-grid, .testimonials-grid, .service-list, .steps, .info-cards, .footer-grid, .form-grid, .check-grid { grid-template-columns: 1fr; }
    .stat { padding: 24px 20px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .partner-card { grid-template-columns: 1fr; }
    .partner-logo { max-width: 160px; }
    .split-media .img-secondary { right: -8px; bottom: -20px; }
    .badge-years { left: -8px; }
    .lightbox { padding: 60px 12px; }
    .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; margin: 0; }
    .float-whatsapp { right: 16px; bottom: 16px; }
    .to-top { right: 23px; bottom: 86px; }
    .btn { padding: 14px 22px; }
    .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
}

/* Impression */
@media print {
    .topbar, .site-header, .site-footer, .float-whatsapp, .to-top, .hero-dots, .cta-band { display: none !important; }
    .page-hero { background: none; color: #000; padding: 0; }
    .page-hero h1 { color: #000; }
}
