/* ============================================================
   JOCKAR'S — Design tokens
   Palette   : nuit atelier + chrome + navy + rouge signal
   Typo      : Oswald (display / gabarit d'usine) + Inter (lecture)
               + JetBrains Mono (donnees, compteurs)
   Signature : arc de compte-tours + chevron du blason
   ============================================================ */

:root {
  /* couleurs */
  --bg-void: #0d0f12;
  --bg-panel: #14171c;
  --bg-panel-raised: #1c2128;
  --bg-panel-line: #23282f;

  --chrome-100: #eef1f4;
  --chrome-300: #c9d0d8;
  --chrome-500: #8b95a1;
  --chrome-700: #5b6570;

  --navy-600: #234869;
  --navy-800: #10263c;

  --red-signal: #c0392b;
  --red-signal-bright: #e14b3b;

  --text-hi: #f2f4f6;
  --text-mid: #b7bfc7;
  --text-low: #7d8792;

  /* typo */
  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* rythme */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 4px;
  --shadow-deep: 0 30px 60px -20px rgba(0, 0, 0, 0.65);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-mid);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--text-hi); font-family: var(--f-display); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
p { margin: 0; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--red-signal-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red-signal);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-family: var(--f-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skip-link:focus { left: var(--gutter); top: 1rem; }

.container {
  width: min(1240px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-signal-bright);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red-signal-bright);
}

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
section + section { border-top: 1px solid var(--bg-panel-line); }

/* ============================================================
   Chevron — motif signature repris du blason JOCKAR'S
   ============================================================ */
.chevron-divider {
  width: 100%;
  height: 34px;
  display: block;
}
.chevron-divider svg { width: 100%; height: 100%; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 18, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-panel-line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--chrome-100);
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--red-signal-bright);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--chrome-100);
  border-color: var(--red-signal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red-signal);
  color: #fff !important;
  font-family: var(--f-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  border-bottom: none !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { background: var(--red-signal-bright); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bg-panel-line);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--chrome-100);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--bg-panel-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav-links.is-open { max-height: 420px; }
  .nav-links a { padding: 1rem var(--gutter); border-bottom: 1px solid var(--bg-panel-line); }
  .nav-links a[aria-current="page"] { background: var(--bg-panel-raised); }
  .nav-links .nav-cta { margin: 1rem var(--gutter); text-align: center; justify-content: center; }
}

/* ============================================================
   Hero (accueil)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--bg-panel-line);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,15,18,0.35) 0%, rgba(13,15,18,0.55) 55%, rgba(13,15,18,0.96) 100%),
    linear-gradient(90deg, rgba(13,15,18,0.85) 0%, rgba(13,15,18,0.15) 45%, rgba(13,15,18,0.15) 60%, rgba(13,15,18,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  width: 100%;
  margin: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.98;
  margin-block: 1rem 1.25rem;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--red-signal-bright);
}
.hero-lede {
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--chrome-300);
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--red-signal); color: #fff; }
.btn-primary:hover { background: var(--red-signal-bright); transform: translateY(-2px); }
.btn-ghost { border-color: var(--chrome-500); color: var(--chrome-100); }
.btn-ghost:hover { border-color: var(--chrome-100); background: rgba(255,255,255,0.05); transform: translateY(-2px); }

.hero-gauges {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 3rem;
  flex-wrap: wrap;
}
.gauge {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.gauge svg { width: 54px; height: 54px; flex-shrink: 0; }
.gauge-value {
  font-family: var(--f-mono);
  font-size: 1.7rem;
  color: var(--chrome-100);
  line-height: 1;
}
.gauge-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-top: 0.3rem;
}

/* ============================================================
   Bandeau de page (pages interieures)
   ============================================================ */
.page-header {
  position: relative;
  padding-block: clamp(4.5rem, 12vw, 7rem) clamp(3rem, 8vw, 4.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--bg-panel-line);
  background: var(--bg-panel);
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bandeau.jpg");
  background-size: cover;
  background-position: center 25%;
  opacity: 0.22;
  filter: grayscale(35%);
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,15,18,0.55), rgba(13,15,18,0.97));
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-header p { max-width: 55ch; color: var(--chrome-300); margin-top: 1rem; font-size: 1.02rem; }

.breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-low);
  text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--red-signal-bright); }

/* ============================================================
   Grilles / cartes generiques
   ============================================================ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-top: 0.7rem; max-width: 20ch; }
.section-head .lede { max-width: 42ch; color: var(--text-mid); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--bg-panel-raised);
  border: 1px solid var(--bg-panel-line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover { border-color: var(--red-signal); transform: translateY(-4px); }
.service-card .icon {
  width: 46px;
  height: 46px;
  color: var(--red-signal-bright);
  margin-bottom: 1.2rem;
}
.service-card .icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.94rem; color: var(--text-mid); }
.service-card .tag {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-low);
  border-top: 1px solid var(--bg-panel-line);
  padding-top: 0.9rem;
  width: 100%;
  text-transform: uppercase;
}

/* liste detaillee services.html */
.service-detail {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.75rem;
  padding-block: 2.5rem;
}
.service-detail:not(:last-child) { border-bottom: 1px solid var(--bg-panel-line); }
.service-detail .num {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--red-signal-bright);
  letter-spacing: 0.1em;
}
.service-detail .icon { width: 58px; height: 58px; color: var(--chrome-300); margin-top: 0.6rem; }
.service-detail .icon svg { width: 100%; height: 100%; }
.service-detail h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.service-detail p { max-width: 62ch; }
.service-detail ul { margin-top: 1rem; display: grid; gap: 0.5rem; }
.service-detail li {
  font-size: 0.92rem;
  color: var(--chrome-300);
  padding-left: 1.4rem;
  position: relative;
}
.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 2px;
  background: var(--red-signal);
}
@media (max-width: 620px) {
  .service-detail { grid-template-columns: 1fr; }
}

/* ============================================================
   Bande CTA
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--bg-panel) 65%);
  border-top: 1px solid var(--bg-panel-line);
  border-bottom: 1px solid var(--bg-panel-line);
}
.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); max-width: 18ch; }
.cta-band .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   Bloc atelier / valeurs (accueil)
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--bg-panel-line);
}
.stat-row .stat-value {
  font-family: var(--f-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--chrome-100);
}
.stat-row .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-top: 0.35rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}
.two-col figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--bg-panel-line); }
.two-col figure img { width: 100%; }

/* ============================================================
   Galerie + Lightbox
   ============================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}
.filter-btn {
  background: var(--bg-panel-raised);
  border: 1px solid var(--bg-panel-line);
  color: var(--text-mid);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--chrome-500); color: var(--chrome-100); }
.filter-btn.is-active { background: var(--red-signal); border-color: var(--red-signal); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}
.gallery-teaser-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bg-panel-line);
  cursor: zoom-in;
  background: none;
  padding: 0;
  aspect-ratio: 4/3;
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(13,15,18,0.92), transparent);
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-100);
  text-align: left;
}

.phone-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(9, 10, 12, 0.82);
}
.phone-modal[hidden] { display: none; }
.phone-modal-panel {
  position: relative;
  width: min(100%, 30rem);
  padding: 2.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-line);
  border-top: 3px solid var(--red-signal);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  text-align: center;
}
.phone-modal-panel h2 { margin-top: 0.65rem; }
.phone-modal-number {
  margin: 1.25rem 0 1.5rem;
  color: var(--chrome-100);
  font-family: var(--f-mono);
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: 0.04em;
}
.phone-modal-call { display: inline-flex; }
.phone-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--bg-panel-line);
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
}
.phone-modal-close:hover { color: var(--chrome-100); border-color: var(--chrome-500); }
.phone-modal-close svg { width: 1.15rem; height: 1.15rem; }

@media (max-width: 620px) {
  .gallery-teaser-grid { grid-template-columns: 1fr; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 12, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { position: relative; max-width: min(980px, 100%); width: 100%; }
.lightbox-inner img { width: 100%; max-height: 80vh; object-fit: contain; border: 1px solid var(--bg-panel-line); background: var(--bg-panel); }
.lightbox-cap { text-align: center; margin-top: 1rem; color: var(--chrome-300); font-family: var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: var(--bg-panel-raised);
  border: 1px solid var(--bg-panel-line);
  color: var(--chrome-100);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--red-signal); }
.lightbox-close { top: -54px; right: 0; }
.lightbox-prev { top: 50%; left: -22px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: -22px; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-close { top: -46px; right: 4px; }
}
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* ============================================================
   Biographie
   ============================================================ */
.bio-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 860px) { .bio-layout { grid-template-columns: 1fr; } }
.bio-portrait {
  border: 1px solid var(--bg-panel-line);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 100px;
  align-self: start;
}
.bio-portrait img { width: 100%; }
.bio-portrait .meta { padding: 1.25rem 1.4rem; background: var(--bg-panel-raised); }
.bio-portrait .meta h3 { font-size: 1.1rem; }
.bio-portrait .meta span { display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--red-signal-bright); text-transform: uppercase; margin-top: 0.4rem; }

.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--bg-panel-line); }
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--red-signal);
}
.timeline-item .year { font-family: var(--f-mono); font-size: 0.78rem; color: var(--red-signal-bright); letter-spacing: 0.1em; }
.timeline-item h3 { margin-top: 0.4rem; font-size: 1.15rem; }
.timeline-item p { margin-top: 0.5rem; }

.quote-block {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--red-signal);
  background: var(--bg-panel-raised);
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--chrome-100);
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 940px) { .contact-layout { grid-template-columns: 1fr; } }

.info-list { display: grid; gap: 1.4rem; margin-bottom: 2rem; }
.info-item { display: flex; gap: 1rem; }
.info-item .icon { width: 42px; height: 42px; flex-shrink: 0; color: var(--red-signal-bright); }
.info-item .icon svg { width: 100%; height: 100%; }
.info-item h3 { font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.info-item p, .info-item a { color: var(--chrome-300); font-size: 0.95rem; }
.info-item a:hover { color: var(--red-signal-bright); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--bg-panel-line); font-size: 0.92rem; }
.hours-table td:first-child { color: var(--chrome-300); font-family: var(--f-display); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; }
.hours-table td:last-child { text-align: right; color: var(--text-mid); font-family: var(--f-mono); }

.map-frame {
  margin-top: 2rem;
  border: 1px solid var(--bg-panel-line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(65%) invert(92%) contrast(88%); }

.form-card {
  background: var(--bg-panel-raised);
  border: 1px solid var(--bg-panel-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-row { display: grid; gap: 0.4rem; margin-bottom: 1.3rem; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 520px) { .form-row.two { grid-template-columns: 1fr; } }
.form-row label {
  font-family: var(--f-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chrome-300);
}
.form-row .req { color: var(--red-signal-bright); }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text-hi);
  font-family: var(--f-body);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--red-signal);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row .error-msg {
  font-size: 0.78rem;
  color: var(--red-signal-bright);
  min-height: 1.1em;
  font-family: var(--f-mono);
}
.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: var(--red-signal);
}

.form-submit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.form-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-low);
  text-align: center;
}
.form-success {
  display: none;
  margin-top: 1.3rem;
  padding: 1rem 1.2rem;
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid var(--red-signal);
  border-radius: var(--radius);
  color: var(--chrome-100);
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--bg-panel-line);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.footer-brand svg { width: 30px; height: 30px; }
.footer-brand span { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: 0.06em; color: var(--chrome-100); }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 1rem; color: var(--chrome-300); }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: var(--text-mid); }
.footer-col a:hover { color: var(--red-signal-bright); }
.footer-desc { font-size: 0.92rem; max-width: 34ch; color: var(--text-mid); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-panel-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-low);
  font-family: var(--f-mono);
}

/* ============================================================
   Utilitaires
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
