/* ADVENTIS AVOCATS — feuille de style commune
   Palette : pierre & parchemin, vert bouteille (marque),
   ocre miel (pôle enfants), bordeaux (pôle droits).            */

:root {
  --paper:      #F5F4F0;
  --surface:    #FFFFFF;
  --surface-2:  #EEEDE6;
  --ink:        #16251F;
  --ink-soft:   #4D5D55;
  --ink-faint:  #77857D;
  --rule:       #DEDCD2;
  --rule-soft:  #EAE8E0;
  --vert:       #1E4034;
  --vert-deep:  #142A22;
  --enfants:    #9C6A1C;
  --enfants-bg: #F6EEDC;
  --droits:     #7B2B33;
  --droits-bg:  #F6E7E6;
  --etrangers:    #27566F;
  --etrangers-bg: #E6EEF3;
  --focus:      #1E4034;

  --f-display: "Faustina", "Iowan Old Style", Georgia, serif;
  --f-body:    "Karla", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.09rem);
  --step-1:  clamp(1.20rem, 1.13rem + 0.34vw, 1.42rem);
  --step-2:  clamp(1.45rem, 1.32rem + 0.62vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.53rem + 1.05vw, 2.40rem);
  --step-4:  clamp(2.10rem, 1.72rem + 1.85vw, 3.25rem);

  --gut: clamp(1rem, 0.55rem + 2.2vw, 3rem);
  --max: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #0F1411;
    --surface:    #171E1A;
    --surface-2:  #1E2620;
    --ink:        #ECEFE8;
    --ink-soft:   #A7B3AB;
    --ink-faint:  #7E8C84;
    --rule:       #2A332D;
    --rule-soft:  #222A25;
    --vert:       #86BFA4;
    --vert-deep:  #A8D6BE;
    --enfants:    #DCA95C;
    --enfants-bg: #241D10;
    --droits:     #D08E92;
    --droits-bg:  #241416;
    --etrangers:    #85B6CE;
    --etrangers-bg: #101D24;
    --focus:      #86BFA4;
  }
}

:root[data-theme="dark"] {
  --paper:      #0F1411;
  --surface:    #171E1A;
  --surface-2:  #1E2620;
  --ink:        #ECEFE8;
  --ink-soft:   #A7B3AB;
  --ink-faint:  #7E8C84;
  --rule:       #2A332D;
  --rule-soft:  #222A25;
  --vert:       #86BFA4;
  --vert-deep:  #A8D6BE;
  --enfants:    #DCA95C;
  --enfants-bg: #241D10;
  --droits:     #D08E92;
  --droits-bg:  #241416;
  --etrangers:    #85B6CE;
  --etrangers-bg: #101D24;
  --focus:      #86BFA4;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.14;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.012em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); font-family: var(--f-body); font-weight: 700; }

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  margin: 0;
}

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }

/* ---------- en-tête ---------- */

.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.site-head__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  color: var(--vert);
  overflow: visible;
}

.brand__text { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }

@media (max-width: 560px) { .brand__mark { width: 32px; height: 32px; } }

.brand__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.06em;
}

.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.menu-toggle {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
}

.menu-btn { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--rule);
    border-radius: 3px;
    color: var(--ink);
    user-select: none;
  }

  .menu-btn::after { content: "\25BE"; font-size: 0.85em; }
  .menu-toggle:checked ~ .menu-btn::after { content: "\25B4"; }
  .menu-toggle:focus-visible ~ .menu-btn { outline: 2px solid var(--focus); outline-offset: 3px; }

  .nav { display: none; }

  .menu-toggle:checked ~ .nav {
    display: flex;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.5rem;
  }

  .menu-toggle:checked ~ .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--rule-soft);
    border-top: 0;
    font-size: 1rem;
  }

  .site-head__in { padding-block: 0.55rem; }
}

.nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--vert); }

.nav a.is-enfants[aria-current="page"] { border-bottom-color: var(--enfants); }
.nav a.is-droits[aria-current="page"]  { border-bottom-color: var(--droits); }
.nav a.is-etrangers[aria-current="page"] { border-bottom-color: var(--etrangers); }

/* ---------- boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border-radius: 3px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary { background: var(--vert); color: var(--paper); }
.btn--primary:hover { background: var(--vert-deep); }

.btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-soft); }

.btn--urgence { background: var(--droits); color: #FFF; }
.btn--urgence:hover { filter: brightness(1.12); }

:root[data-theme="dark"] .btn--primary,
:root[data-theme="dark"] .btn--urgence { color: #0F1411; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn--primary,
  :root:not([data-theme="light"]) .btn--urgence { color: #0F1411; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- bandeau d'appel mobile ---------- */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.callbar a {
  flex: 1;
  text-align: center;
  padding: 0.85rem 0.5rem;
  background: var(--surface);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.callbar a.is-primary { background: var(--vert); color: var(--paper); }

@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 60px; }
}

/* ---------- sections ---------- */

.section { padding-block: clamp(2.75rem, 1.5rem + 4vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 1.2rem + 2.5vw, 3.25rem); }
.section + .section { border-top: 1px solid var(--rule-soft); }
.section--surface { background: var(--surface); border-block: 1px solid var(--rule); }

.section__head { display: grid; gap: 0.75rem; max-width: 62ch; margin-bottom: 2rem; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.5rem, 1.2rem + 5vw, 5.5rem) clamp(2rem, 1rem + 3vw, 3.5rem); }

.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}

@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1rem; }
.hero .lede { max-width: 46ch; }

.hero__proof {
  border-left: 3px solid var(--vert);
  padding: 0.25rem 0 0.25rem 1.1rem;
  display: grid;
  gap: 0.9rem;
}

.hero__proof p { font-size: 0.95rem; color: var(--ink-soft); }
.hero__proof strong { color: var(--ink); }

/* ---------- les deux portes ---------- */

.doors {
  display: grid;
  gap: clamp(1rem, 0.5rem + 2vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.door {
  --tone: var(--vert);
  --tone-bg: var(--surface-2);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--tone);
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.door > .btn { margin-top: auto; align-self: start; }

.door--enfants { --tone: var(--enfants); --tone-bg: var(--enfants-bg); }
.door--droits  { --tone: var(--droits);  --tone-bg: var(--droits-bg); }
.door--etrangers { --tone: var(--etrangers); --tone-bg: var(--etrangers-bg); }

.door__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tone);
}

.door h2 { font-size: var(--step-2); }
.door p { color: var(--ink-soft); font-size: 0.97rem; }

.door__list { list-style: none; margin: 0; padding: 0; display: grid; }

.door__list li { border-top: 1px solid var(--rule-soft); }

.door__list a {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0 0.7rem 1.1rem;
  position: relative;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.35;
}

.door__list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.4rem;
  height: 1px;
  background: var(--tone);
}

.door__list a:hover { color: var(--tone); }
.door__list .q { font-size: 0.85rem; color: var(--ink-faint); font-style: italic; }

/* ---------- grille de domaines ---------- */

.cards {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.card {
  background: var(--surface);
  padding: 1.35rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  text-decoration: none;
}

.card:hover { background: var(--surface-2); }
.card h3 { font-size: 1.12rem; }
.card p { font-size: 0.92rem; color: var(--ink-soft); }
.card .more { font-size: 0.85rem; font-weight: 700; color: var(--vert); }

/* ---------- mise en page des pages intérieures ---------- */

.page-head { padding-block: clamp(2rem, 1.2rem + 3vw, 3.5rem) 1.5rem; }
.page-head .eyebrow { margin-bottom: 0.7rem; }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 1rem; max-width: 60ch; }

.layout {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

@media (max-width: 940px) { .layout { grid-template-columns: 1fr; } }

.rail { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: grid; gap: 1rem; }

@media (max-width: 940px) { .rail { position: static; } }

.rail__box {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.rail__box h3 { font-size: 1.02rem; font-family: var(--f-body); font-weight: 700; }
.rail__box p { font-size: 0.9rem; color: var(--ink-soft); }

.rail__tel {
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.rail__box--urgence { border-left: 4px solid var(--droits); }

/* ---------- prose ---------- */

.prose { max-width: 68ch; display: grid; gap: 1.15rem; }
.prose > h2 { margin-top: 1.5rem; }
.prose > h3 { margin-top: 0.75rem; }
.prose p { color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.prose li { color: var(--ink); }
.prose a { color: var(--vert); text-underline-offset: 3px; }

/* les boutons placés dans du texte courant doivent garder leurs couleurs :
   « .prose a » l'emporterait sinon sur « .btn--primary » et rendrait
   le libellé illisible (vert sur vert). */
.prose a.btn--primary { color: var(--paper); text-decoration: none; }
.prose a.btn--ghost   { color: var(--ink);   text-decoration: none; }
.prose a.btn--urgence { color: #FFF;         text-decoration: none; }

:root[data-theme="dark"] .prose a.btn--primary,
:root[data-theme="dark"] .prose a.btn--urgence { color: #0F1411; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prose a.btn--primary,
  :root:not([data-theme="light"]) .prose a.btn--urgence { color: #0F1411; }
}
.prose strong { font-weight: 700; }

.pull {
  border-left: 3px solid var(--enfants);
  padding-left: 1.1rem;
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink);
}

.note {
  background: var(--surface-2);
  border: 1px solid var(--rule);
  padding: 1rem 1.15rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.note strong { font-family: var(--f-body); }

.todo {
  background: var(--enfants-bg);
  border: 1px dashed var(--enfants);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.todo::before {
  content: "À compléter";
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--enfants);
  margin-bottom: 0.25rem;
}

/* ---------- questions fréquentes ---------- */

.faq { display: grid; border-top: 1px solid var(--rule); }

.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--vert); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) { padding-bottom: 1rem; color: var(--ink-soft); max-width: 66ch; }

/* ---------- étapes ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }

.steps li { background: var(--surface); padding: 1.05rem 1.2rem; display: grid; gap: 0.3rem; }

.steps .n {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.steps strong { font-size: 1.02rem; }
.steps p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- tableaux ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--rule); }

table { border-collapse: collapse; width: 100%; font-size: 0.94rem; background: var(--surface); }

th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }

th { font-weight: 700; background: var(--surface-2); font-size: 0.85rem; letter-spacing: 0.02em; }

td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- bandeau urgence ---------- */

.band-urgence {
  background: var(--droits-bg);
  border-block: 1px solid color-mix(in srgb, var(--droits) 35%, transparent);
}

.band-urgence__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-block: 1.1rem;
}

.band-urgence p { font-size: 0.97rem; margin-right: auto; max-width: 60ch; }
.band-urgence strong { color: var(--droits); }

/* ---------- preuve ---------- */

.avis { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.avis blockquote { margin: 0; background: var(--surface); padding: 1.25rem; display: grid; gap: 0.7rem; }
.avis p { font-size: 0.95rem; }
.avis cite { font-style: normal; font-size: 0.82rem; color: var(--ink-faint); letter-spacing: 0.04em; }

.decisions { list-style: none; margin: 0; padding: 0; display: grid; }
.decisions li { border-top: 1px solid var(--rule); padding: 0.85rem 0; display: grid; gap: 0.2rem; }
.decisions .juridiction { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.decisions strong { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; }

/* ---------- formulaire ---------- */

.form { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.88rem; font-weight: 700; }
.field .hint { font-size: 0.82rem; color: var(--ink-faint); font-weight: 400; }

.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.97rem;
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  border-radius: 3px;
  width: 100%;
}

.field textarea { min-height: 8rem; resize: vertical; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 0.25rem; }

/* ---------- articles ---------- */

.posts { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }

.post-item { background: var(--surface); padding: 1.3rem; display: grid; gap: 0.45rem; text-decoration: none; }
.post-item:hover { background: var(--surface-2); }
.post-item .meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.post-item h3 { font-size: 1.2rem; }
.post-item p { font-size: 0.93rem; color: var(--ink-soft); }

.article { max-width: 70ch; }
.article .prose { max-width: none; }

/* ---------- fil d'ariane ---------- */

.crumbs { font-size: 0.84rem; color: var(--ink-faint); padding-top: 1rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- portraits ---------- */

.photo {
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  border: 1px dashed var(--rule);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.4;
  overflow: hidden;
}

.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo.is-filled { border-style: solid; border-color: var(--rule); padding: 0; background: var(--surface); }

.card .photo { aspect-ratio: 1 / 1; margin-bottom: 0.35rem; }

.portrait-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem);
  align-items: start;
}

@media (max-width: 620px) { .portrait-grid { grid-template-columns: 1fr; max-width: 20rem; } }

.portrait-grid figcaption { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.5rem; }

/* ---------- plan d'accès ---------- */

.map-slot {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  border: 1px dashed var(--rule);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  color: var(--ink-faint);
  font-size: 0.82rem;
  line-height: 1.5;
}

.map-slot strong { display: block; color: var(--ink); font-family: var(--f-body); margin-bottom: 0.3rem; }

.acces { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.acces li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.75rem; font-size: 0.95rem; }
.acces dt, .acces .quoi { font-weight: 700; }
@media (max-width: 520px) { .acces li { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---------- pied de page ---------- */

.site-foot {
  background: var(--vert-deep);
  color: #DCE7E0;
  padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem) 1.5rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

:root[data-theme="dark"] .site-foot { background: #0B100D; color: #C3D1C8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-foot { background: #0B100D; color: #C3D1C8; }
}

.site-foot a { color: inherit; }

.foot__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 2rem;
}

.foot__grid h4 { color: #FFF; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }
:root[data-theme="dark"] .foot__grid h4 { color: var(--ink); }

.foot__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.foot__grid a { text-decoration: none; font-size: 0.93rem; opacity: 0.85; }
.foot__grid a:hover { opacity: 1; text-decoration: underline; }

.foot__addr { font-size: 0.93rem; line-height: 1.7; opacity: 0.85; }
.foot__addr strong { color: #FFF; font-family: var(--f-display); font-size: 1.05rem; letter-spacing: 0.04em; }

.foot__bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.84rem;
  opacity: 0.75;
}

.mockup-flag {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.45rem 1rem;
}

:root[data-theme="dark"] .mockup-flag { background: var(--surface-2); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
