/* Kalma AI : la page de garde en éventail (25/11/2026).
   À gauche : le grand titre, le texte, les boutons, et les deux façons de travailler (sur mesure, catalogue)
   avec leur prix et un « i » qui ouvre le détail.
   À droite : des exemples de sites qu'on fait glisser comme un paquet de cartes.
   Le mouvement est dans eventail.js. */

.hero.ev {
  display: block;
  padding: clamp(92px, 12vh, 128px) var(--gutter) clamp(28px, 5vh, 56px);
  overflow-x: clip;
  overflow-y: visible;
  background: var(--bg);
}

.ev-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "tete droite"
    "actions droite"
    "offres offres";
  align-content: center;
  column-gap: clamp(24px, 4vw, 64px);
  max-width: var(--max);
  min-height: calc(100svh - clamp(92px, 12vh, 128px) - clamp(28px, 5vh, 56px));
  margin: 0 auto;
}

.ev-tete {
  grid-area: tete;
}

.ev-droite {
  grid-area: droite;
  align-self: center;
  min-width: 0;
}

.ev-actions {
  grid-area: actions;
}

.ev-offres {
  grid-area: offres;
}

/* ——— Le titre et le texte ——— */
.ev-h {
  font: 500 clamp(40px, 5.1vw, 78px) / 1.03 "Geist", "Inter", sans-serif;
  letter-spacing: -0.05em;
}

.ev-h span {
  color: #77777c;
}

.ev-p {
  max-width: 44ch;
  margin-top: clamp(16px, 2.6vh, 30px);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5;
  color: var(--label-2);
}

.ev-ex {
  max-width: 52ch;
  margin-top: 10px;
  font-size: var(--t-footnote);
  line-height: 1.5;
  color: var(--label-3);
}

/* ——— Les boutons ——— */
.ev-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: clamp(18px, 3vh, 32px);
}

.hero.ev .btn {
  width: auto;
  margin-top: 0;
  flex: none;
}

.ev-lien {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: var(--t-subhead);
  font-weight: 500;
  color: var(--label-2);
  transition: color var(--t-fast) var(--ease);
}

.ev-lien svg,
.hero.ev .btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-fast) var(--ease);
}

.ev-lien:hover {
  color: var(--label);
}

.ev-lien:hover svg {
  transform: translateX(2px);
}

.ev-tel {
  flex-basis: 100%;
  font-size: var(--t-footnote);
  color: var(--label-3);
  transition: color var(--t-fast) var(--ease);
}

.ev-tel small {
  font-size: inherit;
}

.ev-tel b {
  font-weight: 600;
  color: var(--label-2);
}

.ev-tel:hover,
.ev-tel:hover b {
  color: var(--label);
}

/* ——— Les deux façons de travailler : deux blocs côte à côte, sous les deux colonnes ——— */
.ev-offres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(12px, 2vh, 28px);
}

.ev-o {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 1.5vw, 22px);
  padding: clamp(12px, 1.1vw, 18px) clamp(16px, 1.6vw, 24px);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  transition:
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.ev-o:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.ev-o-t {
  flex: 1 1 0;
  min-width: 0;
  align-self: flex-start;
  padding-right: 36px;
}

.ev-o h2 {
  font: 500 clamp(18px, 1.6vw, 23px) / 1.1 "Geist", "Inter", sans-serif;
  letter-spacing: -0.03em;
}

/* Tout le bloc mène à sa section, comme sur le site en ligne. */
.ev-o h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.ev-o h2 a:focus-visible {
  outline: none;
}

.ev-o h2 a:focus-visible::after {
  outline: 2px solid var(--label);
  outline-offset: 3px;
}

.ev-o h2 em,
.ev-fiche-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0.45em;
  padding: 0.3em 0.6em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font: 500 11px/1 var(--font);
  font-style: normal;
  letter-spacing: 0;
  color: #c9c9ce;
  vertical-align: middle;
  white-space: nowrap;
}

.ev-o-t p {
  margin-top: 6px;
  font-size: clamp(11.5px, 0.9vw, 13px);
  line-height: 1.38;
  color: #a9a9ae;
}

.ev-o-p {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 11.5rem;
  padding-left: clamp(14px, 1.5vw, 22px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.ev-o-p span {
  font-size: clamp(11px, 0.85vw, 12.5px);
  line-height: 1.2;
  color: #a9a9ae;
  white-space: nowrap;
}

.ev-o-p b {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  font: 500 clamp(22px, 2.1vw, 31px) / 1 "Geist", "Inter", sans-serif;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ev-o2 .ev-o-p b {
  font-size: clamp(19px, 1.75vw, 26px);
}

.ev-o-p small {
  font: 400 clamp(11px, 0.9vw, 13px) / 1 var(--font);
  letter-spacing: 0;
  color: #a9a9ae;
}

.ev-o-p em {
  font: 400 clamp(10px, 0.76vw, 11px) / 1.3 var(--font);
  font-style: normal;
  color: #77777d;
}

/* Le « i » : ouvre le détail de l'offre. */
.ev-i {
  position: absolute;
  z-index: 1;
  top: clamp(10px, 1vw, 14px);
  right: clamp(10px, 1vw, 14px);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: var(--label-2);
  cursor: pointer;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.ev-i::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
}

.ev-i svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.ev-i:hover {
  background: var(--label);
  color: #000;
}

.ev-i:focus-visible,
.ev-lien:focus-visible,
.ev-tel:focus-visible {
  outline: 2px solid var(--label);
  outline-offset: 3px;
}

/* ——— L'éventail ——— */
.ev-scene {
  --ev-l: 280px; /* largeur d'une carte, réglée par le script selon l'écran */
  --ev-h: calc(var(--ev-l) * 1.2);
  position: relative;
  width: 100%;
  height: calc(var(--ev-h) + 40px);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.ev-scene.ev-saisi {
  cursor: grabbing;
}

.ev-scene:focus-visible {
  outline: 2px solid var(--label);
  outline-offset: 6px;
  border-radius: 8px;
}

.ev-carte,
.ev-bord {
  position: absolute;
  left: 50%;
  top: 50%;
}

.ev-carte {
  width: var(--ev-l);
  height: var(--ev-h);
  margin: calc(var(--ev-h) / -2) 0 0 calc(var(--ev-l) / -2);
  will-change: transform, opacity;
}

/* Sans le script, seule la première carte se voit, au centre. */
.ev-carte:not(:first-of-type) {
  opacity: 0;
}

.ev-image,
.ev-contour,
.ev-centre,
.ev-ombre {
  position: absolute;
  inset: 0;
  border-radius: 24px;
}

.ev-image {
  overflow: hidden;
  background: #0c0c0c;
}

.ev-image img,
.ev-bord img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  pointer-events: none;
}

/* Un liseré clair à l'intérieur, pour détacher la carte du fond noir. */
.ev-image::after,
.ev-bord::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.ev-nuit {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
}

/* La même pastille que dans la mosaïque « L'IA, au travail. » */
.ev-pastille {
  position: absolute;
  left: 9%;
  top: 6%;
  padding: 0.38em 0.8em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: calc(var(--ev-l) * 0.046);
  font-weight: 600;
  color: #f5f5f7;
}

.ev-contour {
  border: 1px solid rgba(245, 245, 247, 0.4);
  opacity: 0;
}

/* La carte du centre : un anneau blanc, détaché de la carte pour se voir aussi sur une image claire. */
.ev-centre {
  inset: -7px;
  border-radius: 31px;
  border: 1.5px solid var(--label);
  opacity: 0;
  pointer-events: none;
}

.ev-ombre {
  z-index: -1;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Les deux emplacements fixes des bords : ils ne bougent pas, seule leur image change. */
.ev-bord {
  z-index: 1;
  overflow: hidden;
  background: #0c0c0c;
  opacity: 0;
}

.ev-bord .ev-nuit {
  opacity: 0.45;
}

/* ——— La carte vivante : la démonstration animée de la famille choisie, sur la carte du centre ——— */
.ev-vivant {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 40;
  width: var(--ev-l);
  height: var(--ev-h);
  margin: calc(var(--ev-h) / -2) 0 0 calc(var(--ev-l) / -2);
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.ev-vivant.ev-la {
  opacity: 1;
}

.ev-vivant::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ev-demo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ev-demo[hidden] {
  display: none;
}

.ev-demo > .dev-br {
  width: 88%;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
}

.ev-demo > .duo {
  width: 92%;
  max-height: 78%;
}

.ev-demo > .pflow {
  width: 92%;
  max-height: none;
}

/* L'identité visuelle : toute la planche tient dans la carte, rien n'est coupé. */
.ev-demo > .pb-v4 {
  width: 100%;
}

/* E-books et Mes créations : deux maquettes en code, à la taille de la carte (unités cqw = % de la largeur de la carte). */
.ev-vivant {
  container-type: size;
}

.ev-demo.ev-mq {
  background: radial-gradient(120% 90% at 50% 35%, #1c1c1f, #060607);
  font-family: var(--font);
  line-height: 1;
  text-align: left;
  color: #fff;
}

/* ——— L'e-book : une tablette et un téléphone, la même page qui défile sur les deux ——— */
.ev-lz {
  --p: 0; /* l'avancée de la lecture, de 0 à 1 */
  position: relative;
  width: 84cqw;
  height: 86cqw;
  margin-top: 13cqw; /* sous la pastille « À venir » */
}

.ev-lz-tab,
.ev-lz-tel {
  position: absolute;
  background: #0c0c0e;
}

.ev-lz-tab {
  left: 0;
  top: 0;
  width: 60cqw;
  height: 76cqw;
  padding: 2.4cqw;
  border-radius: 4.4cqw;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 7cqw 12cqw -6cqw rgba(0, 0, 0, 0.9);
}

.ev-lz-tel {
  right: 0;
  bottom: 0;
  width: 30cqw;
  height: 56cqw;
  padding: 1.5cqw;
  border-radius: 5.4cqw;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.24),
    -3cqw 5cqw 10cqw -3cqw rgba(0, 0, 0, 0.95);
}

.ev-lz-e {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.2cqw;
  background: #f7f7f9;
}

.ev-lz-tel .ev-lz-e {
  border-radius: 4cqw;
}

/* tout est en em : la même page, plus petite sur le téléphone */
.ev-lz-col {
  display: flex;
  flex-direction: column;
  gap: 2.3em;
  padding: 0 4.6em 6em;
  font-size: 1cqw;
  transform: translateY(calc(var(--p) * -68%));
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.ev-lz-tel .ev-lz-col {
  font-size: 0.52cqw;
}

.ev-lz-col > * {
  flex: none;
}

.ev-lz-couv {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2em;
  height: 34em;
  margin: 0 -4.6em 2.6em;
  padding: 5em 4.6em;
  background: linear-gradient(150deg, #232327, #0a0a0c 65%);
}

.ev-lz-couv u {
  height: 4.2em;
  width: 78%;
  border-radius: 1.2em;
  background: #f2f2f4;
}

.ev-lz-couv u + u {
  width: 46%;
  background: #6f6f76;
}

.ev-lz-col b {
  width: 58%;
  height: 3em;
  margin-top: 1.6em;
  border-radius: 1em;
  background: #0c0c0e;
}

.ev-lz-col b.c {
  width: 42%;
}

.ev-lz-col i {
  height: 1.15em;
  border-radius: 1em;
  background: #c4c4ca;
}

.ev-lz-col i.c {
  width: 62%;
}

.ev-lz-img {
  height: 20em;
  margin: 1em 0;
  border-radius: 1.8em;
  background: linear-gradient(160deg, #d9d9de, #bcbcc3);
}

.ev-lz-cit {
  height: 9em;
  margin: 1em 0;
  border-left: 0.9em solid #0c0c0e;
  border-radius: 0 1.4em 1.4em 0;
  background: #e6e6ea;
}

/* l'avancée de la lecture, en bas de la tablette */
.ev-lz-av {
  position: absolute;
  inset: auto 0 0;
  height: 6cqw;
  background: #f7f7f9;
  box-shadow: 0 -1px 0 #dcdce0;
}

.ev-lz-av::before,
.ev-lz-av i {
  content: "";
  position: absolute;
  left: 4.6cqw;
  top: 2.6cqw;
  height: 0.9cqw;
  border-radius: 1cqw;
}

.ev-lz-av::before {
  right: 4.6cqw;
  background: #d4d4d9;
}

.ev-lz-av i {
  width: calc((100% - 9.2cqw) * (0.08 + var(--p) * 0.92));
  background: #0c0c0e;
  transition: width 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ——— L'outil ——— */
.ev-ou {
  width: 82cqw;
  padding: 0 5cqw 5cqw;
  border-radius: 3.4cqw;
  background: #0c0c0e;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 6cqw 10cqw -5cqw rgba(0, 0, 0, 0.9);
}

.ev-ou-t {
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  height: 10cqw;
  margin: 0 -5cqw 1cqw;
  padding: 0 4cqw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-ou-t i {
  width: 1.9cqw;
  height: 1.9cqw;
  border-radius: 50%;
  background: #3a3a40;
}

.ev-ou-t b {
  margin-left: 2cqw;
  font: 500 3.6cqw/1 "Geist", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.ev-ou-r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 8.6cqw;
  font-size: 3.1cqw;
  color: #a9a9ae;
}

.ev-ou-inter {
  position: relative;
  width: 7.6cqw;
  height: 4.4cqw;
  border-radius: 99px;
  background: #26262b;
  transition: background-color 0.3s;
}

.ev-ou-inter::after {
  content: "";
  position: absolute;
  left: 0.8cqw;
  top: 0.8cqw;
  width: 2.8cqw;
  height: 2.8cqw;
  border-radius: 50%;
  background: #77777d;
  transition:
    transform 0.3s,
    background-color 0.3s;
}

.ev-ou-inter.on {
  background: #fff;
}

.ev-ou-inter.on::after {
  transform: translateX(3.2cqw);
  background: #000;
}

.ev-ou-curs {
  position: relative;
  width: 36cqw;
  height: 1.2cqw;
  border-radius: 1cqw;
  background: #26262b;
}

.ev-ou-curs i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  border-radius: inherit;
  background: #fff;
  transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.ev-ou-curs i.on {
  width: 78%;
}

.ev-ou-b {
  position: relative;
  height: 8cqw;
  margin-top: 2.4cqw;
  border-radius: 2cqw;
  background: #1b1b1f;
  overflow: hidden;
}

.ev-ou-b i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #fff;
}

.ev-ou-b.on i {
  width: 100%;
  transition: width 1.2s linear;
}

.ev-ou-b em {
  position: relative;
  display: block;
  font-size: 3.1cqw;
  font-style: normal;
  line-height: 8cqw;
  text-align: center;
  color: #8c8c93;
  mix-blend-mode: difference;
}

/* le résultat : un petit graphique et trois lignes, qui arrivent après « Générer » */
.ev-ou-res {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4cqw;
  height: 24cqw;
  margin-top: 3cqw;
  padding: 3.4cqw;
  border-radius: 2cqw;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ev-ou-g {
  display: flex;
  align-items: flex-end;
  gap: 1.3cqw;
  width: 46%;
  height: 100%;
}

.ev-ou-g i {
  flex: 1;
  height: 100%;
  border-radius: 0.8cqw 0.8cqw 0 0;
  background: #f2f2f4;
  transform: scaleY(0.06);
  transform-origin: bottom;
  opacity: 0.25;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s;
}

.ev-ou-res.on .ev-ou-g i {
  opacity: 1;
}

.ev-ou-res.on .ev-ou-g i:nth-child(1) { transform: scaleY(0.34); }
.ev-ou-res.on .ev-ou-g i:nth-child(2) { transform: scaleY(0.52); transition-delay: 0.06s; }
.ev-ou-res.on .ev-ou-g i:nth-child(3) { transform: scaleY(0.44); transition-delay: 0.12s; }
.ev-ou-res.on .ev-ou-g i:nth-child(4) { transform: scaleY(0.7); transition-delay: 0.18s; }
.ev-ou-res.on .ev-ou-g i:nth-child(5) { transform: scaleY(0.62); transition-delay: 0.24s; }
.ev-ou-res.on .ev-ou-g i:nth-child(6) { transform: scaleY(1); transition-delay: 0.3s; }

.ev-ou-l {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
  padding-bottom: 1cqw;
}

.ev-ou-l i {
  height: 1.3cqw;
  border-radius: 1cqw;
  background: #3a3a40;
  opacity: 0.4;
  transition: opacity 0.4s 0.25s;
}

.ev-ou-l i.c {
  width: 60%;
}

.ev-ou-res.on .ev-ou-l i {
  opacity: 1;
}

.ev-ou-ok {
  position: absolute;
  top: 3cqw;
  right: 3cqw;
  display: grid;
  place-items: center;
  width: 5.4cqw;
  height: 5.4cqw;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.ev-ou-res.on .ev-ou-ok {
  transform: scale(1);
}

.ev-ou-ok svg {
  width: 70%;
  fill: none;
  stroke: #000;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .ev-mq * {
    transition: none !important;
  }
}

/* Rien dans la démonstration ne prend le clic : on attrape toujours le paquet de cartes. */
.ev-vivant * {
  pointer-events: none !important;
}

/* Sur mesure et Catalogue : les prix se partagent toute la largeur du bloc. */
.ev-o .ev-o-p {
  flex: 1 1 0;
  max-width: none;
}

.ev-genre {
  min-height: 1.4em;
  margin-top: 2px;
  font-size: var(--t-footnote);
  color: var(--label-3);
}

/* ——— Les six familles du catalogue : un sélecteur en deux lignes de trois cases égales, sous les cartes ——— */
.ev-familles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  width: min(100%, 27rem);
  margin: clamp(8px, 1.4vh, 14px) auto 0;
  padding: 4px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.ev-familles button {
  height: 34px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--label-2);
  cursor: pointer;
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.ev-familles button:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--label);
}

.ev-familles button[aria-pressed="true"] {
  background: var(--label);
  color: #000;
}

.ev-familles button:focus-visible {
  outline: 2px solid var(--label);
  outline-offset: 2px;
}

/* ——— Sous les cartes : la famille choisie ——— */
.ev-info {
  margin-top: clamp(2px, 0.8vh, 10px);
  text-align: center;
}

.ev-nom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 1.3em;
  font: 500 clamp(18px, 1.5vw, 22px) / 1.25 "Geist", "Inter", sans-serif;
  letter-spacing: -0.025em;
}

.ev-nom em {
  padding: 0.3em 0.6em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font: 500 11px/1 var(--font);
  font-style: normal;
  letter-spacing: 0;
  color: #c9c9ce;
}

/* ——— Les fiches ouvertes par le « i » : des textes déjà présents ailleurs sur le site, réunis ——— */
.ev-fiche-k {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--t-subhead);
  color: #d6d6da;
}

.ev-fiche-tag {
  margin-left: 0;
}

.ev-pt {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ev-fiche .ev-fiche-t {
  margin-top: 14px;
  font: 500 clamp(24px, 3.4vw, 32px) / 1.12 "Geist", "Inter", sans-serif;
  letter-spacing: -0.04em;
  color: var(--label);
}

.ev-fiche .ev-fiche-p {
  margin-top: 12px;
  font-size: var(--t-callout);
  line-height: 1.5;
  color: var(--label-2);
}

.ev-fiche .ev-fiche-pq {
  margin-top: 10px;
  font-size: var(--t-footnote);
  line-height: 1.5;
  color: #a9a9ae;
}

/* Un titre de partie : discret, avec un filet au-dessus. */
.ev-fiche h3 {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font: 600 var(--t-footnote) / 1.3 var(--font);
  letter-spacing: 0;
  color: #a9a9ae;
}

.ev-fiche .ev-fiche-s {
  margin-top: 6px;
  font: 500 clamp(18px, 2.2vw, 21px) / 1.2 "Geist", "Inter", sans-serif;
  letter-spacing: -0.03em;
  color: var(--label);
}

.ev-fiche .ev-fiche-s .dim {
  color: #77777c;
}

/* Les offres et les formules : le nom et le détail à gauche, le prix à droite. */
.ev-lignes {
  margin-top: 8px;
}

.ev-lignes > li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-lignes > li:last-child {
  border-bottom: 0;
}

.ev-lignes b {
  display: block;
  font: 500 17px/1.25 "Geist", "Inter", sans-serif;
  letter-spacing: -0.025em;
}

.ev-lignes span {
  display: block;
  margin-top: 2px;
  font-size: var(--t-footnote);
  color: #a9a9ae;
}

.ev-lignes p {
  margin-top: 6px;
  font-size: var(--t-footnote);
  line-height: 1.5;
  color: var(--label-2);
}

.ev-lignes strong {
  flex: none;
  font: 500 17px/1.25 "Geist", "Inter", sans-serif;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.ev-lignes strong small {
  display: block;
  font: 400 var(--t-footnote) / 1.3 var(--font);
  letter-spacing: 0;
  color: #a9a9ae;
}

.ev-formules ul {
  margin-top: 8px;
}

.ev-formules ul li {
  position: relative;
  padding-left: 14px;
  font-size: var(--t-footnote);
  line-height: 1.55;
  color: var(--label-2);
}

.ev-formules ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: #77777c;
}

/* Les six étapes, avec leur texte. */
.ev-pas {
  margin-top: 12px;
  counter-reset: pas;
}

.ev-pas li {
  counter-increment: pas;
  position: relative;
  padding: 0 0 14px 38px;
}

.ev-pas li::before {
  content: counter(pas);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ev-pas b {
  font: 500 16px/1.5 "Geist", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.ev-pas p {
  margin-top: 2px;
  font-size: var(--t-footnote);
  line-height: 1.5;
  color: var(--label-2);
}

/* Les six familles du catalogue. */
.ev-six {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 14px;
  counter-reset: six;
}

.ev-six li {
  counter-increment: six;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-subhead);
}

.ev-six li::before {
  content: counter(six);
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Les questions fréquentes : la réponse s'ouvre au clic. */
.ev-qr {
  margin-top: 6px;
}

.ev-qr details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-qr details:last-child {
  border-bottom: 0;
}

.ev-qr summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  font-size: var(--t-subhead);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.ev-qr summary::-webkit-details-marker {
  display: none;
}

.ev-qr summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #a9a9ae;
  border-bottom: 1.5px solid #a9a9ae;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--t-fast) var(--ease);
}

.ev-qr details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.ev-qr summary:focus-visible {
  outline: 2px solid var(--label);
  outline-offset: 2px;
  border-radius: 4px;
}

.ev-qr details > div {
  padding: 0 0 14px;
  font-size: var(--t-footnote);
  line-height: 1.6;
  color: var(--label-2);
}

.ev-fiche-a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 26px;
}

.ev-fiche .btn {
  width: auto;
  margin-top: 0;
  flex: none;
}

.ev-fiche .btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ——— Téléphone et tablette : une seule colonne, tout centré ——— */
@media (max-width: 959px) {
  .ev-in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tete"
      "droite"
      "actions"
      "offres";
    min-height: 0;
    justify-items: center;
    text-align: center;
  }

  .ev-h {
    font-size: clamp(32px, 9.4vw, 64px);
    line-height: 1.05;
  }

  .ev-p,
  .ev-ex {
    margin-left: auto;
    margin-right: auto;
  }

  .ev-droite {
    width: 100%;
    margin-top: clamp(14px, 3vh, 28px);
  }

  .ev-actions {
    justify-content: center;
  }

  .ev-offres {
    width: 100%;
    max-width: 40rem;
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }
}

/* Dans chaque bloc : le titre et le texte en haut, sur toute la largeur ; les prix dessous. */
@media all {
  .ev-o {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 12px;
  }

  .ev-o-t {
    flex-basis: 100%;
  }

  .ev-o-p:first-of-type,
  .ev-o-t + .ev-o-p {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .hero.ev {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ev-actions {
    flex-direction: column;
    gap: 4px;
  }

  .ev-tel {
    flex-basis: auto;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ev-lien,
  .ev-lien svg,
  .hero.ev .btn svg,
  .ev-i,
  .ev-tel {
    transition: none;
  }
}
