/* =========================================================
   COMMODOR — feuille de style
   ========================================================= */
:root {
    --ink: #16181b;
    --ink-2: #1f2226;
    --ink-3: #2b2f35;
    --steel: #6b7178;
    --line: #e3e5e8;
    --paper: #ffffff;
    --mist: #f4f5f7;
    --text: #2a2d32;
    --muted: #5d636b;
    --accent: #b3141b;
    --accent-dark: #8e0f15;
    --accent-soft: #fbeced;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16,18,22,.06), 0 8px 28px rgba(16,18,22,.08);
    --shadow-lg: 0 24px 60px rgba(16,18,22,.18);
    --container: 1180px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: .01em;
    margin: 0 0 .6em;
}
h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .8em 1.4em;
    font-weight: 600; font-size: .95rem; letter-spacing: .02em;
    border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Barre supérieure ---------- */
.topbar { background: #0e0f11; color: #a9aeb5; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__phone { display: flex; align-items: center; gap: 8px; }
.topbar__phone svg { width: 14px; height: 14px; fill: var(--accent); }
.topbar__phone a { color: #fff; font-weight: 600; }
.topbar__sep { opacity: .5; }
.topbar__spaces { display: flex; gap: 4px; }
.topbar__spaces a {
    color: #d6d9dd; padding: 4px 10px; border-radius: 999px; transition: background .2s, color .2s;
}
.topbar__spaces a:hover { background: var(--accent); color: #fff; }
@media (max-width: 860px) {
    .topbar__inner { justify-content: center; }
    .topbar__phone { display: none; }
}
@media (max-width: 420px) {
    .topbar__spaces a { padding: 4px 6px; font-size: .72rem; }
}

/* ---------- En-tête ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: box-shadow .3s;
}
/* Le flou est sur un pseudo-élément : un backdrop-filter sur .header
   deviendrait le bloc conteneur du menu mobile en position fixe. */
.header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(22,24,27,.92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.logo { display: block; flex-shrink: 0; }
.logo svg { width: 190px; height: auto; display: block; }
.logo__word { font-family: var(--font); font-size: 23px; font-weight: 500; letter-spacing: 1.5px; fill: #fff; }
.logo__sub { font-family: var(--font); font-size: 11px; fill: #c9ccd1; letter-spacing: .5px; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
    display: block; padding: 10px 14px;
    color: #e6e8eb; font-weight: 500; font-size: .95rem;
    border-radius: 8px; transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: #fff; background: rgba(255,255,255,.06); }
.nav__item.is-active > .nav__link { color: #fff; }
.nav__item.is-active > .nav__link::after {
    content: ""; display: block; height: 2px; background: var(--accent); margin-top: 2px; border-radius: 2px;
}
.nav__toggle { display: none; }
.nav__sub {
    list-style: none; margin: 0; padding: 8px;
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
    background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
    display: block; padding: 10px 14px; border-radius: 8px;
    color: var(--text); font-size: .93rem; font-weight: 500;
}
.nav__sub a:hover { background: var(--mist); color: var(--accent); }
.nav__cta { display: none; }
@media (min-width: 1081px) { .nav__item:last-child { display: none; } .nav__cta { display: inline-flex; } }

.burger {
    display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px;
}
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .burger { display: flex; }
    .logo svg { width: 160px; }
    .header__inner { min-height: 64px; }
    .nav {
        position: fixed; inset: 102px 0 0 0;
        background: var(--ink); flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px 16px 32px; overflow-y: auto;
        transform: translateX(100%); visibility: hidden;
        transition: transform .35s ease, visibility 0s linear .35s;
    }
    .nav.is-open { transform: translateX(0); visibility: visible; transition: transform .35s ease, visibility 0s; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav__link { flex: 1; padding: 16px 8px; font-size: 1.05rem; }
    .nav__item.is-active > .nav__link::after { display: none; }
    .nav__item.is-active > .nav__link { color: #ff6b70; }
    .nav__toggle {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; border-radius: 8px;
    }
    .nav__toggle svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; transition: transform .25s; }
    .nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
    .nav__sub {
        position: static; width: 100%; min-width: 0; background: transparent; box-shadow: none;
        opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 12px 8px;
    }
    .nav__item.is-open > .nav__sub { display: block; }
    .nav__sub a { color: #c9ccd1; padding: 10px 12px; }
    .nav__sub a:hover { background: rgba(255,255,255,.06); color: #fff; }
    .nav__cta { display: none; }
    html.nav-open { overflow: hidden; }
}
html, body { overflow-x: clip; }

/* ---------- Accueil : hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 500px at 85% -10%, rgba(179,20,27,.25), transparent 60%),
                linear-gradient(180deg, var(--ink) 0%, #101113 100%);
    color: #d5d8dc;
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #ff8a8e;
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero h1 {
    color: #fff; font-size: clamp(2rem, 4vw, 3.15rem); text-transform: uppercase; line-height: 1.05; margin-bottom: 28px;
}
.hero h1 em { font-style: normal; color: #ff5359; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.slider {
    position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
    aspect-ratio: 880 / 320; background: #222;
}
.slider__slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease, transform 6s ease;
    transform: scale(1.03);
}
.slider__slide.is-active { opacity: 1; transform: scale(1); }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.slider__dots button {
    width: 28px; height: 4px; border: 0; padding: 0; border-radius: 4px; cursor: pointer;
    background: rgba(255,255,255,.22); transition: background .3s, width .3s;
}
.slider__dots button.is-active { background: var(--accent); width: 44px; }
.slider__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.85); color: var(--ink); display: grid; place-items: center;
    opacity: 0; transition: opacity .25s, background .2s;
}
.slider:hover .slider__nav, .slider__nav:focus-visible { opacity: 1; }
.slider__nav:hover { background: #fff; }
.slider__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }

@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }

.intro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); }
.intro-grid p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.intro-grid .quote { position: relative; padding-left: 24px; border-left: 3px solid var(--accent); }
@media (max-width: 760px) { .intro-grid { grid-template-columns: 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
    position: relative; display: flex; align-items: flex-end; min-height: 200px;
    border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
    background: var(--ink-2);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05); transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,17,19,.1) 0%, rgba(16,17,19,.85) 100%); transition: background .3s; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { background: linear-gradient(180deg, rgba(142,15,21,.25) 0%, rgba(16,17,19,.9) 100%); }
.tile__body { padding: 22px 24px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile__title { font-family: var(--display); font-size: 1.55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.tile__arrow {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.15); transition: background .3s, transform .3s;
}
.tile__arrow svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; }
.tile:hover .tile__arrow { background: var(--accent); transform: translateX(3px); }
.tile:hover { color: #fff; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 160px; } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ---------- Bandeau de page ---------- */
.pagehead {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(180deg, var(--ink) 0%, #101113 100%);
    padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px);
}
.pagehead.has-banner::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16,17,19,.92) 0%, rgba(16,17,19,.55) 100%), var(--banner) center/cover no-repeat;
    filter: grayscale(1);
}
.pagehead::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.pagehead .container { position: relative; }
.pagehead__title { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); text-transform: uppercase; margin: 10px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: #a9aeb5; }
.crumbs a { color: #e6e8eb; }
.crumbs a:hover { color: #ff8a8e; }
.crumbs__sep { color: var(--accent); }

/* ---------- Mise en page de contenu ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout--wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; color: var(--accent-dark); }
.prose h4 { margin-top: 1.6em; }
.prose p { color: var(--text); }
.prose ul { padding: 0; margin: 0 0 1.4em; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: .65em; }
.prose ul.jobs li, .prose ul.contracts li { padding-left: 18px; }
.prose ul.jobs li::before, .prose ul.contracts li::before { display: none; }
.prose ul li::before {
    content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px;
    border: 2px solid var(--accent); border-radius: 3px; transform: rotate(45deg);
}
.prose .figure { margin: 2em 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prose .figure img { width: 100%; }

.lead { font-size: 1.15rem; color: var(--muted); }

.sticky { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .sticky { position: static; } }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow);
}
.card--dark { background: var(--ink); color: #c9ccd1; border-color: var(--ink); }
.card--dark strong { color: #fff; }
.card--dark a { color: #fff; word-break: break-word; }
.card--dark a:hover { color: #ff8a8e; }

.photo-side { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-side img { width: 100%; filter: grayscale(.15); }

/* Blocs listés en cartes (Atouts, Zones) */
.blocks { display: grid; gap: 18px; margin: 0 0 1.6em; }
.block {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px 26px; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.block:hover { border-color: #d3d6da; box-shadow: var(--shadow); transform: translateY(-2px); }
.block__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.block__num {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 1.15rem;
}
.block__title { font-family: var(--font); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.4; padding-top: 6px; margin: 0; }
.block ul { margin: 0; }
.block ul li:last-child { margin-bottom: 0; }
.block p { margin: 0; }
.block .label { color: var(--accent-dark); }

/* Coordonnées */
.coords { font-size: .93rem; }
.coords__title { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; margin-bottom: 14px; }
.coords__logo { background: #fff; border-radius: 8px; padding: 8px 12px; width: 190px; margin-bottom: 20px; }
.coords dl { margin: 0; }
.coords dt {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #ff8a8e; font-weight: 600;
    margin-top: 16px;
}
.coords dd { margin: 4px 0 0; color: #fff; font-weight: 500; }
.coords__notes { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; }
.coords__notes li { padding-left: 18px; position: relative; color: #c9ccd1; font-size: .88rem; }
.coords__notes li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* Pastilles / badges (Charte) */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li {
    display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.5;
}
.facts li::before {
    content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.facts .facts__sub { display: block; font-weight: 400; color: var(--muted); margin-top: 6px; }

.doc-link {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600;
    letter-spacing: .03em; margin: 1.2em 0 2.2em; transition: background .2s, transform .2s;
}
.doc-link:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.doc-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }

.logo-ges { width: 240px; margin: 0 0 1.5em; }

/* Prestations : trois axes */
.axes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.axe { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.axe__n { font-family: var(--display); font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; display: block; margin-bottom: 10px; }
.axe__t { font-weight: 600; line-height: 1.45; }
@media (max-width: 760px) { .axes { grid-template-columns: 1fr; } }

.wide-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.wide-img img { width: 100%; }

/* Recrutement */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 2em; padding: 0; list-style: none; }
.jobs li {
    background: var(--mist); border-radius: 12px; padding: 16px 18px; font-weight: 700; color: var(--ink);
    border-left: 3px solid var(--accent);
}
@media (max-width: 560px) { .jobs { grid-template-columns: 1fr; } }
.contracts { display: grid; gap: 12px; padding: 0; list-style: none; }
.contracts li { background: var(--ink); color: #fff; border-radius: 12px; padding: 16px 20px; font-weight: 600; }
.notice {
    background: var(--accent-soft); border: 1px solid #f2cfd1; border-radius: 12px; padding: 18px 20px; color: #5a1114;
}
.notice strong { color: #5a1114; }

/* Galerie photos */
.gallery { display: grid; gap: 24px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.02); }
.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(10,11,13,.92);
    display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 8px; box-shadow: var(--shadow-lg); }

/* Formulaire */
.form { display: grid; gap: 18px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field textarea {
    width: 100%; font: inherit; color: var(--text); background: var(--mist);
    border: 1.5px solid transparent; border-radius: 10px; padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(179,20,27,.1); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 10px 16px; border-radius: 999px; background: var(--mist); border: 1.5px solid transparent; font-weight: 500;
}
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio input { accent-color: var(--accent); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 10px; padding: 14px 16px; font-weight: 500; }
.form-msg--ok { background: #e9f6ee; color: #1a5c33; }
.form-msg--err { background: var(--accent-soft); color: #7a1318; }

/* Mentions */
.legal h2 { font-size: 1.5rem; margin-top: 2em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; }
.legal .small { font-size: .9rem; color: var(--muted); background: var(--mist); padding: 20px; border-radius: 12px; }

/* ---------- Pied de page ---------- */
.footer { background: #0e0f11; color: #9aa0a7; font-size: .9rem; padding-top: clamp(48px, 6vw, 72px); }
.footer a { color: #d6d9dd; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.4fr; gap: 32px; padding-bottom: 40px; }
.footer__name { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: .04em; }
.footer__title { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: #ff8a8e; font-weight: 600; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links .footer__title { margin-bottom: 6px; }
.footer__law p:last-child { line-height: 1.6; }
.footer__bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
    border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; padding-bottom: 24px; font-size: .82rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom em { font-style: normal; opacity: .4; margin: 0 6px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
