/* B taxe — site de téléchargement. Thème sombre, jaune taxi et bleu bâche. */
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0c0f15;
  --bg-2: #11151d;
  --surface: #161b25;
  --surface-2: #1d2430;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9edf3;
  --muted: #9ba5b4;
  --accent: #ffc61a;
  --accent-ink: #1a1404;
  --accent-lip: #c98f00;
  --blue: #4c8dff;
  --green: #3cc27a;
  --red: #ef5b52;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --head: "Quicksand", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em; }
small { color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* --- Barre du haut ------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 15, 21, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-size: 1.25rem; font-weight: 700; margin-right: auto; }
.brand img { border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); background: var(--accent); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.inline { display: inline; margin: 0; }
.nav a, .nav .btn { white-space: nowrap; }
.admin .nav { gap: 2px; }
.admin .nav a { padding: 8px 9px; font-size: .92rem; }

/* --- Boutons ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--head); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s, background .2s, border-color .2s;
}
.btn:active { transform: translateY(2px); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 0 var(--accent-lip); }
.btn-primary:hover { box-shadow: 0 4px 0 var(--accent-lip), 0 8px 24px rgba(255, 198, 26, 0.25); }
.btn-primary:active { box-shadow: 0 2px 0 var(--accent-lip); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: transparent; color: var(--red); border-color: rgba(239, 91, 82, 0.45); }
.btn-danger:hover { background: rgba(239, 91, 82, 0.12); }
.btn-big { padding: 16px 28px; font-size: 1.15rem; border-radius: 14px; }
.btn-small { padding: 7px 12px; font-size: .88rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-disabled { background: var(--surface-2); color: var(--muted); cursor: default; }
.link { color: var(--accent); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 14px; color: var(--muted); }

/* --- Pastilles et étiquettes -------------------------------------------------- */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.pill-accent { background: rgba(255, 198, 26, 0.14); color: var(--accent); border-color: rgba(255, 198, 26, 0.3); }
.pill-blue { background: rgba(76, 141, 255, 0.14); color: #8fb6ff; border-color: rgba(76, 141, 255, 0.3); }
.pill-green { background: rgba(60, 194, 122, 0.14); color: #6fdca0; border-color: rgba(60, 194, 122, 0.3); }
.pill-red { background: rgba(239, 91, 82, 0.12); color: #ff8b84; border-color: rgba(239, 91, 82, 0.3); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }

/* --- Héros de l'accueil -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 15, 21, 0.15) 0%, rgba(12, 15, 21, 0.55) 45%, var(--bg) 100%),
              linear-gradient(90deg, rgba(12, 15, 21, 0.8) 0%, rgba(12, 15, 21, 0) 65%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-in { position: relative; padding-top: 120px; padding-bottom: 64px; }
.hero-logo { border-radius: 26px; box-shadow: var(--shadow); border: 3px solid rgba(255, 255, 255, 0.9); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); margin-bottom: .1em; }
.hero-tagline { font-family: var(--head); font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.hero-text { max-width: 600px; color: #d3d9e2; font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #c4ccd8; font-size: .92rem; }

/* --- Sections et cartes ------------------------------------------------------- */
.section { padding: 72px 0; }
.section-tight { padding: 28px 0 64px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
a.card { text-decoration: none; transition: transform .2s, border-color .2s, background .2s; }
a.card:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--surface-2); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.page-head { padding: 56px 0 18px; }
.page-head h1 { margin-bottom: .2em; }
.h1-sub { display: block; font-size: .5em; color: var(--muted); margin-top: 8px; }
.lead { font-size: 1.1rem; color: #cfd6e0; max-width: 760px; }

/* Captures */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-2 { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
.shot { margin: 0; }
.shot-btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.shot-btn img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.shot-btn:hover img { transform: scale(1.04); }
.shot figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 7, 10, 0.92); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade .2s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* Fonctionnalités */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature h3 { margin-top: 10px; }
.feature p { color: var(--muted); margin: 0; }
.feature-num { font-family: var(--head); font-weight: 700; color: var(--accent); font-size: .9rem; letter-spacing: .08em; }

.latest { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, var(--surface) 0%, #1c2230 100%); }
.latest h2 { margin-bottom: .3em; }
.news-card time { color: var(--accent); font-size: .85rem; font-weight: 700; }
.news-card h3 { margin: 8px 0; }
.news-card p { color: var(--muted); margin: 0; }

/* --- Téléchargement ------------------------------------------------------------ */
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dl-main { display: flex; flex-direction: column; gap: 20px; }
.dl-title { display: flex; align-items: center; gap: 16px; }
.dl-title img { border-radius: 16px; }
.dl-title h2 { margin: 0; }
.dl-title p { margin: 0; }
.dl-side { display: grid; gap: 20px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.facts div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.facts dt { color: var(--muted); font-size: .8rem; }
.facts dd { margin: 2px 0 0; font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.facts-col { grid-template-columns: 1fr; }
.hash { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.hash-label { color: var(--muted); font-size: .82rem; width: 100%; }
.hash code { flex: 1; min-width: 0; word-break: break-all; color: #cfe0ff; }
.hash-mini { font-size: .8rem; margin: 12px 0 0; }
.hash-mini span { display: block; color: var(--muted); }
.hash-mini code { word-break: break-all; color: #cfe0ff; }
.hash-short { color: #cfe0ff; }
details.help summary { cursor: pointer; color: var(--muted); font-weight: 600; }
details.help[open] summary { margin-bottom: 8px; }
details.help code { background: var(--bg-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: rgba(60, 194, 122, 0.18); box-shadow: inset 0 0 0 2px var(--green); }

/* Tableaux */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .82rem; padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table a { color: var(--text); font-weight: 600; }
.actions { white-space: nowrap; text-align: right; }
.actions .btn, .actions form { margin-left: 4px; }

/* --- Mises à jour -------------------------------------------------------------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-top: 18px; }
.tabs a { padding: 8px 16px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 600; }
.tabs a[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.timeline { display: grid; gap: 16px; max-width: 860px; }
.tl-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: .9rem; }
.tl-item h2 { font-size: 1.4rem; }
.tl-item h2 a { text-decoration: none; }
.tl-item h2 a:hover { color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; }
.tag { font-size: .8rem; padding: 3px 10px; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.tag-new { color: #ffd65c; background: rgba(255, 198, 26, 0.12); }
.tag-imp { color: #8fb6ff; background: rgba(76, 141, 255, 0.12); }
.tag-fix { color: #6fdca0; background: rgba(60, 194, 122, 0.12); }
.v-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.v-main { display: grid; gap: 16px; }
.v-side { position: sticky; top: 84px; display: grid; gap: 14px; }
.v-block h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-new { background: var(--accent); }
.dot-imp { background: var(--blue); }
.dot-fix { background: var(--green); }
.changes { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.changes li::marker { color: var(--muted); }
.prose p { color: #d3d9e2; }

/* --- Pied de page -------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 20px; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 8px; }
.footer-brand strong { display: block; font-family: var(--head); }
.footer-brand span, .footer-note { color: var(--muted); font-size: .88rem; }
.footer-note { width: 100%; margin: 0; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: var(--text); }

/* --- Animations d'apparition (désactivées si l'utilisateur réduit les animations) - */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --- Administration ------------------------------------------------------------ */
.admin-main { padding: 32px 0 64px; }
.admin-main .card + .card, .admin-main .card + form, .admin-main form + form, .admin-main section + .cards-3 { margin-top: 20px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-head h1 { font-size: 2rem; margin: 0; }
.admin-head p { margin: 6px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat strong { display: block; font-family: var(--head); font-size: 1.8rem; margin-top: 4px; }
.admin-links h3 { margin-bottom: 4px; }
.admin-links p { margin: 0; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; border: 1px solid; }
.alert-ok { background: rgba(60, 194, 122, 0.1); border-color: rgba(60, 194, 122, 0.35); color: #9ce8bf; }
.alert-error { background: rgba(239, 91, 82, 0.1); border-color: rgba(239, 91, 82, 0.4); color: #ffb0ab; }

.form { display: grid; gap: 16px; }
.form h2 { font-size: 1.3rem; margin: 0; }
.form-grid { gap: 20px; }
.form-grid .card { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form small { font-size: .8rem; }
input[type="text"], input[type="password"], input[type="url"], input[type="number"], input[type="datetime-local"], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: 400 .98rem/1.4 var(--body);
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.25); }
.input-small { max-width: 90px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.form .check, .form .radio { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.check input, .radio input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.choice { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0; display: grid; gap: 10px; }
.choice legend { padding: 0 6px; color: var(--muted); font-size: .85rem; }
.drop { position: relative; border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: rgba(255, 198, 26, 0.05); }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop.has-file { border-style: solid; border-color: var(--green); color: var(--text); }
.file-zone { display: grid; gap: 14px; }
.file-zone[hidden] { display: none; }
.progress { display: grid; gap: 8px; }
.progress[hidden] { display: none; }
.progress-bar { height: 10px; border-radius: 6px; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line); }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .2s; }
.progress-text { margin: 0; color: var(--muted); font-size: .9rem; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.thumb { display: grid; gap: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.thumb img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.preview { border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 12px; max-height: 200px; width: 100%; object-fit: cover; }
.preview-logo { width: 140px; height: 140px; }
.narrow-card { max-width: 520px; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: radial-gradient(1200px 600px at 20% 0%, #182033 0%, var(--bg) 60%); }
.login-box { width: 100%; max-width: 400px; display: grid; gap: 14px; text-align: center; justify-items: center; }
.login-box h1 { font-size: 1.8rem; margin: 6px 0 0; }
.login-box .form { width: 100%; text-align: left; }
.login-box img { border-radius: 18px; }
.install { width: 100%; max-width: 640px; display: grid; gap: 14px; }
.install img { border-radius: 14px; }
.install h2 { margin-top: 10px; }
.checks-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .92rem; }
.checks-list .ok::before { content: "✓ "; color: var(--green); }
.checks-list .ko::before { content: "✗ "; color: var(--red); }

/* --- Responsive ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .features, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .dl-grid, .v-grid { grid-template-columns: 1fr; }
  .v-side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .row-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 20px 20px; background: rgba(12, 15, 21, 0.98); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; }
  .nav .btn { width: 100%; }
  .nav form { display: block; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .hero { min-height: 0; }
  .hero-in { padding-top: 80px; padding-bottom: 40px; }
  .hero-logo { width: 84px; height: 84px; border-radius: 20px; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .features, .cards-3, .gallery, .gallery-2 { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 18px; }
  .btn-big { width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .actions { white-space: normal; }
  .actions .btn, .actions form { margin: 2px 0; }
}
