/* ==========================================================================
   Stash & Go — pages « Devenir partenaire » et « Devenir affilié partenaire »
   Refonte intégrale d'après Figma (fileKey QDn1rzdp3zrrgTofUPGBEy) :
     frame 321:3060 « Devenair partenaire »          1440 × 8333
     frame 321:4146 « Devenir affilie partenaire »   1440 × 8169
   Chargée EN DERNIER par ces deux pages (et leurs miroirs /en/ et /es/) :
   elle doit passer devant responsive.css pour les surcharges de .hero.
   Toutes les valeurs viennent des tokens ; les rares constantes locales
   (hauteurs FIXED de la maquette) sont regroupées ci-dessous.
   ========================================================================== */

.page-partenariat {
  --pt-large: 1326px;   /* largeur des blocs « pleine carte » (1440 − 57 × 2) */
  /* Verts des montants : la teinte Figma (#08B347) ne passe pas le contraste
     AA sur blanc (2,78:1). Deux nuances imperceptiblement plus sombres, une
     par taille de texte, remettent les deux au-dessus du seuil. */
  --pt-money: #078A36;        /* grand nombre (≥ 24 px, seuil 3:1)   → 4,4:1 */
  --pt-money-texte: #06762D;  /* « MAD / mois » (14 px, seuil 4,5:1) → 5,6:1 */
  --pt-step-h: 400px;   /* hauteur FIXED des visuels d'étape                  */
}

/* Fond de page BLANC — les deux frames Figma (321:3060 et 321:4146) sont en
   #FFFFFF, et les bandes teintées portent leur propre fond (#FBFBFB pour le
   panneau, #F8F8FF pour le simulateur). `.page-simple` posait #FAFAFF sur le
   body : exactement la couleur des cartes « avantages » et des items de FAQ,
   qui devenaient donc invisibles. */
.page-partenariat { background: var(--c-white); }

/* Les <fieldset> de ces pages ne servent qu'à grouper : ni bordure ni marge
   du navigateur. `min-width: 0` les empêche de refuser de rétrécir. */
.page-partenariat fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Les visuels sont servis en <picture> (WebP + repli) : sans cette règle,
   l'élément <picture> s'intercale dans la grille et l'image ne remplit plus
   sa carte. `display: contents` le retire de la mise en page — les
   sélecteurs restent donc écrits en descendants, jamais en enfant direct. */
.page-partenariat picture:not(.pt-hero__carte-img) { display: contents; }
/* Exception : ce <picture>-là porte lui-même le positionnement de l'image de
   fond de la carte du hero — le retirer du flux le viderait de son rôle. */
.pt-hero__carte-img { display: block; }

/* ==========================================================================
   1. Hero
   ========================================================================== */

/* Bandeau lilas : 796 px (locaux) / 991 px (affiliés), contenu à 201 / 193. */
.hero--pt { padding-top: 201px; padding-bottom: 40px; }
.hero--pt::before { height: 796px; }
.hero--pt-centre { padding-top: 193px; padding-bottom: 40px; }
.hero--pt-centre::before { height: 991px; }

.pt-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.pt-hero__col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 617px;
  flex: 0 0 auto;
}
.pt-hero__head { display: flex; flex-direction: column; gap: 32px; }
.pt-hero__titles { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.pt-hero__ligne { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.pt-hero__title {
  font-family: var(--f-display);
  font-size: var(--t-h1);
  line-height: var(--t-h1-lh);
  font-weight: 800;
  color: var(--c-ink);
}
.pt-hero__lead {
  font-size: var(--t-lead);
  line-height: var(--t-lead-lh);
  color: var(--c-body);
}
/* HUG horizontal comme dans Figma : le bloc fait la largeur de ses boutons,
   pas celle de la colonne. */
.pt-hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; align-self: flex-start; }

/* Badge blanc plein du hero (les autres sections utilisent .badge). */
.badge--pt-hero {
  background: var(--c-white);
  border: 0;
  padding: 8px 22px;
}
/* .badge__dash est calé sur 18×8 par components.css ; la variante hero de la
   maquette utilise un tiret 19×14 — sans cette règle il est écrasé. */
.badge--pt-hero .badge__dash { width: 19px; height: 14px; }

/* --- Preuve sociale : avatars + note ------------------------------------ */
.pt-preuve { display: flex; align-items: center; gap: 16px; align-self: flex-start; }
.pt-preuve__avatars {
  display: flex;
  align-items: center;
  background: var(--c-white);
  border-radius: 40px;
  padding: 5px;
}
.pt-preuve__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: .5px solid #F6F6F6;
  box-shadow: -2px 0 3px rgba(0, 0, 0, .09);
}
.pt-preuve__avatar + .pt-preuve__avatar { margin-left: -11px; }
.pt-preuve__plus {
  position: relative;
  display: grid;
  place-items: center;
  margin-left: -11px;
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  color: var(--c-white);
  font-size: var(--t-small);
  line-height: 18px;
  font-weight: 600;
  box-shadow: -2px 0 2px rgba(0, 0, 0, .08);
}
.pt-preuve__plus img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-preuve__plus span { position: relative; z-index: 2; }
.pt-preuve__plus::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, .6);
}
.pt-preuve__sep { width: 1px; height: 20px; background: rgba(68, 76, 237, .4); }
.pt-preuve__note { display: flex; align-items: center; gap: 12px; }
.pt-preuve__etoiles {
  display: inline-flex;
  background: var(--c-white);
  border-radius: 40px;
  padding: 4px 10px;
}
.pt-preuve__texte {
  font-size: var(--t-small);
  line-height: 18px;
  font-weight: 500;
  color: #474747;
}

/* --- Carte visuelle du hero (locaux) ------------------------------------ */
.pt-hero__carte {
  position: relative;
  width: 527px; height: 531px;
  flex: 0 0 auto;
  border-radius: var(--r-48);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  isolation: isolate;
}
.pt-hero__carte-img { position: absolute; inset: 0; z-index: 1; }
.pt-hero__carte-img img { width: 100%; height: 100%; object-fit: cover; }
.pt-hero__carte::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(68, 76, 237, .1) 0%, rgba(68, 76, 237, .75) 100%);
}
.pt-hero__carte > *:not(.pt-hero__carte-img):not(picture) { position: relative; z-index: 3; }

.pt-hero__logo {
  align-self: flex-start;
  display: grid;
  place-items: center;
  padding: 8px 24px;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--r-pill);
}

/* Carte « Vos revenus » posée sur la photo */
/* 203 px est la largeur Figma, calée sur « 1 900 » (le montant de maquette).
   Le montant réel est calculé : à « 2 837 » la ligne ne tenait plus et
   « MAD / mois » passait à la ligne. Largeur au contenu, plancher à 203. */
.pt-gains {
  align-self: flex-start;
  width: auto;
  min-width: 203px;
  padding: 14px;
  background: var(--c-white);
  border-radius: var(--r-24);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pt-gains__titre {
  font-size: var(--t-body);
  line-height: 18px;
  font-weight: 500;
  color: var(--c-ink);
}
.pt-gains__montant { display: flex; align-items: flex-end; gap: 8px; }
.pt-gains__valeur {
  font-size: 35px;
  line-height: 25px;
  font-weight: 800;
  color: var(--c-ink);
}
.pt-gains__unite {
  font-size: var(--t-body);
  line-height: 18px;
  font-weight: 600;
  color: var(--c-ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.pt-gains__graphe {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  height: 84px;
}
.pt-gains__barre { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.pt-gains__barre i {
  display: block;
  width: 18px;
  height: var(--h, 45px);
  border-radius: var(--r-pill);
  background: rgba(68, 76, 237, .07);
}
.pt-gains__barre--fort i { background: var(--c-primary); }
.pt-gains__barre span {
  font-size: 10px;
  line-height: 13px;
  font-weight: 600;
  color: var(--c-ink);
}

/* --- Hero centré (affiliés) --------------------------------------------- */
.pt-hero__centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.pt-hero__centre .pt-hero__head { align-items: center; align-self: stretch; }
.pt-hero__centre .pt-hero__titles { align-items: center; text-align: center; gap: 16px; align-self: stretch; }
.pt-hero__centre .pt-hero__title { width: 100%; }
/* Figma : la 2e ligne du titre est peinte en dégradé (override de style sur les
   caractères 25→36), pas en aplat. Repli en aplat si background-clip: text
   n'est pas supporté — le titre resterait invisible sinon. */
.pt-hero__title-accent {
  color: var(--c-primary);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .pt-hero__title-accent {
    background-image: linear-gradient(110deg, #3A41D1 0%, #424BE7 55%, #4F59EA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
/* La maquette resserre le bloc titre et les boutons à 24 px (frame 51). */
.pt-hero__centre .pt-hero__head { gap: 24px; }

/* Hero de gauche (page « point partenaire ») : même override de dégradé dans
   Figma, mais la boîte du titre fait 3 lignes — l'axe y tombe à 135° et il
   traverse le titre ENTIER. On peint donc le dégradé sur le <h1> et on
   redonne l'encre pleine à la première moitié, sinon chaque ligne repartait
   au début du dégradé et « travailler. » ressortait plus clair qu'en maquette. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero--pt .pt-hero__title:has(.pt-hero__title-accent) {
    background-image: linear-gradient(135deg, #1A1D82 0%, #414CF2 55%, #8698FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .hero--pt .pt-hero__title-accent { background: none; }
  .hero--pt .pt-hero__title-base {
    -webkit-text-fill-color: var(--c-ink);
    color: var(--c-ink);
  }
}
.pt-hero__centre .pt-hero__actions { align-self: center; }
.pt-hero__centre .pt-hero__ligne { align-items: center; gap: 8px; align-self: stretch; }
.pt-hero__centre .pt-hero__title { text-align: center; }
.pt-hero__centre .pt-hero__lead { max-width: 782px; text-align: center; }

/* Trois vignettes « d'où viennent vos voyageurs » */
.pt-hero__vignettes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}
.pt-vignette {
  position: relative;
  height: 280px;
  flex: 0 0 auto;
  width: 340px;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 32px;
  isolation: isolate;
}
.pt-vignette--large { width: 471px; }
.pt-vignette picture img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* Voiles Figma : les trois vignettes n'ont PAS le même dégradé. Les deux
   latérales laissent la photo intacte sur leur moitié haute ; la centrale
   empile trois dégradés et finit quasi opaque. Les valeurs ci-dessous sont
   les positions et alphas relevés sur les frames 2147241261/62/63. */
.pt-vignette::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(68, 76, 237, .04) 47%, rgba(68, 76, 237, .70) 96.2%);
}
.pt-vignette:last-child::after {
  background: linear-gradient(180deg, rgba(68, 76, 237, 0) 64.5%, rgba(68, 76, 237, .71) 102.7%);
}
.pt-vignette--large::after {
  background: linear-gradient(180deg,
              rgba(68, 76, 237, .20) 0%,
              rgba(68, 76, 237, .29) 50%,
              rgba(68, 76, 237, .75) 80%,
              rgba(68, 76, 237, .99) 100%);
}
.pt-vignette span {
  position: relative;
  z-index: 3;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--c-white);
}

/* Bandeau logos + note Google sous les vignettes */
.pt-hero__marques {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pt-marques {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pt-marques img { display: block; max-width: 100%; height: auto; }
/* Le logo de la pastille est un logo carré : à largeur imposée il gonflait la
   pastille (54 px de haut au lieu de 25) et le bandeau entier avec. */
.pt-marques__pastille img { width: auto; height: 25px; }
/* La pastille d'avis est le composant de l'accueil (46 px de rond) : dans ce
   bandeau la maquette la veut à 40 px de haut, comme les logos. */
.pt-hero__marques .rating-pill { padding: 5px 16px 5px 5px; gap: 8px; }
.pt-hero__marques .rating-pill__logo { width: 30px; height: 30px; }
.pt-hero__marques .rating-pill__logo img { width: 20px; height: 20px; }
/* Hauteur fixe : les logos ne font pas la même hauteur (23 à 27 px), et sans
   ça les pastilles du bandeau n'étaient pas alignées entre elles. */
.pt-marques__pastille {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 20px;
  background: rgba(255, 255, 255, .94);
  border-radius: 51px;
}
/* Hauteurs de logo de la maquette : airbnb 25, Booking 23, Conciergerie 25,
   Stash & Go 27 — chacun sur sa propre pastille blanche. */
.pt-marques__pastille--booking img { height: 23px; }
.pt-marques__pastille--lg img { height: 27px; }
/* Filet de séparation entre les marques partenaires et nos propres preuves. */
.pt-marques__sep {
  flex: 0 0 auto;
  width: 1px;
  height: 20px;
  background: rgba(68, 76, 237, .4);
}
/* Le bandeau de logos est à 32 px des vignettes, pas 40 (frame 2147241265). */
.pt-hero__centre .pt-hero__marques { margin-top: -8px; }

/* ==========================================================================
   2. En-têtes de section
   ========================================================================== */

.pt-section { padding-block: 0; }
/* 48 px entre l'en-tête et le contenu de la section (Figma). */
.pt-section > .container { display: flex; flex-direction: column; gap: 48px; }

.pt-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.pt-head__group { display: flex; flex-direction: column; align-items: center; gap: 4px; }
/* Largeurs de titre et de chapô reprises de la maquette : elles fixent le
   nombre de lignes, donc la hauteur de la section. */
.pt-head .section-title { color: var(--c-ink); max-width: var(--pt-titre, none); }
.pt-head__lead { max-width: var(--pt-chapo, 894px); }
.pt-head--t676 { --pt-titre: 676px; --pt-chapo: 638px; }
.pt-head--t722 { --pt-titre: 722px; }
.pt-head--t754 { --pt-titre: 754px; }
.pt-head--t772 { --pt-titre: 772px; --pt-chapo: 580px; }
.pt-head--t838 { --pt-titre: 838px; }
.pt-head--t894 { --pt-titre: 894px; --pt-chapo: 780px; }
.pt-head--gauche { align-items: flex-start; text-align: left; }
.pt-head--gauche .pt-head__group { align-items: flex-start; }

/* ==========================================================================
   3. Atouts (deux colonnes : carte dégradée + carte photo)
   ========================================================================== */

.pt-atouts {
  display: grid;
  grid-template-columns: 628fr 548fr;
  align-items: center;
  gap: 24px;
}
.pt-atouts__carte {
  padding: 40px;
  border-radius: var(--r-40);
  background: var(--grad-brand);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pt-atouts__deco {
  position: absolute;
  top: 59px; left: 243px;
  z-index: -1;
  opacity: .08;
  pointer-events: none;
}
.pt-atouts__icone {
  display: grid;
  place-items: center;
  width: 55px; height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}
.pt-atouts__corps { display: flex; flex-direction: column; gap: 40px; }
.pt-atouts__bloc { display: flex; flex-direction: column; gap: 24px; }
/* base.css impose `color: var(--c-ink)` à tous les titres : sans `inherit`,
   ce h3 sort en NOIR sur la carte dégradée. */
.pt-atouts__titre {
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 45px;
  font-weight: 800;
  color: inherit;
}
.pt-atouts__liste { display: flex; flex-direction: column; gap: 18px; }
.pt-atouts__soustitre {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
}
.pt-atouts__texte {
  font-size: var(--t-lead);
  line-height: 24px;
  margin-top: 16px;
}
.pt-atouts__points {
  width: 407px;
  max-width: 100%;
  padding: 20px 16px;
  background: var(--c-white);
  border-radius: var(--r-24);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pt-atouts__point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 500;
  color: var(--c-primary);
}
.pt-atouts__photo {
  position: relative;
  height: 575px;
  border-radius: var(--r-40);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  isolation: isolate;
}
.pt-atouts__photo picture img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.pt-atouts__mini { position: relative; z-index: 2; display: flex; gap: 16px; width: 100%; }
/* min-width: 0 — sans lui, le texte fixe un min-content qui fait déborder les
   deux mini-cartes hors de la photo (visible dès ~1024 px). */
.pt-mini {
  flex: 1 1 0;
  min-width: 0;
  padding: 13px;
  background: var(--c-white);
  border-radius: var(--r-20);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pt-mini__head { display: flex; align-items: center; gap: 6px; }
.pt-mini__titre {
  font-family: var(--f-display);
  font-size: 15px;
  line-height: 19px;
  font-weight: 700;
  color: var(--c-ink);
}
.pt-mini__texte {
  font-size: var(--t-body);
  line-height: 21px;
  color: var(--c-body);
}

/* Trois cartes « avantages » (page affiliés) */
.pt-avantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pt-avantage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
  background: var(--c-bg-ghost);
  border-radius: var(--r-32);
  /* hauteur FIXED de la maquette, mais en plancher : une traduction plus
     longue (EN/ES) doit pouvoir pousser la carte au lieu de déborder. */
  min-height: 454px;
}
.pt-avantage--bas { flex-direction: column-reverse; justify-content: flex-end; }
/* Incrustations Figma sur les photos des cartes 1 et 3 (la carte du milieu
   n'en a pas) : le motif de tirets en haut, la pastille de marque en bas.
   Positions en % du visuel 360 × 300 de la maquette, pour rester justes
   quand la carte rétrécit. */
.pt-avantage__visuel { position: relative; display: block; }
.pt-avantage__deco {
  position: absolute;
  z-index: 2;
  top: 9.3%;
  width: 17.5%;
  height: auto;
}
.pt-avantage__marque {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--r-pill);
}
.pt-avantage__marque img { width: auto; }
.pt-avantage:first-child .pt-avantage__deco { left: 7.8%; }
.pt-avantage:first-child .pt-avantage__marque {
  left: 57.8%; top: 17%;
  height: 48px; padding: 0 24px;
}
.pt-avantage:first-child .pt-avantage__marque img { height: 32px; }
.pt-avantage:last-child .pt-avantage__deco { right: 7.5%; }
.pt-avantage:last-child .pt-avantage__marque {
  left: 26.1%; top: 55.3%;
  height: 40px; padding: 0 20px;
}
.pt-avantage:last-child .pt-avantage__marque img { height: 27px; }
.pt-avantage__img {
  width: 100%; height: 300px;
  border-radius: var(--r-26);
  object-fit: cover;
  border: .75px solid #E9E9ED;
}
.pt-avantage__corps { display: flex; flex-direction: column; gap: 8px; padding: 10px; }
.pt-avantage__titre {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: var(--c-ink);
}
.pt-avantage__texte {
  font-size: var(--t-body);
  line-height: 21px;
  color: var(--c-body);
}

/* ==========================================================================
   4. Étapes (grande carte claire, visuel / texte en alternance)
   ========================================================================== */

.pt-panneau {
  width: min(var(--pt-large), 100% - 48px);
  margin-inline: auto;
  padding: 63px 52px;
  background: var(--c-bg-ghost-3);
  border-radius: 80px;
}
.pt-panneau__inner { max-width: var(--container); margin-inline: auto; display: flex; flex-direction: column; gap: 48px; }

.pt-etapes { display: flex; flex-direction: column; gap: 80px; }
.pt-etape {
  display: grid;
  grid-template-columns: 564px 1fr;
  align-items: center;
  gap: 64px;
}
.pt-etape--inverse { grid-template-columns: 1fr 564px; }
.pt-etape--inverse .pt-etape__visuel { order: 2; }
.pt-etape__visuel {
  position: relative;
  height: var(--pt-step-h);
  border-radius: var(--r-40);
  overflow: hidden;
}
.pt-etape__visuel picture img { width: 100%; height: 100%; object-fit: cover; }
/* Variante « affiliés » : rectangle indigo décalé derrière la photo. */
.pt-etape__visuel--decale { overflow: visible; }
.pt-etape__visuel--decale::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 359px; height: 233px;
  background: var(--c-indigo-300);
  border-radius: var(--r-48);
}
.pt-etape--inverse .pt-etape__visuel--decale::before { left: auto; right: 0; }
.pt-etape__visuel--decale picture img {
  position: relative;
  width: 552px; height: 388px;
  margin: 12px 0 0 12px;
  border-radius: var(--r-40);
  max-width: calc(100% - 12px);
}
.pt-etape--inverse .pt-etape__visuel--decale picture img { margin: 12px 12px 0 0; }

.pt-etape__corps { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
/* Le bouton est en HUG dans la maquette : sans align-self il s'étire sur toute
   la colonne (572 px au lieu de 228). */
.pt-etape__corps .btn { align-self: flex-start; }
/* L'indigo clair de la maquette tombe à 2,88:1 sur le fond de la carte :
   on garde la couleur de marque, en version lisible. */
.pt-etape__num {
  font-size: var(--t-body);
  line-height: 18px;
  font-weight: 600;
  color: var(--c-primary);
}
.pt-etape__titre {
  font-family: var(--f-display);
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  color: var(--c-ink);
  margin-top: 4px;
}
.pt-etape__points { display: flex; flex-direction: column; gap: 16px; }
.pt-etape__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  line-height: 23px;
  font-weight: 600;
  color: var(--c-body);
}
.pt-etape__point img { flex: 0 0 auto; margin-top: 1px; }
.pt-etape__texte {
  font-size: var(--t-lead);
  line-height: 26px;
  color: var(--c-body-2);
}

/* ==========================================================================
   5. Simulateur
   ========================================================================== */

.pt-simu-bande {
  background: var(--c-bg-ghost-2);
  border-radius: var(--r-hero);
  padding: 65px var(--gutter);
}
.pt-simu {
  display: grid;
  /* min-width: 0 sur les deux panneaux : sans lui, le titre h2 (44 px) fixe
     un min-content qui élargit la piste au-delà du conteneur en mobile. */
  grid-template-columns: minmax(0, 714fr) minmax(0, 486fr);
  max-width: var(--container);
  margin-inline: auto;
  box-shadow: 0 0 60px rgba(129, 140, 248, .16);
  border-radius: 55px;
}
.pt-simu__panneau {
  background: var(--c-white);
  border-radius: 55px 0 0 55px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.pt-simu__head { display: flex; flex-direction: column; gap: 24px; }
.pt-simu__controles { display: flex; flex-direction: column; gap: 32px; }
.pt-simu__champ { display: flex; flex-direction: column; gap: 24px; }
.pt-simu__ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pt-simu__label {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  color: var(--c-navy);
}
.pt-simu__valeur {
  display: inline-grid;
  place-items: center;
  min-width: 60px;
  padding: 7px 22px;
  background: rgba(129, 140, 248, .03);
  border: .75px solid rgba(129, 140, 248, .14);
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 22px;
  font-weight: 800;
  color: var(--c-primary);
}
.pt-simu__valeur--grand {
  font-size: 30px;
  line-height: 38px;
  font-weight: 700;
  color: var(--c-navy);
  padding: 7px 22px;
}
.pt-simu__champ--centre { align-items: center; }
.pt-simu__reglage { display: flex; flex-direction: column; gap: 16px; }

/* Curseur */
/* 32 px de haut pour la prise tactile ; la piste visible reste à 8 px. */
.pt-curseur {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px;
  background: transparent;
  cursor: pointer;
}
.pt-curseur::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--c-primary) 0 var(--pos, 50%),
                                     rgba(129, 140, 248, .18) var(--pos, 50%) 100%);
}
.pt-curseur::-moz-range-track {
  height: 10px;
  border-radius: var(--r-pill);
  background: rgba(129, 140, 248, .18);
}
.pt-curseur::-moz-range-progress {
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--c-primary);
}
.pt-curseur::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--c-white);
  border: 5px solid var(--c-primary);
  box-shadow: 0 2px 6px rgba(35, 42, 122, .2);
}
.pt-curseur::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-white);
  border: 5px solid var(--c-primary);
  box-shadow: 0 2px 6px rgba(35, 42, 122, .2);
}
.pt-curseur:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 6px; }
/* Graduation — Figma 321:3418 (frame 2147241230, itemSpacing 31).
   Six traits entre chaque borne, alternance 6 px / 11 px, 1 px de large en
   navy, tous centrés sur la ligne des nombres. L'écart de 31 px du Figma
   devient un space-between : notre rail est plus large que la maquette. */
.pt-bornes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-lead);
  line-height: 11px;
  font-weight: 600;
  color: var(--c-indigo-300);
}
.pt-bornes i {
  flex: 0 0 1px;
  width: 1px;
  height: 6px;
  background: var(--c-navy);
}
.pt-bornes i:nth-of-type(even) { height: 11px; }

/* Raccourcis / segments — .pt-simu__modes est la bascule « par places » /
   « par dépôts par jour », posée au-dessus du curseur. */
.pt-simu__raccourcis,
.pt-simu__modes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pt-simu__raccourcis-label {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  color: var(--c-ink);
}
.pt-segments { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pt-segment {
  display: inline-grid;
  place-items: center;
  min-width: 80px;
  height: 42px;
  padding-inline: 16px;
  background: var(--c-white);
  border: 1px solid var(--c-border-lang);
  border-radius: 999px;
  font-size: 15px;
  line-height: 26px;
  font-weight: 700;
  color: var(--c-body-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.pt-segment:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pt-segment.is-actif,
.pt-segment[aria-pressed="true"] {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}
.pt-segment--large { min-width: auto; height: 44px; font-size: var(--t-body); font-weight: 600; padding-inline: 18px; }
.pt-segment--large input { position: absolute; opacity: 0; pointer-events: none; }
.pt-segment--large:has(input:checked) {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}
.pt-segment--large:has(input:focus-visible) { outline: 2px solid var(--c-primary); outline-offset: 3px; }

/* Panneau des résultats */
.pt-simu__resultat {
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-indigo-300) 100%);
  border-radius: 0 55px 55px 0;
  padding: 37px 40px;
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}
.pt-simu__resultat-head { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pt-simu__resultat-titre {
  font-size: 18px;
  line-height: 23px;
  font-weight: 500;
}
.pt-simu__pastille {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 240px;
  padding: 17px 38px 15px;
  background: var(--c-white);
  border-radius: var(--r-pill);
  color: var(--pt-money);
}
.pt-simu__montant {
  font-size: 60px;
  line-height: 42px;
  font-weight: 800;
}
.pt-simu__unite {
  font-size: var(--t-body);
  line-height: 12px;
  font-weight: 600;
  color: var(--pt-money-texte);
}
.pt-simu__tuiles { display: flex; gap: 12px; }
.pt-simu__tuile {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .14);
}
/* Coins entaillés du Figma : ils sont conservés malgré l'écart de 12 px. */
.pt-simu__tuile:first-child { border-radius: 18px 18px 18px 0; }
.pt-simu__tuile:last-child { border-radius: 18px 18px 0 18px; }
.pt-simu__tuiles--une .pt-simu__tuile { border-radius: 18px 18px 0 0; }
.pt-simu__tuile dt {
  font-size: var(--t-small);
  line-height: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.pt-simu__tuile dd { font-size: 22px; line-height: 29px; font-weight: 600; }
/* Les tuiles et le bonus sont trois blocs distincts : l'écart de 12 px reprend
   celui qui sépare « Par jour » de « Par an », donc tous les coins sont arrondis. */
.pt-simu__bonus {
  margin-top: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, .14);
  border-radius: 0 0 18px 18px;
  font-size: var(--t-body);
  line-height: 21px;
  text-align: center;
}
.pt-simu__pied { display: flex; flex-direction: column; gap: 24px; }
.pt-simu__note {
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, .85);
  text-align: center;
}
.pt-simu__resultat .btn { background: var(--c-white); color: var(--c-primary); border: 0; }
.pt-simu__resultat .btn:hover { background: var(--c-bg-ghost); }

/* ==========================================================================
   6. Mosaïque « pour quels établissements »
   ========================================================================== */

.pt-types { display: flex; flex-direction: column; gap: 24px; }
.pt-types__rang { display: grid; gap: 24px; }
.pt-types__rang--a { grid-template-columns: 330fr 330fr 492fr; }
.pt-types__rang--b { grid-template-columns: 492fr 330fr 330fr; }
.pt-types__rang--c { grid-template-columns: 690fr 486fr; }
.pt-types__rang--d { grid-template-columns: 486fr 690fr; }

.pt-type {
  position: relative;
  height: 290px;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  isolation: isolate;
}
.pt-type--haut { height: 350px; border-radius: 46px; }
.pt-type picture img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.pt-type__pilule {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: var(--c-white);
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-size: var(--t-lead);
  line-height: 20px;
  font-weight: 700;
  color: var(--c-navy);
}
/* Teinte de la maquette (frame 2147241285, fond #818CF8 plein, libellé blanc).
   ⚠️ Choix assumé le 2026-08-15 à la demande du client : le blanc sur cet
   indigo clair donne 2,98:1, sous le seuil AA de 4,5:1 pour du 16 px gras.
   La version précédente utilisait --c-primary (5,9:1) — ne pas « corriger »
   sans en reparler. */
.pt-type__pilule--indigo {
  padding: 8px;
  background: var(--c-indigo-300);
  color: var(--c-white);
}
.pt-type__pilule--indigo span { padding-right: 10px; }

/* ==========================================================================
   7. Candidature / inscription
   ========================================================================== */

.pt-form {
  display: grid;
  grid-template-columns: 466px 1fr;
  align-items: stretch;
  gap: 48px;
}
.pt-form__aside {
  position: relative;
  padding: 40px;
  border-radius: var(--r-40);
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-indigo-300) 100%);
  color: var(--c-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pt-form__aside-head { display: flex; flex-direction: column; gap: 16px; }
.pt-form__aside .section-title { color: var(--c-white); }
.pt-form__aside-lead { font-size: var(--t-lead); line-height: 26px; }
.pt-form__atouts {
  padding: 20px;
  background: var(--c-white);
  border-radius: var(--r-28);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Puces alignées en haut comme dans Figma : le premier atout de la page
   affiliés tient sur deux lignes, l'icône doit rester sur la première. */
.pt-form__atout {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--t-lead);
  line-height: 24px;
  font-weight: 500;
  color: var(--c-navy);
}
.pt-form__atout img { flex: 0 0 auto; margin-top: 1.5px; }
/* z-index 0 + contenu en couche 1 : sinon le filigrane passe PAR-DESSUS la
   liste blanche dès que la colonne se raccourcit (≤ 1279 px). */
.pt-form__aside > *:not(.pt-form__deco) { position: relative; z-index: 1; }
.pt-form__deco {
  position: absolute;
  z-index: 0;
  left: 27px; bottom: 34px;
  max-width: calc(100% - 54px);
  opacity: .9;
  pointer-events: none;
}

.pt-form__carte {
  padding: 40px;
  background: var(--c-white);
  border: .75px solid var(--c-border-5);
  border-radius: var(--r-40);
  box-shadow: 0 4px 48px rgba(221, 224, 253, .65);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.pt-form__entete { display: flex; align-items: center; gap: 64px; }
.pt-form__etape {
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
  color: var(--c-navy);
  white-space: nowrap;
}
.pt-form__jauge {
  flex: 1 1 auto;
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(129, 140, 248, .18);
  overflow: hidden;
}
.pt-form__jauge i {
  display: block;
  height: 100%;
  width: var(--avancement, 50%);
  border-radius: var(--r-pill);
  background: var(--c-primary);
  transition: width var(--dur) var(--ease);
}
.pt-form__groupes { display: flex; flex-direction: column; gap: 24px; }
/* fieldset : bordure et marges du navigateur neutralisées (min-width évite
   qu'il refuse de rétrécir dans une grille). */
.pt-form__groupe {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
/* `display` n'est pas fiable sur <legend> : la mise en page se fait sur le
   <span> intérieur, qui porte le texte et le filet. */
/* <legend> n'est pas un item flex : l'écart avec les champs se pose ici. */
.pt-form__legende { width: 100%; padding: 0; margin-bottom: 20px; }
.pt-form__legende > span {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: var(--c-primary);
}
.pt-form__legende > span::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #EDEDED;
  border-radius: var(--r-pill);
}
.pt-form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pt-form__ligne--une { grid-template-columns: 1fr; }

/* Champs — arrondi pilule et bordure fine de la maquette */
.pt-form .field { display: flex; flex-direction: column; gap: 10px; }
.pt-form .field__label {
  font-family: var(--f-display);
  font-size: var(--t-body);
  line-height: 17px;
  font-weight: 500;
  color: var(--c-label);
}
.pt-form .field__control {
  height: 44px;
  padding: 0 17px;
  background: var(--c-white);
  border: .5px solid var(--c-border-4);
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 17px;
  color: var(--c-body);
}
.pt-form textarea.field__control {
  height: auto;
  padding: 14px 17px;
  border-radius: var(--r-24);
  line-height: 22px;
  resize: vertical;
}
.pt-form select.field__control {
  appearance: none;
  background-image: url("/assets/icons/chevron-sm.svg");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}
.pt-form .field__control:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 1px; }

/* Choix visuels (type de partenaire) */
.pt-choix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
/* height: 100% — sinon une tuile dont le libellé passe à deux lignes (EN/ES)
   devient plus haute que ses voisines et la rangée se désaligne. */
.pt-choix__option { position: relative; display: block; height: 100%; cursor: pointer; }
.pt-choix__option input { position: absolute; opacity: 0; pointer-events: none; }
.pt-choix__corps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  background: var(--c-white);
  border: .5px solid var(--c-border-4);
  border-radius: 18px;
  font-family: var(--f-display);
  font-size: var(--t-body);
  line-height: 18px;
  font-weight: 600;
  color: #434343;
  text-align: center;
  height: 100%;
  justify-content: center;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.pt-choix__option input:checked + .pt-choix__corps {
  background: rgba(68, 76, 237, .03);
  border: 1px solid rgba(68, 76, 237, .5);
  color: var(--c-navy);
}
.pt-choix__option input:focus-visible + .pt-choix__corps { outline: 2px solid var(--c-primary); outline-offset: 2px; }

.pt-form__pied { display: flex; flex-direction: column; gap: 16px; }
.pt-form__retour {
  align-self: center;
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--f-body);
  font-size: var(--t-body);
  color: var(--c-primary);
  text-decoration: underline;
  cursor: pointer;
}
.pt-form__lien { font-size: var(--t-body); line-height: 22px; color: var(--c-body-2); text-align: center; }

/* Contrat et code (parcours affilié conservé) */
.pt-contrat { display: flex; flex-direction: column; gap: 16px; }
.pt-contrat__titre {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 27px;
  font-weight: 700;
  color: var(--c-ink);
}
.pt-contrat__points { display: flex; flex-direction: column; gap: 12px; }
.pt-contrat__points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 24px;
  color: var(--c-body-2);
}
.pt-contrat__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-indigo-300);
}
.pt-code { max-width: 220px; letter-spacing: 6px; text-align: center; font-weight: 700; }

/* ==========================================================================
   8. FAQ (réutilise .faq-item de l'accueil)
   ========================================================================== */

.pt-faq { display: grid; grid-template-columns: 792fr 376fr; gap: 32px; align-items: stretch; }
.pt-faq__liste { display: flex; flex-direction: column; gap: 24px; }
.pt-faq__visuel {
  border-radius: var(--r-40);
  overflow: hidden;
  min-height: 573px;
}
.pt-faq__visuel picture img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   9. Rythme vertical
   ========================================================================== */

/* sections.css pose `main { margin-top: 144px }` pour les pages dont le hero
   vit HORS du <main> (c'est le cas de l'accueil). Ici le hero est dans le
   <main> : sans cette remise à zéro, ses 144 px s'ajoutent au padding du hero
   et le contenu tombe à 345 px au lieu des 201 px de la maquette.
   Le rythme vertical est alors donné par le seul `gap` : hero (201 + contenu
   + 40) + 104 = 876 px pour la 1re section, comme dans Figma. */
.page-partenariat main {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1279px) {
  .pt-hero__inner { gap: 32px; }
  /* 340 + 471 + 340 + 48 de gouttières = 1199 px : au-delà de 1279 px de
     fenêtre seulement. En dessous, les trois vignettes deviennent
     proportionnelles pour rester dans le conteneur. */
  .pt-vignette { width: 29%; }
  .pt-vignette--large { width: 40%; }
  .pt-hero__col { width: auto; flex: 1 1 380px; }
  .pt-hero__carte { width: 44%; min-width: 320px; height: auto; aspect-ratio: 527 / 531; }
  .pt-etape { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pt-etape--inverse { grid-template-columns: 1fr 1fr; }
  .pt-simu { grid-template-columns: minmax(0, 1fr); }
  .pt-simu__panneau { border-radius: 40px 40px 0 0; }
  .pt-simu__resultat { border-radius: 0 0 40px 40px; }
  .pt-form { grid-template-columns: 1fr; }
  .pt-faq { grid-template-columns: 1fr; justify-items: center; }
  /* En colonne, l'image portrait recadrée en bandeau devenait un gros plan
     illisible : on lui rend son rapport et on la borne. */
  .pt-faq__visuel {
    min-height: 0;
    width: min(420px, 100%);
    aspect-ratio: 376 / 573;
  }
  .pt-panneau { padding: 48px 32px; border-radius: 56px; }
  .pt-simu-bande { padding: 48px 32px; }
}

@media (max-width: 1023px) {
  .hero--pt, .hero--pt-centre { padding-top: 148px; }
  .hero--pt::before, .hero--pt-centre::before { height: 100%; border-radius: 0 0 40px 40px; }
  .pt-hero__inner { flex-direction: column; align-items: stretch; }
  /* La carte du hero passait en pleine largeur AVEC son ratio carré : 688 px
     de large = 700 px de haut, elle mangeait tout l'écran. Hauteur fixe. */
  .pt-hero__carte { width: 100%; min-width: 0; aspect-ratio: auto; height: 400px; }
  .pt-hero__title { font-size: 40px; line-height: 50px; }
  .pt-hero__vignettes { flex-wrap: wrap; }
  /* Même raison : trois vignettes en deux colonnes laissaient la troisième
     seule et centrée. Elles rétrécissent ensemble. */
  .pt-vignette, .pt-vignette--large { width: auto; flex: 1 1 0; min-width: 0; height: 220px; }
  .pt-atouts { grid-template-columns: 1fr; }
  /* En bandeau paysage, le cadrage « cover » coupait la tête du personnage :
     on remonte le point d'ancrage. */
  .pt-atouts__photo { height: 480px; }
  .pt-atouts__photo picture img { object-position: 50% 18%; }
  .pt-atouts__points { width: 100%; }
  .pt-etape, .pt-etape--inverse { grid-template-columns: 1fr; }
  .pt-etape--inverse .pt-etape__visuel { order: 0; }
  .pt-etape__visuel { height: 300px; }
  .pt-etape__visuel--decale picture img { width: 100%; height: 100%; margin: 0; max-width: 100%; }
  .pt-etape__visuel--decale::before { display: none; }
  .pt-etape__titre { font-size: 32px; line-height: 40px; }
  /* Les rangées de la mosaïque sont deux grilles de 3 : à deux colonnes,
     chacune laissait un trou. `display: contents` les fond en une seule
     grille, où les 6 cartes se répartissent régulièrement. */
  .pt-types { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .pt-types__rang { display: contents; }
  .pt-choix { grid-template-columns: 1fr 1fr; }
  .page-partenariat main { gap: 72px; }
}

/* ==========================================================================
   Cartes « avantages » — empilées à partir de 1024 px inclus (demande client
   du 2026-08-15). À trois colonnes elles tombaient à 299 px de large ; en
   pleine largeur, le format vertical étirerait l'image, d'où le passage en
   carte horizontale (image à gauche, texte à droite).
   Palier distinct de 1023 px : le point de bascule demandé comprend 1024.
   ========================================================================== */
@media (max-width: 1024px) {
  .pt-avantages { grid-template-columns: 1fr; }
  .pt-avantage,
  .pt-avantage--bas {
    height: auto;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 16px;
  }
  .pt-avantage__img { flex: 0 0 auto; width: 38%; max-width: 360px; height: 220px; }
  .pt-avantage__corps { flex: 1 1 auto; padding: 0; }
}

@media (max-width: 767px) {
  .pt-panneau { width: 100%; border-radius: 0; padding: 40px 20px; }
  .pt-simu-bande { border-radius: 0; padding: 40px 20px; }
  .pt-simu__panneau, .pt-simu__resultat, .pt-form__carte, .pt-form__aside { padding: 24px; }
  .pt-simu__panneau { border-radius: 32px 32px 0 0; }
  .pt-simu__resultat { border-radius: 0 0 32px 32px; }
  .pt-hero__title { font-size: 32px; line-height: 42px; }
  /* Le retour à la ligne de la maquette (2 lignes à 1440 px) coupe le nom de
     marque en deux sur petit écran : on laisse le texte se replier seul. */
  .pt-hero__title br { display: none; }
  .pt-hero__actions .btn { width: 100%; justify-content: center; }
  .pt-hero__vignettes { flex-direction: column; }
  /* En colonne, le « flex: 1 1 0 » hérité du palier 1023 px devient une base
     sur la HAUTEUR : il l'emportait sur height:220px et écrasait les trois
     vignettes à 32 px (constaté sur un enregistrement Hotjar, Android 360 px). */
  .pt-vignette, .pt-vignette--large { width: 100%; height: 220px; flex: 0 0 auto; }
  .pt-preuve { flex-wrap: wrap; gap: 12px; }
  .pt-preuve__sep { display: none; }
  .pt-avantages { grid-template-columns: 1fr; }
  /* Sous 768 px, l'image à gauche devient trop étroite : retour au vertical. */
  .pt-avantage,
  .pt-avantage--bas { flex-direction: column; align-items: stretch; padding: 12px; }
  .pt-avantage__img { width: 100%; max-width: none; height: 200px; }
  .pt-avantage__corps { padding: 10px; }
  .pt-types { grid-template-columns: 1fr; }
  .pt-hero__carte { height: 320px; }
  /* Sur téléphone, les deux mini-cartes recouvraient toute la photo : elles
     passent dessous, dans le flux, et l'image reprend un format lisible. */
  .pt-atouts__photo {
    height: auto;
    padding: 0;
    overflow: visible;
    display: block;
  }
  .pt-atouts__photo picture img {
    position: static;
    height: 260px;
    border-radius: var(--r-40);
    object-position: 50% 20%;
  }
  .pt-atouts__mini { margin-top: 16px; }
  .pt-atouts__mini { flex-direction: column; }
  .pt-atouts__carte, .pt-atouts__photo { padding: 24px; }
  .pt-atouts__titre { font-size: 24px; line-height: 34px; }
  .pt-etape__titre { font-size: 26px; line-height: 34px; }
  .pt-form__ligne { grid-template-columns: 1fr; }
  .pt-form__entete { gap: 20px; }
  .pt-simu__montant { font-size: 44px; line-height: 44px; }
  /* Le titre de section en 44 px ne se coupe pas : il faut le réduire pour
     que le panneau tienne dans 320 px. */
  .pt-simu .section-title { font-size: 28px; line-height: 36px; }
  .pt-simu .section-title, .pt-head .section-title { overflow-wrap: break-word; }
  .pt-simu__pastille { width: 100%; }
  .pt-simu__raccourcis, .pt-simu__modes { align-items: flex-start; flex-direction: column; gap: 12px; }
  .pt-hero__carte { border-radius: 32px; }
  .pt-gains { width: 100%; }
}

/* Sous 480 px, « Par jour » et « Par an » ne tiennent plus côte à côte :
   les montants (22 px) fixent un min-content trop large. On empile. */
@media (max-width: 479px) {
  .pt-simu__tuiles { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-form__jauge i, .pt-segment, .pt-choix__corps { transition: none; }
}
