/* =========================================================
   DERICE — v1 « INDUSTRIEL PREMIUM » (sombre / acier)
   Refonte — ATOM Studios
   ========================================================= */

:root {
  --charcoal: #14181a;
  --charcoal-2: #1c2226;
  --steel: #2a3338;
  --steel-light: #39454b;
  --line: #2c353a;
  --teal: #21a6a5;
  --teal-hi: #2dd4cf;
  --teal-deep: #16706f;
  --white: #f4f7f7;
  --gray: #aeb9bd;
  --gray-dim: #76858b;

  --maxw: 1240px;
  --gut: clamp(1.1rem, 4vw, 2.4rem);
  --radius: 4px;
  --t: 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);

  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--charcoal);
  color: var(--gray);
  line-height: 1.6;
  font-size: 1.02rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typo helpers ---------- */
.display, h1, h2, h3, .h {
  font-family: var(--display);
  color: var(--white);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.7rem, 9vw, 6.4rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--teal-hi);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--teal);
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--gray); }
.text-teal { color: var(--teal-hi); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--alt { background: var(--charcoal-2); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head h2 { margin: 0.8rem 0 0.9rem; }

/* diagonal cuts between sections */
.cut-top { clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%); }
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t);
  line-height: 1;
}
.btn--primary { background: var(--teal); color: #06201f; }
.btn--primary:hover { background: var(--teal-hi); transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--teal); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--steel-light); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-hi); transform: translateY(-2px); }
.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: var(--t);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(15, 19, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  padding: 0.65rem 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand__cartouche {
  background: var(--white);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  display: inline-flex;
  box-shadow: 0 6px 18px -10px #000;
}
.brand__cartouche img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray);
  padding: 0.5rem 0.95rem;
  position: relative;
  transition: color var(--t);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 0.2rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 0.8rem; padding: 0.7rem 1.2rem; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--steel-light);
  border-radius: var(--radius);
  width: 46px; height: 42px;
  cursor: pointer;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: var(--t);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: translate(-50%, -50%) rotate(45deg); }
.burger.open span::after { top: 0; transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: 7rem;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/dr2025.jpg") center 30% / cover no-repeat;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(11,15,16,0.92) 0%, rgba(13,18,20,0.72) 42%, rgba(17,90,90,0.28) 100%),
    linear-gradient(0deg, rgba(11,14,15,0.95) 0%, rgba(11,14,15,0) 55%);
}
.hero__inner { max-width: 900px; }
.hero h1 { margin: 1rem 0 1.3rem; }
.hero h1 .accent { color: var(--teal-hi); display: block; }
.hero p { max-width: 560px; margin-bottom: 2rem; color: var(--white); opacity: 0.92; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  right: var(--gut); bottom: 2rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--gray-dim);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 0.7rem;
}
.hero__scroll::after { content: ""; width: 1px; height: 50px; background: linear-gradient(var(--teal), transparent); }

/* page hero (interior) */
.pagehero {
  position: relative;
  padding: 11rem 0 4.5rem;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pagehero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.05); }
.pagehero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,15,16,0.94) 30%, rgba(17,90,90,0.4) 100%);
}
.pagehero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); margin: 0.9rem 0 0.6rem; }
.pagehero p { max-width: 600px; color: var(--white); opacity: 0.9; }
.crumb { font-size: 0.85rem; color: var(--gray-dim); letter-spacing: 0.05em; }
.crumb a:hover { color: var(--teal-hi); }

/* ---------- Intro / présentation ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split--rev > :first-child { order: 2; } }
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); }
.media-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,18,20,0.25), rgba(33,166,165,0.18));
  mix-blend-mode: multiply;
}
.media-frame__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--teal);
  color: #06201f;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
}
.feature-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature-list .mark { color: var(--teal-hi); font-family: var(--display); font-weight: 700; flex: none; margin-top: 0.1rem; }
.feature-list strong { color: var(--white); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; display: block; font-weight: 600; }

/* ---------- Métiers grid ---------- */
.metiers { display: grid; gap: 1.1rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 560px) { .metiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .metiers { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.7rem;
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.tile::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t);
}
.tile::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(45,212,207,0.16), transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
}
.tile:hover { transform: translateY(-5px); border-color: var(--teal-deep); background: #1f272b; }
.tile:hover::before { transform: scaleY(1); }
.tile:hover::after { opacity: 1; }
.tile__icon {
  width: 56px; height: 56px;
  margin-bottom: 1.1rem;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: var(--t);
}
.tile:hover .tile__icon { filter: none; transform: scale(1.06); }
.tile h3 { margin-bottom: 0.5rem; }
.tile p { font-size: 0.94rem; }
.tile .num {
  position: absolute; right: 1.2rem; top: 1rem;
  font-family: var(--display); font-weight: 700;
  font-size: 1.1rem; color: var(--steel-light);
  transition: color var(--t);
}
.tile:hover .num { color: var(--teal); }

/* ---------- Stats band ---------- */
.stats {
  background:
    linear-gradient(rgba(11,15,16,0.86), rgba(11,15,16,0.9)),
    url("/assets/derice0561.png") center / cover fixed no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
@media (min-width: 800px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; position: relative; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--white); line-height: 1; }
.stat__num .text-teal { color: var(--teal-hi); }
.stat__label { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; color: var(--gray-dim); margin-top: 0.6rem; font-family: var(--display); }

/* ---------- Bureau étude / blocs image ---------- */
.bandblock {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.6rem, 4vw, 3rem);
}
.bandblock__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.bandblock__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,15,16,0.92) 10%, rgba(17,90,90,0.35) 100%);
}
.bandblock__inner { max-width: 560px; }

/* ---------- Galerie réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.filters button {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--t);
}
.filters button:hover { color: var(--white); border-color: var(--steel-light); }
.filters button.active { background: var(--teal); color: #06201f; border-color: var(--teal); }

.gallery { display: grid; gap: 1.1rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: var(--t);
}
.card.big { min-height: 360px; }
@media (min-width: 600px) { .card.big { grid-column: span 2; } }
.card__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.card.photo .card__bg { filter: saturate(0.9) contrast(1.05); }
.card.tealtile .card__bg { background: linear-gradient(135deg, var(--steel) 0%, var(--charcoal-2) 100%); }
.card__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(11,14,15,0.94) 5%, rgba(11,14,15,0.15) 70%, rgba(33,166,165,0.18) 100%);
  transition: var(--t);
}
.card:hover { border-color: var(--teal-deep); }
.card:hover .card__bg { transform: scale(1.07); }
.card:hover .card__overlay { background: linear-gradient(0deg, rgba(8,32,31,0.92) 5%, rgba(33,166,165,0.32) 100%); }
.card__body { padding: 1.4rem; width: 100%; }
.card__cat { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem; color: var(--teal-hi); }
.card__title { font-family: var(--display); text-transform: uppercase; color: var(--white); font-weight: 700; font-size: 1.3rem; line-height: 1.05; margin-top: 0.3rem; }
.card__icon { position: absolute; right: 1.2rem; top: 1.2rem; width: 40px; height: 40px; filter: brightness(0) invert(1) opacity(0.65); z-index: 1; transition: var(--t); }
.card:hover .card__icon { opacity: 1; }
.is-hidden { display: none; }

/* ---------- Values / steps ---------- */
.steps { display: grid; gap: 1.1rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  position: relative;
  transition: var(--t);
}
.step:hover { border-color: var(--teal-deep); transform: translateY(-4px); }
.step__n { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--teal); line-height: 1; }
.step h3 { margin: 0.7rem 0 0.5rem; }

/* ---------- Recrutement / postes ---------- */
.jobs { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .jobs { grid-template-columns: repeat(2, 1fr); } }
.job {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: var(--t);
}
.job:hover { background: #1f272b; transform: translateX(4px); }
.job h3 { font-size: 1.15rem; }
.job span { font-size: 0.85rem; color: var(--gray-dim); }
.job .chev { color: var(--teal-hi); font-size: 1.3rem; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
.form {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--teal-hi); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: var(--t);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33,166,165,0.18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-dim); }
.form-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }

.form-success {
  display: none;
  align-items: center;
  gap: 0.9rem;
  background: rgba(33,166,165,0.12);
  border: 1px solid var(--teal-deep);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: var(--white);
  margin-bottom: 1.3rem;
}
.form-success.show { display: flex; animation: pop 0.4s ease; }
.form-success .dot { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--teal); color: #06201f; display: grid; place-items: center; font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.info-block { display: grid; gap: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico { width: 42px; height: 42px; flex: none; border-radius: var(--radius); background: rgba(33,166,165,0.12); color: var(--teal-hi); display: grid; place-items: center; font-size: 1.2rem; border: 1px solid var(--teal-deep); }
.info-item h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-item a:hover { color: var(--teal-hi); }
.map-frame { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { width: 100%; height: 260px; border: 0; filter: grayscale(0.5) contrast(1.1) brightness(0.85); }

/* ---------- Qualibat banner ---------- */
.qualibat {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.9rem;
}
.qualibat img { background: var(--white); padding: 0.5rem 0.7rem; border-radius: var(--radius); height: 60px; width: auto; }
.qualibat p { margin: 0; }

/* ---------- CTA band ---------- */
.ctaband { text-align: center; background: linear-gradient(120deg, var(--teal-deep), var(--charcoal-2)); border-top: 1px solid var(--teal-deep); }
.ctaband h2 { margin-bottom: 1rem; }
.ctaband .hero__cta { justify-content: center; }
.ctaband p { max-width: 620px; margin: 0 auto 2rem; color: var(--white); opacity: 0.9; }

/* ---------- Footer ---------- */
.footer { background: #0d1113; border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { font-family: var(--display); text-transform: uppercase; color: var(--white); letter-spacing: 0.1em; font-size: 0.95rem; margin-bottom: 1.1rem; }
.footer p, .footer a, .footer li { font-size: 0.95rem; color: var(--gray); }
.footer a:hover { color: var(--teal-hi); }
.footer__brand .brand__cartouche { margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: 0.55rem; }
.footer__bottom {
  margin-top: 2.8rem; padding: 1.4rem 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--gray-dim);
}
.footer__bottom a:hover { color: var(--teal-hi); }
.tag-qualibat { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--teal-hi); font-family: var(--display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--charcoal-2);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    padding: 6rem 1.6rem 2rem;
    transform: translateX(100%);
    transition: transform var(--t);
    z-index: 90;
  }
  .nav.open { transform: translateX(0); box-shadow: -30px 0 60px -20px #000; }
  .nav a { padding: 0.9rem 0.4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin: 0.8rem 0 0; justify-content: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(8,11,12,0.6); z-index: 80; opacity: 0; pointer-events: none; transition: opacity var(--t); }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
}
