/* Motors Academy · feuille de style unique */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Couleurs du logo : bleu, rouge, jaune */
  --ink: #101218;
  --ink-2: #181b24;
  --ink-3: #232836;
  --paper: #f5f2ea;
  --white: #ffffff;
  --text: #1b1e27;
  --muted: #5d6272;
  --muted-dark: #a9afbf;
  --yellow: #ffd31a;
  --yellow-2: #f2c200;
  --red: #e2231a;
  --blue: #1e3caa;
  --line: rgba(255, 255, 255, .1);

  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { fill: currentColor; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* Typo de section */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 4px; background: currentColor; transform: skewX(-20deg); }
h2 {
  font: 800 italic clamp(2.1rem, 5vw, 3.6rem)/1 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
  margin-bottom: clamp(24px, 4vw, 44px); max-width: 18ch;
}
h3 { font: 700 italic 1.55rem/1.1 var(--display); text-transform: uppercase; }
.intro { max-width: 60ch; color: var(--muted); margin: -16px 0 clamp(28px, 4vw, 44px); font-size: 1.125rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: 700 italic 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; border-radius: 10px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--accent { background: var(--yellow); color: var(--ink); }
.btn--accent:hover { background: var(--yellow-2); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* En-tête */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 18, 24, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  color: var(--white);
}
.topbar__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 italic 1.45rem/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.brand img { width: 48px; height: auto; }
.brand b { color: var(--yellow); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 12px; text-decoration: none; border-radius: 8px;
  font: 600 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-dark);
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--white); background: rgba(255, 255, 255, .06); }
.burger { display: none; }

/* Accueil */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(30, 60, 170, .45), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(226, 35, 26, .22), transparent 70%),
    var(--ink);
  color: var(--white);
  padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.hero::after {
  /* bandes de damier façon drapeau d'arrivée */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-conic-gradient(var(--white) 0 25%, var(--ink) 0 50%) 0 0 / 14px 14px;
  opacity: .9;
}
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.tag {
  display: inline-block; margin-bottom: 20px; padding: 7px 12px 6px;
  background: var(--red); color: var(--white); border-radius: 6px;
  font: 600 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
.hero h1 {
  font: 800 italic clamp(2.7rem, 7.2vw, 5.6rem)/.92 var(--display);
  text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 22px;
}
.hero h1 em { font-style: inherit; color: var(--yellow); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #d3d7e2; max-width: 52ch; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(32px, 5vw, 48px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--ink-2); padding: 16px 18px; }
.facts b { display: block; font: 700 italic 1.3rem/1.1 var(--display); text-transform: uppercase; color: var(--yellow); }
.facts span { font-size: .95rem; color: var(--muted-dark); line-height: 1.35; display: block; margin-top: 4px; }
.hero__photo { margin: 0; position: relative; }
.hero__photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, transparent 14px 28px);
  opacity: .9;
}
.hero__photo img { position: relative; border-radius: 22px; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.hero__photo figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 8px;
  background: rgba(16, 18, 24, .8); font-size: .9rem; color: #e6e8ee;
}

/* Grilles */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Piliers */
.pillars { padding: var(--section) 0; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 10px 30px rgba(16, 18, 24, .06); }
.card--pillar { position: relative; border-top: 5px solid var(--blue); }
.card--pillar:nth-child(2) { border-top-color: var(--red); }
.card--pillar:nth-child(3) { border-top-color: var(--yellow); }
.card__num { display: block; font: 800 italic 3rem/1 var(--display); color: #e7e3d8; margin-bottom: 8px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

/* Fonctionnement */
.how { padding: var(--section) 0; background: var(--white); }
.how__in { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.steps { counter-reset: step; display: grid; gap: 8px; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 76px; border-bottom: 1px solid #ebe7dd; }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 16px;
  width: 54px; height: 54px; display: grid; place-items: center;
  font: 800 italic 1.8rem/1 var(--display); color: var(--ink); background: var(--yellow);
  border-radius: 12px; transform: skewX(-8deg);
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }
.hours { position: sticky; top: calc(var(--header-h) + 24px); background: var(--ink); color: var(--white); border-radius: 18px; padding: 30px 28px; }
.hours h3 { color: var(--yellow); margin-bottom: 18px; }
.hours dl { margin: 0 0 18px; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted-dark); text-align: right; }
.hours p { color: var(--muted-dark); font-size: .98rem; }

/* Matériel */
.gear { padding: var(--section) 0; }
.bike { margin: 0; background: var(--white); border-radius: var(--radius); padding: 18px 18px 22px; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(16, 18, 24, .06); transition: transform .2s ease; }
.bike:hover { transform: translateY(-4px); }
.bike img { aspect-ratio: 3 / 2; object-fit: contain; width: 100%; mix-blend-mode: multiply; }
.bike figcaption { margin-top: 10px; border-top: 1px solid #efece4; padding-top: 14px; }
.bike b { display: block; font: 700 italic 1.35rem/1.1 var(--display); text-transform: uppercase; }
.bike span { color: var(--muted); font-size: .95rem; }

/* Terrains */
.tracks { padding: var(--section) 0; background: var(--ink); color: var(--white); }
.tracks .kicker { color: var(--yellow); }
.track { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; min-height: 300px; display: flex; align-items: flex-end; }
.track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.track::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16, 18, 24, .92), rgba(16, 18, 24, .1) 60%); }
.track:hover img { transform: scale(1.05); }
.track div { padding: 22px; }
.track h3 { font-size: 1.7rem; }
.track p { margin: 4px 0 0; color: var(--muted-dark); }

/* Haut niveau */
.pro { padding: var(--section) 0; }
.pro__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.pro__text p:not(.kicker) { color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 6 / 5; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic img:first-child { grid-row: span 2; }

/* Entraîneur */
.coach { padding: var(--section) 0; background: var(--white); }
.coach__card { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.coach__card > img { border-radius: 18px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.coach__card h3 { font-size: clamp(2rem, 4vw, 2.6rem); }
.coach__role { color: var(--red); font-weight: 600; margin: 6px 0 22px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.stats li { background: var(--paper); border-radius: 12px; padding: 16px 18px; }
.stats b { display: block; font: 800 italic 2.2rem/1 var(--display); color: var(--blue); }
.stats span { color: var(--muted); font-size: .95rem; line-height: 1.35; display: block; margin-top: 4px; }
.coach h4 { font: 600 1rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.palmares { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.palmares li { padding: 10px 0 10px 26px; border-bottom: 1px solid #efece4; position: relative; }
.palmares li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 12px; background: var(--yellow); transform: skewX(-20deg); }
.palmares li:first-child::before { background: var(--red); }

/* Stages */
.camps { padding: var(--section) 0; }
.camps__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.camps__in > img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.camps p:not(.kicker) { color: var(--muted); font-size: 1.125rem; }
.checks { display: grid; gap: 10px; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23101218' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Contact */
.contact {
  padding: var(--section) 0; color: var(--white);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(30, 60, 170, .5), transparent 70%),
    var(--ink);
}
.contact .kicker { color: var(--yellow); }
.contact .intro { color: var(--muted-dark); margin-top: -16px; }
.contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.contact__ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.way {
  display: flex; align-items: center; gap: 16px; padding: 20px; min-width: 0;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: border-color .15s ease, transform .15s ease, background-color .15s ease;
}
.way:hover { border-color: var(--yellow); transform: translateY(-2px); background: var(--ink-3); }
.way svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--yellow); fill: var(--ink); }
.way span { min-width: 0; font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.way small { display: block; font: 600 .85rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--muted-dark); margin-bottom: 2px; }
.way:nth-child(-n+2) { grid-column: 1 / -1; }
.way:first-child span { font: 800 italic clamp(1.8rem, 4vw, 2.4rem)/1 var(--display); }

/* Questions fréquentes */
.faq { padding: var(--section) 0; background: var(--white); }
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__in > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list { border-top: 1px solid #e7e3d8; }
.faq__item { border-bottom: 1px solid #e7e3d8; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 700 italic 1.35rem/1.15 var(--display); text-transform: uppercase;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font: 700 1.4rem/1 var(--body); transition: transform .2s ease, background-color .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq__item summary:hover { color: var(--blue); }
.faq__item p { margin: -4px 0 22px; color: var(--muted); max-width: 62ch; }

/* Pages légales */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); background: var(--ink); color: var(--white); }
.page-head .kicker { color: var(--yellow); }
.page-head h1 { font: 800 italic clamp(2.4rem, 6vw, 4.2rem)/1 var(--display); text-transform: uppercase; }
.legal { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 40px 0 14px; max-width: none; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text); }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--blue); }
.legal .link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.topbar__back { margin-left: auto; }

/* Pied de page */
.footer { background: #0a0b0f; color: var(--muted-dark); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer .brand { color: var(--white); font-size: 1.25rem; }
.footer .brand img { width: 40px; }
.footer p { margin: 0; }
.footer p a { color: var(--white); text-decoration: none; white-space: nowrap; }
.footer p a:hover { color: var(--yellow); }
.footer p:last-child { margin-left: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__links a { color: var(--muted-dark); text-decoration: none; }
.footer__links a:hover { color: var(--yellow); }

/* Bandeau de consentement */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: 560px; margin-left: auto;
  background: var(--ink); color: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  display: grid; gap: 14px;
}
.consent p { margin: 0; font-size: .98rem; color: #d3d7e2; }
.consent a { color: var(--yellow); }
.consent__btns { display: flex; gap: 10px; justify-content: flex-end; }
.consent__btns .btn { flex: 1; background: transparent; cursor: pointer; border-color: rgba(255, 255, 255, .6); }
.consent__btns .btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
body.has-consent .fab { display: none; }
.footer__links button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted-dark); cursor: pointer; }
.footer__links button:hover { color: var(--yellow); }

/* Bouton d'appel flottant (mobile) */
.fab {
  display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; place-items: center;
  background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.fab svg { width: 26px; height: 26px; }

/* Tablette */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .topbar__call span { display: none; }
  .topbar__call { width: 42px; padding: 0; }
  .palmares { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 1.4rem; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--white); }
  .topbar__call { margin-left: auto; }
  .burger {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__in, .how__in, .pro__in, .camps__in, .contact__in, .coach__card, .faq__in { grid-template-columns: 1fr; }
  .faq__in > div:first-child { position: static; }
  .hero__photo { max-width: 520px; width: calc(100% - 18px); }
  .grid--3 { grid-template-columns: 1fr; }
  .track { min-height: 240px; }
  .hours { position: static; }
  .coach__card > img { max-width: 380px; }
}

/* Mobile */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 40px; }
  .topbar__call { display: none; }
  .burger { margin-left: auto; }
  .actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 12px 16px; }
  .grid--4 { gap: 12px; }
  .bike { padding: 12px 12px 16px; }
  .bike b { font-size: 1.15rem; }
  .bike span { font-size: .88rem; }
  .steps li { padding-left: 66px; }
  .steps li::before { width: 48px; height: 48px; font-size: 1.6rem; }
  .stats { grid-template-columns: 1fr; }
  .mosaic { aspect-ratio: 1; gap: 8px; }
  .contact__ways { grid-template-columns: 1fr; }
  .footer p:last-child { margin-left: 0; }
  .fab { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
