/* Atelier Requena — feuille de style unique */

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #17120f;
  --bg-2: #1f1814;
  --bg-3: #2a211b;
  --ink: #f1e9dd;
  --ink-2: #cfc4b5;
  --copper: #c8875a;
  --copper-hi: #dc9d6f;
  --line: rgba(241, 233, 221, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: max(1.25rem, 5vw);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--copper);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--copper-hi);
}

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

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
}
.skip:hover,
.skip:focus {
  color: var(--bg);
}
.skip:focus {
  top: 1rem;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--copper);
  border-radius: 0.375rem;
  background: var(--copper);
  color: var(--bg);
  font: 600 1rem/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease),
    color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover {
  background: var(--copper-hi);
  border-color: var(--copper-hi);
  color: var(--bg);
}
.btn:active {
  transform: scale(0.98);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--bg-3);
  border-color: var(--copper);
  color: var(--ink);
}
.btn--sm {
  min-height: 2.5rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: opacity 300ms var(--ease);
}
.site-header.is-quiet {
  opacity: 0.8;
}
.site-header.is-quiet:hover,
.site-header.is-quiet:focus-within {
  opacity: 1;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover {
  color: var(--ink);
}
.header-link {
  padding-block: 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 5rem;
  pointer-events: none;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(4rem, 10vw, 7rem);
}
.section--alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(1.75rem, 5.2vw, 2.75rem);
  max-width: 22ch;
}
.lead {
  margin-top: 1rem;
  max-width: 40rem;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

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

.hero {
  padding-block: clamp(1.75rem, 6vw, 5rem) clamp(3rem, 8vw, 6rem);
}
.hero .wrap {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 8.4vw, 4.25rem);
  line-height: 1.05;
  max-width: 14ch;
}
.hero__sub {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--ink-2);
}
.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}
.hero__note {
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ---------- Téléphone avant / après ---------- */

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.tabs {
  display: inline-flex;
  padding: 0.25rem;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
}
.tab {
  min-height: 2.75rem;
  padding: 0.4rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 500 0.9rem/1 var(--sans);
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
    transform 200ms var(--ease);
}
.tab:hover {
  color: var(--ink);
}
.tab:active {
  transform: scale(0.98);
}
.tab[aria-checked="true"] {
  background: var(--copper);
  color: var(--bg);
}

.phone {
  --p: 50;
  width: min(100%, 17.5rem);
  padding: 0.6rem;
  border-radius: 2.5rem;
  background: #0b0806;
  border: 1px solid rgba(241, 233, 221, 0.22);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
}

.screen {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 100 / 205;
  border-radius: 1.9rem;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.compare {
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.compare:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 1.9rem;
}

.site {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 350ms var(--ease);
}
.site.was-active {
  opacity: 1;
  z-index: 1;
}
.site.is-active {
  opacity: 1;
  z-index: 2;
}

.layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  --u: 1cqw;
}
.layer--new {
  clip-path: inset(0 0 0 calc(var(--p) * 1%));
}

.handle {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  transform: translateX(calc(var(--p) * 1cqw));
  will-change: transform;
  pointer-events: none;
}
.handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.handle__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.5);
}
.compare:focus-visible .handle__knob {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.tag {
  position: absolute;
  z-index: 4;
  bottom: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font: 600 0.75rem/1.3 var(--sans);
  pointer-events: none;
}
.tag--old {
  left: 0.7rem;
  background: #000;
  color: #fff;
}
.tag--new {
  right: 0.7rem;
  background: var(--copper);
  color: var(--bg);
}

.stage__caption {
  max-width: 17.5rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-2);
}

/* --- Maquettes : ancien site --- */

.o {
  background: var(--o-bg);
  color: var(--o-ink);
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Comic Neue", cursive;
  line-height: 1.1;
}
.o-head {
  padding: calc(2.5 * var(--u)) calc(2 * var(--u));
  background: var(--o-head);
  color: var(--o-headink);
  border-bottom: calc(1.2 * var(--u)) ridge var(--o-accent);
  text-align: center;
  font-size: calc(7.4 * var(--u));
  font-weight: 700;
  line-height: 1;
  text-shadow: calc(0.6 * var(--u)) calc(0.6 * var(--u)) 0 #000;
}
.o-welcome {
  padding: calc(1.2 * var(--u));
  background: #000;
  color: var(--o-accent);
  text-align: center;
  font-size: calc(3.2 * var(--u));
  font-weight: 700;
}
.o-nav {
  padding: calc(1.5 * var(--u));
  text-align: center;
  font-size: calc(3.3 * var(--u));
  color: var(--o-link);
  text-decoration: underline;
  word-spacing: calc(1 * var(--u));
}
.o-body {
  padding: calc(1.5 * var(--u)) calc(2 * var(--u));
  font-size: calc(3 * var(--u));
  text-align: justify;
}
.o-img {
  float: left;
  width: calc(30 * var(--u));
  height: auto;
  margin: 0 calc(2 * var(--u)) calc(1 * var(--u)) 0;
  border: calc(0.8 * var(--u)) solid var(--o-ink);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
}
.o-body b {
  color: var(--o-accent);
}
.o-body ul {
  clear: both;
  margin: calc(1.5 * var(--u)) 0 0;
  padding-left: calc(4 * var(--u));
  font-size: calc(2.8 * var(--u));
}
.o-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: calc(2 * var(--u)) calc(2 * var(--u)) calc(7 * var(--u));
  background: #000;
  color: #c0c0c0;
  text-align: center;
  font-size: calc(2.7 * var(--u));
  line-height: 1.25;
}
.o-foot strong {
  color: #ff3333;
}

[data-site="salon"] .layer--old {
  --o-bg: #ffec00;
  --o-ink: #000;
  --o-head: #ff1493;
  --o-headink: #ffff00;
  --o-link: #0000ee;
  --o-accent: #00cc00;
}
[data-site="barbier"] .layer--old {
  --o-bg: #000080;
  --o-ink: #fff;
  --o-head: #e00000;
  --o-headink: #ffff00;
  --o-link: #33ff33;
  --o-accent: #ff9900;
}
[data-site="restaurant"] .layer--old {
  --o-bg: #ff9a1f;
  --o-ink: #000;
  --o-head: #6b0000;
  --o-headink: #ffffcc;
  --o-link: #0000ee;
  --o-accent: #fff;
}

/* --- Maquettes : nouveau site --- */

.n {
  background: var(--n-bg);
  color: var(--n-ink);
  font-family: var(--sans);
}
.n-hero img {
  width: 100%;
  height: calc(72 * var(--u));
  object-fit: cover;
}
.n-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(4.5 * var(--u)) calc(6 * var(--u));
  color: #f1e9dd;
  font-family: var(--serif);
  font-size: calc(4.8 * var(--u));
  line-height: 1;
}
.n-burger {
  display: grid;
  gap: calc(1.1 * var(--u));
  width: calc(6 * var(--u));
}
.n-burger i {
  display: block;
  height: calc(0.5 * var(--u));
  background: #f1e9dd;
}
.n-card {
  position: relative;
  margin-top: calc(-7 * var(--u));
  padding: calc(6 * var(--u)) calc(6 * var(--u)) 0;
  border-radius: calc(6 * var(--u)) calc(6 * var(--u)) 0 0;
  background: var(--n-bg);
}
.n-title {
  font-family: var(--serif);
  font-size: calc(8.6 * var(--u));
  font-weight: 500;
  line-height: 1.05;
}
.n-sub {
  margin: calc(2 * var(--u)) 0 calc(4.5 * var(--u));
  color: var(--n-muted);
  font-size: calc(3.4 * var(--u));
  line-height: 1.45;
}
.n-btn {
  display: block;
  padding: calc(3.2 * var(--u));
  border-radius: calc(1.6 * var(--u));
  background: var(--n-accent);
  color: var(--n-btnink);
  text-align: center;
  font-size: calc(3.6 * var(--u));
  font-weight: 600;
  line-height: 1.2;
}
.n-h {
  margin: calc(6 * var(--u)) 0 calc(1 * var(--u));
  font-family: var(--serif);
  font-size: calc(5 * var(--u));
  line-height: 1.2;
}
.n-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: calc(2.6 * var(--u)) 0;
  border-bottom: calc(0.3 * var(--u)) solid var(--n-line);
  font-size: calc(3.5 * var(--u));
  line-height: 1.2;
}
.n-row b {
  font-family: var(--serif);
  font-size: calc(4 * var(--u));
  font-weight: 600;
  color: var(--n-price);
}

[data-site="salon"] .layer--new {
  --n-bg: #f1e9dd;
  --n-ink: #2a211c;
  --n-muted: #6b5b4e;
  --n-accent: #c8875a;
  --n-btnink: #17120f;
  --n-line: rgba(42, 33, 28, 0.2);
  --n-price: #8a5226;
}
[data-site="barbier"] .layer--new {
  --n-bg: #14202a;
  --n-ink: #ede6da;
  --n-muted: #a9b4b8;
  --n-accent: #c9a15b;
  --n-btnink: #101a21;
  --n-line: rgba(237, 230, 218, 0.2);
  --n-price: #c9a15b;
}
[data-site="restaurant"] .layer--new {
  --n-bg: #f4ebdd;
  --n-ink: #2a1215;
  --n-muted: #66494c;
  --n-accent: #8e2f3a;
  --n-btnink: #f4ebdd;
  --n-line: rgba(42, 18, 21, 0.2);
  --n-price: #8e2f3a;
}

/* ---------- Ce qu'un vrai site change ---------- */

.points {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 0;
  list-style: none;
}
.point {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.point svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.1rem;
  color: var(--copper);
}
.point h3 {
  font-size: 1.5rem;
}
.point p {
  margin-top: 0.7rem;
  color: var(--ink-2);
}

/* ---------- Méthode ---------- */

.steps {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 46rem;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--copper);
}
.step h3 {
  font-size: 1.5rem;
}
.step p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}

/* ---------- Démos ---------- */

.demos {
  display: grid;
  gap: 3.5rem;
  margin-top: 3rem;
}
.demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
.demo .phone {
  width: min(100%, 15rem);
  border-radius: 2.2rem;
}
.demo .screen {
  border-radius: 1.65rem;
  aspect-ratio: 390 / 780;
}
.demo .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.demo h3 {
  font-size: 1.5rem;
}
.demo p {
  max-width: 24rem;
  color: var(--ink-2);
}

/* ---------- Qui je suis ---------- */

.about {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.photo {
  display: grid;
  place-items: center;
  width: min(100%, 14rem);
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--copper);
  border-radius: 0.5rem;
  background: var(--bg-2);
  color: var(--copper);
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}
.about__text p {
  margin-top: 1.1rem;
  max-width: 36rem;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

/* ---------- FAQ ---------- */

.faq {
  margin-top: 2.5rem;
  max-width: 46rem;
  border-bottom: 1px solid var(--line);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  position: relative;
  display: block;
  padding: 1.25rem 3rem 1.25rem 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 1rem;
  height: 2px;
  margin-top: -1px;
  background: var(--copper);
  transition: transform 300ms var(--ease);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq summary:focus-visible {
  outline-offset: -2px;
}
.faq__a {
  padding: 0 3rem 1.5rem 0;
  color: var(--ink-2);
}
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__a {
    animation: rise 300ms var(--ease) both;
  }
}

/* ---------- Formulaire ---------- */

.form-wrap {
  display: grid;
  gap: 2.5rem;
}
.form {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
}
.form-row {
  display: grid;
  gap: 1.25rem;
}
.field {
  display: grid;
  gap: 0.45rem;
}
.field label {
  font-weight: 500;
  font-size: 0.95rem;
}
.field .opt {
  color: var(--ink-2);
  font-weight: 400;
}
.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(241, 233, 221, 0.35);
  border-radius: 0.375rem;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
}
.field input:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
  border-color: var(--copper);
}
.consent {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.95rem;
}
.consent input {
  width: 1.375rem;
  height: 1.375rem;
  margin: 0.15rem 0 0;
  accent-color: var(--copper);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form .btn {
  justify-self: start;
  width: 100%;
}
.form-status {
  min-height: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.form-status[data-state="error"] {
  color: #f0b4a0;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.contact-alt {
  max-width: 40rem;
  color: var(--ink-2);
}
.contact-alt a {
  white-space: nowrap;
}

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

.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
}
.footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer a {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--ink-2);
}
.footer a:hover {
  color: var(--ink);
}

/* ---------- Pages légales et courtes ---------- */

.prose {
  padding-block: clamp(3rem, 8vw, 5rem);
}
.prose .wrap {
  max-width: 46rem;
}
.prose h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}
.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}
.prose p {
  margin-top: 0.9rem;
  color: var(--ink-2);
}
.prose .updated {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.prose strong {
  color: var(--ink);
  font-weight: 500;
}

.center-page {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding-block: clamp(4rem, 12vw, 8rem);
}
.center-page .wrap {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}
.center-page h1 {
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  max-width: 20ch;
}
.center-page p {
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

/* ---------- Mouvement ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Séquence d'ouverture : titre, puis téléphone. Le balayage est piloté par main.js. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero__sub,
  .hero__cta {
    animation: rise 500ms var(--ease) both;
  }
  .hero__sub {
    animation-delay: 60ms;
  }
  .hero__cta {
    animation-delay: 120ms;
  }
  .stage {
    animation: rise 500ms var(--ease) 250ms both;
  }
}

/* Apparition sobre au scroll : une seule fois par section. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- Écrans larges ---------- */

@media (min-width: 40rem) {
  .form .btn {
    width: auto;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer .wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 56rem) {
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
  .hero__cta {
    margin-top: 2.25rem;
  }
  .phone {
    width: 20rem;
  }
  .stage__caption {
    max-width: 20rem;
  }
  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  .demos {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .demo .phone {
    width: 16rem;
  }
  .photo {
    width: min(100%, 20rem);
  }
  .about {
    grid-template-columns: 20rem 1fr;
    gap: 4rem;
  }
  .step {
    grid-template-columns: 5rem 1fr;
  }
  .step::before {
    font-size: 3.5rem;
  }
}

@media (max-width: 24rem) {
  .logo {
    font-size: 1.1rem;
  }
  .header-link {
    font-size: 0.8rem;
    white-space: normal;
    text-align: right;
    line-height: 1.3;
  }
  .tab {
    padding-inline: 0.8rem;
  }
}
