/* Site toprezo.fr — les valeurs de marque viennent de tokens.css. */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--tz-police);
  color: var(--tz-nuit);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--tz-signal-clair);
  outline-offset: 3px;
  border-radius: 6px;
}
.evitement {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--tz-nuit);
  background: var(--tz-volt);
  font-weight: 700;
}
.evitement:focus {
  top: 12px;
}
.conteneur {
  width: min(1200px, 100% - clamp(40px, 8vw, 112px));
  margin-inline: auto;
}
.conteneur-etroit {
  width: min(800px, 100% - clamp(40px, 8vw, 112px));
}
.centre {
  text-align: center;
}
.centre .bouton {
  margin-top: var(--tz-4);
}

/* Logo en ligne */
.logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.logo-barre {
  fill: var(--logo-barres, var(--tz-signal));
}
.logo-mot {
  fill: var(--logo-texte, var(--tz-nuit));
  stroke: var(--logo-texte, var(--tz-nuit));
}

/* --- Typographie commune ---------------------------------------------------- */
.sur {
  font: 700 0.75rem/1.4 var(--tz-police);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tz-signal);
}
.titre {
  max-width: 760px;
  margin-bottom: var(--tz-6);
}
.titre h2,
.duo h2,
.encart h2,
.centre h2,
.secteur h2 {
  margin-top: 10px;
  font: 800 var(--tz-titre-l) / 1.05 var(--tz-police);
  letter-spacing: -0.035em;
}
.titre > p:last-child:not(.sur) {
  margin-top: var(--tz-2);
  font-size: 1.125rem;
  color: var(--tz-ardoise);
}
.chapo {
  margin: var(--tz-3) 0 var(--tz-4);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--tz-ardoise);
}
.rang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* --- Boutons ---------------------------------------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1.5px solid transparent;
  border-radius: var(--tz-rayon-s);
  font: 700 0.9375rem/1.2 var(--tz-police);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--tz-rapide) var(--tz-courbe),
    box-shadow var(--tz-normal) var(--tz-courbe),
    background var(--tz-rapide),
    border-color var(--tz-rapide),
    color var(--tz-rapide);
}
.bouton:hover {
  transform: translateY(-2px);
}
.bouton:active {
  transform: translateY(0) scale(0.98);
}
.bouton-grand {
  padding: 17px 26px;
  font-size: 1.0625rem;
}
.bouton-plein {
  color: #fff;
  background: var(--tz-signal);
}
.bouton-plein:hover {
  background: var(--tz-signal-fort);
  box-shadow: var(--tz-ombre-signal);
}
.bouton-volt {
  color: var(--tz-nuit);
  background: var(--tz-volt);
}
.bouton-volt:hover {
  box-shadow: 0 12px 34px #c8f53c59;
}
.bouton-contour-clair {
  color: #fff;
  border-color: #ffffff59;
}
.bouton-contour-clair:hover {
  border-color: #fff;
  background: #ffffff14;
}
.bouton-texte {
  padding: 8px 0;
  color: var(--tz-signal);
}
.bouton-texte span,
.offre a span {
  display: inline-block;
  transition: transform var(--tz-normal) var(--tz-rebond);
}
.bouton-texte:hover span,
.offre:hover a span {
  transform: translateX(5px);
}

/* --- En-tête ---------------------------------------------------------------- */
.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: var(--tz-3);
  height: 76px;
  padding: 0 clamp(20px, 4vw, 56px);
  --logo-barres: var(--tz-signal-clair);
  --logo-texte: #fff;
  transition:
    background var(--tz-normal) var(--tz-courbe),
    height var(--tz-normal) var(--tz-courbe),
    box-shadow var(--tz-normal);
}
.entete.pose {
  height: 64px;
  background: #12203be6;
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 #ffffff14;
}
.entete-logo {
  flex: none;
  width: 136px;
}
.entete-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.entete-nav > a:not(.bouton) {
  padding: 9px 14px;
  border-radius: var(--tz-rayon-pilule);
  font: 600 0.9375rem/1 var(--tz-police);
  color: #c9d5ee;
  text-decoration: none;
  transition:
    color var(--tz-rapide),
    background var(--tz-rapide);
}
.entete-nav > a:not(.bouton):hover,
.entete-nav > a[aria-current] {
  color: #fff;
  background: #ffffff14;
}
.entete-nav .bouton {
  margin-left: 10px;
  padding: 11px 16px;
}
.entete-menu {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  background: #ffffff14;
  cursor: pointer;
}
.entete-menu i {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--tz-normal) var(--tz-courbe);
}
.entete-menu[aria-expanded='true'] i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.entete-menu[aria-expanded='true'] i:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* --- Ouverture -------------------------------------------------------------- */
.hero,
.tete {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--tz-aurore);
}
.hero {
  padding: clamp(140px, 17vw, 210px) 0 clamp(200px, 24vw, 330px);
}
.hero-grille {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 90% at 70% 20%, #000 0%, transparent 75%);
}
.hero-contenu {
  position: relative;
  z-index: 2;
}
.hero .sur,
.tete .sur,
.section-nuit .sur,
.appel .sur {
  color: #9fb4ff;
}
.hero h1 {
  max-width: 13ch;
  margin: 18px 0 0;
  font: 800 var(--tz-titre-xl) / 0.98 var(--tz-police);
  letter-spacing: -0.045em;
}
.hero h1 em,
.appel h2 em,
.tete h1 em {
  font-style: normal;
  color: var(--tz-volt);
}
.hero-texte {
  max-width: 560px;
  margin: var(--tz-3) 0 var(--tz-4);
  font-size: 1.25rem;
  line-height: 1.55;
  color: #c9d5ee;
}
.hero-preuves {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: var(--tz-4);
  font: 600 0.9375rem/1.3 var(--tz-police);
  color: #c9d5ee;
}
.hero-preuves li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 10px;
  margin-right: 9px;
  background: var(--tz-volt);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.hero-barres {
  position: absolute;
  right: -1%;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: clamp(8px, 1.4vw, 20px);
  width: min(52%, 720px);
  height: 82%;
}
.hero-barres i {
  flex: 1;
  height: calc(16% + var(--n) * 13.8%);
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #5b7fff59 0%, #2855f80a 100%);
  --coupe: clamp(14px, 3vw, 42px);
  clip-path: polygon(0 var(--coupe), 100% 0, 100% 100%, 0 100%);
  transform-origin: 50% 100%;
  animation: monter 1.1s var(--tz-rebond) both;
  animation-delay: calc(0.15s + var(--n) * 0.07s);
}
.hero-barres i:nth-child(1) {
  --n: 0;
}
.hero-barres i:nth-child(2) {
  --n: 1;
}
.hero-barres i:nth-child(3) {
  --n: 2;
}
.hero-barres i:nth-child(4) {
  --n: 3;
}
.hero-barres i:nth-child(5) {
  --n: 4;
}
.hero-barres i:nth-child(6) {
  --n: 5;
}
.hero-barres i:nth-child(7) {
  --n: 6;
  background: linear-gradient(180deg, #c8f53cb3 0%, #c8f53c0a 72%);
}
.hero-contenu > * {
  animation: arriver 800ms var(--tz-courbe) both;
}
.hero-contenu > :nth-child(2) {
  animation-delay: 80ms;
}
.hero-contenu > :nth-child(3) {
  animation-delay: 160ms;
}
.hero-contenu > :nth-child(4) {
  animation-delay: 240ms;
}
.hero-contenu > :nth-child(5) {
  animation-delay: 320ms;
}
@keyframes monter {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
}
@keyframes arriver {
  from {
    transform: translateY(26px);
    opacity: 0;
  }
}

/* En-tête des pages intérieures */
.tete {
  padding: clamp(150px, 16vw, 200px) 0 clamp(72px, 9vw, 120px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(24px, 4.2vw, 60px)), 0 100%);
}
.tete-courte {
  padding-bottom: clamp(120px, 14vw, 190px);
}
.tete h1 {
  margin: 16px 0 0;
  font: 800 clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem) / 1 var(--tz-police);
  letter-spacing: -0.045em;
}
.tete-texte {
  max-width: 640px;
  margin-top: var(--tz-3);
  font-size: 1.1875rem;
  color: #c9d5ee;
}
.tete .conteneur > * {
  animation: arriver 800ms var(--tz-courbe) both;
}
.tete .conteneur > :nth-child(2) {
  animation-delay: 80ms;
}
.tete .conteneur > :nth-child(3) {
  animation-delay: 160ms;
}

/* --- Vitrine avant / après ---------------------------------------------------- */
.vitrine {
  position: relative;
  z-index: 3;
  margin-top: clamp(-250px, -18vw, -130px);
}
.navigateur {
  border: 1px solid var(--tz-ligne);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 30px 80px #12203b33,
    0 4px 14px #12203b14;
}
.navigateur-barre {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: #eef1f7;
}
.navigateur-barre i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdd5e2;
}
.navigateur-barre span {
  margin-left: 12px;
  padding: 5px 16px;
  border-radius: var(--tz-rayon-pilule);
  font: 600 0.75rem/1 var(--tz-police);
  color: var(--tz-ardoise);
  background: #fff;
}
.avant-apres {
  position: relative;
  aspect-ratio: 16 / 7.6;
  min-height: 300px;
  /* sans cela, la hauteur minimale élargit le bloc au-delà de son cadre sur téléphone */
  min-width: 0;
  width: 100%;
  user-select: none;
}
.site {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.site-avant {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  font:
    clamp(12px, 1.25vw, 16px) / 1.5 'Times New Roman',
    serif;
  color: #000080;
  background: #d9d2b8;
}
.site-avant header {
  padding: 9px 22px;
  font:
    bold clamp(12px, 1.25vw, 16px) 'Comic Sans MS',
    cursive;
  color: #ff0;
  background: #800000;
  white-space: nowrap;
  overflow: hidden;
}
.site-avant .site-corps {
  padding: 16px 22px;
}
.site-avant p {
  margin-bottom: 12px;
}
.site-apres {
  font-family: var(--tz-police);
  color: #1d2a22;
  background: #f6f1e7;
}
.site-apres header {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  padding: clamp(14px, 2vw, 24px) clamp(18px, 4vw, 48px);
  font-size: clamp(12px, 1.1vw, 15px);
}
.site-apres header b {
  margin-right: auto;
  font: 800 clamp(15px, 1.6vw, 20px) var(--tz-police);
  letter-spacing: -0.02em;
}
.site-apres header i {
  padding: 8px 14px;
  border-radius: 8px;
  font: 700 clamp(12px, 1.1vw, 14px) var(--tz-police);
  color: #fff;
  background: #1d4d39;
}
.site-apres .site-corps {
  padding: clamp(8px, 3.4vw, 54px) clamp(18px, 4vw, 48px);
  text-align: right;
}
.site-apres small {
  font: 700 clamp(9px, 0.9vw, 12px) var(--tz-police);
  letter-spacing: 0.14em;
  color: #9a6b2f;
}
.site-apres strong {
  display: block;
  margin: 10px 0;
  font: 800 clamp(1.3rem, 0.5rem + 3.2vw, 3.4rem) / 1.04 var(--tz-police);
  letter-spacing: -0.035em;
}
.site-apres p {
  font-size: clamp(13px, 1.3vw, 18px);
  color: #5d6a61;
}
.site-apres em {
  display: inline-block;
  margin-top: clamp(10px, 1.8vw, 24px);
  padding: clamp(9px, 1.1vw, 15px) clamp(14px, 1.8vw, 24px);
  border-radius: 9px;
  font: 700 clamp(12px, 1.2vw, 16px) var(--tz-police);
  color: #fff;
  background: #1d4d39;
}
.poignee {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px #12203b33;
}
.poignee span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font: 800 17px/1 var(--tz-police);
  color: #fff;
  background: var(--tz-signal);
  box-shadow: var(--tz-ombre-signal);
}
.avant-apres input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.etiquette-aa {
  position: absolute;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--tz-rayon-pilule);
  font: 700 0.75rem/1 var(--tz-police);
  color: #fff;
  background: #12203bcc;
  pointer-events: none;
}
.etiquette-avant {
  left: 14px;
}
.etiquette-apres {
  right: 14px;
}
.legende {
  margin-top: 14px;
  font-size: 0.875rem;
  text-align: center;
  color: var(--tz-ardoise);
}

/* Bandeau défilant des métiers */
.defilant {
  margin-top: clamp(40px, 6vw, 80px);
  overflow: hidden;
  border-block: 1px solid var(--tz-ligne);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.defilant div {
  display: flex;
  width: max-content;
  animation: defiler 36s linear infinite;
}
.defilant span {
  padding: 20px 28px;
  font: 800 1.25rem/1 var(--tz-police);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.defilant span::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 12px;
  margin-left: 56px;
  background: var(--tz-signal);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
@keyframes defiler {
  to {
    transform: translateX(-50%);
  }
}

/* --- Sections ----------------------------------------------------------------- */
.section {
  padding: clamp(72px, 10vw, 136px) 0;
}
.section-brume {
  background: var(--tz-brume);
}
.section-nuit {
  color: #fff;
  background: var(--tz-aurore);
}
.section-nuit .titre > p:last-child:not(.sur),
.section-nuit p {
  color: #c9d5ee;
}
/* La pente du logo découpe le haut de la section */
.pente-haut {
  margin-top: calc(-1 * clamp(24px, 4.2vw, 60px));
  padding-top: clamp(110px, 14vw, 190px);
  clip-path: polygon(0 clamp(24px, 4.2vw, 60px), 100% 0, 100% 100%, 0 100%);
}
.section-remontee {
  position: relative;
  z-index: 2;
  margin-top: clamp(-150px, -11vw, -90px);
  padding-top: 0;
}
.grille {
  display: grid;
  gap: var(--tz-3);
}
.g3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.g4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.carte {
  padding: var(--tz-4);
  border: 1px solid var(--tz-ligne);
  border-radius: var(--tz-rayon-l);
  background: #fff;
}
.carte h3,
.pilier h3,
.offre h3,
.etapes h3 {
  margin: var(--tz-3) 0 8px;
  font: 800 1.375rem/1.2 var(--tz-police);
  letter-spacing: -0.025em;
}
.carte p,
.pilier p,
.offre p {
  font-size: 1rem;
  color: var(--tz-ardoise);
}
.chiffre {
  font: 800 3.25rem/0.9 var(--tz-police);
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--tz-signal);
}
.g3 > .carte {
  transition:
    transform var(--tz-normal) var(--tz-courbe),
    box-shadow var(--tz-normal),
    border-color var(--tz-normal);
}
.g3 > .carte:hover {
  transform: translateY(-6px);
  border-color: var(--tz-signal-pale);
  box-shadow: var(--tz-ombre-m);
}

/* Barres : l'icône de la marque */
.barres {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}
.barres i {
  width: 10px;
  border-radius: 3px 3px 2px 2px;
  background: var(--tz-signal);
  clip-path: polygon(0 5px, 100% 0, 100% 100%, 0 100%);
  transform-origin: 50% 100%;
  transition: transform var(--tz-normal) var(--tz-rebond);
}
.barres i:nth-child(1) {
  height: 40%;
}
.barres i:nth-child(2) {
  height: 68%;
}
.barres i:nth-child(3) {
  height: 100%;
}
.n1 i:nth-child(n + 2),
.n2 i:nth-child(3) {
  background: #cfd8ea;
}
.section-nuit .n1 i:nth-child(n + 2),
.section-nuit .n2 i:nth-child(3) {
  background: #ffffff2e;
}
.n4 i:nth-child(3),
.section-nuit .n3 i:nth-child(3) {
  background: var(--tz-volt);
}
.section-nuit .barres i {
  background: var(--tz-signal-clair);
}
.pilier {
  padding-top: var(--tz-3);
  border-top: 2px solid currentColor;
}

/* Étapes de la méthode (accueil) */
.etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--tz-4);
  margin-bottom: var(--tz-6);
  counter-reset: etape;
}
.etapes li {
  display: flex;
  flex-direction: column;
  counter-increment: etape;
}
.etapes li::before {
  content: '0' counter(etape);
  order: 2;
  margin-top: var(--tz-3);
  font: 700 0.75rem/1 var(--tz-police);
  letter-spacing: 0.14em;
  color: #9fb4ff;
}
.etapes h3 {
  order: 3;
  margin-top: 8px;
  font-size: 1.75rem;
}
.etapes p {
  order: 4;
}
.etapes li > span {
  order: 1;
}
.etape-barre {
  display: block;
  width: 100%;
  height: clamp(110px, 14vw, 190px);
  background: linear-gradient(180deg, #5b7fff 0%, #2855f833 100%);
  border-radius: 14px 14px 6px 6px;
  clip-path: polygon(0 calc(100% - var(--h) + 34px), 100% calc(100% - var(--h)), 100% 100%, 0 100%);
}
.etape-volt {
  background: linear-gradient(180deg, var(--tz-volt) 0%, #c8f53c33 100%);
}
.etape-signal {
  background: var(--tz-lumiere);
}

/* Offres */
.offre {
  display: flex;
  flex-direction: column;
  padding: var(--tz-4);
  border-radius: var(--tz-rayon-l);
  background: var(--tz-brume);
  transition:
    transform var(--tz-normal) var(--tz-courbe),
    box-shadow var(--tz-normal);
}
.offre:hover {
  transform: translateY(-6px);
  box-shadow: var(--tz-ombre-m);
}
.offre:hover .barres i:nth-child(1) {
  transform: scaleY(1.5);
}
.offre:hover .barres i:nth-child(2) {
  transform: scaleY(1.25);
  transition-delay: 50ms;
}
.offre p {
  flex: 1;
}
.offre a {
  margin-top: var(--tz-3);
  font-weight: 700;
  color: var(--tz-signal);
  text-decoration: none;
}
.offre a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.offre {
  position: relative;
}
.offre-nuit {
  color: #fff;
  background: var(--tz-aurore);
}
.offre-nuit p {
  color: #c9d5ee;
}
.offre-nuit a {
  color: var(--tz-volt);
}
.offre-nuit .barres i {
  background: var(--tz-volt);
}

/* --- Secteurs : onglets et maquettes --------------------------------------------- */
.onglets-liste {
  display: flex;
  gap: 8px;
  margin-bottom: var(--tz-4);
  overflow-x: auto;
  scrollbar-width: none;
}
.onglets-liste button {
  flex: none;
  padding: 11px 18px;
  border: 1.5px solid var(--tz-ligne);
  border-radius: var(--tz-rayon-pilule);
  font: 700 0.9375rem/1 var(--tz-police);
  background: #fff;
  cursor: pointer;
  transition:
    background var(--tz-rapide),
    color var(--tz-rapide),
    border-color var(--tz-rapide);
}
.onglets-liste button:hover {
  border-color: var(--tz-signal);
}
.onglets-liste button[aria-selected='true'] {
  color: #fff;
  background: var(--tz-signal);
  border-color: var(--tz-signal);
}
.onglets-panneau {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.onglets-panneau[hidden] {
  display: none;
}
.onglets-panneau:not([hidden]) {
  animation: arriver 480ms var(--tz-courbe) both;
}
.onglets-panneau h3,
.secteur h2 {
  margin-bottom: var(--tz-3);
  font: 800 var(--tz-titre-m) / 1.12 var(--tz-police);
  letter-spacing: -0.03em;
}
.onglets-panneau .bouton {
  margin-top: var(--tz-3);
}
.coches li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-top: 1px solid var(--tz-ligne);
}
.coches li:first-child {
  border-top: 0;
}
.coches li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 20px;
  width: 14px;
  height: 11px;
  background: var(--tz-signal);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  border-radius: 2px;
}
.mock {
  color: var(--m-texte);
  background: var(--m-fond);
  font-family: var(--tz-police);
}
.mock-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: clamp(12px, 1.8vw, 20px) clamp(16px, 3vw, 34px);
  font-size: clamp(11px, 1vw, 13px);
  opacity: 0.92;
}
.mock-nav b {
  margin-right: auto;
  font: 800 clamp(14px, 1.4vw, 18px) var(--tz-police);
  letter-spacing: -0.02em;
}
.mock-nav i {
  padding: 7px 12px;
  border-radius: 7px;
  font: 700 clamp(11px, 1vw, 13px) var(--tz-police);
  color: var(--m-fond);
  background: var(--m-accent);
}
.mock-corps {
  padding: clamp(18px, 4vw, 54px) clamp(16px, 3vw, 34px) clamp(22px, 4vw, 50px);
}
.mock-corps small {
  font: 700 clamp(9px, 0.85vw, 11px) var(--tz-police);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-accent);
}
.mock-corps strong {
  display: block;
  max-width: 15ch;
  margin: 10px 0;
  font: 800 clamp(1.4rem, 0.8rem + 2vw, 2.5rem) / 1.05 var(--tz-police);
  letter-spacing: -0.035em;
}
.mock-corps p {
  max-width: 38ch;
  font-size: clamp(12px, 1.1vw, 15px);
  opacity: 0.75;
}
.mock-corps em {
  display: inline-block;
  margin-top: clamp(12px, 1.8vw, 22px);
  padding: 10px 16px;
  border-radius: 8px;
  font: 700 clamp(12px, 1.05vw, 14px) var(--tz-police);
  color: var(--m-fond);
  background: var(--m-accent);
}
.mock-bande {
  display: flex;
  border-top: 1px solid color-mix(in srgb, var(--m-texte) 14%, transparent);
}
.mock-bande span {
  flex: 1;
  padding: 12px 8px;
  font: 600 clamp(10px, 0.95vw, 12px) var(--tz-police);
  text-align: center;
  opacity: 0.8;
}
.mock-bande span + span {
  border-left: 1px solid color-mix(in srgb, var(--m-texte) 14%, transparent);
}
.secteurs {
  display: grid;
  gap: clamp(64px, 9vw, 120px);
}
.secteur {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  scroll-margin-top: 110px;
}
.secteur:nth-child(even) > .navigateur {
  order: 2;
}
.secteur h2 {
  margin-top: 8px;
}

/* --- Pages intérieures ------------------------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.plaquette {
  position: relative;
  height: 380px;
}
.plaquette-page {
  position: absolute;
  left: 8%;
  top: 6%;
  display: grid;
  align-content: start;
  gap: 12px;
  width: 54%;
  aspect-ratio: 210 / 297;
  padding: 9%;
  border-radius: 8px;
  color: #fff;
  background: var(--tz-aurore);
  box-shadow: 0 24px 60px #12203b40;
  transform: rotate(-6deg);
  transition: transform var(--tz-ample) var(--tz-courbe);
}
.plaquette-dos {
  left: 40%;
  top: 14%;
  color: var(--tz-nuit);
  background: #fff;
  transform: rotate(5deg);
}
.plaquette:hover .plaquette-page {
  transform: rotate(-9deg) translateX(-12px);
}
.plaquette:hover .plaquette-dos {
  transform: rotate(8deg) translateX(14px);
}
.plaquette-page b {
  margin: 18px 0 8px;
  font: 800 1.125rem/1.1 var(--tz-police);
  letter-spacing: -0.02em;
}
.plaquette-page i {
  height: 7px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.22;
}
.plaquette-page .court {
  width: 55%;
}
.plaquette-page em {
  height: 26%;
  margin-top: 12px;
  border-radius: 6px;
  background: var(--tz-brume);
}
.plaquette .barres i {
  background: var(--tz-volt);
  opacity: 1;
}
.encart {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--tz-4);
  padding: clamp(32px, 6vw, 72px);
  border-radius: clamp(24px, 4vw, 40px);
  color: #fff;
  background: var(--tz-aurore);
  box-shadow: var(--tz-ombre-signal);
}
.encart > div {
  flex: 1 1 420px;
  max-width: 640px;
}
.encart .sur {
  color: #9fb4ff;
}
.encart p:not(.sur) {
  margin-top: var(--tz-2);
  color: #c9d5ee;
}
.parcours {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}
.parcours > li {
  display: grid;
  grid-template-columns: clamp(90px, 16vw, 220px) 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.parcours-repere {
  position: sticky;
  top: 110px;
}
.parcours-repere .etape-barre {
  height: clamp(120px, 16vw, 220px);
  background: linear-gradient(180deg, var(--tz-signal-pale) 0%, #dce5ff4d 100%);
}
.parcours-repere .etape-signal {
  background: var(--tz-lumiere);
}
.parcours-repere b {
  display: block;
  margin-top: 12px;
  font: 800 2.5rem/1 var(--tz-police);
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--tz-signal);
}
.parcours h2 {
  font: 800 var(--tz-titre-l) / 1.05 var(--tz-police);
  letter-spacing: -0.035em;
}
.parcours .chapo {
  max-width: 640px;
}
.parcours .coches {
  max-width: 640px;
}

/* Questions fréquentes */
.faq details {
  border-top: 1px solid var(--tz-ligne);
}
.faq details:last-child {
  border-bottom: 1px solid var(--tz-ligne);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--tz-3);
  padding: 22px 4px;
  font: 700 1.1875rem/1.3 var(--tz-police);
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font: 500 1.375rem/1 var(--tz-police);
  color: var(--tz-signal);
  background: #fff;
  border: 1.5px solid var(--tz-ligne);
  transition:
    transform var(--tz-normal) var(--tz-rebond),
    background var(--tz-rapide),
    color var(--tz-rapide);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: #fff;
  background: var(--tz-signal);
  border-color: var(--tz-signal);
}
.faq details p {
  max-width: 660px;
  padding: 0 4px 24px;
  color: var(--tz-ardoise);
}

/* Appel final */
.appel {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 12vw, 160px) 0;
  text-align: center;
  color: #fff;
  background: var(--tz-aurore);
}
.appel-plein {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding-top: 160px;
}
.appel .conteneur {
  position: relative;
}
.appel-symbole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 80vw);
  transform: translate(-50%, -50%);
  opacity: 0.1;
  --logo-barres: #fff;
  pointer-events: none;
}
.appel h2 {
  position: relative;
  font: 800 var(--tz-titre-xl) / 1 var(--tz-police);
  letter-spacing: -0.045em;
}
.appel p {
  position: relative;
  max-width: 520px;
  margin: var(--tz-3) auto var(--tz-4);
  font-size: 1.1875rem;
  color: #c9d5ee;
}
.appel .bouton {
  position: relative;
}
.appel-clair {
  color: var(--tz-nuit);
  background: var(--tz-brume);
}
.appel-clair p {
  color: var(--tz-ardoise);
}
.appel-clair .appel-symbole {
  --logo-barres: var(--tz-signal);
}
.appel-clair h2 {
  font-size: var(--tz-titre-l);
}

/* --- Contact ------------------------------------------------------------------------ */
.contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
  gap: var(--tz-4);
}
.formulaire {
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 80px #12203b26;
}
.champs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tz-3);
}
.champ {
  display: block;
  font: 700 0.9375rem/1.3 var(--tz-police);
}
.champ input,
.champ textarea {
  display: block;
  margin-top: 8px;
}
.champ small {
  display: block;
  margin-top: 7px;
}
.champ span {
  font-weight: 400;
  color: var(--tz-ardoise);
}
.champ-large {
  grid-column: 1 / -1;
}
.champ input,
.champ textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1.5px solid var(--tz-ligne);
  border-radius: var(--tz-rayon-s);
  font: 500 1rem/1.4 var(--tz-police);
  background: #fff;
  transition:
    border-color var(--tz-rapide),
    box-shadow var(--tz-rapide);
}
.champ textarea {
  resize: vertical;
}
.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--tz-signal);
  box-shadow: 0 0 0 4px #2855f833;
}
.champ [aria-invalid='true'] {
  border-color: var(--tz-alerte);
}
.champ small {
  font-weight: 400;
  color: var(--tz-ardoise);
}
.piege {
  position: absolute;
  left: -9999px;
}
.formulaire-note {
  margin: var(--tz-3) 0;
  font-size: 0.875rem;
  color: var(--tz-ardoise);
}
.formulaire-note a {
  color: var(--tz-signal);
}
.formulaire-retour {
  margin-top: var(--tz-3);
  padding: 14px 16px;
  border-radius: var(--tz-rayon-s);
  font-weight: 600;
  color: var(--tz-succes);
  background: #e3f4ea;
}
.formulaire-retour.erreur {
  color: var(--tz-alerte);
  background: #fbeaec;
}
.contact-cote {
  display: grid;
  gap: var(--tz-3);
}
.suite {
  counter-reset: suite;
  margin-top: var(--tz-2);
}
.suite li {
  position: relative;
  padding: 12px 0 12px 44px;
  border-top: 1px solid var(--tz-ligne);
  color: var(--tz-ardoise);
  counter-increment: suite;
}
.suite li:first-child {
  border-top: 0;
}
.suite li::before {
  content: counter(suite);
  position: absolute;
  left: 0;
  top: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font: 800 0.875rem/1 var(--tz-police);
  color: #fff;
  background: var(--tz-signal);
}
.suite b {
  display: block;
  color: var(--tz-nuit);
}
.carte-nuit {
  color: #fff;
  background: var(--tz-aurore);
  border-color: transparent;
}
.carte-nuit .sur {
  color: #9fb4ff;
}
.carte-nuit p:last-child {
  color: #c9d5ee;
}
.lien-mail {
  display: inline-block;
  margin: 10px 0;
  font: 800 clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem) / 1.2 var(--tz-police);
  letter-spacing: -0.02em;
  color: var(--tz-volt);
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* Textes longs */
.prose h2 {
  margin: var(--tz-6) 0 var(--tz-2);
  font: 800 var(--tz-titre-m) / 1.2 var(--tz-police);
  letter-spacing: -0.025em;
  scroll-margin-top: 110px;
}
.prose p {
  margin-bottom: var(--tz-2);
  color: #33415c;
}
.prose a {
  color: var(--tz-signal);
}
.prose mark {
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--tz-nuit);
  background: #c8f53c80;
}
.alerte {
  padding: var(--tz-3);
  border-left: 4px solid var(--tz-volt);
  border-radius: var(--tz-rayon-s);
  background: var(--tz-brume);
}

/* --- Pied de page -------------------------------------------------------------------- */
.pied {
  padding: clamp(56px, 8vw, 96px) 0 var(--tz-4);
  color: #a9b8d6;
  background: var(--tz-nuit);
  font-size: 0.9375rem;
  --logo-barres: var(--tz-signal-clair);
  --logo-texte: #fff;
}
.pied-grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: var(--tz-6);
}
.pied-logo {
  display: block;
  width: 168px;
  margin-bottom: var(--tz-3);
}
.pied nav {
  display: grid;
  align-content: start;
  gap: 10px;
}
.pied b {
  margin-bottom: 4px;
  font: 700 0.75rem/1.4 var(--tz-police);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.pied a {
  text-decoration: none;
  transition: color var(--tz-rapide);
}
.pied a:hover {
  color: var(--tz-volt);
}
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--tz-6);
  padding-top: var(--tz-3);
  border-top: 1px solid #ffffff1f;
  font-size: 0.875rem;
}

/* Apparition au défilement (activée par le script) */
.js .apparait {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--tz-courbe) var(--retard, 0ms),
    transform 700ms var(--tz-courbe) var(--retard, 0ms);
}
.js .apparait.visible {
  opacity: 1;
  transform: none;
}

/* --- Petits écrans ------------------------------------------------------------------- */
@media (max-width: 900px) {
  .entete-menu {
    display: block;
  }
  .entete-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 96px 24px 40px;
    background: var(--tz-aurore);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--tz-normal) var(--tz-courbe),
      visibility var(--tz-normal);
  }
  .entete.ouvert .entete-nav {
    opacity: 1;
    visibility: visible;
  }
  .entete-nav > a:not(.bouton) {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
  }
  .entete-nav .bouton {
    margin: 20px 0 0;
    padding: 17px 26px;
    font-size: 1.0625rem;
  }
  .hero-barres {
    width: 92%;
    opacity: 0.4;
  }
  .onglets-panneau,
  .secteur,
  .duo,
  .contact {
    grid-template-columns: 1fr;
  }
  .secteur:nth-child(even) > .navigateur {
    order: 0;
  }
  .duo-inverse > .plaquette {
    order: -1;
  }
  .pied-grille {
    grid-template-columns: 1fr 1fr;
  }
  .pied-grille > div {
    grid-column: 1 / -1;
  }
  .parcours-repere {
    position: static;
  }
}
@media (max-width: 560px) {
  .champs {
    grid-template-columns: 1fr;
  }
  .site-apres header span {
    display: none;
  }
  .mock-nav span {
    display: none;
  }
  .parcours > li {
    grid-template-columns: 1fr;
  }
  .parcours-repere {
    display: flex;
    align-items: flex-end;
    gap: 14px;
  }
  .parcours-repere .etape-barre {
    width: 96px;
    height: 84px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .apparait {
    opacity: 1;
    transform: none;
  }
}
