:root {
  --ink: #121418;
  --ink-2: #1c1f25;
  --paper: #f5f2ec;
  --tint: #ebe6dc;
  --white: #ffffff;
  --red: #c8202b;
  --red-d: #a3161f;
  --gold: #e8a524;
  --steel: #5d6570;
  --line: #d8d2c6;
  --line-d: rgba(255, 255, 255, .14);
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Archivo", system-ui, sans-serif;
  --w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-stretch: 75%; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.label { font: 500 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.label::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.label-light { color: var(--gold); }
.num { font: 500 .85rem var(--mono); color: var(--red); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; font: 700 .95rem var(--sans); font-stretch: 90%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-d); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link:hover { color: var(--red); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 236, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-stretch: 75%; font-weight: 800; font-size: 1.25rem; text-transform: uppercase; color: var(--red); letter-spacing: .01em; }
.brand small { font: 400 .62rem var(--mono); color: var(--steel); letter-spacing: .03em; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu ul a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu ul a:hover, .menu ul a[aria-current] { border-color: var(--red); }
.burger { display: none; }

/* Héros */
.hero, .phero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after, .phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 20, 24, .92) 0%, rgba(18, 20, 24, .55) 60%, rgba(18, 20, 24, .2) 100%); }
.hero-in, .phero-in { position: relative; z-index: 2; }
.hero-in { padding: clamp(80px, 13vw, 160px) 0 clamp(60px, 9vw, 110px); max-width: 900px; margin-left: max(16px, (100% - var(--w)) / 2); }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: rgba(255, 255, 255, .85); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { position: relative; z-index: 2; border-top: 1px solid var(--line-d); background: rgba(18, 20, 24, .7); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px 26px 0; border-right: 1px solid var(--line-d); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-stretch: 75%; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--white); }
.stat span { font: .78rem var(--mono); color: rgba(255, 255, 255, .65); text-transform: uppercase; letter-spacing: .08em; }
.phero-in { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); }
.phero-plain { background: var(--ink) linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 100% 40px; }
.phero-plain::after { display: none; }
.crumbs { font: .8rem var(--mono); color: rgba(255, 255, 255, .6); margin-bottom: 28px; }
.crumbs a { color: rgba(255, 255, 255, .85); }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: 48px; }

.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.svc { grid-column: span 2; display: flex; flex-direction: column; background: var(--white); text-decoration: none; }
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s; opacity: .92; }
.svc:hover .svc-img img { transform: scale(1.04); opacity: 1; }
.svc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin: 8px 0 10px; }
.svc-body p { color: var(--steel); flex: 1; }
.more { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.more::after { content: " →"; transition: margin .2s; }
.svc:hover .more::after { margin-left: 6px; }

.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-img { position: sticky; top: 100px; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cap { font: .75rem var(--mono); color: rgba(255, 255, 255, .55); margin-top: 10px; }
.about p { color: rgba(255, 255, 255, .8); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
.steps li { background: var(--ink); padding: 24px; }
.steps h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.steps p { font-size: .95rem; margin: 0; color: rgba(255, 255, 255, .7); }
.steps .num { color: var(--gold); }

.ag-home { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); }
.ag-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ag-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ag-org { font-weight: 700; }
.ag-scope { font: .8rem var(--mono); color: var(--steel); grid-column: 1; }
.ag-list .tag { grid-row: 1 / 3; grid-column: 2; align-self: center; }
.tag { display: inline-block; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border: 1px solid var(--ink); white-space: nowrap; }
.tag-gold { border-color: var(--gold); background: var(--gold); color: var(--ink); }

.cta { background: var(--red); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .88); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-red { background: var(--ink); }
.cta .btn-red:hover { background: #000; }

/* Pages métier */
.two { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.big { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.prest { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: p; }
.prest li { padding: 24px 0 24px 56px; border-bottom: 1px solid var(--line); position: relative; counter-increment: p; }
.prest li::before { content: "0" counter(p); position: absolute; left: 0; top: 27px; font: 500 .85rem var(--mono); color: var(--red); }
.prest h3 { margin: 0 0 6px; font-size: 1.3rem; }
.prest p { margin: 0; color: var(--steel); }
.callout { margin-top: 32px; padding: 24px; background: var(--white); border-left: 4px solid var(--gold); }
.wide-img img { width: 100%; aspect-ratio: 21 / 7; object-fit: cover; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem var(--mono); color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--steel); padding-bottom: 12px; }
.others { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.others a { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); text-decoration: none; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; height: 100%; }
.others a:hover { background: var(--ink); color: var(--white); }

/* Agréments */
.table-wrap { overflow-x: auto; }
.ag-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.ag-table th { text-align: left; font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--steel); padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.ag-table td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ag-table td b { display: block; }
.ag-table .m { font: .8rem var(--mono); color: var(--steel); }
.note { margin-top: 24px; color: var(--steel); }

/* Contact */
.form { display: grid; gap: 18px; }
.field label { display: block; font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--sans); padding: 14px; border: 1.5px solid var(--line); background: var(--white); border-radius: 0; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.err { color: var(--red); font-weight: 600; margin: 0; }
.form-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.coords { display: grid; gap: 28px; }
.coords .label { margin-bottom: 6px; }
.big-link { font-stretch: 80%; font-weight: 800; font-size: clamp(1.3rem, 2.5vw, 1.8rem); text-decoration: none; word-break: break-word; }
.big-link:hover { color: var(--red); }
.coords iframe { width: 100%; height: 260px; border: 0; filter: grayscale(.6); }

/* Pied */
.foot { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 64px 0 0; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand { font-stretch: 75%; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--line-d); font: .75rem var(--mono); color: rgba(255, 255, 255, .5); }
.mbar { display: none; }

@media (max-width: 1080px) {
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 12px; }
  .burger span:not(.sr) { display: block; height: 2px; background: var(--ink); transition: transform .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .menu { position: fixed; inset: 72px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 16px 16px 32px; gap: 20px; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s; }
  .menu.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-stretch: 75%; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: auto; }
  .about, .ag-home, .two { grid-template-columns: 1fr; }
  .about-img { position: static; }
  .about-img img { aspect-ratio: 4 / 3; }
  .others { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wide-img img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 18px 12px; border-right: 0; border-bottom: 1px solid var(--line-d); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-d); padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .hero-btns .btn, .cta-btns .btn { flex: 1 1 100%; }
  .brand small { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--white); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
  .mbar a + a { background: var(--red); }
  .ag-table thead { display: none; }
  .ag-table tr { display: grid; grid-template-columns: 40px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ag-table td { border: 0; padding: 0 0 6px; }
  .ag-table td:nth-child(n+3) { grid-column: 2; }
}
@media (hover: none) { .svc:hover .svc-img img { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } html { scroll-behavior: auto; } }

/* Bouton WhatsApp flottant (ordinateur et tablette ; sur mobile, la barre du bas le remplace) */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .wa-float { display: none; } .mbar a + a { background: #25d366; color: var(--ink); } }

/* ============ Effets premium ============ */
:root { --ease: cubic-bezier(.16, 1, .3, 1); }

/* En-tête transparent sur les héros sombres, plein au défilement */
.top { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .4s var(--ease), border-color .4s, color .4s; }
.top:not(.solid) .brand small, .top:not(.solid) .menu ul a { color: rgba(255, 255, 255, .85); }
.top:not(.solid) .burger span:not(.sr) { background: var(--white); }
.top.solid { background: rgba(245, 242, 236, .92); backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.top .brand img { transition: transform .5s var(--ease); }
.top.solid .brand img { transform: scale(.88); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.phero-in { padding-top: calc(clamp(56px, 9vw, 120px) + 72px); }
.menu.open ul a { color: var(--ink) !important; }

/* Héros d'accueil plein écran */
.is-home .hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.is-home .hero-in { padding-top: 140px; }
.hero-bg { transform: scale(1.14); animation: kb 2.8s var(--ease) forwards; will-change: transform; }
@keyframes kb { to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 65%); }
.hero-t .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-t .ln > span { display: inline-block; transform: translateY(105%); animation: up 1.1s var(--ease) forwards; }
.hero-t .ln:nth-child(2) > span { animation-delay: .12s; }
.hero-t .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes up { to { transform: none; } }
.hero-k, .hero .lead, .hero-btns { opacity: 0; animation: fade 1s var(--ease) forwards; }
.hero-k { animation-delay: .05s; }
.hero .lead { animation-delay: .5s; }
.hero-btns { animation-delay: .65s; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-t em { position: relative; }
.hero-t em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .08em; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; animation: line .9s var(--ease) 1.1s forwards; }
@keyframes line { to { transform: scaleX(1); } }
.hero-meta { position: absolute; z-index: 2; right: max(16px, (100% - var(--w)) / 2); top: 50%; display: flex; flex-direction: column; align-items: flex-end; gap: 40px; font: .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.scroll-cue { position: relative; padding-bottom: 70px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes cue { 0%, 100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.stat { opacity: 0; animation: fade .9s var(--ease) forwards; }
.stat:nth-child(1) { animation-delay: .8s; } .stat:nth-child(2) { animation-delay: .9s; } .stat:nth-child(3) { animation-delay: 1s; } .stat:nth-child(4) { animation-delay: 1.1s; }
.stat b { font-variant-numeric: tabular-nums; }

/* Bandeau défilant */
.marquee { overflow: hidden; background: var(--red); color: var(--white); border-block: 1px solid var(--red-d); }
.marquee-t { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee span { padding: 18px 28px; font-stretch: 75%; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.marquee span::after { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); margin-left: 28px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Manifeste : les mots s'allument au défilement */
.manifeste { padding: clamp(80px, 12vw, 160px) 0; background: var(--paper); }
.man-t { font-stretch: 80%; font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.8rem); line-height: 1.08; text-transform: uppercase; letter-spacing: -.01em; max-width: 1100px; margin: 0; }
.js .man-t .w { color: rgba(18, 20, 24, .14); transition: color .35s; }
.js .man-t .w.on { color: var(--ink); }

/* Apparitions au défilement */
.js [data-r] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-r].in { opacity: 1; transform: none; }
.js .about-img[data-r] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js .about-img[data-r].in { clip-path: inset(0 0 0 0); }
.about-img img { transform: translateY(var(--py, 0)) scale(1.12); will-change: transform; }
.about-img { overflow: hidden; }
.about-img .cap { position: relative; z-index: 1; }

/* Cartes métier */
.svc { position: relative; overflow: hidden; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); z-index: 2; }
.svc:hover::before { transform: scaleX(1); }
.svc-img img { transition: transform 1.2s var(--ease), opacity .4s; }
.svc:hover .svc-img img { transform: scale(1.07); }
.svc-body h3 { transition: color .3s; }
.svc:hover h3 { color: var(--red); }

/* Boutons : balayage */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn-red:hover { background: var(--red); }
.btn-ghost-light::before { background: var(--white); }
.btn-ghost-light:hover { color: var(--ink); }
.cta .btn-red::before { background: var(--white); }
.cta .btn-red:hover { color: var(--ink); background: var(--ink); }

/* Lignes d'agréments et prestations */
.ag-list li, .prest li { transition: padding .4s var(--ease), background .4s; }
.ag-list li:hover { padding-left: 12px; background: rgba(200, 32, 43, .04); }

@media (max-width: 1080px) {
  .top:not(.solid) .menu.open ~ * { color: inherit; }
  .menu { top: 72px; }
}
@media (max-width: 900px) { .hero-meta { display: none; } }
@media (max-width: 640px) { .marquee span { font-size: 1rem; padding: 14px 20px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-t .ln > span, .hero-k, .hero .lead, .hero-btns, .stat, .hero-t em::after { animation: none !important; opacity: 1; transform: none; }
  .hero-t em::after { transform: scaleX(1); }
  .marquee-t, .scroll-cue::after { animation: none; }
  .js [data-r], .js .about-img[data-r] { opacity: 1; transform: none; clip-path: none; }
  .js .man-t .w { color: var(--ink); }
  .about-img img { transform: none; }
}

/* ============ Version 3D : visite de la maquette ============ */
.tour { position: relative; height: 760vh; background: var(--ink); color: var(--white); }
.tour-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tour-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.tour.ready .tour-canvas { opacity: 1; }
.tour-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.tour.ready .tour-fallback { display: none; }
.tour-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18, 20, 24, .88) 0%, rgba(18, 20, 24, .5) 34%, rgba(18, 20, 24, 0) 58%), linear-gradient(0deg, rgba(18, 20, 24, .6), transparent 22%); }
.tour-panel { position: absolute; inset: 0; pointer-events: none; }
.tour-step { position: absolute; left: 0; top: 50%; max-width: 520px; transform: translateY(-46%); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s; }
.tour-step.on { opacity: 1; visibility: visible; transform: translateY(-50%); pointer-events: auto; transition: opacity .7s var(--ease) .15s, transform .9s var(--ease) .15s; }
.tour-step h1 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.tour-step h1 em { font-style: normal; color: var(--gold); }
.tour-step h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.chips { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(18, 20, 24, .5); backdrop-filter: blur(6px); }
.link-light { color: var(--white); border-color: var(--gold); }
.link-light:hover { color: var(--gold); }
.tour-labels { position: absolute; inset: 0; pointer-events: none; }
.tour-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; margin: -46px 0 0 14px; padding: 6px 12px 6px 8px; background: rgba(18, 20, 24, .78); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); white-space: nowrap; font-size: .85rem; opacity: 0; transition: opacity .5s, background .4s, border-color .4s; will-change: transform; }
.tour.ready .tour-label { opacity: 1; }
.tour-label .num { color: var(--gold); }
.tour-label b { font-stretch: 80%; text-transform: uppercase; letter-spacing: .03em; }
.tour-label.on { background: var(--red); border-color: var(--red); }
.tour-label.on .num { color: var(--white); }
.tour.ready .tour-label.off { opacity: 0; }
.tour-dots { position: absolute; right: max(16px, (100% - var(--w)) / 2); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.tour-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); background: transparent; transform: rotate(45deg); cursor: pointer; transition: background .3s, transform .3s; }
.tour-dots button[aria-current="step"] { background: var(--gold); border-color: var(--gold); transform: rotate(45deg) scale(1.35); }
.tour-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); margin: 0; font: .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); padding-bottom: 46px; }
.tour-hint::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: 50% 100%; }
.stats-band { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-d); }
.stats-band .stat { opacity: 1; animation: none; }
.no-gl .tour-canvas, .no-gl .tour-labels { display: none; }
@media (max-width: 760px) {
  .tour { height: 680vh; }
  .tour-shade { background: linear-gradient(0deg, rgba(18, 20, 24, .95) 0%, rgba(18, 20, 24, .75) 38%, rgba(18, 20, 24, 0) 62%); }
  .tour-step { top: auto; bottom: 74px; max-width: none; right: 0; transform: translateY(12px); }
  .tour-step.on { transform: none; }
  .tour-step .lead { font-size: 1rem; }
  .tour-step h1 { font-size: 2.3rem; }
  .tour-step h2 { font-size: 1.9rem; }
  .chips { margin: 12px 0 14px; }
  .chips li { font-size: .66rem; padding: 5px 8px; }
  .tour-step .hero-btns { margin-top: 18px; }
  .tour-dots { top: 92px; transform: none; flex-direction: row; right: 16px; }
  .tour-hint { display: none; }
  .tour-label { font-size: .75rem; margin-top: -40px; }
}

/* ============ Accueil 3D en un écran ============ */
.h3d { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: #15171b; color: var(--white); overflow: hidden; }
.h3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transform: scale(1.04); transition: opacity 1.6s var(--ease), transform 2.4s var(--ease); }
.h3d.ready .h3d-canvas { opacity: 1; transform: none; }
.h3d-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.h3d.ready .h3d-fallback { opacity: 0; transition: opacity 1s; }
.h3d-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(21, 23, 27, .94) 0%, rgba(21, 23, 27, .72) 28%, rgba(21, 23, 27, 0) 52%), linear-gradient(0deg, rgba(21, 23, 27, .85) 0%, transparent 24%), linear-gradient(180deg, rgba(21, 23, 27, .6) 0%, transparent 16%); }
.h3d-in { position: relative; z-index: 2; padding: 120px 0 150px; max-width: var(--w); }
.h3d-in > * { max-width: 540px; }
.h3d h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); margin-bottom: 26px; opacity: 0; animation: fade 1s var(--ease) .1s forwards; }
.h3d h1 em { font-style: normal; color: var(--gold); }
.h3d .label { opacity: 0; animation: fade 1s var(--ease) forwards; }
.h3d .hero-btns { margin-top: 30px; opacity: 0; animation: fade 1s var(--ease) .7s forwards; }
.h3d-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.h3d-list li { border-bottom: 1px solid rgba(255, 255, 255, .16); opacity: 0; animation: fade .8s var(--ease) forwards; }
.h3d-list li:nth-child(1) { animation-delay: .25s; } .h3d-list li:nth-child(2) { animation-delay: .32s; } .h3d-list li:nth-child(3) { animation-delay: .39s; } .h3d-list li:nth-child(4) { animation-delay: .46s; } .h3d-list li:nth-child(5) { animation-delay: .53s; }
.h3d-list a { position: relative; display: flex; align-items: center; gap: 16px; padding: 11px 4px; text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.h3d-list a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform .4s var(--ease); }
.h3d-list b { font-stretch: 80%; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; flex: 1; }
.h3d-list .num { color: var(--gold); }
.h3d-list .arr { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); color: var(--gold); }
.h3d-list a.on, .h3d-list a:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(198, 31, 42, .22), transparent 80%); }
.h3d-list a.on::before, .h3d-list a:hover::before { transform: scaleY(1); }
.h3d-list a.on .arr, .h3d-list a:hover .arr { opacity: 1; transform: none; }
.h3d-labels { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.h3d-label { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; margin: -48px 0 0 16px; padding: 7px 12px 7px 9px; background: rgba(21, 23, 27, .8); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); text-decoration: none; white-space: nowrap; font-size: .82rem; pointer-events: auto; opacity: 0; transition: opacity .6s, background .35s, border-color .35s; will-change: transform; }
.h3d.ready .h3d-label { opacity: 1; }
.h3d-label .num { color: var(--gold); }
.h3d-label b { font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; }
.h3d-label i { grid-column: 1 / -1; font-style: normal; font-size: .76rem; color: rgba(255, 255, 255, .85); max-width: 0; max-height: 0; overflow: hidden; opacity: 0; white-space: normal; transition: max-height .45s var(--ease), opacity .35s, margin .45s var(--ease), max-width .45s var(--ease); }
.h3d-label.on { background: var(--red); border-color: var(--red); z-index: 2; }
.h3d-label.on .num { color: var(--white); }
.h3d-label.on i { max-width: 240px; max-height: 60px; opacity: 1; margin-top: 4px; }
.h3d .stats { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(21, 23, 27, .72); backdrop-filter: blur(6px); }
.no-gl .h3d-canvas, .no-gl .h3d-labels { display: none; }
@media (max-width: 1080px) { .h3d-in > * { max-width: 460px; } }
@media (max-width: 760px) {
  .h3d { justify-content: flex-end; }
  .h3d-shade { background: linear-gradient(0deg, rgba(21, 23, 27, .97) 0%, rgba(21, 23, 27, .86) 52%, rgba(21, 23, 27, 0) 72%), linear-gradient(180deg, rgba(21, 23, 27, .6) 0%, transparent 14%); }
  .h3d-in { padding: 46vh 0 28px; }
  .h3d-in > * { max-width: none; }
  .h3d h1 { font-size: 2.1rem; margin-bottom: 16px; }
  .h3d-list a { padding: 8px 2px; }
  .h3d-list b { font-size: 1rem; }
  .h3d .stats { position: static; }
  .h3d-label { font-size: .7rem; margin-top: -38px; padding: 5px 8px; }
  .h3d-label.on i { max-width: 170px; }
}
.h3d.instant *, .h3d.instant { transition: none !important; animation: none !important; opacity: 1; }
.h3d.instant .h3d-fallback { opacity: 0 !important; }
@media (max-width: 760px) { .h3d-label:not(.on) b { display: none; } }
