/* ==========================================================================
   Proposition 2 — « Flux »
   Grand héros bleu nuit plein écran, lignes de flux d'air animées qui
   traversent la photo, typographie Archivo élargie. Angles plus francs.
   ========================================================================== */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; }

:root {
  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --fw-display: 800; --ls-display: -0.02em;
  --bg: #ffffff; --surface: #f1f3f5; --surface-2: #e4e8ec;
  --text: var(--ink); --muted: #57616c; --line: #e1e5e9; --line-strong: #c9d0d6;
  --accent: var(--brand); --accent-ink: var(--ink); --accent-hover: #93e06f; --accent-shadow: rgba(0, 0, 0, .45);
  --link: var(--brand-text);
  --r-s: 4px; --r-m: 8px; --r-l: 12px; --btn-radius: 8px;
  --fs-h1: clamp(2.3rem, 8.4vw, 5.6rem);
  --hdr-bg: var(--ink); --hdr-fg: #fff; --nav-bg: var(--ink); --nav-fg: #fff;
  --logo-bg: var(--brand); --logo-fg: var(--ink);
  --ftr-bg: #1d232b; --cta-bg: var(--brand); --cta-fg: var(--ink); --side-bg: var(--ink);
  --page-hero-bg: var(--ink); --page-hero-fg: #fff;
  --chip-bg: rgba(255, 255, 255, .1);
}
h1, h2, .sec__title, .cta__title, .side-card__title, .ftr__name, .form-ok__title { font-stretch: 125%; }
.hdr .nav__sub { --text: var(--ink); }
.hdr.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }

/* ---------- Héros ---------- */
.hero--flux { position: relative; isolation: isolate; overflow: hidden; min-height: min(calc(100svh - var(--hdr-h)), 860px); display: grid; align-content: end; background: var(--ink); color: #fff; padding-top: 48px; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; }
.hero__img img { animation: heroZoom 18s var(--ease) both; }
.hero--flux.has-img .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 30, .25) 0%, rgba(20, 24, 30, .55) 45%, color-mix(in srgb, var(--ink) 96%, transparent) 100%), linear-gradient(90deg, color-mix(in srgb, var(--ink) 85%, transparent), transparent 70%); }
.hero__visual { position: absolute; right: -6%; top: 6%; width: min(48vw, 680px); opacity: .9; }
.hero__visual .illu { background: transparent; --ill-bg: color-mix(in srgb, var(--brand) 14%, var(--ink)); --ill-body: var(--ink-2); --ill-line: var(--brand); --ill-grille: var(--ink); --ill-air: var(--brand); }
.hero__visual .illu svg { width: 100%; }
@media (max-width: 899px) { .hero__visual { opacity: .35; right: -30%; top: 0; width: 110vw; } }
.flux { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.flux__s0 { stop-color: var(--brand); stop-opacity: 0; }
.flux__s1 { stop-color: var(--brand); stop-opacity: .85; }
.flux__s2 { stop-color: #ffffff; stop-opacity: .1; }
.flux__line { fill: none; stroke: url(#fluxGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; animation: fluxDraw 2.4s var(--ease) forwards; animation-delay: calc(var(--i) * .16s + .2s); }
.flux__dots { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 46; opacity: 0; animation: fluxFlow 6s linear infinite, fadeIn 1s 2s forwards; animation-duration: calc(5s + var(--i) * .7s), 1s; }
@keyframes fluxDraw { to { stroke-dashoffset: 0; } }
@keyframes fluxFlow { to { stroke-dashoffset: -480; } }
@keyframes fadeIn { to { opacity: .55; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero--flux .hero__content { padding-bottom: clamp(36px, 6vw, 72px); }
.hero--flux .hero__title { max-width: 14ch; line-height: 1.02; letter-spacing: -.03em; }
.hero--flux .hero__lead { color: rgba(255, 255, 255, .86); }
.hero--flux .rating-chip { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(8px); }
.hero--flux .hero__title, .hero--flux .hero__lead, .hero--flux .hero__ctas, .hero--flux .rating-chip { animation: up .9s var(--ease-out) both; }
.hero--flux .hero__lead { animation-delay: .12s; }
.hero--flux .hero__ctas { animation-delay: .22s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } }
.ticker { border-top: 1px solid rgba(255, 255, 255, .14); overflow: hidden; white-space: nowrap; padding-block: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: inline-flex; animation: tick 40s linear infinite; }
.ticker__group { display: inline-flex; }
.ticker span span { padding-inline: 22px; font-stretch: 125%; font-weight: 700; font-size: .95rem; color: rgba(255, 255, 255, .7); position: relative; }
.ticker span span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--brand); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec__head .sec__title::before { content: ""; display: block; width: 44px; height: 5px; background: var(--brand); margin-bottom: 18px; }
.sec--cta .cta__title::before { display: none; }
.sec--hl { background: var(--surface); padding-block: 34px; }
.hl__ico { border-radius: 6px; }

.sec--services .svc-list { grid-auto-flow: column; grid-auto-columns: min(82%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.sec--services .svc-list::-webkit-scrollbar { display: none; }
.svc { scroll-snap-align: start; }
.svc__link { background: var(--ink); color: #fff; border-radius: var(--r-m); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.svc__link:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(20, 24, 30, .7); }
.svc__media picture, .svc__media .illu { aspect-ratio: 5 / 4; }
.svc__media .illu { --ill-wrap: var(--ink-2); --ill-bg: color-mix(in srgb, var(--brand) 16%, var(--ink)); --ill-body: var(--ink); --ill-line: var(--brand); --ill-grille: var(--ink-2); --ill-air: #fff; }
.svc__link:hover .svc__media picture { transform: scale(1.05); }
.svc__media picture { transition: transform .8s var(--ease); }
.svc__body { padding: 22px; }
.svc__title { font-stretch: 112%; }
.svc__text { color: rgba(255, 255, 255, .72); }
.svc__more { color: var(--brand); }
@media (min-width: 1000px) {
  .sec--services .svc-list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; margin: 0; }
  .sec--services .svc-list[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
  .sec--services .svc-list[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
}

.sec--about { background: var(--surface); }
.about__media .illu { --ill-wrap: var(--ink); --ill-bg: color-mix(in srgb, var(--brand) 16%, var(--ink)); --ill-body: var(--ink-2); --ill-line: var(--brand); --ill-grille: var(--ink); --ill-air: #fff; }

.sec--process { background: var(--ink); color: #fff; }
.sec--process .sec__title { color: #fff; }
.step { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.step__n { width: auto; height: auto; background: none; color: transparent; -webkit-text-stroke: 1.5px var(--brand); font-size: 4.2rem; font-stretch: 125%; line-height: 1; margin-bottom: 10px; }
.step__text { color: rgba(255, 255, 255, .72); }

.sec--reviews .rv { background: var(--surface); border-left: 4px solid var(--brand); }
.sec--zone { background: var(--surface); }
.sec--zone .map { --map-bg: var(--ink); --map-ink: #fff; --map-muted: rgba(255, 255, 255, .6); --map-ring: rgba(255, 255, 255, .22); --map-dot: #fff; --map-accent: var(--brand); --map-road: rgba(255, 255, 255, .6); --map-river: #6fb4e0; }
.sec--brands { border-block: 1px solid var(--line); }
.marquee__name, .brands__title { font-stretch: 125%; }
.sec--faq .faq__item { background: var(--surface); border-radius: var(--r-m); }
.sec--faq .faq__plus { background: var(--brand); color: var(--ink); border-radius: 6px; }
.cta { border-radius: var(--r-l); }
.cta .btn--primary { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }

/* Pages intérieures */
.page-hero .rating-chip { color: #fff; }
.page-hero .btn--ghost { color: #fff; }
.page-hero__media .illu { --ill-wrap: var(--ink-2); --ill-bg: color-mix(in srgb, var(--brand) 16%, var(--ink)); --ill-body: var(--ink); --ill-line: var(--brand); --ill-grille: var(--ink-2); --ill-air: #fff; }
.page-hero .map { --map-bg: var(--ink-2); --map-ink: #fff; --map-muted: rgba(255, 255, 255, .6); --map-ring: rgba(255, 255, 255, .22); --map-dot: #fff; --map-accent: var(--brand); --map-road: rgba(255, 255, 255, .6); --map-river: #6fb4e0; }
.dist-chip { color: #fff; }
.side-card .btn--primary { --b-bg: var(--brand); }
.map--contact { --map-bg: var(--surface); }
.contact__form { border: 1px solid var(--line); background: #fff; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea { border-radius: 6px; background: var(--surface); }
.chip { border-radius: 6px; }
.logo:has(.logo__img--light) .logo__img--dark { display: none; }
.logo__img--light { display: block; }

/* Devis express : section sous le bandeau + panneau, aux couleurs Flux */
.sec--quote { background: #fff; }
.quote__call { margin-top: 22px; font-weight: 650; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.quote__call a { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-text); text-decoration: none; font-size: 1.15rem; font-weight: 800; font-stretch: 112%; }
.sec--quote .wiz__stage { min-height: 230px; }
.quote { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .quote { grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; } .sec--quote .wiz__opts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.wiz--section .wiz__title { display: none; }
.t-flux .wiz { --wiz-r: 12px; --wiz-opt-r: 8px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(20, 24, 30, .6); }
.t-flux .wiz__q, .t-flux .wiz__title { font-stretch: 112%; color: #fff; }
.t-flux .wiz__count { color: rgba(255, 255, 255, .65); }
.t-flux .wiz__bar { background: rgba(255, 255, 255, .12); }
.t-flux .wiz__opt { background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(255, 255, 255, .16); color: #fff; }
.t-flux .wiz__opt:hover { border-color: var(--brand); }
.t-flux .wiz__opt.is-on { background: rgba(126, 217, 87, .14); border-color: var(--brand); }
.t-flux .wiz__opt svg, .t-flux .wiz__num { color: var(--brand); }
.t-flux .wiz__opt small { color: rgba(255, 255, 255, .6); }
.t-flux .wiz__field input, .t-flux .wiz__form input[type="text"], .t-flux .wiz__form input[type="tel"], .t-flux .wiz__form textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: #fff; }
.t-flux .wiz input::placeholder, .t-flux .wiz textarea::placeholder { color: rgba(255, 255, 255, .5); }
.t-flux .wiz__check.is-ok { background: rgba(126, 217, 87, .15); color: var(--brand); }
.t-flux .wiz__check.is-maybe { background: rgba(255, 190, 80, .14); color: #ffd38a; }
.t-flux .wiz__sugg button { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.t-flux .wiz__sum span { background: rgba(255, 255, 255, .08); }
.t-flux .wiz__reco { background: rgba(255, 255, 255, .06); border-left: 4px solid var(--brand); border-radius: 8px; }
.t-flux .wiz__consent, .t-flux .wiz__alt a, .t-flux .wiz__back { color: rgba(255, 255, 255, .7); }
.t-flux .wiz__err { color: #ff9f8a; }
.t-flux .wiz__foot { border-top-color: rgba(255, 255, 255, .1); }
.t-flux .wiz__call { color: var(--brand); }
.t-flux .wiz__ok p { color: #fff; }
.t-flux .wiz--sheet { background: transparent; box-shadow: none; }
.t-flux .qsheet__panel { background: var(--ink); color: #fff; border-radius: 14px 14px 0 0; }
.t-flux .qsheet__close { background: rgba(255, 255, 255, .1); color: #fff; }
.t-flux .qsheet__grip { background: rgba(255, 255, 255, .25); }
@media (min-width: 700px) { .t-flux .qsheet__panel { border-radius: 14px; } }
@media (min-width: 1000px) { .sec--quote .wiz__stage { min-height: 0; } }
.wiz--section .wiz__call { display: none; }
.wiz--section .wiz__foot:has(.wiz__back[hidden]) { display: none; }
