/* S-LAB · charte « Signal » : encre, orange signal, Sora / DM Sans / JetBrains Mono.
   Mobile d'abord ; la mise en page « ordinateur » commence à 1000 px. */

@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0c0e11;
  --ink-2: #111418;
  --panel: #15181d;
  --line: #23272e;
  --line-2: #2a2e36;
  --line-3: #3a3f48;
  --orange: #ff5a1f;
  --orange-hover: #ff8a5c;
  --white: #ffffff;
  --text: #f4f4f5;
  --text-2: #d4d4d8;
  --text-3: #c4c4cc;
  --muted: #a1a1aa;
  --muted-2: #8b8b94;
  --font-title: "Sora", system-ui, sans-serif;
  --font-text: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* Marge latérale : 20 à 72 px, puis le contenu reste centré au-delà de 1440 px. */
  --pad-x: max(clamp(20px, 5vw, 72px), calc((100% - 1296px) / 2));
  --section-gap: clamp(72px, 9vw, 130px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
html:has(dialog[open]) {
  overflow: hidden;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Grain discret sur le fond */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
main,
.site-header,
.site-footer {
  position: relative;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ol {
  margin: 0;
}
a {
  color: var(--orange);
}
a:hover {
  color: var(--orange-hover);
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--orange);
  color: var(--ink-2);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--ink-2);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

.wrap-x {
  padding-inline: var(--pad-x);
}
.dot,
.hero-words b,
.logo-underscore {
  color: var(--orange);
}
.wide-only {
  display: none;
}
@media (min-width: 1000px) {
  .wide-only {
    display: inline;
  }
  .narrow-only {
    display: none;
  }
}

/* --- Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  min-height: 56px;
  padding: 0 26px;
  font-size: 17px;
}
.btn-primary {
  background: var(--orange);
  color: var(--ink-2);
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--ink-2);
}
.btn-ghost {
  border: 1px solid var(--line-3);
  color: var(--white);
  font-weight: 500;
}
.btn-ghost:hover {
  border-color: var(--text-3);
  color: var(--white);
}
.btn-dark {
  background: var(--ink-2);
  color: var(--white);
}
.btn-dark:hover {
  background: #262a31;
  color: var(--white);
}
.btn-outline-dark {
  border: 2px solid var(--ink-2);
  color: var(--ink-2);
}
.btn-outline-dark:hover {
  background: var(--ink-2);
  color: var(--white);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.icon-btn--call {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink-2);
}
.icon-btn--call:hover {
  color: var(--ink-2);
}

/* --- En-tête ---------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo:hover {
  color: var(--white);
}
.logo-cursor {
  display: inline-block;
  width: 0.42em;
  height: 0.9em;
  background: var(--orange);
  animation: blink 1.1s steps(1) infinite;
}
.logo--small {
  font-size: 18px;
}

.site-header {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
}
.nav {
  display: none;
}
.header-actions {
  display: flex;
  gap: 10px;
}

.menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 14px 20px 32px;
  border: 0;
  background: var(--ink);
  color: var(--text);
  flex-direction: column;
  gap: 28px;
}
.menu[open] {
  display: flex;
}
.menu::backdrop {
  background: var(--ink);
}
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-2);
}
.menu-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 600;
  text-decoration: none;
}
.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

@media (min-width: 1000px) {
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px var(--pad-x);
  }
  .logo {
    font-size: 26px;
    gap: 4px;
  }
  .logo--small {
    font-size: 18px;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 8px 28px;
  }
  .nav a:not(.btn) {
    color: var(--text-2);
    text-decoration: none;
  }
  .nav a:not(.btn):hover {
    color: var(--white);
  }
  .nav .btn {
    min-height: 44px;
    border-radius: 10px;
  }
  .header-actions {
    display: none;
  }
}

/* --- Vidéo d'ouverture -------------------------------------------------------- */
.hero {
  overflow: hidden;
}
.hero-media {
  position: relative;
  height: clamp(300px, 81vw, 520px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  left: 30px;
  top: -60px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.28) 0%, rgba(255, 90, 31, 0.07) 42%, rgba(255, 90, 31, 0) 68%);
}
.slide {
  position: absolute;
  left: 20px;
  top: 26px;
  width: clamp(560px, 130vw, 900px);
  opacity: 0;
  animation: show 16s linear infinite both;
}
.slide img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform-origin: left center;
  animation: pan 16s ease-out infinite both;
}
.slide:nth-child(2),
.slide:nth-child(2) img {
  animation-delay: 4s;
}
.slide:nth-child(3),
.slide:nth-child(3) img {
  animation-delay: 8s;
}
.slide:nth-child(4),
.slide:nth-child(4) img {
  animation-delay: 12s;
}
.hero-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(0deg, var(--ink) 12%, rgba(12, 14, 17, 0.85) 45%, rgba(12, 14, 17, 0) 100%);
}
.hero-words {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 1.1em;
  font-family: var(--font-mono);
  font-size: clamp(44px, 12vw, 80px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--white);
}
.hero-words span {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  animation: word 16s ease infinite both;
  animation-delay: 0.2s;
}
.hero-words span:nth-child(2) {
  animation-delay: 4.2s;
}
.hero-words span:nth-child(3) {
  animation-delay: 8.2s;
}
.hero-words span:nth-child(4) {
  animation-delay: 12.2s;
}
.hero-words b {
  font-weight: inherit;
}
.hero-progress {
  height: 3px;
  margin: 6px 20px 0;
  border-radius: 3px;
  background: var(--line-2);
  overflow: hidden;
}
.hero-progress span {
  display: block;
  height: 100%;
  background: var(--orange);
  transform-origin: left;
  animation: bar 16s linear infinite;
}
.hero.is-paused *,
.hero.is-paused {
  animation-play-state: paused !important;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px 24px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(29px, 7.4vw, 48px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
}
.lead {
  font-size: 16px;
  color: var(--text-3);
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.hero-ctas .btn-ghost {
  border-color: transparent;
}

@media (min-width: 700px) and (max-width: 999px) {
  .hero-media {
    height: clamp(300px, 58vw, 480px);
  }
  .hero-text {
    padding-inline: 40px;
  }
  .hero-progress {
    margin-inline: 40px;
  }
  .hero-words {
    left: 40px;
  }
  .lead {
    font-size: 18px;
  }
  .hero-ctas {
    flex-direction: row;
    gap: 14px;
  }
  .hero-ctas .btn-ghost {
    border-color: var(--line-3);
  }
}

@media (min-width: 1000px) {
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: clamp(720px, 100svh, 960px);
  }
  .hero-media {
    position: absolute;
    inset: 0;
    height: auto;
  }
  .hero-glow {
    left: auto;
    right: -6%;
    top: -4%;
    width: 1100px;
    height: 1100px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.24) 0%, rgba(255, 90, 31, 0.06) 40%, rgba(255, 90, 31, 0) 66%);
  }
  /* L'image suit la colonne de texte, même sur très grand écran */
  .slide {
    left: max(38%, calc(var(--pad-x) + 475px));
    top: 13%;
    width: min(58%, 960px);
  }
  .slide img {
    border-radius: 16px;
    box-shadow: 0 60px 140px rgba(0, 0, 0, 0.65);
    transform-origin: 50% 50%;
    animation-name: cam;
  }
  .hero-shade {
    top: 0;
    height: auto;
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(12, 14, 17, 0) 260px),
      linear-gradient(90deg, var(--ink) 0%, rgba(12, 14, 17, 0.96) 40%, rgba(12, 14, 17, 0.72) 52%, rgba(12, 14, 17, 0.15) 70%, rgba(12, 14, 17, 0) 100%);
  }
  .hero-words {
    left: auto;
    right: var(--pad-x);
    bottom: 70px;
    width: 620px;
    font-size: clamp(64px, 6.7vw, 96px);
  }
  .hero-words span {
    left: auto;
    right: 0;
  }
  .hero-progress {
    position: absolute;
    left: var(--pad-x);
    right: var(--pad-x);
    bottom: 36px;
    margin: 0;
  }
  .hero-text {
    position: relative;
    flex-grow: 1;
    justify-content: center;
    gap: 26px;
    padding: 120px var(--pad-x) 140px;
  }
  .hero-text > * {
    max-width: 700px;
  }
  .hero-text > .lead {
    max-width: 560px;
  }
  .kicker {
    font-size: 14px;
  }
  .hero h1 {
    text-shadow: 0 2px 28px rgba(12, 14, 17, 0.7);
    font-size: clamp(40px, 4.4vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }
  .lead {
    font-size: clamp(18px, 1.5vw, 21px);
  }
  .hero-ctas {
    flex-direction: row;
    gap: 14px;
    margin-top: 0;
  }
  .hero-ctas .btn {
    font-size: 18px;
  }
  .hero-ctas .btn-ghost {
    border-color: var(--line-3);
  }
}

/* --- La preuve par l'exemple ----------------------------------------------------- */
.proof {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 16px 0;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
}
.proof h2 {
  margin-top: 0;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}
.proof-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proof-text > p:last-child {
  font-size: 15px;
  color: var(--text-3);
}
.log {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-2);
}
.log b {
  font-weight: 400;
  color: var(--orange);
}
.log-cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.2em;
  margin-left: 4px;
  vertical-align: -0.2em;
  background: var(--orange);
  animation: blink 1s steps(1) infinite;
}
.js .proof .log p {
  opacity: 0;
}
.js .proof.is-visible .log p {
  animation: fadeUp 0.5s ease both;
}
.js .proof.is-visible .log p:nth-child(2) {
  animation-delay: 0.4s;
}
.js .proof.is-visible .log p:nth-child(3) {
  animation-delay: 0.8s;
}
.js .proof.is-visible .log p:nth-child(4) {
  animation-delay: 1.2s;
}
.js .proof.is-visible .log p:nth-child(5) {
  animation-delay: 1.6s;
}

@media (min-width: 700px) {
  .proof {
    margin: 40px var(--pad-x) 0;
    padding: clamp(28px, 4vw, 56px);
  }
}
@media (min-width: 1000px) {
  .proof {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    margin-top: 40px;
    border-radius: 24px;
  }
  .proof-text {
    flex: 1 1 400px;
    gap: 16px;
  }
  .eyebrow {
    font-size: 14px;
  }
  .proof h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
  }
  .proof-text > p:last-child {
    font-size: 17px;
  }
  .log {
    flex: 1 1 480px;
    gap: 0;
    margin: 0;
    padding: 26px 28px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 2.05;
  }
}

/* --- Sections ------------------------------------------------------------------- */
.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: var(--section-gap);
  scroll-margin-top: 8px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(34px, 8.6vw, 60px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
}
.section-note {
  font-size: 15px;
  color: var(--muted);
}
@media (min-width: 1000px) {
  .section {
    gap: 36px;
  }
  .section-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 40px;
  }
  .section-title {
    font-size: clamp(36px, 4.2vw, 60px);
  }
  .section-note {
    max-width: 460px;
    font-size: 16px;
  }
}

/* --- Offres ------------------------------------------------------------------------ */
.offers {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-2);
}
.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "verb price"
    "title title"
    "desc desc";
  align-items: baseline;
  gap: 6px 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--white);
  text-decoration: none;
}
.offer:hover {
  color: var(--white);
}
.offer-verb {
  grid-area: verb;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--orange);
}
.offer-title {
  grid-area: title;
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 600;
  transition: color 0.15s;
}
.offer:hover .offer-title {
  color: var(--orange);
}
.offer-desc {
  grid-area: desc;
  font-size: 15px;
  color: var(--muted);
}
.offer-price {
  grid-area: price;
  justify-self: end;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
@media (min-width: 700px) {
  .offer {
    grid-template-columns: 150px minmax(0, 1fr) 120px;
    grid-template-areas:
      "verb title price"
      ". desc .";
    column-gap: 28px;
    padding: 26px 0;
  }
  .offer-title {
    font-size: clamp(22px, 2.4vw, 34px);
  }
  .offer-price {
    font-size: 20px;
  }
}
@media (min-width: 1000px) {
  .offer {
    grid-template-columns: 150px minmax(0, 1.15fr) minmax(0, 1fr) 140px;
    grid-template-areas: "verb title desc price";
    column-gap: 32px;
    padding: 30px 0;
  }
  .offer-title {
    font-size: clamp(24px, 2.1vw, 30px);
  }
  .offer-verb {
    font-size: 16px;
  }
  .offer-desc {
    font-size: 17px;
  }
  .offer-price {
    font-size: 22px;
  }
}

/* --- Réalisations --------------------------------------------------------------------- */
#realisations {
  gap: 18px;
}
.tabs {
  display: none;
}
.js .tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.js .tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  color: #e4e4e7;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.tab:hover {
  border-color: var(--line-3);
}
.tab[aria-selected="true"] {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink-2);
}
.tab-count {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.75;
}
.panels {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.js .panels {
  gap: 0;
}
.panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel[hidden] {
  display: none;
}
.cards:focus-visible {
  outline-offset: -3px;
}
.panel-title {
  padding-inline: var(--pad-x);
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--white);
}
.js .panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.panel-intro {
  padding-inline: var(--pad-x);
  font-size: 15px;
  color: var(--text-3);
}
.cards {
  display: flex;
  gap: 14px;
  padding: 4px var(--pad-x) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad-x);
  scrollbar-width: thin;
  scrollbar-color: var(--line-3) transparent;
}
.card {
  flex: 0 0 min(290px, 78vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  scroll-snap-align: start;
}
.panel:not([hidden]) .card {
  animation: fadeUp 0.4s ease both;
}
.card:nth-child(2) {
  animation-delay: 0.08s;
}
.card:nth-child(3) {
  animation-delay: 0.16s;
}
.card:nth-child(4) {
  animation-delay: 0.24s;
}
.card:nth-child(5) {
  animation-delay: 0.32s;
}
.card-media {
  margin-bottom: 4px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.card--phone .card-media {
  display: flex;
  justify-content: center;
}
.card--phone .card-media img {
  width: 48%;
  height: auto;
  margin-top: 12px;
  border: 4px solid var(--line-2);
  border-radius: 16px;
  object-fit: initial;
}
.card-who {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}
.card-title {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}
.card-text {
  font-size: 14px;
  color: var(--muted);
}
.swipe-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
}
.swipe-hint::after {
  content: " \2192";
}

@media (min-width: 700px) {
  #realisations {
    gap: 32px;
  }
  .js .tabs {
    flex-wrap: wrap;
    gap: 10px;
  }
  .tab {
    min-height: 48px;
    padding: 0 18px;
    font-size: 16px;
  }
  .tab-count {
    font-size: 13px;
  }
  .panel {
    gap: 24px;
  }
  .panel-intro {
    font-size: 18px;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding-block: 0;
    overflow: visible;
  }
  .card {
    gap: 6px;
    padding: 18px;
    border-radius: 20px;
  }
  .card-media {
    margin-bottom: 10px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }
  .card--phone .card-media img {
    width: 46%;
    margin-top: 18px;
    border-width: 5px;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }
  .card-who {
    font-size: 13px;
  }
  .card-title {
    font-size: 22px;
  }
  .card-text {
    font-size: 16px;
  }
  .swipe-hint {
    display: none;
  }
}

/* --- Méthode ---------------------------------------------------------------------------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  gap: 16px;
  padding-top: 18px;
  border-top: 2px solid var(--line-3);
}
.step:first-child {
  border-top-color: var(--orange);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}
.step div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step h3 {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
}
.step p {
  font-size: 15px;
  color: var(--muted);
}
@media (min-width: 900px) {
  .steps {
    flex-direction: row;
    gap: 24px;
  }
  .step {
    flex: 1 1 0;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
  }
  .step-num {
    font-size: 44px;
  }
  .step div {
    gap: 10px;
  }
  .step h3 {
    font-size: 22px;
  }
  .step p {
    font-size: 16px;
  }
}

/* --- Qui je suis ---------------------------------------------------------------------------- */
.about {
  gap: 18px;
}
.about h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
}
.about > * {
  max-width: 900px;
}
.about > p:last-child {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-3);
}

/* --- Contact ------------------------------------------------------------------------------- */
.contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: var(--section-gap) 16px 0;
  padding: 28px 20px;
  border-radius: 24px;
  background: var(--orange);
  color: var(--ink-2);
  scroll-margin-top: 16px;
}
.contact a:not(.btn) {
  color: var(--ink-2);
  font-weight: 700;
}
.contact :focus-visible {
  outline-color: var(--ink-2);
}
.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-title {
  font-family: var(--font-mono);
  font-size: clamp(46px, 12vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.contact-intro > p {
  font-size: 16px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-links .btn {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.optional {
  font-weight: 400;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink-2);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink-2);
  outline: none;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-note {
  font-size: 13px;
}
.form-topic {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(17, 20, 24, 0.1);
  font-size: 15px;
}
.form-status:empty {
  display: none;
}
.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ink-2);
  color: var(--white);
  font-weight: 700;
}
.form-status[data-state="pending"] {
  background: rgba(17, 20, 24, 0.12);
  color: var(--ink-2);
}

@media (min-width: 700px) {
  .contact {
    margin-inline: var(--pad-x);
    padding: clamp(32px, 5vw, 72px);
    border-radius: 28px;
  }
  .contact-intro > p {
    font-size: 19px;
  }
  .contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .form-row {
    flex-direction: row;
    gap: 14px;
  }
  .form-row .field {
    flex: 1 1 0;
  }
  .field {
    font-size: 15px;
  }
  .form-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
  }
  .form-note {
    flex: 1 1 220px;
  }
}
@media (min-width: 1000px) {
  .contact {
    flex-direction: row;
    gap: 48px;
  }
  .contact-intro,
  .contact-form {
    flex: 1 1 0;
  }
  .contact-title {
    font-size: clamp(56px, 5.6vw, 84px);
  }
  .contact-form {
    margin-top: 0;
    gap: 14px;
  }
}

/* --- Pied de page ------------------------------------------------------------------------ */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 20px 36px;
  color: var(--muted-2);
  font-size: 13px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-links a {
  color: var(--muted);
}
@media (min-width: 900px) {
  .site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding: 64px var(--pad-x) 40px;
    font-size: 14px;
  }
  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}

/* --- Pages de texte (mentions légales, confidentialité, messages) ------------------------- */
.page {
  max-width: calc(760px + 2 * var(--pad-x));
  padding: 40px var(--pad-x) 24px;
}
.page h1 {
  margin-bottom: 24px;
  font-family: var(--font-title);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
}
.page h2 {
  margin: 36px 0 10px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.page p,
.page ul,
.page dl {
  margin: 0 0 12px;
  color: var(--text-3);
  font-size: 16px;
}
.page ul {
  padding-left: 20px;
}
.page li + li {
  margin-top: 6px;
}
.page dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
}
.page dt {
  color: var(--muted);
}
.page dd {
  margin: 0;
}
.page .lead {
  font-size: 18px;
}
.page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 520px) {
  .page dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .page dd {
    margin-bottom: 10px;
  }
}
@media (min-width: 1000px) {
  .page {
    padding-top: 150px;
  }
}

/* --- Animations --------------------------------------------------------------------------- */
@keyframes show {
  0% { opacity: 0; }
  5% { opacity: 1; }
  24% { opacity: 1; }
  29% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes pan {
  0% { transform: perspective(1200px) rotateY(-12deg) translate3d(10px, 10px, 0) scale(1.04); }
  29%, 100% { transform: perspective(1200px) rotateY(-4deg) translate3d(-190px, -6px, 0) scale(1.12); }
}
@keyframes cam {
  0% { transform: perspective(1800px) rotateY(-16deg) rotateX(6deg) translate3d(60px, 30px, 0) scale(1.02); }
  29%, 100% { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg) translate3d(-30px, -10px, 0) scale(1.12); }
}
@keyframes word {
  0% { opacity: 0; transform: translateY(0.42em); }
  6% { opacity: 1; transform: none; }
  23% { opacity: 1; transform: none; }
  28% { opacity: 0; transform: translateY(-0.32em); }
  100% { opacity: 0; }
}
@keyframes bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes blink {
  50% { opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Sans animation : la première image et le premier mot restent affichés. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .slide:first-child,
  .hero-words span:first-child,
  .js .proof .log p {
    opacity: 1;
  }
  .slide img {
    transform: perspective(1800px) rotateY(-6deg) rotateX(2deg) scale(1.04);
  }
  .hero-progress {
    visibility: hidden;
  }
}
