/* ============================================================
   Orbane Web — feuille de styles
   Palette : sable / encre / terracotta
   ============================================================ */

/* ---------- 1. Jetons de design ---------- */
:root {
  --sand:        #dcd7cb;  /* fond de page                */
  --sand-deep:   #cbc5b7;  /* fond des visuels            */
  --cream:       #f6f3ec;  /* panneaux clairs             */
  --ink:         #171b2e;  /* encre / sections sombres    */
  --ink-soft:    #3d4152;  /* texte courant               */
  --stone:       #6f6a60;  /* libellés discrets           */
  --terracotta:  #b4693f;  /* accent sur fond clair       */
  --clay:        #d99a6f;  /* accent sur fond sombre      */

  --on-ink:      rgba(246, 243, 236, 0.72);
  --on-ink-dim:  rgba(246, 243, 236, 0.55);
  --hairline:    rgba(23, 27, 46, 0.12);
  --hairline-2:  rgba(23, 27, 46, 0.18);
  --hairline-on-ink: rgba(246, 243, 236, 0.18);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --shell:  1240px;
  --gutter: 40px;
  --header-h: 79px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Réinitialisation ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
a:hover { color: var(--terracotta); }

::selection { background: var(--terracotta); color: var(--cream); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--cream);
}

/* ---------- 3. Structure ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.shell--narrow { max-width: 900px; }

.section { padding: 104px 0; }
.section--cream { background: var(--cream); }
.section--ink    { background: var(--ink); color: var(--cream); }

/* ---------- 4. Typographie ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display--xl {
  font-size: clamp(42px, 5.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.display--lg {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; }

.accent { color: var(--terracotta); }
.section--ink .accent { color: var(--clay); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow--light { color: var(--on-ink-dim); }
.eyebrow--rule {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow--rule::before {
  content: "";
  width: 36px;
  height: 2px;
  flex: none;
  background: var(--terracotta);
}

.lead {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.lead--sm {
  max-width: 420px;
  font-size: 18px;
  line-height: 1.65;
}

/* ---------- 5. Éléments partagés ---------- */
/* Anneau de la marque : cercle ouvert incliné à 45° */
.ring {
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
  border: 3px solid var(--ink);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  transform: rotate(45deg);
}
.ring--sm { width: 30px; height: 30px; border-width: 3.5px; }
.ring--lg { width: 34px; height: 34px; border-width: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease),
              border-color 0.18s var(--ease),
              color 0.18s var(--ease),
              transform 0.18s var(--ease);
}
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--terracotta); color: var(--cream); }

.btn--ghost {
  border-color: rgba(23, 27, 46, 0.28);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; padding: 17px 28px; font-size: 16px; margin-top: 4px; }
.btn:active { transform: translateY(1px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ---------- 6. En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(220, 215, 203, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(23, 27, 46, 0.55); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand:hover { color: var(--ink); }
.brand__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__dot { color: var(--terracotta); }

.brand--footer .ring { border-color: var(--cream); border-top-color: var(--clay); }
.brand--footer .brand__name { font-size: 32px; }
.brand--footer .brand__dot { color: var(--clay); }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
}
.nav__link { color: var(--ink-soft); }
.nav__link.is-active { color: var(--terracotta); }
.nav__cta { color: var(--cream); }

/* Bouton hamburger — masqué sur grand écran */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(23, 27, 46, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 84px;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(23, 27, 46, 0.12) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(0deg,  rgba(23, 27, 46, 0.08) 0 1px, transparent 1px 13px);
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.85) 0%, transparent 62%);
          mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.85) 0%, transparent 62%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 8px;
  font-size: 15px;
  color: var(--stone);
}
.hero__visual {
  position: relative;
  min-width: 0;
}

/* Fenêtre de navigateur */
.browser {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(23, 27, 46, 0.6);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(246, 243, 236, 0.07);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.3);
}
.dot--on { background: var(--clay); }
.browser__url {
  margin-left: 14px;
  flex: 1;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(246, 243, 236, 0.08);
  font-size: 13px;
  color: var(--on-ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__screen {
  height: 420px;
  background: var(--ink);
}
/* Vide par défaut. Ces règles s'appliquent si vous ajoutez une capture. */
.browser__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carte « score » */
.score-card {
  position: absolute;
  left: -26px;
  bottom: -26px;
  padding: 20px 26px;
  border-radius: 12px;
  background: var(--cream);
  box-shadow: 0 20px 40px -24px rgba(23, 27, 46, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.score-card__info {
  position: absolute;
  top: 10px;
  right: 10px;
}
.score-card__value {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}
.score-card__label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.info-dot {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid var(--stone);
  border-radius: 50%;
  background: transparent;
  color: var(--stone);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.info-dot:hover,
.info-dot[aria-expanded="true"] {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.info-bubble {
  position: absolute;
  bottom: 26px;
  right: 0;
  width: 220px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 16px 32px -16px rgba(23, 27, 46, 0.5);
  z-index: 5;
}

/* ---------- 8. Bandeau ---------- */
.strip {
  background: var(--ink);
  color: var(--cream);
  padding: 22px 0;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 44px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
  text-align: center;
}
.strip__sep { color: var(--clay); }

/* ---------- 9. En-tête de section ---------- */
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 56px;
}
.section__head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 620px;
  margin-bottom: 60px;
}
.section__head-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}
.section__head-note {
  max-width: 340px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.section__head-note--small { font-size: 15px; color: var(--stone); }

/* ---------- 10. Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  padding: 32px;
  border-radius: var(--r-md);
  background: var(--cream);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover {
  box-shadow: 0 24px 48px -30px rgba(23, 27, 46, 0.45);
  transform: translateY(-3px);
}
.card--dark {
  background: var(--ink);
  color: var(--cream);
}
.card--dark:hover { box-shadow: 0 24px 48px -30px rgba(23, 27, 46, 0.55); }
.card--dark .ring { border-color: var(--cream); border-top-color: var(--clay); }
.card--dark .card__num { color: var(--clay); }
.card--dark .card__text { color: var(--on-ink); }
.card--dark .card__meta { color: rgba(246, 243, 236, 0.5); }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__num {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--terracotta);
}
.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
}
.card__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.card__meta {
  margin-top: auto;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- 11. Méthode ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline-2);
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 28px;
  border-right: 1px solid var(--hairline);
}
.step:last-child { border-right: 0; }
.step__num {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.step__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}
.step__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 12. Réalisations ---------- */
.work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
/* La dernière carte occupe la largeur entière, sous les deux autres. Son
   cadre est plus panoramique : à 1160 px de large, un 16/10 ferait 725 px
   de haut et mangerait tout l'écran. */
.work__item:last-child { grid-column: 1 / -1; }
.work__item:last-child .work__shot { aspect-ratio: 2 / 1; }
.work__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Le cadre garde toujours les mêmes proportions et suit la largeur de la
   colonne : quelle que soit la résolution, la capture n'est jamais étirée.
   « cover » recadre sans déformer, et « top » garde l'en-tête et le bandeau
   du site visibles — c'est ce qui identifie une réalisation. */
.work__shot {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand-deep);
}
/* <picture> est « inline » par défaut : sans cette règle, le height: 100%
   de l'image ne trouverait aucune hauteur de référence. */
.work__shot picture {
  display: block;
  width: 100%;
  height: 100%;
}
.work__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.work__item:hover .work__shot img { transform: scale(1.04); }
.work__caption {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.work__client {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}
.work__tag {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- 13. Tarifs ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px;
  border: 1px solid var(--hairline-on-ink);
  border-radius: var(--r-md);
}
.plan--featured {
  border-color: var(--clay);
  background: rgba(217, 154, 111, 0.08);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 38px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--clay);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.plan__kicker {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}
.plan__kicker--accent { color: var(--clay); }
.plan__price {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 4.4vw, 52px);
  line-height: 1;
}
.plan__rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(246, 243, 236, 0.15);
}
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  color: var(--on-ink);
}
.plans__note {
  margin-top: 32px;
  font-size: 15px;
  color: var(--on-ink-dim);
}

/* ---------- 14. FAQ ---------- */
.faq__title { margin-bottom: 44px; }
.faq { border-top: 1px solid var(--hairline-2); }
.faq__item { border-bottom: 1px solid var(--hairline-2); }
.faq__item h3 { font: inherit; margin: 0; }

.faq__q {
  width: 100%;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: color 0.18s var(--ease);
}
.faq__q:hover { color: var(--terracotta); }
.faq__q > span:first-child {
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.3;
}
.faq__sign {
  flex: none;
  font-size: 26px;
  line-height: 1;
  color: var(--terracotta);
}

.faq__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-right: 60px;
  transition: max-height 0.28s var(--ease),
              opacity 0.22s var(--ease),
              padding-bottom 0.28s var(--ease);
}
.faq__item.is-open .faq__a {
  max-height: 340px;
  opacity: 1;
  padding-bottom: 28px;
}
.faq__a p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 15. Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 26px;
  align-items: baseline;
  padding-top: 8px;
}
.contact__details dt {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.contact__details dd { font-size: 20px; }

.contact__panel {
  background: var(--sand);
  border-radius: var(--r-md);
  padding: 40px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form[hidden] { display: none; }
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(23, 27, 46, 0.22);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field__input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(180, 105, 63, 0.15);
}
.field__input--area { resize: vertical; min-height: 110px; }
.field__input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--stone) 50%),
    linear-gradient(135deg, var(--stone) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% + 2px), calc(100% - 16px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field__input[aria-invalid="true"] { border-color: #a8412f; }
.field__error {
  font-size: 13px;
  color: #a8412f;
}
.field__opt {
  text-transform: none;
  letter-spacing: 0.04em;
  color: rgba(111, 106, 96, 0.75);
}

/* Pot de miel : hors écran pour un humain, bien présent pour un robot.
   Ni display:none ni hidden — les robots les plus soigneux les ignorent. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Bandeau des messages renvoyés par le serveur. */
.form-error {
  padding: 14px 16px;
  border: 1px solid rgba(168, 65, 47, 0.4);
  border-radius: var(--r-sm);
  background: rgba(168, 65, 47, 0.08);
  font-size: 15px;
  line-height: 1.5;
  color: #8d3627;
}
.form-error[hidden] { display: none; }

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn:disabled:hover { background: var(--ink); }

.form-done {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.form-done[hidden] { display: none; }
/* Le bloc reçoit le focus pour les lecteurs d'écran, sans contour visible. */
.form-done:focus,
.form-done:focus-visible { outline: none; }
.form-done .ring { width: 44px; height: 44px; border-width: 5px; }
.form-done__title {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15;
}
.form-done__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 16. Pied de page ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 15px;
  color: rgba(246, 243, 236, 0.6);
}
.footer__links a { color: rgba(246, 243, 236, 0.6); }
.footer__links a:hover { color: var(--clay); }

/* ---------- 16 bis. Repli visuel si une image ne charge pas ---------- */
.img-fallback {
  position: relative;
  background:
    linear-gradient(135deg, rgba(180, 105, 63, 0.22), rgba(23, 27, 46, 0.10)),
    repeating-linear-gradient(45deg,
      rgba(23, 27, 46, 0.05) 0 10px, transparent 10px 20px),
    var(--sand-deep);
}
.img-fallback::after {
  content: "Visuel à ajouter";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
/* ---------- 17. Apparition au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal--delay { transition-delay: 0.1s; }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Sécurité : si JS est absent, tout reste visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 17 bis. Pages secondaires : mentions légales & 404 ---------- */

/* En-tête de page interne (titre + date de mise à jour) */
.page-head {
  padding: 72px 0 0;
}
.page-head__meta {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Texte long : la largeur est bridée pour rester confortable à lire. */
.legal { max-width: 760px; }
.legal__intro {
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.legal h2 {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
}
.legal h2 .legal__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--terracotta);
}
.legal p  { margin-top: 16px; color: var(--ink-soft); text-wrap: pretty; }
.legal a  { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { margin-top: 16px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 10px; color: var(--ink-soft); }
.legal li::marker { color: var(--terracotta); }

/* Encadré d'identification du responsable */
.legal__card {
  margin-top: 20px;
  padding: 26px 28px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.legal__card p { margin-top: 0; }
.legal__card p + p { margin-top: 14px; }

/* Point saillant : ce site ne dépose aucun cookie. */
.legal__callout {
  margin-top: 20px;
  padding: 26px 28px;
  background: var(--ink);
  border-radius: var(--r-md);
}
.legal__callout p { margin-top: 0; color: var(--on-ink); }
.legal__callout strong { color: var(--cream); }

/* Mention « à compléter » — volontairement très visible. */
.legal__todo {
  padding: 1px 7px;
  background: rgba(180, 105, 63, 0.16);
  border-bottom: 2px solid var(--terracotta);
  font-size: 0.94em;
  white-space: nowrap;
}

.legal__back { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--hairline); }

/* ---------- 17 ter. Page 404 ---------- */
.err {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 56px var(--gutter);
  text-align: center;
}
.err__code {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(88px, 20vw, 160px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--terracotta);
}
.err__rule { width: 54px; height: 2px; background: var(--terracotta); }
.err__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
}
.err__text {
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.err__note { font-size: 15px; color: var(--stone); }
.err__note a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .page-head { padding-top: 48px; }
  .legal h2  { margin-top: 40px; padding-top: 22px; font-size: 25px; }
  .legal__card, .legal__callout { padding: 22px 20px; }
}

/* ============================================================
   18. Adaptations écran
   ============================================================ */

/* — Grandes tablettes / petits portables — */
@media (max-width: 1100px) {
  .cards  { grid-template-columns: repeat(2, 1fr); }
  .steps  { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 1000px) {
  :root { --gutter: 28px; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero__visual { max-width: 620px; }
  .browser__screen { height: 340px; }

  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }

  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact__copy .lead--sm { max-width: none; }
}

/* — Passage au menu déroulant — */
@media (max-width: 900px) {
  .burger { display: inline-flex; }

  /* L'en-tête reste au-dessus du panneau : le bouton de fermeture
     doit rester visible et cliquable une fois le menu ouvert. */
  .site-header { z-index: 50; }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 45;
    width: min(320px, 84vw);
    height: calc(100dvh - var(--header-h));
    padding: 24px 32px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    box-shadow: -20px 0 60px -40px rgba(23, 27, 46, 0.8);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }

  .nav__link {
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline);
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ink);
  }
  .nav__cta {
    margin-top: 28px;
    padding: 16px 24px;
    font-size: 16px;
  }

  body.nav-open { overflow: hidden; }

  /* Sans JavaScript, le panneau ne peut pas s'ouvrir :
     les liens repassent en ligne sous le logo. */
  .no-js .burger { display: none; }
  .no-js .header__inner { flex-wrap: wrap; }
  .no-js .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    background: none;
    box-shadow: none;
    transform: none;
  }
  .no-js .nav__link {
    padding: 0;
    border: 0;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink-soft);
  }
  .no-js .nav__cta { margin-top: 0; padding: 10px 18px; font-size: 14px; }

  /* Rien à redéfinir ici : la grille est déjà en 2 colonnes, avec la
     dernière carte en pleine largeur. */
}

/* — Téléphones — */
@media (max-width: 720px) {
  :root { --gutter: 20px; }

  .section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }

  .header__inner { padding-top: 14px; padding-bottom: 14px; }
  .brand__name { font-size: 24px; }
  .ring--sm { width: 26px; height: 26px; border-width: 3px; }

  .section__head { margin-bottom: 40px; gap: 24px; }
  .section__head--stack { margin-bottom: 40px; }
  .section__head-note { max-width: none; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { min-height: 0; padding: 28px 24px; }
  .card:hover { transform: none; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .step:last-child { border-bottom: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }

  .work { grid-template-columns: 1fr; }
  /* Une seule colonne : les trois cartes reprennent le même cadre. */
  .work__item:last-child .work__shot { aspect-ratio: 16 / 10; }

  .plan { padding: 32px 24px; }
  .plan__badge { left: 24px; }

  .contact__panel { padding: 28px 22px; }
  .contact__details { grid-template-columns: 1fr; gap: 4px 0; }
  .contact__details dt { margin-top: 14px; }
  .contact__details dd { font-size: 18px; }

  .btn-row { gap: 12px; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }

  .strip__inner { gap: 8px 20px; font-size: 12px; letter-spacing: 0.14em; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__links { gap: 18px 24px; }
  .footer__copy { flex-basis: 100%; }

  .faq__a { padding-right: 0; }
  .faq__item.is-open .faq__a { max-height: 460px; }
}

@media (max-width: 560px) {
  .browser__screen { height: 250px; }
  .hero__visual { margin-bottom: 34px; }
  .score-card {
    left: 0;
    right: auto;
    bottom: -30px;
    padding: 16px 20px;
  }
  .score-card__value { font-size: 28px; }
  .score-card__label { font-size: 11px; }
  .info-bubble { width: 190px; }

  .form-done { min-height: 300px; }
  .form-done__title { font-size: 28px; }
}

/* ---------- 19. Préférences utilisateur ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .work__item:hover .work__shot img { transform: none; }
}

/* ---------- 20. Impression ---------- */
@media print {
  .site-header, .burger, .nav, .nav-scrim, .hero__grid-bg { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
  .faq__a { max-height: none !important; opacity: 1 !important; }
}
