/* ==========================================================================
   Master Frite
   Charte tirée du logo : noir, or, rouge, blanc. Archivo, titres en 900 italique.
   L’or porte l’action principale (commander), le rouge sert d’accent.
   ========================================================================== */

:root {
  --black: #000000;
  --surface: #191510;
  --gold: #ffc400;
  --gold-deep: #fda000;
  --red: #e7061b;
  --red-soft: #fde6e8;
  --white: #ffffff;
  --light: #f5f5f3;
  --ink: #000000;
  --muted: #5c5750;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.16);
  --focus: var(--black);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Readex Pro", system-ui, sans-serif;

  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  --t-h3: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);
  --t-h2: clamp(2.125rem, 1.4rem + 2.8vw, 3.75rem);
  --t-h1: clamp(3rem, 1.3rem + 5.4vw, 6rem);

  --r-s: 14px;
  --r-m: 24px;
  --r-l: 32px;
  --header: 76px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 8px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-style: italic;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2,
.h2 {
  font-size: var(--t-h2);
}

h3 {
  font-size: var(--t-h3);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
figure {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[lang="ar"] {
  font-family: var(--font-ar);
  font-style: normal;
  letter-spacing: 0;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section--light {
  background: var(--light);
}

.section--gold {
  --focus: var(--black);
  background: var(--gold);
  color: var(--black);
}

.section--black {
  --focus: var(--gold);
  background: var(--black);
  color: var(--white);
}

.section--red {
  --focus: var(--gold);
  background: var(--red);
  color: var(--white);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 56px;
  padding: 0.85em 1.6em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  flex: none;
  width: 1.35em;
  height: 1.35em;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
}

.btn--gold:hover {
  background: var(--gold-deep);
}

.btn--black {
  background: var(--black);
  color: var(--white);
}

.btn--black:hover {
  background: #2a2520;
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--small {
  min-height: 44px;
  padding: 0.55em 1.15em;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

/* ---------- En-tête collant ---------- */

.site-header {
  --focus: var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.92);
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}

.brand__mark {
  flex: none;
  width: 50px;
  height: 50px;
}

.brand__name {
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  padding-block: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
}

.site-header__inner .btn {
  flex: none;
}

/* ---------- Hero ---------- */

.hero {
  --focus: var(--gold);
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: min(calc(100svh - var(--header) - 64px), 760px);
  padding-block: clamp(24px, 4vw, 48px) clamp(96px, 9vw, 128px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: var(--t-h1);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.hero__ar {
  margin-top: 0.45em;
  color: var(--gold);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.hero__lead {
  max-width: 33em;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--t-lead);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero__facts svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.hero__stage {
  position: relative;
}

.hero__mascot {
  display: block;
  border-radius: var(--r-m);
  -webkit-tap-highlight-color: transparent;
}

.hero.has-fries .hero__mascot {
  cursor: pointer;
}

.hero__mascot:focus-visible {
  outline-offset: -2px;
}

.hero__logo {
  width: 100%;
}

/* Canvas des frites : au-dessus du hero, il laisse passer les clics */
.hero__fries {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero.can-grab,
.hero.can-grab * {
  cursor: grab;
}

.hero.is-grabbing,
.hero.is-grabbing * {
  cursor: grabbing;
}

.hero__hint {
  display: none;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  text-align: center;
}

.hero.has-fries .hero__hint {
  display: block;
}

.hero__hint-touch {
  display: none;
}

@media (pointer: coarse) {
  .hero__hint-fine {
    display: none;
  }

  .hero__hint-touch {
    display: inline;
  }
}

.sticker {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  transform: rotate(var(--r));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.sticker--red {
  top: 16%;
  left: -4%;
  background: var(--red);
  color: var(--white);
}

.sticker--white {
  right: -3%;
  bottom: -2%;
  background: var(--white);
  color: var(--black);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__logo {
    animation: mascot-in 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
  }

  .sticker {
    animation: sticker-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) var(--d) both;
  }

  .hero__mascot.is-throwing .hero__logo {
    animation: throw 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
  }
}

@keyframes throw {
  35% {
    transform: translateY(-14px) rotate(-3deg) scale(1.03);
  }
}

@keyframes mascot-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sticker-in {
  from {
    opacity: 0;
    transform: rotate(calc(var(--r) - 12deg)) scale(0.6);
  }

  to {
    opacity: 1;
    transform: rotate(var(--r)) scale(1);
  }
}

/* ---------- Bandeau défilant ---------- */

.ticker {
  overflow: hidden;
  background: var(--gold);
  color: var(--black);
}

.ticker__track {
  display: flex;
  width: max-content;
}

.ticker__list {
  display: flex;
  flex: none;
}

.ticker__list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0 18px 28px;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Une frite rouge sépare chaque promesse */
.ticker__list li::after {
  content: "";
  width: 7px;
  height: 24px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(30deg);
}

@media (prefers-reduced-motion: no-preference) {
  .ticker__track {
    animation: ticker 42s linear infinite;
  }

  .ticker:hover .ticker__track {
    animation-play-state: paused;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-33.3333%);
  }
}

/* ---------- Ce qui disparaît / ce qui reste ---------- */

.compare {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.compare__before .h2 {
  max-width: 11em;
}

.xlist {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.xlist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.45;
}

.xlist__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
}

.xlist__icon svg {
  width: 16px;
  height: 16px;
}

.compare__after {
  --focus: var(--gold);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--r-l);
  background: var(--black);
  color: var(--white);
}

.verbs {
  display: flex;
  flex-direction: column;
  color: var(--gold);
  font-size: clamp(2.75rem, 1.6rem + 2.8vw, 4rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.compare__note {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Simulateur ---------- */

.calc__input {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em 0.4em;
  margin-top: 28px;
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 2.125rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.calc__input output {
  display: inline-block;
  min-width: 4.6ch;
  padding: 0.04em 0.5em;
  border-radius: 999px;
  background: var(--black);
  color: var(--gold);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.range {
  --p: 15.8%;
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 24px;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.range:focus-visible {
  outline-offset: 6px;
  border-radius: 8px;
}

.range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--black) var(--p), rgba(0, 0, 0, 0.16) var(--p));
}

.range::-webkit-slider-thumb {
  width: 34px;
  height: 34px;
  margin-top: -12px;
  border: 5px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  -webkit-appearance: none;
  appearance: none;
}

.range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
}

.range::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--black);
}

.range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 5px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.calc__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px 26px 24px;
  border-radius: var(--r-m);
  background: var(--white);
}

.stat dd {
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stat dt {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.stat:first-child {
  background: var(--black);
  color: var(--white);
}

.stat:first-child dd {
  color: var(--gold);
}

.stat:first-child dt {
  color: rgba(255, 255, 255, 0.78);
}

.calc__note {
  max-width: 62rem;
  margin-top: 22px;
  color: rgba(0, 0, 0, 0.72);
  font-size: var(--t-small);
}

/* ---------- Engagements : grille bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 4vw, 52px);
}

.bento__item {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 270px;
  padding: 28px;
  border-radius: var(--r-m);
  background: var(--surface);
  color: var(--white);
  transition: transform 0.25s ease;
}

.bento__item:hover {
  transform: translateY(-4px);
}

.bento__icon {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.bento__body {
  margin-top: auto;
}

.bento__body p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.bento__item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__item--big .bento__statement {
  order: 2;
  margin-top: auto;
}

.bento__item--big .bento__body {
  order: 3;
  margin-top: 0;
  max-width: 30em;
}

.bento__statement {
  max-width: 8.5em;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4.25rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.bento__item--gold {
  background: var(--gold);
  color: var(--black);
}

.bento__item--gold p {
  color: rgba(0, 0, 0, 0.75);
}

.bento__item--gold .bento__icon {
  background: rgba(0, 0, 0, 0.08);
  color: var(--black);
}

.bento__item--red {
  background: var(--red);
}

.bento__item--red p {
  color: rgba(255, 255, 255, 0.88);
}

.bento__item--red .bento__icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.bento__item--white {
  --focus: var(--black);
  background: var(--white);
  color: var(--black);
}

.bento__item--white p {
  color: var(--muted);
}

.bento__item--white .bento__icon {
  background: #fff1bf;
  color: var(--black);
}

.bento__item--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  min-height: 0;
}

.bento__item--wide:hover {
  transform: none;
}

.bento__item--wide .bento__body {
  flex: 1;
  margin-top: 0;
}

/* ---------- Produit ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.product__visual {
  padding: clamp(20px, 3vw, 44px);
  border-radius: var(--r-l);
  background: var(--light);
}

.cuts {
  width: 100%;
  height: auto;
}

.cuts .t-label {
  fill: var(--black);
  font-family: var(--font);
  font-size: 26px;
  font-style: italic;
  font-weight: 800;
}

.cuts .t-mm {
  fill: var(--muted);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
}

.lead {
  max-width: 34em;
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--t-lead);
  line-height: 1.55;
}

.spec {
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.spec__row {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 4px 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.spec dt {
  color: var(--red);
  font-weight: 700;
}

.tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--r-m);
  background: var(--light);
}

.tip__icon {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--black);
}

.tip h3 {
  font-size: 1.1875rem;
}

.tip p {
  margin-top: 6px;
}

/* ---------- Étapes ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 4vw, 52px);
  counter-reset: step;
}

.step {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 28px;
  border-radius: var(--r-m);
  background: var(--white);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 900;
}

.step h3 {
  margin-top: 40px;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
}

.step:last-child {
  background: var(--gold);
}

.step:last-child p {
  color: rgba(0, 0, 0, 0.75);
}

/* ---------- Questions ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq__list details {
  border-radius: 18px;
  background: var(--light);
}

.faq__list summary {
  position: relative;
  padding: 20px 68px 20px 24px;
  border-radius: 18px;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background:
    linear-gradient(var(--black), var(--black)) center / 12px 2px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 2px 12px no-repeat,
    var(--white);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq__list details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--gold);
}

.faq__list details p {
  max-width: 62ch;
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact__lead {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--t-lead);
}

.contact__list {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.contact__list dt {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--t-small);
  font-weight: 500;
}

.contact__list dd {
  margin-top: 2px;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.contact__list a {
  text-decoration: none;
}

.contact__list a:hover {
  text-decoration: underline;
}

.order {
  --focus: var(--black);
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--r-l);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(80, 0, 8, 0.35);
}

.order__title {
  font-size: 1.625rem;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 700;
}

.field__optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: var(--light);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--black);
  background: var(--white);
  outline-offset: 1px;
}

.field textarea {
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 16px;
}

.order .btn {
  margin-top: 26px;
}

.order__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--t-small);
  text-align: center;
}

/* ---------- Pied de page ---------- */

.footer {
  --focus: var(--gold);
  padding-block: 56px 28px;
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px 56px;
  align-items: center;
}

.footer__logo {
  width: 132px;
}

.footer__about {
  max-width: 24em;
  font-size: 0.9375rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.9375rem;
}

.footer__nav a {
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--t-small);
}

.footer__bottom a {
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento__item--big {
    grid-row: span 1;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero__visual {
    max-width: 440px;
    margin-inline: auto;
  }

  .compare,
  .product,
  .faq,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header: 64px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__name {
    font-size: 1.1875rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .sticker {
    font-size: 0.875rem;
    padding: 9px 16px;
  }

  .sticker--red {
    left: 0;
  }

  .sticker--white {
    right: 0;
  }

  .calc__stats,
  .bento,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento__item--big {
    grid-column: auto;
  }

  .bento__item--wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento__item--wide .btn {
    width: 100%;
  }

  .bento__item,
  .step {
    min-height: 0;
  }

  .step::before {
    margin-bottom: 0;
  }

  .step h3 {
    margin-top: 22px;
  }

  .spec__row,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .bento__item,
  .faq__list summary::after {
    transition: none;
  }

  .btn:hover,
  .bento__item:hover {
    transform: none;
  }
}
