﻿/* Styles of green-admin.fr: home page and legal notice. */

@font-face { font-family: 'Gilroy'; font-weight: 400; font-display: swap; src: url('assets/fonts/gilroy-regular-webfont.woff2') format('woff2'), url('assets/fonts/gilroy-regular-webfont.woff') format('woff'); }
@font-face { font-family: 'Gilroy'; font-weight: 500; font-display: swap; src: url('assets/fonts/gilroy-medium-webfont.woff2') format('woff2'), url('assets/fonts/gilroy-medium-webfont.woff') format('woff'); }
@font-face { font-family: 'Gilroy'; font-weight: 600; font-display: swap; src: url('assets/fonts/gilroy-semibold-webfont.woff2') format('woff2'), url('assets/fonts/gilroy-semibold-webfont.woff') format('woff'); }
@font-face { font-family: 'Gilroy'; font-weight: 800; font-display: swap; src: url('assets/fonts/gilroy-extrabold-webfont.woff2') format('woff2'), url('assets/fonts/gilroy-extrabold-webfont.woff') format('woff'); }

:root {
    --green-900: #0f2e14;
    --green-800: #163f1c;
    --green-700: #1e5a23;
    --green-500: #3f8f2f;
    --lime: #96c31e;
    --orange: #ff9b00;
    --sand: #f4efe6;
    --paper: #fbfaf7;
    --ink: #17211a;
    --muted: #5d6b60;
    --line: rgba(23, 33, 26, .12);
    --field-border: #87928a;
    --target: 44px;
    --orange-hover: #ffad2e;
    --orange-ink: #241500;
    --stone: #eceae4;
    --leaf-50: #eef3e9;
    --ink-soft: #33402f;
    --code-bg: #eef1ec;
    --field-bg: #fbfcfa;
    --chip-border: #d6dbd3;
    --chip-on: #8dc048;
    --device-from: #2f3430;
    --device-to: #0b0d0c;
    --error: #b32121;
    --radius: 22px;
    --wrap: min(1200px, calc(100% - 32px));
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { font-family: 'Gilroy', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: var(--wrap); margin-inline: auto; }
/* Dark ring on the light sections, lime ring on the dark ones: each keeps 3:1 against its background. */
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; }
:is(.nav, .hero, .strip, .assistant, .page-header, footer, .cookie-banner) :focus-visible { outline-color: var(--lime); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.6em; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 1rem; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-primary { background: var(--orange); color: var(--orange-ink); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-outline { background: transparent; color: var(--green-800); border: 1px solid var(--green-700); }
.btn-outline:hover { background: rgba(30, 90, 35, .06); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, padding .35s; padding: 22px 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 40px; width: auto; transition: height .35s; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #fff; font-weight: 500; font-size: .98rem; }
.nav-links a:not(.btn) { opacity: .85; transition: opacity .2s; }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-links .btn { padding: .65em 1.3em; font-size: .95rem; }
.nav.scrolled { background: rgba(15, 46, 20, .78); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); padding: 12px 0; }
.nav.scrolled .nav-logo img { height: 34px; }
.nav-toggle { display: none; place-items: center; min-width: var(--target); min-height: var(--target); margin-right: -7px; background: none; border: 0; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; padding: 0; }
/* The photo zooms in once on arrival, then holds still. */
.hero-bg { position: absolute; inset: -4%; z-index: -2; background: url('assets/images/webp/visuel%20brut%20banniere%20144%20dpi.webp') center 40% / cover; animation: kenburns 18s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(100deg, rgba(10, 34, 14, .94) 0%, rgba(14, 44, 18, .82) 38%, rgba(14, 44, 18, .25) 70%, rgba(14, 44, 18, .05) 100%),
    linear-gradient(0deg, rgba(10, 34, 14, .55), transparent 35%); }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-block: 130px 90px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); font-weight: 800; margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); max-width: 31em; opacity: .88; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
/* The hero enters in CSS alone, visible from the first paint: it only slides, so it never waits for the script. */
.hero-enter { animation: hero-rise .9s var(--ease) var(--d, 0s) both; }
@keyframes hero-rise { from { transform: translateY(18px); } }
/* Device frames drawn in CSS around plain screenshots of the app. */
.hero-visual { position: relative; padding: 0 9% 12% 0; }
.device { background: linear-gradient(145deg, var(--device-from), var(--device-to)); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .65), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-tablet { border-radius: 26px; padding: 12px; animation: float 7s ease-in-out infinite; }
.device-tablet img { aspect-ratio: 4 / 3; border-radius: 15px; }
.device-phone { position: absolute; right: 0; bottom: 0; width: 29%; aspect-ratio: 9 / 18.5; border-radius: 30px; padding: 7px; animation: float 7s ease-in-out .8s infinite; }
.device-phone img { border-radius: 24px; }
.hero-badge { position: absolute; left: -6%; bottom: 4%; z-index: 2; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .4); font-size: .9rem; animation: float 7s ease-in-out infinite reverse; }
.hero-badge .mic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-700); color: #fff; position: relative; flex: none; }
.hero-badge .mic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-500); animation: ping 2s ease-out 1.2s 3 both; }
.hero-badge .mic svg { width: 18px; height: 18px; }
.hero-badge strong { display: block; font-weight: 600; }
.hero-badge span { color: var(--muted); font-size: .82rem; }
/* The devices and the bubble float gently, only while the hero is on screen (scripts.js sets .off-screen). */
@keyframes float { 50% { transform: translateY(-14px); } }
.hero.off-screen :is(.device, .hero-badge) { animation-play-state: paused; }
@keyframes ping { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out 1.5s 3; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Trust strip ---------- */
.strip { background: var(--green-900); color: rgba(255, 255, 255, .85); padding: 22px 0; font-size: .95rem; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; }
.strip div { display: flex; align-items: center; gap: 10px; }
.strip svg { width: 20px; height: 20px; color: var(--lime); flex: none; }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 130px) 0; scroll-margin-top: 40px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; margin: 0 0 16px; color: var(--green-800); }
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 36em; }
.section-head.center p { margin-inline: auto; }

/* ---------- Voice assistant demo ---------- */
.assistant { background: var(--green-900); color: #fff; overflow: hidden; }
.assistant .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.assistant .section-head h2 { color: #fff; }
.assistant .section-head p { color: rgba(255, 255, 255, .75); }
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .4s, border-color .4s; }
.steps li::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: rgba(150, 195, 30, .15); color: var(--lime); }
.steps li.active { background: rgba(150, 195, 30, .12); border-color: rgba(150, 195, 30, .45); }
.steps strong { display: block; font-weight: 600; margin-bottom: 2px; }
.steps span { color: rgba(255, 255, 255, .7); font-size: .95rem; }

.phone { width: min(310px, 100%); margin-inline: auto; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, var(--device-from), var(--device-to)); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .08); position: relative; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.screen { border-radius: 36px; background: #fff; overflow: hidden; }
.screen-status { height: 40px; background: #fff; }
/* Frames of the real assistant: a base screen, top strips while the sentence is dictated, then the proposal. */
.screen-frames { position: relative; }
.screen-frames img { display: block; width: 100%; height: auto; }
.frame-top, .frame-result { position: absolute; left: 0; top: 0; opacity: 0; }
.frame-top.on, .frame-result.on { opacity: 1; }
.frame-result { transition: opacity .6s var(--ease); }
/* Holes picked on the proposal: the app's selected button (lime, white bold figure), drawn over the screenshot's own button. */
.screen-frames { container-type: inline-size; }
.hole-pick { position: absolute; left: var(--x); top: var(--y); width: var(--w, 7.34%); height: 3.3%; border-radius: 999px; display: grid; place-items: center; background: var(--chip-on); color: #fff; font-weight: 700; font-size: 3.5cqw; line-height: 1; opacity: 0; transform: scale(.7); transition: opacity .18s, transform .3s var(--ease); pointer-events: none; }
.hole-pick.on { opacity: 1; transform: none; }
.save-ring { position: absolute; left: 3.6%; top: 93%; width: 64%; height: 3.7%; border-radius: 999px; pointer-events: none; opacity: 0; }
.save-ring.on { animation: ring 1.3s ease-out 3; }
@keyframes ring { 0% { opacity: 1; box-shadow: 0 0 0 0 rgba(150, 195, 30, .9); } 100% { opacity: 1; box-shadow: 0 0 0 16px rgba(150, 195, 30, 0); } }

/* ---------- Feature explorer ---------- */
.tabs { display: flex; gap: 8px; padding: 6px; background: var(--stone); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; margin: 0 auto 44px; scrollbar-width: none; }
.tab { border: 0; background: none; font: inherit; font-weight: 600; font-size: .98rem; padding: .7em 1.3em; min-height: var(--target); border-radius: 999px; cursor: pointer; color: var(--muted); white-space: nowrap; transition: background .3s, color .3s; }
.tab[aria-selected="true"] { background: #fff; color: var(--green-800); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .25); }
.panel-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.panel-text { transition: opacity .3s; }
.panel-text.fade { opacity: 0; }
.panel-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--green-800); margin-bottom: 20px; }
.panel-text ul { list-style: none; display: grid; gap: 14px; }
.panel-text li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.panel-text li svg { width: 22px; height: 22px; color: var(--green-500); margin-top: 2px; }
.panel-text b { font-weight: 600; }
.panel-media { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); background: #fff; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(15, 46, 20, .45); }
.panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.panel-media img.on { opacity: 1; transform: none; }
/* A screen taller than the frame (the dashboard) glides down to its bottom, where the machine alerts are, each time it is shown.
   Without the animation (reduced motion) it simply shows its bottom. */
.panel-media img.pan { object-position: 50% 100%; }
.panel-media img.pan.on { animation: pan-down 4.2s var(--ease) .9s both; }
@keyframes pan-down { from { object-position: 50% 0; } to { object-position: 50% 100%; } }
/* The assistant button is fixed at the bottom right of the app's window: it is cut out of the dashboard capture and pinned to
   the frame instead, so it stays in its corner while the screen glides. Sizes are in container width, as the capture is scaled to it. */
.panel-media { container-type: inline-size; }
.app-mic { position: absolute; right: .81cqw; bottom: 0; width: 6cqw; aspect-ratio: 96 / 109; background: url('assets/images/assistant-button.png') center / contain no-repeat; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.panel-media img.pan.on ~ .app-mic { opacity: 1; }

/* ---------- Compliance: a ruled list that picks the screen and the document it produces ---------- */
.compliance { background: var(--sand); }
.duties-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.duties { list-style: none; display: grid; }
.duties li { border-top: 1px solid var(--line); }
.duties li:last-child { border-bottom: 1px solid var(--line); }
.duty { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 18px; align-items: start; width: 100%; padding: 22px 18px 24px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 14px; transition: background .3s; }
.duty::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--green-500); transform: scaleY(0); transition: transform .35s var(--ease); }
.duty:hover { background: rgba(255, 255, 255, .45); }
.duty[aria-selected="true"] { background: #fff; box-shadow: 0 10px 26px -18px rgba(15, 46, 20, .45); }
.duty[aria-selected="true"]::before { transform: none; }
.duty svg { width: 26px; height: 26px; color: var(--green-700); margin-top: 1px; }
.duty-title { display: block; font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; color: var(--green-800); }
.duty-text { display: block; color: var(--muted); max-width: 34em; }
/* The screen sits in the same frame as the feature tabs; the PDF is a sheet laid over its bottom right corner. */
.duty-stage { position: relative; padding: 0 6% 9% 0; container-type: inline-size; }
.duty-screen { position: relative; aspect-ratio: 19 / 10; border-radius: var(--radius); background: #fff; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(15, 46, 20, .45); }
.duty-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.duty-screen img.on { opacity: 1; transform: none; }
.duty-doc { position: absolute; right: 0; bottom: 0; width: 30cqw; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 2px 4px rgba(15, 46, 20, .12), 0 24px 44px -18px rgba(15, 46, 20, .55); opacity: 0; transform: translateY(24px) rotate(0deg); transition: opacity .45s var(--ease), transform .7s var(--ease); pointer-events: none; }
.duty-doc.landscape { width: 42cqw; }
.duty-doc.card { width: 25cqw; border-radius: 6px; }
.duty-doc.on { opacity: 1; transform: rotate(3deg); transition-delay: .2s; }

/* ---------- Contact ---------- */
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-info .section-head { margin-bottom: 28px; }
.contact-lines { display: grid; gap: 2px; }
.contact-lines a { display: flex; align-items: center; min-height: var(--target); gap: 12px; font-weight: 600; color: var(--green-800); }
.contact-lines svg { width: 22px; height: 22px; color: var(--green-500); }
.contact-price { margin-top: 28px; color: var(--muted); font-size: 1.05rem; }
.contact-price strong { color: var(--green-800); font-size: 1.6rem; font-weight: 800; }
.contact-info .btn-outline { margin-top: 16px; }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 60px -36px rgba(15, 46, 20, .4); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 6px; border: 0; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f > label, .f legend { font-size: .88rem; font-weight: 600; color: var(--muted); }
.f legend { margin-bottom: 6px; }
.f input, .f textarea { font: inherit; font-size: 1rem; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--field-border); background: var(--field-bg); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(63, 143, 47, .15); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: inline-flex; align-items: center; min-height: var(--target); padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--chip-border); cursor: pointer; font-weight: 600; color: var(--ink); font-size: .92rem; transition: all .2s; }
.seg input:checked + label { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--green-700); outline-offset: 2px; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-privacy { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.contact-privacy a { text-decoration: underline; display: inline-block; padding-block: 13px; margin-block: -13px; }
.contact-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-status { font-weight: 600; min-height: 1.4em; }
.contact-status--ok { color: var(--green-700); }
.contact-status--error { color: var(--error); }

/* ---------- Inner pages (legal notice) ---------- */
.page-header { position: relative; color: #fff; padding: 150px 0 70px; overflow: hidden; isolation: isolate; background: var(--green-900); }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 34, 14, .95) 0%, rgba(14, 44, 18, .8) 55%, rgba(14, 44, 18, .55) 100%), url('assets/images/webp/visuel%20brut%20banniere%20144%20dpi.webp') center 45% / cover; }
.page-header h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
.page-header p { margin-top: 14px; opacity: .85; max-width: 36em; }
.page-header--error { min-height: 100svh; display: flex; align-items: center; padding-block: 130px 90px; }
.legal { padding: clamp(56px, 8vw, 100px) 0; }
.legal .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: .95rem; }
.legal-toc a { padding: 10px 14px; min-height: var(--target); border-radius: 10px; color: var(--muted); border-left: 2px solid var(--line); transition: color .2s, background .2s, border-color .2s; }
.legal-toc a:hover, .legal-toc a.active { color: var(--green-800); background: var(--leaf-50); border-left-color: var(--green-500); }
.legal-body { max-width: 760px; display: grid; gap: 22px; }
.legal-body section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); scroll-margin-top: 100px; }
.legal-body h2 { font-size: 1.5rem; color: var(--green-800); margin-bottom: 14px; }
.legal-body p { color: var(--ink-soft); max-width: 35em; }
.legal-body p + p { margin-top: 12px; }
.legal-body a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-body code { font-size: .9em; background: var(--code-bg); padding: .1em .4em; border-radius: 6px; }

/* ---------- Footer ---------- */
footer { background: var(--green-900); color: rgba(255, 255, 255, .75); padding: 48px 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
footer img { height: 38px; width: auto; }
footer nav { display: flex; column-gap: 24px; flex-wrap: wrap; }
footer a { display: inline-flex; align-items: center; min-height: var(--target); }
footer a:hover { color: #fff; }

/* ---------- Cookie banner (consent.js toggles the hidden attribute) ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 600px; margin-inline: auto; display: flex; align-items: center; gap: 16px; background: rgba(15, 46, 20, .95); backdrop-filter: blur(10px); color: #fff; padding: 14px 14px 14px 20px; border-radius: 16px; font-size: .88rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); animation: slide-up .5s var(--ease) both; }
.cookie-banner[hidden] { display: none; }
@keyframes slide-up { from { transform: translateY(140%); } }
.cookie-banner_text { flex: 1; opacity: .9; }
.cookie-banner_text a { text-decoration: underline; }
.cookie-banner_buttons { display: flex; gap: 8px; }
.cookie-banner button { border: 0; border-radius: 999px; padding: .55em 1.1em; min-height: var(--target); font: inherit; font-weight: 600; cursor: pointer; }
#cookie-refuse { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
#cookie-accept { background: var(--lime); color: var(--green-900); }

/* ---------- Scroll reveal (only when JavaScript runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .nav-links { position: fixed; inset: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 18px; padding: 90px 24px 28px; background: rgba(15, 46, 20, .97); transform: translateY(-110%); transition: transform .4s var(--ease), visibility 0s .4s; font-size: 1.15rem; visibility: hidden; }
    /* Hidden once closed, so keyboard and screen readers skip its links; visible at once when it opens. */
    .nav-links.open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
    .nav-toggle { display: grid; }
    .nav-links { gap: 6px; }
    .nav-links a:not(.btn) { display: flex; align-items: center; min-height: var(--target); }
    .nav-links .btn { margin-top: 12px; min-height: var(--target); }
    .nav-toggle, .nav-logo { position: relative; z-index: 2; }
    .hero .wrap, .assistant .wrap, .panel-wrap, .contact .wrap, .legal .wrap { grid-template-columns: 1fr; }
    .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
    .legal-toc a { display: inline-flex; align-items: center; border-left: 0; background: var(--stone); border-radius: 999px; padding: 6px 14px; }
    .hero .wrap { padding-block: 120px 80px; gap: 10px; }
    .hero::before { background: linear-gradient(180deg, rgba(10, 34, 14, .92) 0%, rgba(14, 44, 18, .78) 55%, rgba(14, 44, 18, .55) 100%); }
    .hero-visual { margin-top: 36px; }
    .hero-badge { left: 0; bottom: -2%; }
    .panel-media { order: -1; }
    /* The duties become an accordion: the script moves the stage under the picked duty. */
    .duties-wrap { grid-template-columns: 1fr; }
    .duties .duty-stage { margin: 4px 0 26px; }
    .scroll-cue { display: none; }
    .tabs { flex-wrap: wrap; justify-content: center; width: auto; overflow: visible; border-radius: 26px; gap: 4px; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .duty { padding-inline: 12px; gap: 14px; }
    .contact-form { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1; justify-content: center; }
    .hero-badge { display: none; }
    .strip .wrap { flex-direction: column; }
    .cookie-banner { flex-wrap: wrap; justify-content: flex-end; }
    .cookie-banner_text { flex-basis: 100%; }
    .tab { font-size: .92rem; padding: .6em 1em; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
