@charset "utf-8";

/* ============================================================
   depannage-site-wordpress.fr
   Système issu de la maquette W : Inter pour le texte,
   Space Grotesk 700 pour le logotype.
   ============================================================ */

/* ---------- polices auto-hébergées ---------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- jetons ---------- */

:root {
  --canvas: #f4f4f0;
  --ink: #000000;
  --gray: #5c5c58;
  --gray-soft: #8b8b85;
  --line: #e2e2dc;
  --line-soft: #dedad8;
  --white: #ffffff;
  --pink: #ff90e8;
  --pink-deep: #e07ccb;
  --yellow: #ffc900;
  --lime: #f1f333;
  --lime-wash: #fbfce6;
  --dark: #000000;
  --radius: 16px;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --sect: clamp(48px, 7vw, 88px);

  --d1: clamp(34px, 6.2vw, 82px);
  --d2: clamp(26px, 3.6vw, 44px);
  --d3: clamp(24px, 2.9vw, 38px);
  --h3: clamp(19px, 1.9vw, 24px);
  --body: clamp(15px, 1.15vw, 16px);
}

/* ---------- socle ---------- */

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

html {
  scroll-behavior: smooth;
  /* hauteur reelle de l'en-tete collant (72px) plus une respiration */
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

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

a {
  color: inherit;
}

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

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

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

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

/* ---------- gabarit ---------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.sect {
  padding-top: var(--sect);
}

/* ---------- typographie ---------- */

.d1 {
  font-size: var(--d1);
  line-height: 1.03;
  letter-spacing: -0.029em;
  font-weight: 400;
}
.d2 {
  font-size: var(--d2);
  line-height: 1.13;
  letter-spacing: -0.022em;
  font-weight: 400;
}
.d3 {
  font-size: var(--d3);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.h3 {
  font-size: var(--h3);
  line-height: 1.25;
  letter-spacing: -0.017em;
  font-weight: 500;
}
.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.5;
}
.muted {
  color: var(--gray);
}
.fine {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-soft);
}

/* Note de bas de section. Un seul traitement pour toutes : meme largeur que le
   contenu au-dessus, meme alignement, meme respiration. Elles se lisent comme
   une famille et non comme quatre decisions differentes. */
.note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-soft);
  margin-top: 20px;
  text-align: left;
}

/* ---------- objets ---------- */

.bx {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 32px;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--ink);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-o {
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 13px 26px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 500;
  background: var(--white);
}
.tag i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--ink);
  flex-shrink: 0;
}
.tag i.p {
  background: var(--pink);
}
.tag i.y {
  background: var(--yellow);
}
.tag i.l {
  background: var(--lime);
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--white);
}
.pill-pink {
  background: var(--pink);
}
.pill-lime {
  background: var(--lime);
}
.pill-canvas {
  background: var(--canvas);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
}
.chip-lime {
  background: var(--lime);
}

/* listes à filet */

.rows > li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.rows > li:last-child {
  border-bottom: 0;
}
.rows-dash > li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.rows-dash > li::before {
  content: "—";
  color: var(--gray-soft);
  flex-shrink: 0;
}

/* ---------- en-tête ---------- */

.hd {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.hd.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.28);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
/* si color-mix n'est pas supporte, on garde un fond opaque plutot qu'un fond absent */
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .hd.is-stuck {
    background: var(--canvas);
  }
}
.hd-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.logo b {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(14px, 1.35vw, 18px);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
}
.nav a:hover {
  background: #eaeae4;
}
.hd-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.hd-cta .btn,
.hd-cta .btn-o {
  min-height: 42px;
  padding: 10px 22px;
  font-size: 15px;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  /* les disques débordent volontairement : on les rogne ici plutôt que
     de laisser la page défiler horizontalement */
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px) 0 clamp(40px, 5.5vw, 72px);
}
.hero-in {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero h1 {
  max-width: 830px;
  margin-inline: auto;
}
.hero .lead {
  margin: clamp(18px, 2vw, 26px) auto 0;
  max-width: 610px;
}
.hero-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 34px);
}
.hero-note {
  font-size: 14px;
  color: var(--gray);
  margin-top: 18px;
}

.disc {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.disc-a {
  left: -56px;
  top: 34px;
  width: 230px;
}
.disc-b {
  right: -44px;
  top: 150px;
  width: 180px;
  transform: rotate(-14deg);
}
.disc-c {
  right: 180px;
  /* la hero commence sous l'en-tete collant : au-dessus de 24px la pastille
     passait derriere le menu et se retrouvait coupee net */
  top: 26px;
  width: 112px;
  transform: rotate(18deg);
}

/* ---------- grilles ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- avant / après ---------- */

.shot {
  border: 1px solid var(--ink);
  border-radius: 12px;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
}
.shot-before {
  background: var(--lime);
}
.shot-after {
  background: var(--pink);
}
.shot svg {
  width: 100%;
  height: auto;
  max-width: 290px;
}
.shot-lbl {
  position: absolute;
  top: 16px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 500;
}
.shot-before .shot-lbl {
  left: 16px;
}
.shot-after .shot-lbl {
  right: 16px;
}

/* ---------- le déroulé ---------- */

.flow-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.flow-head svg {
  flex-shrink: 0;
  width: 180px;
  height: auto;
}

.flow {
  margin-top: 26px;
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.8vw, 36px);
}
.flow-grid {
  display: grid;
  /* une colonne par etape, une etroite par fleche : marche a 4 comme a 5 etapes */
  grid-template-columns: repeat(4, 1fr 32px) 1fr;
  align-items: start;
}
.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-n {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
  background: var(--white);
}
.step-n.you {
  background: var(--pink);
}
.step h3 {
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 500;
  margin-top: 14px;
  letter-spacing: -0.015em;
}
.step p {
  font-size: 15px;
  color: var(--gray);
  margin-top: 4px;
}
.arw {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
}
.arw svg {
  width: 26px;
  height: 14px;
}

/* ---------- montants ---------- */

.amt {
  padding: clamp(24px, 2.6vw, 34px);
}
.amt-lime {
  background: var(--lime-wash);
}
.amt-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.amt-fig {
  font-size: clamp(42px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.amt-say {
  color: var(--gray);
}
.amt ul {
  margin-top: 22px;
}

/* ---------- comparateur ---------- */

.cmp {
  margin-top: 26px;
  overflow: hidden;
}
.cmp-row {
  display: grid;
  grid-template-columns: 230px 1fr 200px;
}
.cmp-head {
  background: var(--canvas);
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.cmp-head > * {
  padding: 14px 24px;
}
.cmp-body {
  border-bottom: 1px solid var(--line);
}
.cmp-body:last-child {
  border-bottom: 0;
}
.cmp-body > * {
  padding: 18px 24px;
}
.cmp-body.is-ours {
  background: var(--lime-wash);
}
.cmp-name {
  font-size: 17px;
  font-weight: 500;
}
.cmp-total {
  font-size: 17px;
  font-weight: 500;
}
.cmp-body:not(.is-ours) .cmp-total,
.cmp-body:not(.is-ours) .cmp-detail {
  color: var(--gray);
  font-size: var(--body);
  font-weight: 400;
}
.cmp-lbl {
  display: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 6px;
}

/* ---------- garantie ---------- */

.gar {
  padding: clamp(26px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: clamp(24px, 3.4vw, 44px);
  align-items: center;
}
.gar-ico {
  display: flex;
  justify-content: center;
}
.gar-ico svg {
  width: 100%;
  max-width: 180px;
  height: auto;
}

/* ---------- pannes ---------- */

.pannes {
  text-align: center;
}
.pannes h2 {
  max-width: 620px;
  margin-inline: auto;
}
.pannes .lead {
  margin: 16px auto 0;
  max-width: 560px;
}
.pannes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- emplacements de preuve ---------- */

.hold {
  border: 2px dashed #b9b9b2;
  border-radius: var(--radius);
  padding: 26px;
  min-height: 116px;
  display: flex;
  align-items: center;
  color: #7a7a74;
  background: transparent;
}

/* ---------- questions ---------- */

.faq {
  padding: clamp(20px, 2.2vw, 28px);
}
.faq h3 {
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.faq p {
  color: var(--gray);
  margin-top: 8px;
}

/* ---------- formulaire ---------- */

.form-bx {
  padding: clamp(26px, 3.2vw, 42px);
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: clamp(28px, 3.6vw, 52px);
  align-items: start;
}
.tel-big {
  display: block;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-decoration: none;
  margin-top: 20px;
  font-weight: 500;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form label {
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
.form input,
.form textarea,
.wiz input[type="url"],
.wiz input[type="tel"],
.wiz input[type="email"],
.wiz input[type="text"],
.wiz textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid #242423;
  border-radius: 4px;
  padding: 14px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  min-height: 52px;
}
.form textarea,
.wiz textarea {
  min-height: 108px;
  resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder,
.wiz input::placeholder,
.wiz textarea::placeholder {
  color: var(--gray-soft);
}
.form .btn {
  width: 100%;
  padding: 17px;
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-note {
  font-size: 13px;
  color: var(--gray-soft);
  text-align: center;
}
.form-msg {
  font-size: 15px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--lime-wash);
}
.form-msg[hidden] {
  display: none;
}

/* ---------- bandeau ---------- */

.band {
  margin-top: var(--sect);
  background: var(--pink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: clamp(96px, 10vw, 150px);
  overflow: hidden;
}
.band svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- pied ---------- */

.ft {
  background: var(--dark);
  color: var(--white);
}
.ft-in {
  padding-top: clamp(36px, 4vw, 56px);
  padding-bottom: 40px;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.ft-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.ft-logo svg {
  width: 26px;
  height: 26px;
}
.ft-logo b {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 16px;
}
.ft .ft-h {
  font-size: 15px;
  font-weight: 500;
}
.ft ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
  font-size: 15px;
  color: #a3a39d;
}
.ft a {
  text-decoration: none;
}
.ft a:hover {
  text-decoration: underline;
}
.ft p {
  color: #a3a39d;
}
.ft-btm {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #2e2e2c;
  font-size: 14px;
  color: #7a7a74;
}

/* ---------- barre d'appel mobile ---------- */

.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--canvas);
  border-top: 1px solid var(--ink);
}
.callbar .btn,
.callbar .btn-o {
  flex: 1;
  padding: 12px;
  font-size: 15px;
}

/* ============================================================
   RUPTURES
   ============================================================ */

@media (max-width: 1180px) {
  .nav a {
    padding: 9px 10px;
    font-size: 14px;
  }
}

/* le numéro sort de l'en-tête avant la navigation : il reste dans le hero */
@media (max-width: 1120px) {
  .hd-cta .btn-o {
    display: none;
  }
}

@media (max-width: 1000px) {
  .nav,
  .hd-cta .btn-o {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hd-cta {
    gap: 8px;
  }

  .disc-c {
    display: none;
  }
  .disc-a {
    width: 150px;
    left: -46px;
    top: 10px;
  }
  .disc-b {
    width: 120px;
    right: -34px;
    top: auto;
    bottom: -10px;
  }

  /* déroulé : les quatre étapes empilées, séparées par un filet */
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .arw {
    display: none;
  }
  .step {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }
  .step h3 {
    margin-top: 12px;
  }

  .flow-head {
    display: block;
  }
  .flow-head svg {
    display: none;
  }

  /* comparateur : quatre fiches empilées, pas de tableau qui déborde */
  .cmp {
    border: 0;
    background: transparent;
    display: grid;
    gap: 14px;
    overflow: visible;
  }
  .cmp-head {
    display: none;
  }
  .cmp-body {
    display: block;
    background: var(--white);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    padding: 20px 22px;
  }
  .cmp-body > * {
    padding: 0;
  }
  .cmp-lbl {
    display: block;
  }
  .cmp-detail {
    margin-top: 14px;
  }
  .cmp-total {
    margin-top: 14px;
  }
  .cmp-detail .cmp-lbl,
  .cmp-total .cmp-lbl {
    margin-bottom: 4px;
  }

  .gar {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .gar-ico svg {
    max-width: 130px;
  }

  .form-bx {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  /* un seul disque, et hors de la zone de lecture du titre */
  .disc-a {
    display: none;
  }
  .disc-b {
    width: 104px;
    right: -34px;
    bottom: -52px;
  }

  .duo,
  .trio {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .shot {
    aspect-ratio: 16 / 10;
    padding: 18px;
  }
  .hero h1 {
    text-wrap: balance;
  }
  .hero-act .btn,
  .hero-act .btn-o {
    width: 100%;
  }
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .ft-grid > :first-child {
    grid-column: 1 / -1;
  }

  .callbar {
    display: flex;
  }
  body {
    padding-bottom: 78px;
  }
  .hd {
    position: static;
  }
}

@media (max-width: 620px) {
  /* la barre d'appel fixe rend le bouton d'en-tête redondant */
  .hd-cta .btn {
    display: none;
  }
}

@media (max-width: 420px) {
  .disc-a,
  .disc-b {
    opacity: 0.9;
  }
  .tag {
    font-size: 14px;
    padding: 8px 14px;
  }
  .ft-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- menu mobile déployé ---------- */

@media (max-width: 1000px) {
  .hd.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--canvas);
    border-block: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    box-shadow: 0 16px 26px -14px rgba(0, 0, 0, 0.35);
  }
  .hd.is-open .nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .hd {
    position: relative;
  }
  html {
    scroll-padding-top: 14px;
  }
}

/* ---------- impression ---------- */

@media print {
  .hd,
  .callbar,
  .band,
  .hero-act {
    display: none !important;
  }
  body {
    background: #fff;
    padding-bottom: 0;
  }
}

/* ============================================================
   UTILITAIRES
   La CSP interdit les attributs style= : tout passe par des classes.
   ============================================================ */

.mt6 { margin-top: 6px; }
.mt8 { margin-top: 8px; }
.mt10 { margin-top: 10px; }
.mt12 { margin-top: 12px; }
.mt14 { margin-top: 14px; }
.mt22 { margin-top: 22px; }
.mt28 { margin-top: 28px; }
.mt30 { margin-top: 30px; }
.mt64 { margin-top: 64px; }
.pb80 { padding-bottom: 80px; }

.tc { text-align: center; }

.mw280 { max-width: 280px; }
.mw360 { max-width: 360px; }
.mw520 { max-width: 520px; }
.mw600 { max-width: 600px; }
.mw620 { max-width: 620px; }

.pad-card { padding: clamp(20px, 2.4vw, 30px); }
.pad-lg { padding: clamp(24px, 2.6vw, 34px); }
.bg-canvas { background: var(--canvas); }

.lbl-sm {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 22px;
  font-size: 15px;
  white-space: nowrap;
}

/* pages annexes */
.doc-lead {
  max-width: 560px;
  margin: 16px auto 0;
}
.doc-ico {
  margin: 0 auto 24px;
  display: block;
  width: 120px;
  height: 120px;
}
.doc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.ft-btm-flat {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

/* ---------- pages annexes (mentions, CGV, remerciement) ---------- */

.doc {
  max-width: 760px;
}
.doc h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 38px;
}
.doc p,
.doc li {
  margin-top: 12px;
  color: var(--gray);
}
.doc ul {
  list-style: disc;
  padding-left: 20px;
}
/* signature de l'agence dans le pied de page */
.ft-sign {
  margin-top: 40px;
  font-size: 15px;
  color: #a3a39d;
}
.ft-sign a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ft-sign + .ft-btm {
  margin-top: 16px;
}

/* pages annexes : sur petit écran le logotype fait déjà office de retour,
   le bouton ferait déborder la ligne */
@media (max-width: 620px) {
  .hd .btn-sm {
    display: none;
  }
  .doc h2 {
    margin-top: 30px;
  }
}

/* ---------- SMS : n'a de sens que sur un téléphone ---------- */

.hero-sms,
.form-sms {
  display: none;
}

.hero-sms {
  margin-top: 12px;
  font-size: 15px;
}
.hero-sms a {
  color: var(--gray);
  text-underline-offset: 3px;
}

.form-sms {
  margin-top: 14px;
}
.form-sms .btn-o {
  width: 100%;
}

@media (max-width: 760px) {
  .hero-sms,
  .form-sms {
    display: block;
  }
}

/* ============================================================
   DISPONIBILITÉ, PULSE
   ============================================================ */

.dispo {
  display: block;
  max-width: 420px;
  margin: 20px auto 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  line-height: 1.45;
  color: var(--gray);
  text-align: left;
}
.dispo strong {
  color: var(--ink);
  font-weight: 500;
}
.dispo-left {
  margin: 22px 0 0;
}

.pulse {
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.65; }
  70% { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse::after { animation: none; }
}

.only-mob { display: none; }

/* ============================================================
   QUI RÉPOND
   ============================================================ */

.moi-sect {
  padding-top: clamp(28px, 3.4vw, 44px);
  padding-bottom: clamp(24px, 3.4vw, 40px);
}

.moi {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
}
.moi-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  object-fit: cover;
  display: block;
}
.moi-nom {
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.moi-nom span { color: var(--line); }
.moi-nom em {
  font-style: normal;
  font-weight: 400;
  color: var(--gray);
}
.moi-bio {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 62ch;
}
.moi-liens {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.moi-liens a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: var(--white);
  white-space: nowrap;
}
.moi-liens a:hover { background: var(--lime-wash); }

/* ============================================================
   AVIS, défilement horizontal
   ============================================================ */

.avis-sect { overflow: hidden; }
.avis-intro {
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
}

.avis-piste {
  display: flex;
  gap: 16px;
  max-width: var(--wrap);
  margin: 30px auto 0;
  padding-block: 4px 18px;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* sans ceci, l'accrochage ignore le retrait et colle la première carte au bord */
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}


.avis {
  flex: 0 0 330px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}
.avis-note svg {
  width: 92px;
  height: 16px;
  color: #f5a623;
  display: block;
}
.avis-txt {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  flex: 1;
}
.avis-qui {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.avis-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.avis-av.p { background: var(--pink); }
.avis-av.y { background: var(--yellow); }
.avis-av.l { background: var(--lime); }
.avis-id {
  display: flex;
  flex-direction: column;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
}
.avis-id em {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: var(--gray-soft);
  margin-top: 2px;
}

/* ============================================================
   WIZARD
   ============================================================ */

.form-side { align-self: start; }
.side-lbl {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}
.side-act { margin-top: 6px; }
.side-act .tel-big { margin-top: 4px; }

.wiz { display: block; }

.wiz-head { margin-bottom: 18px; }
.wiz-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}
.wiz-step em {
  font-style: normal;
  font-weight: 400;
  color: var(--gray-soft);
}
.wiz-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 8px;
}
.wiz-bar i {
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  transition: background 0.25s ease;
}
.wiz-bar i.on { background: var(--lime); }

.wiz-t {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.wiz-t:focus-visible { outline-offset: 6px; }
.wiz-intro {
  margin-top: 8px;
  font-size: 15px;
}

.fld { margin-top: 18px; border: 0; padding: 0; }
.fld legend,
.fld > label {
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 9px;
  padding: 0;
  color: var(--gray);
}
.fld legend {
  float: left;
  width: 100%;
}
.fld legend + * { clear: both; }
.fld-help {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--gray-soft);
}
.fld-trust {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--gray-soft);
}

.wiz select {
  width: 100%;
  min-height: 52px;
  padding: 14px 40px 14px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid #242423;
  border-radius: 4px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.opts { display: grid; gap: 8px; }

@media (min-width: 1001px) {
  .opts { grid-template-columns: 1fr 1fr; }
  .opts > .opt:only-child,
  fieldset:has(.opt:nth-child(5):last-child) .opts { grid-template-columns: 1fr; }
}
.opt {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  font-size: 15.5px;
  line-height: 1.35;
}
.opt input {
  width: 19px;
  height: 19px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #000;
}
.opt:hover { background: var(--canvas); }
.opt:has(input:checked) {
  background: var(--lime-wash);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.opt:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.disclo {
  margin-top: 18px;
  padding: 12px 0;
  min-height: 48px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14.5px;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: left;
}

.wiz-act {
  margin-top: 24px;
}
.wiz-act .btn { width: 100%; }
.wiz-back {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 15px;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.fld [aria-invalid="true"] {
  border-width: 2px;
  border-color: var(--ink);
  background: #fff6f6;
}
.fld-err {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 500;
}

/* ---------- adaptations ---------- */

@media (max-width: 900px) {
  .moi {
    grid-template-columns: 96px 1fr;
    row-gap: 16px;
  }
  .moi-liens { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .only-mob { display: inline-flex; }
  .hero-cta {
    background: var(--white);
    color: var(--ink);
  }
  .dispo {
    margin-inline: auto;
    max-width: 320px;
  }
  .moi {
    grid-template-columns: 64px 1fr;
    gap: 14px 14px;
    padding: 18px;
    align-items: start;
  }
  .moi-photo { width: 64px; height: 64px; }
  .moi-nom { font-size: 17px; }
  .moi-bio { font-size: 14.5px; }
  .moi-liens a { padding: 7px 14px; min-height: 36px; }
  .moi-liens {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }
  .avis {
    flex-basis: 82vw;
    padding: 20px;
  }
}

/* ---------- page de remerciement ---------- */
.dispo-center {
  margin-inline: auto;
  margin-top: 22px;
  text-align: left;
}
.recap {
  margin-top: 18px;
  font-size: 15px;
  color: var(--gray);
}
.siret-bx {
  max-width: 520px;
  margin: 48px auto 0;
  padding: 28px;
  text-align: left;
}
.siret-form { margin-top: 20px; }
.siret-form label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.siret-form input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  font: inherit;
  font-size: 16px;
  background: var(--canvas);
  border: 1px solid #242423;
  border-radius: 4px;
}
.siret-form .btn { width: 100%; margin-top: 14px; }
.siret-ok {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--lime-wash);
  border: 1px solid var(--ink);
  border-radius: 8px;
}

/* Les classes du site posent des display: qui l'emportent sur le [hidden] du
   navigateur. On rétablit la priorité, sinon un bouton masqué reste visible. */
.ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

/* ============================================================
   SÉCURITÉ DES ACCÈS
   ============================================================ */

.crypto {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(22px, 3.4vw, 44px);
  align-items: start;
  padding: clamp(24px, 3.2vw, 42px);
}
.crypto-ico svg {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
}

/* page de transmission des accès */
.crypto-note {
  background: var(--lime-wash);
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 22px;
}
.crypto-note p { color: var(--ink); }
.crypto-note p + p { margin-top: 10px; }

.acc { margin-top: 30px; max-width: 560px; }
.acc-h {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 34px;
}
.acc-h span {
  font-weight: 400;
  color: var(--gray-soft);
}
.acc input,
.acc textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid #242423;
  border-radius: 4px;
}
.acc textarea {
  min-height: 96px;
  resize: vertical;
}
.acc-send {
  width: 100%;
  margin-top: 28px;
}
.acc-steps {
  list-style: decimal;
  padding-left: 22px;
  margin-top: 14px;
  max-width: 620px;
}
.acc-steps li {
  margin-top: 10px;
  color: var(--gray);
}
.crypto-ok {
  max-width: 560px;
  margin-top: 30px;
  padding: 26px 28px;
  background: var(--lime-wash);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

@media (max-width: 760px) {
  .crypto {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .crypto-ico svg { max-width: 108px; }
}

/* moyens de paiement acceptes */
.paye {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.paye .chip {
  gap: 9px;
  padding: 8px 16px;
  background: var(--canvas);
}
.paye svg {
  flex-shrink: 0;
}

/* Promesse soulignee dans la hero. Le trait est cale sur le bas de la boite
   em, donc juste sous la ligne de base, et le texte repasse en noir : dans un
   paragraphe gris, c'est le contraste qui arrete l'oeil, pas seulement la couleur. */
.souligne {
  color: var(--ink);
  font-weight: 500;
  background-image: linear-gradient(var(--pink), var(--pink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.36em;
  padding-inline: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* pictos de paiement : centres et detaches du bloc du dessus */
.paye {
  justify-content: center;
  margin-top: 34px;
}
