/* ==========================================================================
   International Drilling Services — feuille de styles du site public
   Couleurs du logo : ambre #FFA920 et noir. Aucune dépendance externe.
   ========================================================================== */

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
    --amber: #ffa920;
    --amber-soft: #ffe3b3;
    --amber-deep: #8a5300;     /* ambre lisible sur fond clair (contraste AA) */
    --ink: #121212;
    --ink-2: #1e1d1b;
    --ink-3: #2b2926;
    --paper: #ffffff;
    --sand: #f6f2ea;
    --sand-2: #ece5d6;
    --line: #ddd5c5;
    --text: #1b1a18;
    --muted: #57534c;
    --on-dark: #f4f1ea;
    --on-dark-muted: #c9c3b8;
    --success: #136f2d;
    --error: #b3261e;

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

    --radius: 4px;
    --radius-lg: 10px;
    --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .07);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(56px, 8vw, 104px);
    --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::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-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .005em;
    margin: 0 0 .5em;
    color: inherit;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.section-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
main:focus { outline: none; }

.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: 12px; top: -60px; z-index: 100;
    background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.narrow-block { max-width: 760px; margin-bottom: 40px; }

.preview-banner {
    background: repeating-linear-gradient(-45deg, var(--amber), var(--amber) 12px, #ffb83f 12px, #ffb83f 24px);
    color: var(--ink); font-weight: 700; font-size: .875rem; text-align: center; padding: 6px 12px;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: .7em 1.4em;
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
    text-decoration: none; line-height: 1.1;
    border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { flex: none; }
.btn-sm { min-height: 42px; padding: .5em 1.05em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffb940; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgb(255 255 255 / .75); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: rgb(0 0 0 / .08); }

.link-arrow {
    display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none;
    border-bottom: 2px solid var(--amber); padding-bottom: 2px;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* ---------- En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 58px; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 4px; }
.nav-list a {
    display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: 1rem; position: relative;
}
.nav-list a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
    background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
    font-weight: 800; font-size: .9rem; letter-spacing: .06em; text-decoration: none;
    border: 1px solid var(--line); border-radius: var(--radius);
}
.lang-switch:hover { border-color: var(--ink); }
.nav-toggle {
    display: none; margin-left: auto; align-items: center; gap: 10px;
    min-height: 44px; padding: 8px 12px; background: none; border: 1px solid var(--line); border-radius: var(--radius);
    font: 700 1rem var(--font-body); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
    :root { --header-h: 68px; }
    .brand img { height: 50px; }
    .js .nav-toggle { display: inline-flex; }
    .js .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        padding: 8px var(--gutter) 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .js .site-nav.is-open { display: flex; }
    .site-nav { flex-wrap: wrap; }
    .nav-list { flex-direction: column; }
    .nav-list a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--sand-2); }
    .nav-list a::after { left: 0; right: auto; width: 40px; bottom: 8px; }
    .nav-actions { padding-top: 16px; justify-content: space-between; }
    .nav-actions .btn { flex: 1; }
}
/* sans JavaScript : menu toujours visible, sur plusieurs lignes */
@media (max-width: 1023px) {
    html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 8px; }
    html:not(.js) .site-nav { width: 100%; }
    html:not(.js) .nav-list { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Hero accueil ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(86vh, 760px); display: flex; align-items: flex-end;
    color: #fff; background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgb(10 10 10 / .88) 0%, rgb(10 10 10 / .62) 48%, rgb(10 10 10 / .15) 100%),
        linear-gradient(0deg, rgb(10 10 10 / .7) 0%, transparent 45%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--amber); }
.hero-inner { padding-top: 96px; padding-bottom: clamp(56px, 9vw, 110px); }
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero .lead { max-width: 56ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #efebe4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--amber); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--amber); }
.hero-depth {
    position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
    display: none; flex-direction: column; gap: 42px; padding-left: 16px;
    border-left: 2px solid rgb(255 169 32 / .8);
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .08em; color: rgb(255 255 255 / .8);
}
.hero-depth span { position: relative; }
.hero-depth span::before { content: ""; position: absolute; left: -16px; top: 50%; width: 10px; height: 2px; background: var(--amber); }
@media (min-width: 1100px) { .hero-depth { display: flex; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--amber); margin-top: 16px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head-row h2 { margin-bottom: 0; }

/* strates géologiques : motif décoratif */
.strata {
    height: 14px;
    background: linear-gradient(180deg, var(--amber) 0 4px, #c77f0e 4px 7px, #5e3b08 7px 10px, #2a1b05 10px 14px);
}

/* ---------- Cartes ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.service-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 24px 24px; position: relative; }
.service-card-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand-2); }
.service-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-card.has-photo .service-card-icon { margin-top: -56px; border: 3px solid #fff; }
.service-card-icon {
    display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center;
    background: var(--ink); color: var(--amber); border-radius: var(--radius); margin-bottom: 18px;
}
.service-card h3 { margin-bottom: .35em; }
.service-card h3 a { text-decoration: none; }
.service-card p { color: var(--muted); font-size: 1rem; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; margin-top: 4px; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.service-card .stretched-link:focus-visible { outline: none; }

.project-card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project-card:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.project-card .stretched-link:focus-visible { outline: none; }
.project-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; }
.project-card-body { padding: 20px 22px 24px; }
.project-card h3 a { text-decoration: none; }
.project-card p { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 8px !important; }
.project-meta span { display: inline-flex; align-items: center; gap: 5px; }
.badge {
    display: inline-block; padding: 4px 10px; font-size: .8rem; font-weight: 800; letter-spacing: .02em;
    border-radius: 999px;
}
.badge-example { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: var(--amber); }

/* ---------- Mise en page texte + image ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { align-items: center; }
.media-frame { margin: 0; position: relative; }
.media-frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--amber); border-radius: var(--radius-lg); z-index: -1;
}
.split-media .media-frame, .split-sticky .media-frame { isolation: isolate; }
@media (max-width: 899px) { .media-frame::before { inset: 10px -8px -10px 10px; } }
@media (min-width: 900px) { .split-sticky .media-frame { position: sticky; top: calc(var(--header-h) + 40px); } }

.feature-list { list-style: none; display: grid; gap: 4px; }
.feature-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid rgb(255 255 255 / .14); }
.feature-list li:first-child { border-top: 0; padding-top: 0; }
.feature-num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--amber); }
.feature-list h3 { color: #fff; }
.feature-list p { margin: 0; }

.audience-grid { list-style: none; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 3px solid var(--ink); }
.audience-grid li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .audience-grid li { padding: 28px 28px 28px 0; } .audience-grid li + li { padding-left: 28px; border-left: 1px solid var(--line); } }
.audience-grid p { color: var(--muted); margin: 0; }

.process { list-style: none; counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.process li { counter-increment: step; position: relative; padding-top: 58px; }
.process li::before {
    content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
    font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
    display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: var(--amber); border-radius: 50%;
}
.process li::after { content: ""; position: absolute; top: 21px; left: 56px; right: -12px; height: 2px; background: var(--sand-2); }
.process li:last-child::after { display: none; }
.process p { color: var(--muted); margin: 0; font-size: 1rem; }

.value-grid { list-style: none; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value-grid li { padding: 26px; border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius-lg); }
.value-grid .icon { color: var(--amber); margin-bottom: 14px; }
.value-grid h3 { color: #fff; }
.value-grid p { margin: 0; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 10 10 / .9), rgb(10 10 10 / .6)); }
.page-hero-inner { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 22ch; }
.page-hero .lead { max-width: 64ch; color: #e8e3da; font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin: 0; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--amber); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; margin-bottom: 18px; color: #d8d2c7; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--amber); }
.breadcrumb a { color: #fff; }

/* ---------- Contenu riche ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--amber-deep); }
.prose a { color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--amber); font-size: 1.15rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose-invert, .prose-invert a { color: var(--on-dark-muted); }
.prose-invert { margin-bottom: 28px; }

.layout-aside { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) {
    .layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
    .layout-aside-left { grid-template-columns: 300px minmax(0, 1fr); }
    .aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.aside { display: grid; gap: 20px; }
.aside-box { background: var(--sand); border-radius: var(--radius-lg); padding: 26px; }
.aside-box h2 { font-size: 1.6rem; }
.aside-box-accent { background: var(--amber); color: var(--ink); }
.aside-box-accent p { font-weight: 600; }
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 16px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.check-list .icon { color: var(--amber-deep); margin-top: 4px; }
.aside-box-accent .check-list .icon { color: var(--ink); }

.facts { margin: 0; display: grid; gap: 14px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

.metric-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 36px; }
.metric-grid li { border-top: 4px solid var(--amber); background: var(--sand); padding: 16px 18px; }
.metric-grid strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1.05; }
.metric-grid span { color: var(--muted); font-weight: 600; font-size: .95rem; }

.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------- Liste des services ---------- */
.service-list { display: grid; gap: 28px; }
.service-row { display: grid; gap: 20px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .service-row { grid-template-columns: 320px 1fr; gap: 40px; } }
.service-row-media { overflow: hidden; border-radius: var(--radius-lg); }
.service-row-media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service-row-icon {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border-radius: var(--radius-lg);
    background: var(--ink) linear-gradient(180deg, transparent 70%, rgb(255 169 32 / .25) 70% 74%, transparent 74%);
    color: var(--amber);
}
.service-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .3em; }
.service-row h2 a { text-decoration: none; }
.service-row h2 a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.service-row p { color: var(--muted); }

/* ---------- Accordéon FAQ ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 0;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h3 { margin: 0; font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.accordion summary::after {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
    background: var(--ink) no-repeat center / 12px 12px
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23FFA920' stroke-width='2'/%3E%3C/svg%3E");
    transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion-body { padding: 0 44px 22px 0; color: var(--muted); }
.faq-nav ul { list-style: none; display: grid; gap: 2px; border-left: 3px solid var(--sand-2); }
.faq-nav a { display: block; padding: 10px 16px; text-decoration: none; font-weight: 600; }
.faq-nav a:hover { background: var(--sand); }
.faq-group + .faq-group { margin-top: 48px; }

.notice { margin-top: 48px; background: var(--sand); padding: 28px; border-radius: var(--radius-lg); border-left: 6px solid var(--amber); }
.notice h2 { font-size: 1.7rem; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.notice-warning { margin: 28px 0 0; background: #fff4de; padding: 16px 20px; border-left: 6px solid var(--amber); border-radius: var(--radius); }
.empty-state { padding: 40px; text-align: center; background: var(--sand); border-radius: var(--radius-lg); color: var(--muted); font-size: 1.1rem; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field-wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 1rem; }
.req { color: var(--error); }
.optional { font-weight: 500; color: var(--muted); font-size: .9rem; }
.field-hint { margin: 0; font-size: .9rem; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    font: inherit; font-size: 1rem; color: var(--text); background: #fff;
    border: 1.5px solid #8a857c; border-radius: var(--radius);
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--amber); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error); border-width: 2px; }
.field-error { margin: 0; color: var(--error); font-weight: 700; font-size: .95rem; }
.field-error::before { content: "⚠ "; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
legend { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.field-check { flex-direction: row; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.field-check input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.field-check label { font-weight: 500; flex: 1; min-width: 200px; }
.field-check label a { text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.field-check .field-error { flex-basis: 100%; }
.form-note { color: var(--muted); font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 18px 22px; border-radius: var(--radius); margin-bottom: 24px; border-left: 6px solid; }
.alert p { margin: 0 0 4px; }
.alert ul { padding-left: 1.2em; margin-top: 6px; }
.alert-success { background: #e8f5ec; border-color: var(--success); color: #0d4a1e; }
.alert-error { background: #fdecea; border-color: var(--error); color: #6d1712; }
.alert-error a { color: inherit; font-weight: 600; }
.steps { padding-left: 1.3em; display: grid; gap: 10px; }
.steps strong { display: block; }

.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 20px; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.contact-list .icon { color: var(--amber-deep); margin-top: 2px; }
.contact-list .label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; word-break: break-word; }

.map-consent { background: #fff; border: 1px dashed #8a857c; border-radius: var(--radius-lg); padding: 28px; }
.map-frame { width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 0; border-radius: var(--radius-lg); display: block; }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { background: var(--amber); color: var(--ink); padding: clamp(40px, 6vw, 64px) 0; }
.cta-band-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; font-weight: 600; max-width: 60ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: .98rem; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr .8fr 1.2fr; } }
.footer-brand img { height: 72px; width: auto; margin-bottom: 16px; }
.footer-title { font-size: 1.25rem; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-links, .footer-contact, .footer-social { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.footer-contact .icon { color: var(--amber); width: 20px; height: 20px; margin-top: 3px; }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { font-weight: 700; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 20px; }

.whatsapp-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 40;
    display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px;
    border-radius: 999px; background: #166b37; color: #fff; text-decoration: none; font-weight: 700;
    box-shadow: 0 8px 24px rgb(0 0 0 / .25); transition: transform .2s, background-color .2s;
    animation: wa-in .5s 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: #fff; background: #0f5a2d; transform: translateY(-2px); }
.site-footer a.whatsapp-float { color: #fff; }
.whatsapp-float .icon { flex: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .whatsapp-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
    .whatsapp-float-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.btn-whatsapp { background: #166b37; color: #fff; }
.btn-whatsapp:hover { background: #0f5a2d; }

/* ---------- Pages d'erreur ---------- */
.error-page { text-align: left; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; color: var(--amber-deep); margin: 0; }

/* ==========================================================================
   v2.1 — Galerie, visionneuse, expertise, direction, équipements
   ========================================================================== */
.section-tight-top { padding-top: clamp(36px, 5vw, 64px); }

/* Filtres par catégorie */
.filter-bar { margin-bottom: 20px; }
.filter-bar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: .45em 1.1em;
    border: 2px solid var(--line); border-radius: 999px; background: #fff;
    font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--text);
    transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.gallery-count { color: var(--muted); font-weight: 600; font-size: .95rem; margin-bottom: 18px; }

/* Grille asymétrique : les photos en hauteur occupent deux rangées, les panoramas deux colonnes */
.masonry {
    list-style: none; display: grid; gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense;
}
@media (min-width: 640px) { .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; } }
@media (min-width: 1100px) { .masonry { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; } }
.tile { position: relative; min-width: 0; }
.tile-portrait { grid-row: span 2; }
.tile-panorama { grid-column: span 2; }
@media (min-width: 640px) { .tile-featured { grid-column: span 2; grid-row: span 2; } }
.tile-link {
    position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius-lg);
    background: var(--sand-2); color: #fff; text-decoration: none;
}
.tile-link img { width: 100%; height: 100%; object-fit: cover; }
.tile-link::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, rgb(10 10 10 / .82) 0%, rgb(10 10 10 / .15) 45%, transparent 70%);
}
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 14px 16px; display: grid; gap: 2px; transition: transform .35s; }
.tile-cat { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.tile-title { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.tile-zoom {
    position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--ink);
    opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s;
}
.tile-link:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (hover: hover) {
    .tile-link:hover .tile-zoom, .tile-link:focus-visible .tile-zoom { opacity: 1; transform: none; }
    .tile-link::after { opacity: .75; transition: opacity .35s; }
    .tile-link:hover::after, .tile-link:focus-visible::after { opacity: 1; }
}
@media (max-width: 639px) {
    .tile-title { font-size: .88rem; }
    .tile-caption { padding: 10px 12px; }
    .tile-cat { display: none; }
    /* Filtres sur une ligne, défilement horizontal */
    .filter-bar { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
    .filter-bar ul { flex-wrap: nowrap; overflow-x: auto; padding: 2px var(--gutter) 8px; scrollbar-width: thin; }
    .chip { white-space: nowrap; flex: none; }
}
.gallery-more { display: flex; justify-content: center; margin-top: 32px; }
.gallery-more [aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Visionneuse */
html.lightbox-open { overflow: hidden; }
.lightbox {
    width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: #0b0b0b; color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .25s ease-out; }
.lightbox::backdrop { background: rgb(0 0 0 / .7); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.lightbox-counter { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; color: var(--on-dark-muted); }
.lightbox-tools { display: flex; gap: 8px; }
.lightbox-btn, .lightbox-nav {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; transition: background-color .15s, color .15s;
}
.lightbox-btn:hover, .lightbox-nav:hover, .lightbox-btn[aria-pressed="true"] { background: var(--amber); color: var(--ink); }
.lightbox-btn:focus-visible, .lightbox-nav:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.lightbox-stage { --lb-pad: clamp(8px, 7vw, 96px); position: relative; overflow: hidden; touch-action: pan-y; }
.lightbox-img {
    position: absolute; inset: 0; margin: auto; width: auto; height: auto;
    max-width: calc(100% - 2 * var(--lb-pad)); max-height: 100%; border-radius: var(--radius);
    transition: transform .3s ease, opacity .25s; user-select: none; cursor: zoom-in;
}
.lightbox.is-loading .lightbox-img { opacity: .35; }
.lightbox.is-zoomed .lightbox-stage { touch-action: none; }
.lightbox.is-zoomed .lightbox-img { cursor: grab; transition: transform .05s linear; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox.is-single .lightbox-nav { display: none; }
.lightbox-caption { padding: 12px clamp(16px, 7vw, 96px) 20px; text-align: center; min-height: 64px; }
.lightbox-caption p { margin: 0 auto; max-width: 70ch; }
.lightbox-cat { font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-size: .9rem; }
.lightbox-title { font-weight: 700; font-size: 1.1rem; }
.lightbox-desc { color: var(--on-dark-muted); font-size: .98rem; }
.lightbox-cat:empty, .lightbox-desc:empty { display: none; }
@media (max-width: 639px) {
    .lightbox-nav { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
    .lightbox-caption { padding-left: 64px; padding-right: 64px; }
}

/* Expertise technique (accueil) */
.expertise { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .expertise { grid-template-columns: 5fr 6fr; } }
.expertise-media { margin: 0; position: relative; isolation: isolate; }
.expertise-media .img-frame { border-radius: var(--radius-lg); }
.expertise-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 959px) { .expertise-media img { aspect-ratio: 16 / 10; } .expertise-badge { right: 12px; bottom: 12px; } }
.expertise-media::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; background: var(--amber); border-radius: var(--radius-lg); z-index: -1; }
.expertise-badge {
    position: absolute; right: -12px; bottom: 24px; background: var(--ink); color: #fff;
    padding: 16px 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow); max-width: 220px;
}
.expertise-badge strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--amber); }
.expertise-badge span { font-weight: 600; font-size: .95rem; }
.capability-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.capability-grid li {
    padding: 20px 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    border-top: 4px solid var(--amber); transition: transform .2s, box-shadow .2s;
}
.capability-grid li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.capability-grid h3 { font-size: 1.35rem; margin-bottom: .3em; }
.capability-grid p { margin: 0; color: var(--muted); font-size: .98rem; }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Bloc Direction générale (À propos) */
.director { display: grid; gap: 28px; align-items: center; background: var(--sand); border-radius: var(--radius-lg); padding: clamp(26px, 5vw, 56px); border-left: 8px solid var(--amber); }
@media (min-width: 860px) { .director { grid-template-columns: 260px 1fr; gap: 56px; } }
.director-figure { display: grid; gap: 6px; }
.director-figure strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 10vw, 7rem); line-height: .9; color: var(--ink); }
.director-figure span { font-weight: 700; color: var(--amber-deep); font-size: 1.05rem; }
.director .eyebrow { color: var(--amber-deep); margin-bottom: 10px; }
.director .eyebrow::before { background: var(--amber-deep); }
.director h2 { margin-bottom: .4em; }
.director .prose p:last-child { margin-bottom: 0; }

/* Équipements (À propos) et aperçu galerie (accueil) */
.photo-strip { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; grid-auto-flow: dense; }
@media (min-width: 760px) { .photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; } }
.photo-strip .tile-portrait { grid-row: span 2; }
.photo-strip .tile-panorama { grid-column: span 2; }
.section-dark .tile-link { background: var(--ink-3); }
.section-dark .chip { background: transparent; color: #fff; border-color: rgb(255 255 255 / .3); }

/* Bandeau d'appel à l'action */
.cta-band-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; margin-top: 10px; }
.cta-band-phone:hover { text-decoration: underline; }

/* ==========================================================================
   v2.2 — Équipe (À propos), formulaire, performances
   ========================================================================== */
.eyebrow-dark { color: var(--amber-deep); }
.eyebrow-dark::before { background: var(--amber-deep); }

/* Bloc « Notre équipe » : texte court à gauche, grande photo à droite */
.team-feature { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .team-feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.team-text h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.team-lead { font-size: 1.125rem; color: var(--muted); }
.team-points { margin: 24px 0 0; gap: 14px; }
.team-points li { grid-template-columns: 22px 1fr; }
.team-points span { color: var(--muted); }
.team-points strong { color: var(--text); }
.team-media { margin: 0; position: relative; isolation: isolate; }
.team-media::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
    border: 3px solid var(--amber); border-radius: var(--radius-lg);
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.team-media-frame { overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 18px 40px rgb(0 0 0 / .16); background: var(--sand-2); }
.team-media img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .team-media:hover img { transform: scale(1.05); filter: saturate(1.08) contrast(1.03); }
    .team-media:hover::before { transform: translate(-6px, -6px); }
}
@media (max-width: 959px) {
    .team-media { order: -1; margin-right: 12px; }
    .team-media::before { inset: 12px -12px -12px 12px; }
}
.about-body { max-width: 820px; margin: 0 auto; }

/* Formulaires : champs alignés, indication sous la zone de saisie */
.form-grid { align-items: start; }
.field-hint { margin-top: 2px; }

/* Rendu différé des sections hors écran (accélère l'affichage sur mobile) */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ==========================================================================
   v2.3 — Diaporama d'accueil et animations harmonisées des images
   ========================================================================== */

/* --- Diaporama de l'accueil --- */
.hero-bg { opacity: 0; transition: opacity 1.2s ease; }
.hero-bg.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .hero-bg.is-active { animation: hero-drift 9s ease-out both; }
    .page-hero-bg { animation: hero-settle 1.6s ease-out both; }
}
@keyframes hero-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes hero-settle { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-controls {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
    display: flex; align-items: center; gap: 6px; padding: 6px 8px;
    border-radius: 999px; background: rgb(10 10 10 / .45); backdrop-filter: blur(4px);
}
.hero-btn {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, color .2s;
}
.hero-btn:hover { background: var(--amber); color: var(--ink); }
.hero-btn:focus-visible, .hero-dot:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.hero-dots { display: flex; align-items: center; }
.hero-dot { display: grid; place-items: center; width: 28px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgb(255 255 255 / .55); transition: width .35s ease, background-color .35s; }
.hero-dot:hover::before { background: #fff; }
.hero-dot[aria-current="true"]::before { width: 24px; background: var(--amber); }
.hero-pause-icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero-pause[aria-pressed="true"] .hero-pause-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.hero-has-slider .hero-inner { padding-bottom: clamp(96px, 11vw, 130px); }
@media (max-width: 640px) {
    .hero-controls { bottom: 14px; left: var(--gutter); transform: none; }
    .hero::before { background: linear-gradient(0deg, rgb(10 10 10 / .92) 0%, rgb(10 10 10 / .7) 55%, rgb(10 10 10 / .45) 100%); }
}

/* --- Animations des images : zoom doux, relief et luminosité au survol --- */
.service-card-photo img, .project-card-media img, .tile-link img, .service-row-media img,
.img-frame img, .gallery img {
    transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s ease;
    will-change: auto;
}
.img-frame { overflow: hidden; }
.project-card-media, .service-row-media, .img-frame, .gallery a, .tile-link, .team-media-frame {
    transition: box-shadow .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .service-card:hover .service-card-photo img,
    .project-card:hover .project-card-media img,
    .service-row:hover .service-row-media img,
    .tile-link:hover img, .tile-link:focus-visible img,
    .expertise-media:hover .img-frame img,
    .gallery a:hover img {
        transform: scale(1.05);
        filter: saturate(1.08) contrast(1.03);
    }
    .tile-link:hover, .gallery a:hover, .service-row:hover .service-row-media, .expertise-media:hover .img-frame {
        box-shadow: 0 16px 34px rgb(0 0 0 / .2);
        transform: translateY(-3px);
    }
    .team-media:hover .team-media-frame { box-shadow: 0 24px 48px rgb(0 0 0 / .22); }
}
/* Écrans tactiles : léger retour visuel au toucher (pas de survol) */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
    .tile-link:active img, .gallery a:active img, .project-card:active .project-card-media img,
    .service-card:active .service-card-photo img { transform: scale(1.03); transition-duration: .3s; }
}

/* ---------- Impression ---------- */
@media print {
    .site-header, .site-footer, .cta-band, .preview-banner, .whatsapp-float, .hero-actions, .lightbox, .filter-bar, .gallery-more { display: none !important; }
    .hero, .page-hero { color: #000; background: none; min-height: 0; }
    .hero-bg, .page-hero-bg, .hero-controls, .hero::before, .page-hero::before { display: none; }
    body { font-size: 11pt; }
}
