/* ARTIZZ · le site vitrine
   Téléphone d'abord : tout est écrit pour 390 px, puis élargi.
   Les couleurs sont celles du logo (noir, blanc, jaune), mesurées dessus.
   Pas de dégradé, pas de quadrillage : des aplats, un anneau jaune (celui
   du logo) et du mouvement. */

@font-face {
  font-family: "Archivo";
  src: url("/polices/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --noir: #000;
  --encre: #0b0b0c;
  --texte-2: #45474c;
  --texte-3: #6a6c71;
  --filet: #e5e2da;
  --papier: #fff;
  --sable: #f5f3ee;
  --jaune: #fdca1e;
  --jaune-vif: #fed212;
  --blanc: #f2f2f2;
  --gris-clair: #b9b9bb;
  --conteneur: 1200px;
  --gouttiere: 20px;
  --entete: 64px;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ombre-objet: 0 40px 70px -34px rgba(0, 0, 0, 0.5), 0 16px 32px -20px rgba(0, 0, 0, 0.32);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 16px);
  background: var(--noir);
}

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.section :focus-visible,
.faq :focus-visible {
  outline-color: var(--encre);
}

.evitement {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--jaune);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.evitement:focus {
  top: 12px;
}

.conteneur {
  width: 100%;
  max-width: var(--conteneur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.conteneur-etroit {
  max-width: 820px;
}

.jaune {
  color: var(--jaune);
}

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

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--noir);
  color: var(--blanc);
  padding-top: env(safe-area-inset-top);
}

.entete-interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--entete);
  max-width: var(--conteneur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.entete-marque {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 4px 4px 4px 0;
}

.entete-marque img {
  width: 44px;
  height: auto;
}

.entete-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.entete-demo {
  display: none;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--blanc);
  border-radius: 10px;
}

.entete-demo:hover {
  color: var(--jaune);
}

.progression {
  height: 2px;
  background: transparent;
}

.progression span {
  display: block;
  height: 100%;
  background: var(--jaune);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ── Boutons ─────────────────────────────────────────────────────────── */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s,
    box-shadow 0.25s,
    color 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.bouton:active {
  transform: translateY(1px) scale(0.99);
}

.bouton-petit {
  min-height: 42px;
  padding: 0 14px;
  font-size: 15px;
  border-radius: 10px;
}

.bouton-jaune {
  background: var(--jaune);
  color: #000;
}

.bouton-jaune:hover {
  background: var(--jaune-vif);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(253, 202, 30, 0.75);
}

.bouton-contour-clair {
  color: var(--blanc);
  box-shadow: inset 0 0 0 1.5px rgba(242, 242, 242, 0.38);
}

.bouton-contour-clair:hover {
  box-shadow: inset 0 0 0 1.5px var(--blanc);
  transform: translateY(-2px);
}

.bouton-contour {
  color: var(--encre);
  box-shadow: inset 0 0 0 1.5px var(--encre);
}

.bouton-contour:hover {
  background: var(--encre);
  color: var(--papier);
  transform: translateY(-2px);
}

.fleche {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.bouton:hover .fleche {
  transform: translateX(3px);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.actions .bouton {
  width: 100%;
}

/* ── Accroche ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
  padding: 30px var(--gouttiere) 0;
}

.hero-grille {
  max-width: var(--conteneur);
  margin: 0 auto;
}

.hero-texte {
  text-align: center;
}

.hero-logo {
  width: 168px;
  margin: 0 auto 26px;
}

.hero-logo svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.surtitre {
  font-size: 13px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jaune);
}

.surtitre-sombre {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--encre);
}

.surtitre-sombre::before {
  content: "";
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--jaune);
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(38px, 10.6vw, 80px);
  line-height: 1.02;
}

.hero-phrase {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.55;
  color: #d4d4d6;
}

.note-demo {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gris-clair);
}

.hero-visuel {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: 44px;
  height: min(118vw, 540px);
}

.hero-visuel .telephone {
  position: relative;
  z-index: 1;
  align-self: start;
}

.anneau {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.anneau circle {
  fill: none;
  stroke: var(--jaune);
  stroke-width: 0.55;
  stroke-dasharray: 308;
  stroke-dashoffset: 0;
}

.anneau-hero {
  top: 70px;
  width: min(96vw, 560px);
  aspect-ratio: 1;
}

.anneau-hero circle {
  stroke-width: 0.42;
}

.carte-flottante {
  display: none;
}

/* Les entrées de l'accroche : du CSS seul, elles jouent même sans script. */
@keyframes monte {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

@keyframes monte-telephone {
  from {
    opacity: 0;
    transform: translateY(120px);
  }
}

@keyframes trace-anneau {
  from {
    stroke-dashoffset: 308;
  }
}

.hero-texte > :not(.hero-logo) {
  animation: monte 0.9s var(--ease) both;
}

.hero-texte > .surtitre {
  animation-delay: 0.55s;
}

.hero-texte > h1 {
  animation-delay: 0.68s;
}

.hero-texte > .hero-phrase {
  animation-delay: 0.82s;
}

.hero-texte > .actions {
  animation-delay: 0.95s;
}

.hero-texte > .note-demo {
  animation-delay: 1.05s;
}

.telephone-hero {
  animation: monte-telephone 1.2s var(--ease) 0.75s both;
}

.anneau-hero circle {
  animation: trace-anneau 1.8s cubic-bezier(0.65, 0, 0.25, 1) 0.9s both;
}

/* Le logo se monte : l'anneau se trace, le A s'assemble, le trait passe, le nom arrive. */
@keyframes logo-gauche {
  from {
    opacity: 0;
    transform: translate(-200px, 150px);
  }
}

@keyframes logo-droite {
  from {
    opacity: 0;
    transform: translate(200px, 150px);
  }
}

@keyframes logo-trait {
  from {
    opacity: 0;
    transform: translate(-420px, 250px);
  }
}

@keyframes logo-mot {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
}

/* 3720 : la longueur du cercle qui révèle l'anneau (rayon 591,5 dans le dessin). */
@keyframes logo-anneau {
  from {
    stroke-dashoffset: 3720;
  }
}

.hero-logo #a-blanc {
  animation: logo-gauche 0.8s var(--ease) 0.15s both;
}

.hero-logo #a-jaune {
  animation: logo-droite 0.8s var(--ease) 0.25s both;
}

.hero-logo #a-trait {
  animation: logo-trait 0.75s cubic-bezier(0.2, 0.9, 0.25, 1) 0.5s both;
}

.hero-logo #mot-g {
  animation: logo-mot 0.8s var(--ease) 0.6s both;
}

.hero-logo .trace-anneau {
  animation: logo-anneau 1.3s cubic-bezier(0.65, 0, 0.25, 1) 0.05s both;
}

/* ── Le téléphone : une capture de l'app, dans un cadre ──────────────── */

.telephone {
  position: relative;
  width: min(76vw, 310px);
  margin: 0;
  padding: 9px;
  border-radius: 50px;
  background: #121213;
  box-shadow:
    inset 0 0 0 1px #2e2e31,
    inset 0 0 0 3px #050505,
    var(--ombre-objet);
}

.telephone-ecran {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 41px;
  background: #f3f0e8;
  isolation: isolate;
  transform: translateZ(0);
}

.telephone-contenu {
  width: 100%;
  height: auto;
  will-change: transform;
}

.telephone-barre {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 2;
}

.hero .telephone {
  background: #1a1a1c;
  box-shadow:
    inset 0 0 0 1px #3a3a3e,
    inset 0 0 0 3px #000,
    0 0 0 1px #000;
}

/* ── Une capture détaillée, dans une carte ───────────────────────────── */

.capture {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f3f0e8;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    var(--ombre-objet);
}

.capture img {
  width: 100%;
  height: auto;
}

/* ── Sections ────────────────────────────────────────────────────────── */

.section {
  padding: 80px 0;
  background: var(--papier);
}

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

.section h2 {
  margin-top: 14px;
  font-size: clamp(32px, 8.4vw, 58px);
}

.intro {
  max-width: 680px;
  margin-top: 18px;
  font-size: 18px;
  color: var(--texte-2);
}

/* Le problème */
.problemes {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.problemes li {
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: var(--papier);
  box-shadow: 0 0 0 1px var(--filet);
}

.icone {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--noir);
  fill: none;
  stroke: var(--jaune);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problemes h3 {
  margin-top: 16px;
  font-size: 21px;
  line-height: 1.15;
}

.problemes p {
  margin-top: 8px;
  color: var(--texte-2);
}

.pont {
  margin-top: 40px;
  font-size: clamp(24px, 6.4vw, 40px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

/* Un trait jaune sous les mots, dessiné derrière le texte (pas un dégradé). */
.surligne {
  text-decoration-line: underline;
  text-decoration-color: var(--jaune);
  text-decoration-thickness: 0.3em;
  text-underline-offset: -0.16em;
  text-decoration-skip-ink: none;
}

/* Les fonctionnalités */
.fonctions {
  padding-bottom: 0;
}

.entete-section {
  padding-bottom: 8px;
}

.fonction {
  display: grid;
  gap: 40px;
  max-width: var(--conteneur);
  margin: 0 auto;
  padding: 64px var(--gouttiere);
  border-top: 1px solid var(--filet);
}

.entete-section + .fonction {
  margin-top: 40px;
}

.numero {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--noir);
  color: var(--jaune);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.fonction h3 {
  margin-top: 18px;
  font-size: clamp(28px, 7.4vw, 44px);
}

.fonction-texte > p:not(.numero) {
  margin-top: 16px;
  font-size: 18px;
  color: var(--texte-2);
}

.points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  position: relative;
  padding-left: 34px;
  font-weight: 500;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--jaune);
}

.points li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(-45deg);
}

.texte-centre {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.texte-centre .numero {
  margin: 0 auto;
}

.fonction-visuel {
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px 0;
}

.fonction-visuel .anneau {
  width: min(94vw, 520px);
  aspect-ratio: 1;
}

.visuel-carte .capture {
  width: min(100%, 420px);
}

.capture-large {
  width: min(100%, 440px) !important;
}

.capture-ecran {
  width: min(84vw, 360px) !important;
}

/* Le devis : le téléphone du client, puis la fiche de l'artisan, posée
   sous le téléphone. Elle ne recouvre jamais le cadre de signature. */
.visuel-devis {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visuel-devis .telephone {
  z-index: 1;
}

.carte-devis {
  z-index: 3;
  width: min(86vw, 340px);
  margin-top: -40px;
  border-radius: 18px !important;
}

/* Les trois écrans du travail */
.fonction-trio {
  gap: 30px;
}

.trio {
  display: flex;
  gap: 18px;
  margin: 0 calc(var(--gouttiere) * -1);
  padding: 30px var(--gouttiere) 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.trio::-webkit-scrollbar {
  display: none;
}

.trio-element {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}

.trio-element .telephone {
  width: min(70vw, 300px);
}

.trio-element figcaption {
  margin-top: 18px;
  text-align: center;
  font-weight: 700;
  font-stretch: 108%;
}

.glisser {
  margin-top: -18px;
  text-align: center;
  font-size: 14px;
  color: var(--texte-3);
}

/* Emma et John */
.duo-agents {
  display: grid;
  place-items: center;
}

.capture-agents {
  width: min(100%, 430px);
}

.duo {
  display: grid;
  gap: 48px;
  margin-top: 8px;
}

.duo-colonne h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
}

.pastille {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--jaune);
  flex: none;
}

.duo-colonne > p {
  margin-top: 12px;
  font-size: 18px;
  color: var(--texte-2);
}

.duo-colonne .capture {
  margin-top: 24px;
}

/* Comment ça marche */
.etapes-grille {
  display: grid;
  gap: 48px;
}

.etapes {
  display: grid;
  gap: 26px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.etapes li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.etape-numero {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--jaune);
  font-size: 22px;
  font-weight: 800;
  font-stretch: 115%;
}

.etapes h3 {
  margin-top: 4px;
  font-size: 23px;
  line-height: 1.15;
}

.etapes p {
  margin-top: 8px;
  color: var(--texte-2);
}

.etapes-visuel {
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px 0;
}

.etapes-visuel .anneau {
  width: min(94vw, 500px);
  aspect-ratio: 1;
}

.capture-inscription {
  width: min(78vw, 340px);
  background: #f3f4f6;
}

/* Questions */
.faq {
  margin-top: 30px;
  border-top: 1px solid var(--filet);
}

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

.faq summary {
  position: relative;
  display: block;
  padding: 22px 52px 22px 0;
  font-size: 19px;
  font-weight: 700;
  font-stretch: 106%;
  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: 12px;
  top: 50%;
  width: 18px;
  height: 2.5px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--encre);
  transition: transform 0.3s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq summary:hover {
  color: #000;
}

.faq details p {
  padding: 0 40px 24px 0;
  font-size: 17px;
  color: var(--texte-2);
}

.faq details[open] p {
  animation: monte 0.45s var(--ease) both;
}

/* L'appel final */
.cta-final {
  background: var(--noir);
  color: var(--blanc);
  padding: 90px 0 84px;
  text-align: center;
}

.cta-interieur {
  display: grid;
  justify-items: center;
}

.cta-a {
  width: 96px;
  height: auto;
}

.cta-final h2 {
  margin-top: 30px;
  font-size: clamp(36px, 9.6vw, 72px);
}

.cta-final p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 18px;
  color: #d4d4d6;
}

.actions-centre {
  width: 100%;
  max-width: 520px;
}

/* Pied de page */
.pied {
  background: var(--noir);
  color: var(--gris-clair);
  padding: 34px 0 calc(34px + env(safe-area-inset-bottom));
  border-top: 1px solid #1d1d1f;
  font-size: 15px;
}

.pied-grille {
  display: grid;
  gap: 22px;
}

.pied-marque {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pied-marque img {
  width: 40px;
  height: auto;
}

.pied-nom {
  color: var(--blanc);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 18px;
}

.pied-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.pied-liens a,
.pied-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--blanc);
  text-decoration: none;
  text-underline-offset: 4px;
}

.pied-liens a:hover,
.pied-contact a:hover {
  color: var(--jaune);
  text-decoration: underline;
}

.pied-contact a {
  word-break: break-all;
}

.pied-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #1d1d1f;
  font-size: 13px;
  color: #8c8c90;
}

/* ── Apparitions au défilement (seulement si le script tourne) ───────── */

.js .revele {
  opacity: 0;
  transform: translateY(28px);
}

.js .revele.visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--delai, 0s);
}

.js .fonction-visuel .telephone,
.js .fonction-visuel .capture,
.js .trio .telephone,
.js .etapes-visuel .capture,
.js .duo .capture,
.js .duo-agents .capture {
  opacity: 0;
  transform: translateY(70px) rotate(-1.5deg);
}

.js .fonction-visuel .carte-devis {
  transform: translateY(70px) rotate(2deg);
}

.js .visible.telephone,
.js .visible.capture {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: var(--delai, 0s);
}



.js .anneau:not(.anneau-hero) circle {
  stroke-dashoffset: 308;
}

.js .anneau.visible:not(.anneau-hero) circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.25, 1) 0.15s;
}

/* ── Tablette ────────────────────────────────────────────────────────── */

@media (min-width: 560px) {
  .actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .actions .bouton {
    width: auto;
  }

  .problemes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 420px) {
  .entete-demo {
    display: inline-flex;
  }
}

/* ── Ordinateur ──────────────────────────────────────────────────────── */

@media (min-width: 1024px) {
  :root {
    --gouttiere: 32px;
    --entete: 72px;
  }

  body {
    font-size: 18px;
  }

  .bouton-petit {
    padding: 0 18px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grille {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
    gap: 40px;
  }

  .hero-texte {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 80px;
  }

  .hero-logo {
    width: 150px;
    margin: 0 0 30px;
  }

  .hero-phrase {
    margin-left: 0;
    font-size: 20px;
  }

  .hero-texte .actions {
    justify-content: flex-start;
  }

  .hero-visuel {
    margin-top: 0;
    height: 680px;
  }

  .hero-visuel .telephone {
    width: 340px;
  }

  .anneau-hero {
    top: 40px;
    width: 600px;
  }

  .carte-flottante {
    display: block;
    position: absolute !important;
    z-index: 3;
    top: 430px;
    left: 0;
    width: 300px;
    border-radius: 18px !important;
    animation: monte 1s var(--ease) 1.5s both;
  }

  .section {
    padding: 120px 0;
  }

  .problemes {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 48px;
  }

  .pont {
    margin-top: 56px;
    max-width: 900px;
  }

  .fonction {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 110px var(--gouttiere);
  }

  .fonction.inverse .fonction-texte {
    order: 2;
  }

  .fonction-texte {
    max-width: 520px;
  }

  .fonction.inverse .fonction-texte {
    justify-self: end;
  }

  .fonction-visuel .telephone {
    width: 330px;
  }

  .carte-devis {
    width: 320px;
    transform: translateX(-90px);
  }

  .js .fonction-visuel .carte-devis {
    transform: translate(-90px, 70px) rotate(2deg);
  }

  .js .fonction-visuel .carte-devis.visible {
    transform: translateX(-90px);
  }

  .fonction-trio,
  .fonction-duo {
    grid-template-columns: 1fr;
  }

  .fonction-trio .fonction-texte,
  .fonction-duo .fonction-texte {
    max-width: 760px;
    justify-self: center;
  }

  .trio {
    justify-content: center;
    gap: 36px;
    margin: 0;
    overflow: visible;
  }

  .trio-element:nth-child(2) {
    transform: translateY(48px);
  }

  .glisser {
    display: none;
  }

  .duo {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 40px;
  }

  .etapes-grille {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
  }

  .etapes-texte .actions {
    justify-content: flex-start;
  }

  .faq summary {
    font-size: 21px;
  }

  .cta-final {
    padding: 130px 0 120px;
  }

  .pied-grille {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
  }

  .pied-liens {
    justify-content: center;
  }
}

/* ── Mouvement réduit : tout est là, rien ne bouge ───────────────────── */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .revele,
  .js .fonction-visuel .telephone,
  .js .fonction-visuel .capture,
  .js .trio .telephone,
  .js .etapes-visuel .capture,
  .js .duo .capture,
  .js .duo-agents .capture {
    opacity: 1;
    transform: none;
  }


  .js .anneau:not(.anneau-hero) circle {
    stroke-dashoffset: 0;
  }
}

/* ── La page introuvable ─────────────────────────────────────────────── */

.page-introuvable {
  background: var(--noir);
  color: var(--blanc);
}

.introuvable {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px var(--gouttiere);
  text-align: center;
}

.introuvable h1 {
  margin-top: 12px;
  font-size: clamp(30px, 8vw, 48px);
}

.introuvable p {
  max-width: 420px;
  color: #d4d4d6;
}

.introuvable .bouton {
  margin-top: 10px;
}
