/* ══════════════════════════════════════════════════════════════
   AUMELY — FEUILLE DE STYLE DU SITE
   Une seule feuille pour toutes les pages. Aucune dépendance,
   aucune étape de compilation côté navigateur.
   ══════════════════════════════════════════════════════════════ */

/* ── Jetons de design ─────────────────────────────────────────
   Couleurs reprises du code de l'application (Theme.swift) : le
   site et l'app doivent être reconnaissables comme un seul
   produit, pas comme deux chartes voisines. */
:root{
  --violet:       #6B61ED;
  --violet-fonce: #5249C9;
  --bleu:         #5C8CF7;
  --degrade:      linear-gradient(105deg, var(--bleu), var(--violet));

  /* Métiers — exactement les teintes que l'application donne à
     chaque profil sur son écran d'accueil. */
  --artisan:   #D9821F;
  --commerce:  #4E86F7;
  --liberal:   #6B61ED;
  --agricole:  #2E9E63;

  /* Neutres légèrement teintés de violet : jamais de gris pur. */
  --encre:    #0F0E1C;
  --encre-2:  #56536F;
  --encre-3:  #8B88A3;
  --papier:   #FFFFFF;
  --brume:    #F7F6FC;
  --brume-2:  #EFEDF8;
  --trait:    #E7E4F3;
  --trait-2:  #D9D5EC;

  /* Rythme */
  --large:      1180px;
  --etroit:     760px;
  --moyen:      940px;
  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  30px;

  --entete-h: 64px;
  --doux: cubic-bezier(.22,.61,.36,1);
}

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

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

body{
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3, h4{
  font-family: 'Schibsted Grotesk', 'Instrument Sans', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
h1 em, h2 em, h3 em{
  font-style: normal;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p{ margin: 0; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; }

:focus-visible{
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* Lien d'évitement : premier élément atteint au clavier. */
.saut{
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--encre);
  color: #fff;
  font-weight: 700;
  transition: top .25s var(--doux);
}
.saut:focus{ top: 12px; }

/* ── Conteneurs ───────────────────────────────────────────── */
.zone{
  width: 100%;
  max-width: var(--large);
  margin-inline: auto;
  padding-inline: 22px;
}
.zone--moyen { max-width: var(--moyen); }
.zone--etroit{ max-width: var(--etroit); }

@media (min-width: 768px){
  .zone{ padding-inline: 32px; }
}


/* ══════════════════════════════════════════════════════════════
   BOUTONS
   ══════════════════════════════════════════════════════════════ */
.bouton{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .3s var(--doux), box-shadow .3s var(--doux),
              background-color .3s var(--doux), border-color .3s var(--doux);
}
.bouton svg{ width: 19px; height: 19px; flex: none; }

.bouton--plein{
  background: var(--encre);
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(15,14,28,.7);
}
.bouton--plein:hover{ transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(15,14,28,.75); }

.bouton--degrade{
  background: var(--degrade);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(107,97,237,.75);
}
.bouton--degrade:hover{ transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(107,97,237,.8); }

.bouton--clair{
  background: #fff;
  color: var(--encre);
  border-color: var(--trait-2);
}
.bouton--clair:hover{ border-color: var(--encre-3); transform: translateY(-2px); }

.bouton--fantome{
  background: transparent;
  color: var(--encre);
  border-color: transparent;
  padding-inline: 14px;
}
.bouton--fantome:hover{ background: var(--brume-2); }

.bouton--grand{ padding: 16px 28px; font-size: 16.5px; border-radius: 14px; }
.bouton--petit{ padding: 9px 16px; font-size: 14.5px; border-radius: 10px; box-shadow: none; }
.bouton--pleine-largeur{ width: 100%; }

.bouton:active{ transform: translateY(0); }

/* Groupe d'appels à l'action */
.actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.actions--centre{ justify-content: center; }

/* Mention de réassurance sous un bouton */
.mention{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--encre-3);
}


/* ══════════════════════════════════════════════════════════════
   EN-TÊTE ET NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.entete{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--trait);
}
.entete__inner{
  max-width: var(--large);
  margin-inline: auto;
  height: var(--entete-h);
  padding-inline: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}
@media (min-width: 768px){ .entete__inner{ padding-inline: 32px; } }

.marque{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.03em;
  flex: none;
}
.marque img{ width: 30px; height: 30px; border-radius: 8px; }

.nav{ display: none; }
.nav a{
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--encre-2);
  transition: color .2s, background-color .2s;
}
.nav a:hover{ color: var(--encre); background: var(--brume-2); }
.nav a[aria-current="page"]{ color: var(--encre); font-weight: 700; }

.entete__actions{ margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Bouton du menu mobile */
.burger{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border: 1px solid var(--trait-2);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}
.burger span{
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--encre);
  transition: transform .3s var(--doux), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1000px){
  .nav{ display: flex; align-items: center; gap: 2px; margin-left: 14px; }
  .burger{ display: none; }
}

/* Panneau du menu mobile */
.menu{
  position: fixed;
  inset: var(--entete-h) 0 0 0;
  z-index: 99;
  background: var(--papier);
  padding: 18px 22px 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--doux), transform .28s var(--doux), visibility .28s;
}
.menu.est-ouvert{ opacity: 1; transform: none; visibility: visible; }
.menu a{
  padding: 15px 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--trait);
}
.menu a:last-of-type{ border-bottom: 0; }
.menu a[aria-current="page"]{ color: var(--violet); }
.menu .bouton{ margin-top: 16px; }
.menu__pied{
  margin-top: 22px;
  font-size: 14px;
  color: var(--encre-3);
}
@media (min-width: 1000px){ .menu{ display: none; } }

/* Le fond ne défile plus derrière le menu ouvert. */
body.menu-ouvert{ overflow: hidden; }


/* ══════════════════════════════════════════════════════════════
   APPARITIONS AU DÉFILEMENT
   Discrètes : quelques pixels, une fois, jamais de clignotement.
   Sans JavaScript, aucun élément n'est masqué.
   ══════════════════════════════════════════════════════════════ */
.js .monte{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--doux), transform .6s var(--doux);
  transition-delay: calc(var(--d, 0) * 65ms);
}
.monte.est-vu{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .monte{ opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after{
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   IPHONE — cadre dessiné en CSS
   L'écran garde EXACTEMENT le rapport des captures d'origine
   (1206 × 2622). Aucune capture n'est retouchée ni recadrée :
   elles sont seulement mises en scène.
   ══════════════════════════════════════════════════════════════ */
.tel{
  --ecran: 280px;
  --bord: calc(var(--ecran) * 0.038);
  width: calc(var(--ecran) + 2 * var(--bord));
  padding: var(--bord);
  border-radius: calc(var(--ecran) * 0.155);
  background: linear-gradient(158deg, #43434c, #0b0b0f 60%);
  box-shadow:
    0 44px 80px -30px rgba(15,14,28,.40),
    0 12px 24px -12px rgba(15,14,28,.24);
  position: relative;
  flex: none;
}
.tel::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.09);
  pointer-events: none;
}
.tel__ecran{
  position: relative;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--ecran) * 0.118);
  overflow: hidden;
  background: #f2f2f7;
}
.tel__ecran picture{ display: contents; }
.tel__ecran img{ width: 100%; height: 100%; object-fit: cover; }

/* Reflet et îlot dynamique */
.tel__ecran::before{
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(122deg,
    rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 34%);
}
.tel__ecran::after{
  content: "";
  position: absolute;
  top: calc(var(--ecran) * 0.032);
  left: 50%; transform: translateX(-50%);
  width: 31%;
  height: calc(var(--ecran) * 0.062);
  background: #000;
  border-radius: 99px;
  z-index: 3;
}

.tel--sm{ --ecran: 200px; }
.tel--lg{ --ecran: 300px; }
@media (min-width: 768px){
  .tel--sm{ --ecran: 224px; }
  .tel--lg{ --ecran: 330px; }
}

/* Halo derrière un appareil */
.halo{
  position: absolute;
  z-index: 0;
  left: 50%; top: 50%;
  width: 150%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--teinte, var(--violet));
  opacity: .16;
  filter: blur(60px);
  pointer-events: none;
}


/* ══════════════════════════════════════════════════════════════
   BLOCS DE PAGE COMMUNS
   ══════════════════════════════════════════════════════════════ */

/* En-tête de rubrique, en haut de chaque page intérieure */
.chapeau{
  padding: 62px 0 46px;
  background: linear-gradient(180deg, var(--brume-2) 0%, var(--papier) 100%);
  text-align: center;
}
.chapeau__zone{ max-width: 720px; margin-inline: auto; }
.chapeau h1{ font-size: clamp(2.05rem, 6vw, 3.2rem); }
.chapeau__lead{
  margin-top: 18px;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: var(--encre-2);
}
.chapeau .actions{ margin-top: 26px; }
@media (min-width: 768px){ .chapeau{ padding: 86px 0 62px; } }

.sur-titre{
  display: block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--violet);
}

/* Section générique */
.section{ padding: 62px 0; }
.section--brume{ background: var(--brume); }
.section--trait{ border-top: 1px solid var(--trait); }
@media (min-width: 768px){ .section{ padding: 88px 0; } }

.section__tete{
  max-width: 660px;
  margin: 0 auto 40px;
  text-align: center;
}
.section__tete h2{ font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.section__tete p{ margin-top: 16px; color: var(--encre-2); }
@media (min-width: 768px){ .section__tete{ margin-bottom: 52px; } }


/* ══════════════════════════════════════════════════════════════
   CARTES
   ══════════════════════════════════════════════════════════════ */
.grille{
  display: grid;
  gap: 14px;
  /* Colonnes fixées par palier plutôt qu'en auto-fit : les grilles du
     site comptent 3, 6 ou 9 cartes, et auto-fit les cassait en
     « 4 + 2 » — une dernière ligne bancale qui se voit tout de suite. */
  grid-template-columns: minmax(0, 1fr);
}
.grille--2{ grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px){
  .grille, .grille--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 940px){
  .grille{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .grille--2{ gap: 18px; }
}

.carte{
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--r-md);
  padding: 24px 22px;
}
.section--brume .carte{ background: #fff; }
.carte h3{
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.carte p{ font-size: .94rem; line-height: 1.55; color: var(--encre-2); }

.carte__icone{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--degrade);
  color: #fff;
}
.carte__icone svg{ width: 21px; height: 21px; }

/* Liste de points à l'intérieur d'une carte */
.points{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.points li{
  position: relative;
  padding-left: 26px;
  font-size: .94rem;
  line-height: 1.5;
  color: var(--encre-2);
}
.points li::before{
  content: "";
  position: absolute;
  left: 0; top: .38em;
  width: 16px; height: 16px;
  border-radius: 99px;
  background: var(--degrade);
}
.points li::after{
  content: "";
  position: absolute;
  left: 4.5px; top: .64em;
  width: 6px; height: 3.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.points strong{ color: var(--encre); font-weight: 700; }


/* ══════════════════════════════════════════════════════════════
   PASTILLES DE MÉTIER
   ══════════════════════════════════════════════════════════════ */
.metiers-liste{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.metiers-liste a, .metiers-liste li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--trait-2);
  border-radius: 99px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--encre-2);
  transition: border-color .3s var(--doux), color .3s var(--doux), transform .3s var(--doux);
}
.metiers-liste a:hover{ border-color: var(--encre-3); color: var(--encre); transform: translateY(-2px); }
.metiers-liste .emoji{ font-size: 15px; line-height: 1; }


/* ══════════════════════════════════════════════════════════════
   BANDE D'APPEL À L'ACTION, EN BAS DE CHAQUE PAGE
   ══════════════════════════════════════════════════════════════ */
.rappel{
  position: relative;
  padding: 66px 0;
  background: var(--encre);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.rappel__halo{
  position: absolute;
  top: -300px; left: 0; right: 0;
  height: 760px;
  background: radial-gradient(42% 48% at 50% 50%, rgba(107,97,237,.5), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.rappel__zone{ position: relative; max-width: 660px; margin-inline: auto; }
.rappel h2{ font-size: clamp(1.7rem, 4.6vw, 2.6rem); color: #fff; }
.rappel h2 em{
  background: linear-gradient(105deg, #8FB2FF, #A99FFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rappel p{ margin-top: 16px; color: rgba(255,255,255,.7); }
.rappel .actions{ margin-top: 28px; }
.rappel .mention{ color: rgba(255,255,255,.55); width: 100%; }
@media (min-width: 768px){ .rappel{ padding: 92px 0; } }


/* ══════════════════════════════════════════════════════════════
   PIED DE PAGE
   ══════════════════════════════════════════════════════════════ */
.pied{
  padding: 52px 0 30px;
  background: var(--brume);
  border-top: 1px solid var(--trait);
  font-size: 14.5px;
  color: var(--encre-2);
}
.pied__grille{
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
}
.pied__marque{ grid-column: 1 / -1; }
@media (min-width: 720px){
  .pied__grille{ grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .pied__marque{ grid-column: auto; }
}
.pied__signature{
  margin-top: 14px;
  max-width: 260px;
  font-size: 14px;
  color: var(--encre-3);
}
.pied h2{
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 14px;
}
.pied nav{ display: flex; flex-direction: column; gap: 10px; }
.pied nav a{ transition: color .2s; }
.pied nav a:hover{ color: var(--encre); }
.pied__bas{
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--trait);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--encre-3);
}


/* ══════════════════════════════════════════════════════════════
   ACCUEIL
   ══════════════════════════════════════════════════════════════ */
.heros{
  position: relative;
  padding: 46px 0 0;
  background: linear-gradient(180deg, #FBFAFF 0%, var(--brume-2) 62%, #EAF0FF 100%);
  /* Surtout PAS d'overflow caché ici : le bas de l'appareil doit
     déborder sur la bande suivante, c'est ce débordement qui invite à
     défiler. Le halo, lui, est déjà borné par « left: 0; right: 0 ». */
}
.heros__halo{
  position: absolute;
  top: -380px; left: 0; right: 0;
  height: 820px;
  background: radial-gradient(44% 50% at 50% 50%, rgba(107,97,237,.20), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.heros__zone{ position: relative; text-align: center; }
.heros__texte{ max-width: 720px; margin-inline: auto; }

.etiquette{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--trait-2);
  border-radius: 99px;
  background: rgba(255,255,255,.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
  color: var(--encre-2);
}
.etiquette__point{
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--degrade);
  flex: none;
}

.heros h1{
  margin-top: 20px;
  font-size: clamp(2.15rem, 7.4vw, 4rem);
}
.heros__lead{
  margin: 18px auto 0;
  max-width: 540px;
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  color: var(--encre-2);
}
.heros .actions{ margin-top: 26px; justify-content: center; }
.heros__mention{
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--encre-3);
}

.heros__appareil{
  position: relative;
  display: flex;
  justify-content: center;
  /* Voir la note sur .duo__appareil : sans cette ligne, le cadre noir
     de l'appareil s'étire sous son écran. */
  align-items: flex-start;
  margin-top: 34px;
  /* Le bas de l'appareil déborde : invite à défiler. */
  margin-bottom: -110px;
  z-index: 2;
}
@media (min-width: 768px){
  .heros{ padding-top: 64px; }
  .heros__appareil{ margin-top: 46px; margin-bottom: -150px; }
}

/* Bande de réassurance, juste sous le héros */
.preuves{
  padding: 140px 0 54px;
  background: #EAF0FF;
}
.preuves__grille{
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}
.preuve{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.9);
  text-align: center;
}
.preuve strong{
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: 1.02rem;
  letter-spacing: -.02em;
}
.preuve span{ font-size: 12.8px; color: var(--encre-2); }
@media (min-width: 768px){
  .preuves{ padding: 186px 0 66px; }
  .preuves__grille{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Alternance texte / capture */
.duo{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}
.duo__texte{ max-width: 480px; text-align: center; }
.duo__texte h2{ font-size: clamp(1.6rem, 4.2vw, 2.35rem); }
.duo__texte p{ margin-top: 16px; color: var(--encre-2); }
.duo__appareil{
  position: relative;
  display: flex;
  justify-content: center;
  /* INDISPENSABLE : un conteneur flex étire ses enfants sur l'axe
     transversal. Le second appareil étant décalé vers le bas, la
     rangée s'allonge — et le cadre du premier, dont le fond est noir,
     s'étire d'autant SOUS son écran, qui a un rapport fixe. On lisait
     une grosse bande noire. `flex: none` n'y change rien : il ne joue
     que sur la largeur. */
  align-items: flex-start;
}
.duo .actions{ margin-top: 24px; justify-content: center; }
@media (min-width: 880px){
  .duo{ flex-direction: row; justify-content: space-between; gap: 64px; align-items: center; }
  .duo--inverse{ flex-direction: row-reverse; }
  .duo__texte{ flex: 1; text-align: left; }
  .duo .actions{ justify-content: flex-start; }
}


/* ══════════════════════════════════════════════════════════════
   PAGE « POUR QUI ? » — fiches de métier
   ══════════════════════════════════════════════════════════════ */
.profil{
  scroll-margin-top: calc(var(--entete-h) + 20px);
  padding: 48px 0;
  border-top: 1px solid var(--trait);
}
.profil:first-of-type{ border-top: 0; }
.profil__grille{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.profil__texte{ max-width: 500px; }
.profil__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--teinte) 12%, transparent);
  color: color-mix(in srgb, var(--teinte) 78%, var(--encre));
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
@supports not (color: color-mix(in srgb, red 50%, blue)){
  .profil__badge{ background: var(--brume-2); color: var(--encre-2); }
}
.profil__texte h2{ font-size: clamp(1.55rem, 4.2vw, 2.2rem); }
.profil__texte > p{ margin-top: 16px; color: var(--encre-2); }
.profil__appareil{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;      /* même raison que .duo__appareil */
}
@media (min-width: 880px){
  .profil{ padding: 68px 0; }
  .profil__grille{ flex-direction: row; justify-content: space-between; gap: 60px; }
  .profil--inverse .profil__grille{ flex-direction: row-reverse; }
  .profil__texte{ flex: 1; }
}


/* ══════════════════════════════════════════════════════════════
   TARIFS
   ══════════════════════════════════════════════════════════════ */
.offre{
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--r-lg);
  padding: 40px 28px 34px;
  text-align: center;
  box-shadow: 0 40px 80px -50px rgba(15,14,28,.45);
}
.offre__ruban{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--brume-2);
  color: var(--violet);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.offre__prix{
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 4px;
}
.offre__montant{
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: clamp(3.2rem, 11vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offre__periode{ font-size: 1rem; font-weight: 600; color: var(--encre-3); }
.offre__sous{ font-size: .95rem; color: var(--encre-2); }
.offre .points{ margin: 28px auto; max-width: 320px; text-align: left; }
.offre .bouton{ margin-top: 6px; }
.offre__note{ margin-top: 16px; font-size: 13.5px; color: var(--encre-3); }
@media (min-width: 768px){ .offre{ padding: 52px 44px 40px; } }


/* ══════════════════════════════════════════════════════════════
   FAQ — repliables natifs
   ══════════════════════════════════════════════════════════════ */
.faq{
  max-width: var(--etroit);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__groupe{
  margin-top: 34px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--encre-3);
}
.faq__groupe:first-child{ margin-top: 0; }

.question{
  border: 1px solid var(--trait);
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color .3s var(--doux);
}
.question[open]{ border-color: var(--trait-2); }
.question summary{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  list-style: none;
}
.question summary::-webkit-details-marker{ display: none; }
.question summary::after{
  content: "";
  flex: none;
  width: 11px; height: 11px;
  margin-top: 6px;
  border-right: 2px solid var(--encre-3);
  border-bottom: 2px solid var(--encre-3);
  transform: rotate(45deg);
  transition: transform .3s var(--doux);
}
.question[open] summary::after{ transform: rotate(-135deg); }
.question summary:hover{ background: var(--brume); }
.question__reponse{
  padding: 0 18px 18px;
  color: var(--encre-2);
  font-size: .96rem;
  line-height: 1.6;
}
.question__reponse p + p{ margin-top: 12px; }


/* ══════════════════════════════════════════════════════════════
   RESSOURCES
   ══════════════════════════════════════════════════════════════ */
.ressource{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--r-md);
  padding: 24px 22px;
  transition: transform .3s var(--doux), box-shadow .3s var(--doux), border-color .3s var(--doux);
}
a.ressource:hover{
  transform: translateY(-3px);
  border-color: var(--trait-2);
  box-shadow: 0 22px 42px -32px rgba(15,14,28,.5);
}
.ressource h3{ font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.ressource p{ font-size: .94rem; color: var(--encre-2); line-height: 1.55; }
.ressource__lien{
  margin-top: 16px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--violet);
}
.ressource__lien::after{ content: " →"; }
.ressource--bientot{ background: var(--brume); border-style: dashed; }
.ressource--bientot .ressource__lien{ color: var(--encre-3); }
.ressource--bientot .ressource__lien::after{ content: ""; }


/* ══════════════════════════════════════════════════════════════
   ÉTAPES NUMÉROTÉES
   Le numéro n'est pas décoratif : ces trois gestes se font dans
   cet ordre, et pas dans un autre.
   ══════════════════════════════════════════════════════════════ */
.etapes{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  counter-reset: etape;
}
.etape{
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--trait);
  border-radius: var(--r-md);
  background: #fff;
  counter-increment: etape;
}
.etape::before{
  content: counter(etape);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: 14px;
  border-radius: 99px;
  background: var(--degrade);
  color: #fff;
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 800;
  font-size: 15px;
}
.etape h3{ font-size: 1.05rem; margin-bottom: 7px; }
.etape p{ font-size: .93rem; color: var(--encre-2); line-height: 1.55; }


/* ══════════════════════════════════════════════════════════════
   FORMULAIRE DE CONTACT
   ══════════════════════════════════════════════════════════════ */
.formulaire{
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: var(--r-md);
  padding: 26px 22px;
}
.champ{ display: flex; flex-direction: column; gap: 7px; }
.champ label{ font-size: 14px; font-weight: 700; }
.champ input, .champ textarea{
  font: inherit;
  font-size: 16px;                       /* 16px : iOS ne zoome pas au focus */
  padding: 12px 14px;
  border: 1px solid var(--trait-2);
  border-radius: 11px;
  background: var(--brume);
  color: var(--encre);
  transition: border-color .2s, background-color .2s;
}
.champ input:focus, .champ textarea:focus{
  background: #fff;
  border-color: var(--violet);
  outline: none;
}
.champ textarea{ min-height: 130px; resize: vertical; }
.formulaire__aide{
  min-height: 20px;
  font-size: 13.5px;
  color: var(--encre-2);
}
@media (min-width: 768px){ .formulaire{ padding: 32px 30px; } }


/* ══════════════════════════════════════════════════════════════
   PAGE INTROUVABLE
   ══════════════════════════════════════════════════════════════ */
.perdu{
  padding: 90px 0 100px;
  text-align: center;
}
.perdu__code{
  font-family: 'Schibsted Grotesk', sans-serif;
  font-size: clamp(4rem, 18vw, 7rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}


/* Liste de ce qui n'existe PAS encore : la coche de validation
   dirait exactement le contraire du texte. */
.points--non li::before{
  background: var(--trait-2);
}
.points--non li::after{
  left: 5px; top: .72em;
  width: 6px; height: 0;
  border-left: 0;
  border-bottom: 2px solid var(--encre-3);
  transform: none;
}


/* ══════════════════════════════════════════════════════════════
   APPEL À L'ACTION DE LA BARRE — deux longueurs
   ══════════════════════════════════════════════════════════════ */
.cta-long{ display: none; }
.cta-court{ display: inline; }
@media (min-width: 620px){
  .cta-long{ display: inline; }
  .cta-court{ display: none; }
}

/* ── Héros sur téléphone ─────────────────────────────────────
   Le premier écran doit montrer le message, le bouton, le prix
   ET le haut de l'application. Chaque pixel gagné ici sert à ça. */
@media (max-width: 619px){
  .heros{ padding-top: 34px; }
  .heros h1{ margin-top: 16px; font-size: clamp(1.95rem, 8.6vw, 2.6rem); }
  .heros__lead{ margin-top: 14px; font-size: 15.5px; line-height: 1.5; max-width: 330px; }
  .heros .actions{ margin-top: 22px; gap: 10px; }
  .heros .actions .bouton{ width: 100%; }
  .heros__mention{ margin-top: 12px; font-size: 13px; }
  .heros__appareil{ margin-top: 26px; margin-bottom: -90px; }
  .etiquette{ font-size: 12.5px; padding: 6px 13px; }
  .preuves{ padding-top: 118px; }
}


/* ══════════════════════════════════════════════════════════════
   DEUX APPAREILS CÔTE À CÔTE — pas sur un téléphone
   Deux cadres de 224 px qui se chevauchent tiennent sur un écran
   d'ordinateur, pas sur 360 px de large : le second débordait.
   Sur téléphone, on n'en garde qu'un, à une taille lisible —
   c'est le texte qui porte le propos, pas la mise en scène.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 619px){
  .duo__appareil .tel + .tel{ display: none; }
  .duo__appareil .tel{ --ecran: min(230px, calc(100vw - 96px)); }
  .profil__appareil .tel{ --ecran: min(230px, calc(100vw - 96px)); }
}

/* Le second appareil d'une scène à deux : décalé et abaissé, pour
   composer une scène plutôt qu'un alignement plat. */
.tel--decale{
  margin-left: -30px;
  margin-top: 46px;
  /* L'ombre latérale détache l'appareil de celui qu'il recouvre :
     sans elle, le premier avait l'air coupé au couteau. */
  box-shadow:
    -18px 20px 34px -20px rgba(15,14,28,.5),
    0 44px 80px -30px rgba(15,14,28,.40),
    0 12px 24px -12px rgba(15,14,28,.24);
}
@media (max-width: 619px){ .tel--decale{ margin: 0; } }


/* ══════════════════════════════════════════════════════════════
   CADRES FLUIDES
   Un iPhone dessiné à taille fixe déborde des écrans de 320 px
   (iPhone SE de première génération, fenêtre étroite). La largeur
   nominale devient donc un plafond, jamais une valeur imposée.
   ══════════════════════════════════════════════════════════════ */
.tel--sm{ --ecran: min(200px, calc(100vw - 92px)); }
.tel--lg{ --ecran: min(300px, calc(100vw - 92px)); }
@media (min-width: 768px){
  .tel--sm{ --ecran: min(224px, calc(100vw - 92px)); }
  .tel--lg{ --ecran: min(330px, calc(100vw - 92px)); }
}
@media (max-width: 619px){
  .duo__appareil .tel,
  .profil__appareil .tel{ --ecran: min(230px, calc(100vw - 92px)); }
}


/* Les halos font 150 % de leur conteneur : c'est ce qui leur donne
   leur diffusion. Sur un téléphone, ce débordement dépassait la
   largeur de l'écran. On le coupe au niveau de la section — `clip`
   plutôt que `hidden`, qui n'installe pas de conteneur de
   défilement et laisse donc l'en-tête collant fonctionner. */
/* ATTENTION : `overflow-x: clip` coupe AUSSI le débordement vertical
   (la spec CSS ne laisse pas un axe en « visible » quand l'autre ne
   l'est pas). On ne l'applique donc qu'aux sections qui n'ont rien à
   faire dépasser — surtout pas au héros, dont l'appareil doit déborder
   sur la bande suivante pour inviter à défiler. */
.section, .profil, .preuves{ overflow-x: clip; }

/* Le halo du héros est déjà borné par `left: 0; right: 0` : il ne
   déborde pas horizontalement, la section n'a donc rien à couper. */


/* ══════════════════════════════════════════════════════════════
   ENCADRÉ D'INFORMATION
   Sert à dire ce qui n'est pas encore disponible. Volontairement
   sobre : ce n'est ni une alerte, ni une promotion.
   ══════════════════════════════════════════════════════════════ */
.avis{
  max-width: 520px;
  margin: 22px auto 0;
  padding: 22px 24px;
  border: 1px dashed var(--trait-2);
  border-radius: var(--r-md);
  background: var(--brume);
  text-align: center;
  scroll-margin-top: calc(var(--entete-h) + 24px);
}
.avis__titre{
  font-family: 'Schibsted Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.avis p{ font-size: .94rem; line-height: 1.55; color: var(--encre-2); }


/* ══════════════════════════════════════════════════════════════
   TEXTE LÉGAL
   La politique de confidentialité et l'assistance sont déclarées
   dans App Store Connect : leur contenu est repris tel quel, seule
   la mise en forme est reprise du reste du site.
   ══════════════════════════════════════════════════════════════ */
.texte-legal{ font-size: 1rem; line-height: 1.68; color: var(--encre-2); }
.texte-legal h2{
  margin: 38px 0 12px;
  font-size: 1.3rem;
  color: var(--encre);
}
.texte-legal h3{
  margin: 26px 0 10px;
  font-size: 1.05rem;
  color: var(--encre);
}
.texte-legal p{ margin-bottom: 14px; }
.texte-legal ul{
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.texte-legal li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
}
.texte-legal li::before{
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--violet);
}
.texte-legal strong{ color: var(--encre); }
.texte-legal a{
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.texte-legal section{ margin-bottom: 4px; }


/* Le tableau de la politique de confidentialité (quelle donnée, pour
   quoi faire). Il doit rester lisible sur un téléphone : d'où le
   conteneur qui défile de son côté plutôt que la page entière. */
.texte-legal table{
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: .94rem;
}
.texte-legal thead th{
  text-align: left;
  padding: 10px 12px;
  background: var(--brume-2);
  color: var(--encre);
  font-weight: 700;
  border-bottom: 1px solid var(--trait-2);
}
.texte-legal th:first-child{ border-top-left-radius: 10px; }
.texte-legal th:last-child { border-top-right-radius: 10px; }
.texte-legal td{
  padding: 10px 12px;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}
.texte-legal tr:last-child td{ border-bottom: 0; }
.texte-legal td:first-child{ font-weight: 600; color: var(--encre); white-space: nowrap; }
@media (max-width: 560px){
  .texte-legal td:first-child{ white-space: normal; }
  .texte-legal table{ font-size: .88rem; }
  .texte-legal td, .texte-legal th{ padding: 9px 8px; }
}
.tableau-defilant{ overflow-x: auto; margin-bottom: 20px; }
.tableau-defilant table{ margin-bottom: 0; min-width: 380px; }


/* La carte « ce qui ne change pas » : son icône reste à l'encre, quand
   celle d'en face est au dégradé. La couleur dit la différence avant
   que le texte ne soit lu. */
.carte--stable .carte__icone{ background: var(--encre); }


/* Filet de sécurité : quel que soit le conteneur, un cadre d'appareil
   ne doit jamais être étiré — sa hauteur vient du rapport de la
   capture, pas de la rangée qui l'entoure. */
.tel{ align-self: flex-start; }
