/* =========================================================
   Groupe Prodem — feuille de style principale
   Palette de marque : navy #181833 + vert lime #8CC63F
   Typo : Barlow Condensed (titres) + Barlow (texte)
   ========================================================= */

:root {
    --c-ink:        #1a1d21;
    --c-ink-soft:   #3a4048;
    --c-muted:      #6b7280;
    --c-line:       #e4e7eb;
    --c-bg:         #ffffff;
    --c-bg-alt:     #f4f6f2;
    --c-steel:      #2a2a56;      /* navy moyen */
    --c-steel-dk:   #181833;      /* navy profond (couleur de marque) */
    --c-night:      #0f0f24;      /* navy le plus foncé (barre du haut) */
    --c-accent:     #8cc63f;      /* vert lime (accent de marque) */
    --c-accent-dk:  #75a832;      /* vert lime foncé (survol) */
    --c-accent-ink: #181833;      /* texte navy sur fond vert */
    --c-hi:         #8cc63f;      /* surbrillance vert sur fond foncé */
    --radius:       10px;
    --shadow:       0 14px 40px rgba(20,25,32,.14);
    --shadow-sm:    0 4px 14px rgba(20,25,32,.08);
    --maxw:         1180px;
    --font:         "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head:    "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.05rem;
    color: var(--c-ink);
    background: var(--c-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.1; color: var(--c-ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
p  { margin: 0 0 1rem; color: var(--c-ink-soft); }
a  { color: var(--c-steel-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--c-accent); color: var(--c-accent-ink); padding: 10px 16px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* --- Barre du haut --- */
.topbar { background: var(--c-night); color: rgba(255,255,255,.72); font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-urgent { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; }
.topbar-urgent svg { color: var(--c-accent); }
.topbar-urgent span { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .78rem; color: var(--c-accent); }
.topbar-urgent strong { font-weight: 700; }
.topbar-meta { display: flex; list-style: none; margin: 0; padding: 0; }
.topbar-meta li + li::before { content: "|"; margin: 0 12px; color: rgba(255,255,255,.25); }

/* --- En-tête / navigation --- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 2px 12px rgba(20,25,32,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--c-ink); }
.brand:hover { text-decoration: none; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.brand-text small  { color: var(--c-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }

.primary-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
    display: inline-block; padding: 10px 14px; border-radius: 8px;
    color: var(--c-ink-soft); font-weight: 600; font-size: .98rem;
}
.primary-nav a:hover { background: var(--c-bg-alt); color: var(--c-ink); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--c-steel-dk); box-shadow: inset 0 -3px 0 var(--c-accent); border-radius: 8px 8px 0 0; }
.nav-cta a, .primary-nav .nav-cta a[aria-current="page"] {
    background: var(--c-accent); color: var(--c-accent-ink) !important; margin-left: 10px;
    font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .88rem;
    padding: 11px 18px; border-radius: 8px; box-shadow: none;
}
.nav-cta a:hover { background: var(--c-accent-dk); text-decoration: none; }

/* Sélecteur de langue : bascule FR | EN (pastille coulissante) */
.lang-switch { display: flex; align-items: center; margin-left: 10px; }
.primary-nav .lang-toggle {
    position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
    padding: 3px; border-radius: 999px;
    background: var(--c-bg-alt); box-shadow: inset 0 0 0 1px var(--c-line);
    font-size: .75rem; font-weight: 700; letter-spacing: .04em; line-height: 1;
}
.primary-nav .lang-toggle:hover { background: var(--c-line); text-decoration: none; }
.primary-nav .lang-toggle:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.lang-knob {
    position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
    border-radius: 999px; background: var(--c-steel-dk);
    box-shadow: var(--shadow-sm); transition: transform .25s ease;
}
.lang-toggle.is-en .lang-knob { transform: translateX(100%); }
.lang-opt { position: relative; z-index: 1; padding: 6px 10px; text-align: center; color: var(--c-muted); transition: color .25s ease; }
.lang-toggle.is-fr .lang-opt:nth-child(2),
.lang-toggle.is-en .lang-opt:nth-child(3) { color: #fff; }
.lang-toggle:hover .lang-opt { color: var(--c-ink-soft); }
.lang-toggle.is-fr:hover .lang-opt:nth-child(2),
.lang-toggle.is-en:hover .lang-opt:nth-child(3) { color: #fff; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .25s; }

/* --- Boutons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 8px;
    font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em;
    cursor: pointer; border: 2px solid transparent; transition: .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--c-accent); color: var(--c-accent-ink); box-shadow: 0 6px 18px rgba(140,198,63,.35); }
.btn-primary:hover { background: var(--c-accent-dk); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark { background: var(--c-steel-dk); color: #fff; }
.btn-dark:hover { background: var(--c-steel); }
.btn-light { background: #fff; color: var(--c-steel-dk); }
.btn-light:hover { background: #e9e9ee; }

/* --- Sections --- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
    color: var(--c-steel); font-weight: 700; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .14em;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--c-accent); }
.eyebrow-light { color: var(--c-hi); }
.lead { font-size: 1.15rem; color: var(--c-ink-soft); }
.center-actions { text-align: center; margin-top: 44px; }

/* --- Héros : texte sur navy, photo en biseau à droite --- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        radial-gradient(90% 120% at 0% 100%, rgba(140,198,63,.18) 0%, rgba(140,198,63,0) 50%),
        linear-gradient(110deg, var(--c-steel-dk) 0%, #1d1d40 100%);
}
.hero-media {
    position: absolute; top: 0; bottom: 0; right: 0; width: 50%;
    background: var(--c-accent);
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media img {
    width: 100%; height: 100%; object-fit: cover;
    clip-path: polygon(calc(16% + 10px) 0, 100% 0, 100% 100%, 10px 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(80px, 11vw, 150px) 20px clamp(110px, 13vw, 170px); }
.hero-inner > * { max-width: 520px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* --- Bandeau de confiance (chevauche le héros) --- */
.trust-bar { position: relative; z-index: 2; margin-top: -64px; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    border-top: 4px solid var(--c-accent); padding: 8px;
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--c-line); }
.trust-icon {
    flex: none; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(140,198,63,.2); color: var(--c-steel-dk);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item b { display: block; font-family: var(--font-head); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.trust-item div span { color: var(--c-muted); font-size: .88rem; line-height: 1.3; display: block; }

/* --- Grilles génériques --- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Cartes photo (services) --- */
.photo-card {
    display: flex; flex-direction: column; color: inherit;
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.photo-card:hover { text-decoration: none; transform: translateY(-6px); box-shadow: var(--shadow); }
.photo-card-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-steel-dk); }
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover .photo-card-img img { transform: scale(1.06); }
.photo-card-img::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c-accent);
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.photo-card:hover .photo-card-img::after { transform: scaleX(1); }
.photo-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.photo-card-body p { font-size: .98rem; }
.photo-card .more {
    margin-top: auto; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--c-steel-dk);
}
.photo-card .more { display: inline-flex; align-items: center; gap: 6px; }
.photo-card .more svg { color: var(--c-accent-dk); transition: transform .2s; }
.photo-card:hover .more svg { transform: translateX(4px); }

/* --- Cartes simples (valeurs) --- */
.card {
    background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-sm); transition: .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7dbe0; }
.card .icon {
    width: 54px; height: 54px; border-radius: 12px; margin-bottom: 18px;
    display: grid; place-items: center; background: var(--c-steel-dk); color: var(--c-accent);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .98rem; }

/* --- Bandeau statistiques --- */
.stats {
    color: #fff; position: relative;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 18px),
        var(--c-steel);
}
.stats .grid-4 { text-align: center; }
.stat b {
    display: block; font-family: var(--font-head); font-weight: 800; line-height: 1.1;
    font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--c-accent);
}
.stat span { color: rgba(255,255,255,.8); font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stats-note { text-align: center; color: rgba(255,255,255,.5); font-size: .82rem; margin: 28px 0 0; }

/* --- Méthode en 4 étapes --- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-sm); background: var(--c-steel-dk); }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
    position: absolute; left: 0; bottom: 0;
    background: var(--c-accent); color: var(--c-accent-ink);
    font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1;
    padding: 10px 14px; border-top-right-radius: 8px;
}
.step h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .01em; }
.step p { font-size: .96rem; margin: 0; }

/* --- Bloc alterné texte / photo --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.photo-frame { position: relative; margin: 0 18px 18px 0; }
.photo-frame::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px;
    border: 3px solid var(--c-accent); border-radius: var(--radius);
}
.photo-frame img {
    position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.photo-frame-tall { max-width: 420px; justify-self: center; width: 100%; }
.photo-frame-tall img { aspect-ratio: 3 / 4; }
.photo-badge {
    position: absolute; left: -18px; bottom: 28px;
    background: var(--c-steel-dk); color: #fff; border-left: 4px solid var(--c-accent);
    padding: 14px 20px; border-radius: 6px; box-shadow: var(--shadow);
}
.photo-badge span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-hi); font-weight: 700; }
.photo-badge b { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .03em; }
.photo-num {
    position: absolute; right: -18px; top: -58px;
    font-family: var(--font-head); font-weight: 800; font-size: 4.5rem; line-height: 1;
    color: var(--c-steel-dk); text-shadow: 0 2px 0 #fff;
}

.service-rows { display: grid; gap: clamp(64px, 9vw, 112px); }
.service-row.is-flipped > .photo-frame { order: 2; }

/* Placeholder (utilisé si aucune photo n'est fournie) */
.media-box {
    border-radius: var(--radius); min-height: 320px; box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--c-steel) 0%, var(--c-steel-dk) 100%);
    position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.35);
}
.media-box span { position: relative; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }

.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { position: relative; padding: 6px 0 6px 34px; color: var(--c-ink-soft); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 7px;
    width: 23px; height: 23px; border-radius: 50%; background: var(--c-accent);
}
.check-list li::after {
    content: ""; position: absolute; left: 8px; top: 12px;
    width: 6px; height: 11px; border: solid var(--c-accent-ink); border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* --- Types de bâtiments --- */
.sector {
    background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center;
    border: 1px solid var(--c-line); transition: .25s;
}
.sector:hover { border-color: var(--c-accent); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.sector-icon {
    width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
    display: grid; place-items: center; background: var(--c-steel-dk); color: var(--c-accent);
}
.sector-icon svg { width: 30px; height: 30px; }
.sector h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.35rem; margin-bottom: 4px; }
.sector p { margin: 0; font-size: .95rem; color: var(--c-muted); }

/* --- Galerie réalisations --- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
    background: linear-gradient(160deg, var(--c-steel) 0%, var(--c-steel-dk) 100%);
    color: #fff; display: flex; align-items: flex-end; padding: 20px; box-shadow: var(--shadow-sm);
}
.tile::before {
    content: ""; position: absolute; inset: 0; opacity: .10;
    background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 16px);
}
.tile-info { position: relative; z-index: 1; }
.tile-info b { display: block; font-size: 1.05rem; }
.tile-info span { color: rgba(255,255,255,.7); font-size: .85rem; }

/* --- Appel à l'action --- */
.cta-band {
    background: linear-gradient(120deg, var(--c-steel) 0%, var(--c-steel-dk) 65%, #1f4a2a 130%);
    color: #fff; text-align: center;
}
.cta-photo { background: var(--c-steel-dk); border-top: 4px solid var(--c-accent); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 580px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Photo de fond (bandeaux et appels à l'action) : <img class="section-bg"> + voile navy */
.page-banner, .cta-photo { position: relative; isolation: isolate; overflow: hidden; }
.section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::before, .cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.page-banner::before { background: linear-gradient(90deg, rgba(24,24,51,.96) 0%, rgba(24,24,51,.82) 55%, rgba(24,24,51,.6) 100%); }
.cta-photo::before { background: linear-gradient(100deg, rgba(24,24,51,.94) 0%, rgba(24,24,51,.86) 55%, rgba(24,24,51,.72) 100%); }
.cta-photo .section-bg { filter: blur(3px); transform: scale(1.06); }

/* --- Formulaire de contact --- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.form-card { background: var(--c-bg); border: 1px solid var(--c-line); border-top: 4px solid var(--c-accent); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 8px;
    font: inherit; color: var(--c-ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--c-accent-dk); box-shadow: 0 0 0 3px rgba(140,198,63,.35);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--c-muted); }

.contact-info { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-info li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.contact-info .ci-icon { color: var(--c-steel-dk); flex: none; }
.contact-info b { display: block; color: var(--c-ink); }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #e7f6ec; color: #1c6b3a; border: 1px solid #bfe6cd; }
.alert-error   { background: #fdecec; color: #b4231f; border: 1px solid #f5c9c7; }

/* --- Bandeau de page (pages intérieures) --- */
.page-banner {
    color: #fff; padding: clamp(64px, 10vw, 120px) 0;
    background: linear-gradient(115deg, var(--c-steel-dk) 0%, var(--c-steel) 100%);
    border-bottom: 4px solid var(--c-accent);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin-bottom: 10px; max-width: 760px; }
.page-banner p { color: rgba(255,255,255,.85); margin: 0; max-width: 600px; font-size: 1.12rem; }

/* --- Pied de page --- */
.site-footer { background: var(--c-steel-dk); color: rgba(255,255,255,.75); padding: 64px 0 0; border-top: 4px solid var(--c-accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 40px; }
.footer-col h3 { color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; margin-bottom: 16px; }
.footer-col .footer-sub { margin-top: 24px; }
.footer-about { color: rgba(255,255,255,.65); margin-top: 16px; font-size: .95rem; }
.footer-badge {
    display: inline-block; margin: 4px 0 0; padding: 6px 12px; border-radius: 6px;
    background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); font-size: .85rem;
}
.footer-badge strong { color: var(--c-hi); }
.footer-area { color: rgba(255,255,255,.65); font-size: .95rem; margin: 0; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { padding: 5px 0; font-size: .96rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.75); }
.footer-links a:hover, .footer-contact a:hover { color: var(--c-hi); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding: 20px 0; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.5); font-size: .88rem; }

/* --- Apparition au défilement (activée seulement si JS) --- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lang-knob, .lang-opt { transition: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .photo-card, .photo-card-img img, .btn, .card, .sector { transition: none; }
}

/* --- Responsive --- */
@media (max-width: 1080px) {
    .primary-nav a { padding: 10px 10px; }
    .brand-text small { display: none; }
}
@media (max-width: 960px) {
    .grid-3, .grid-4, .gallery, .steps { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .service-row.is-flipped > .photo-frame { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item + .trust-item { border-left: 0; }
    .trust-item:nth-child(even) { border-left: 1px solid var(--c-line); }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--c-line); }
    .stat + .stat { border-left: 0; }

    /* Héros : la photo passe en arrière-plan plein cadre */
    .hero-media { width: 100%; clip-path: none; background: none; }
    .hero-media img { clip-path: none; }
    .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24,24,51,.93) 0%, rgba(24,24,51,.8) 100%); }
    .hero-inner > * { max-width: 620px; }
}
@media (max-width: 720px) {
    .topbar-meta { display: none; }
    .topbar-inner { justify-content: center; }
    .nav-toggle { display: flex; }
    .primary-nav {
        position: absolute; top: 76px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--c-line);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .primary-nav.open { max-height: 520px; }
    .primary-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
    .primary-nav a { padding: 12px 14px; }
    .nav-cta a, .primary-nav .nav-cta a[aria-current="page"] { margin: 6px 0 0; text-align: center; display: block; }
    .lang-switch { justify-content: center; margin: 10px 0 4px; }
    .brand-text small { display: block; }
}
@media (max-width: 560px) {
    .grid-3, .grid-4, .gallery, .grid-2, .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item:nth-child(even) { border-left: 0; }
    .trust-item + .trust-item { border-top: 1px solid var(--c-line); }
    .brand-text small { display: none; }
    .photo-num { font-size: 3.4rem; }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* Léger décalage des cartes d'une même rangée */
.grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: .24s; }

/* --- Politique de confidentialité (Loi 25) --- */
.policy { max-width: 860px; }
.policy .policy-h { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 44px 0 12px; }
.policy .policy-text { line-height: 1.75; }
.policy .policy-text a, .form-note a, .footer-bottom a { text-decoration: underline; }
.policy .policy-list { padding-left: 22px; margin: 10px 0 14px; color: var(--c-ink-soft); }
.policy .policy-list li { margin-bottom: 6px; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--c-hi); }
