/* Ocean Nine, landing page de la bêta (lot landing bêta, fiche docs/lots/landing-beta.md).
   Reprise de la version HTML de référence (rendu, tailles et marges à l'identique) ; les styles
   écrits dans les balises du haut de page sont rangés ici en classes, avec les mêmes valeurs.
   Charte : docs/DESIGN.md. */

/* Police Lexend Deca, hébergée sur le site (licence OFL, assets/police/OFL.txt) : aucune connexion
   à Google pour les visiteurs (décision d'Emilie du 25/11). */
@font-face{font-family:"Lexend Deca";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/police/lexend-deca-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Lexend Deca";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/police/lexend-deca-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Lexend Deca";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/police/lexend-deca-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Lexend Deca";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/police/lexend-deca-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Lexend Deca";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/police/lexend-deca-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Lexend Deca";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/police/lexend-deca-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --vert:#1D3B34;          /* primary */
  --vert-2:#2F5A4E;        /* tertiary */
  --abricot:#FF9D6E;       /* secondary */
  --abricot-clair:#FFEEE4;
  --neutre:#EDEFE9;        /* neutral */
  --texte:#2C3F39;
  --texte-discret:#56635E;
  --texte-sur-vert:#D5E0DB;
  --bordure:#E1E6DF;
  --bordure-2:#CDD4CB;
  --vert-pale:#DCE8E2;
  --champ:#7D8C86;
  --erreur:#B42318;
  --erreur-fond:#FDEDEB;    /* bandeau d'erreur (DESIGN.md) */
  --encre:#1A2B27;          /* texte des bulles et des champs */
  --vert-eau:#EAF2EE;       /* bulles du chef de projet, Ruben provisoire */
  --largeur:1180px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:"Lexend Deca",system-ui,sans-serif;color:var(--texte);background:#fff;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p{margin:0}
/* Pas de mot seul en fin de dernière ligne (recette du 26/11).
   - Paragraphes et textes longs : "pretty", le navigateur évite qu'un mot reste seul en dernière ligne.
   - Titres et textes courts : "balance", les lignes ont des longueurs proches.
   Un navigateur qui ne connaît pas ces réglages coupe les lignes comme avant. */
p,li,.case span,.erreur-champ{text-wrap:pretty}
h1,h2,h3,h4,summary,blockquote,.chapo,.role__citation,.conf p,.suite__texte,.puces li > span:last-child,.contenu__liste span,.legal__texte li{text-wrap:balance}
/* Haut de page animé : jamais. La boucle repose sur la hauteur exacte de chaque bulle (132, 74,
   246 et 124 px), qui dépend de la coupure de ses lignes. */
.hero__ruben,.hero__ruben *{text-wrap:wrap}
img,video{display:block;max-width:100%}
a{color:var(--vert)}
a:hover{color:var(--vert-2)}
a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--vert);outline-offset:2px}
.sombre a:focus-visible{outline-color:var(--abricot)}
.conteneur{max-width:var(--largeur);margin:0 auto}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--abricot);color:var(--vert);text-decoration:none;border-radius:12px;font-weight:600;font-size:16px;min-height:52px;padding:0 28px}
.btn:hover{color:var(--vert);background:#FF8E59}
.btn--petit{font-size:15px;font-weight:500;min-height:44px;padding:0 20px;white-space:nowrap}
.lien-fort{font-size:16px;font-weight:500;text-underline-offset:4px}

/* En-tête */
/* Même hauteur sur toutes les pages (recette du 26/11) : celle de l'accueil, 20 px + bouton de 44 px
   + 20 px. Sans boutons (candidature, confirmation, pages légales), le logo seul donnait 62 px. */
.entete{max-width:calc(var(--largeur) + 48px);min-height:84px;margin:0 auto;padding:20px 24px;display:flex;gap:16px;align-items:center;justify-content:space-between}
.logo{display:block;height:22px;width:auto}
.entete__actions{display:flex;align-items:center;gap:28px;flex:0 0 auto}
.entete__connexion{white-space:nowrap;font-size:15px;font-weight:500;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}

/* Sections */
.section{padding:56px 24px}
.section--neutre{background:var(--neutre)}
.surtitre{font-size:13px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--texte-discret)}
.h2{font-size:40px;line-height:48px;font-weight:600;letter-spacing:-.02em;color:var(--vert)}
.chapo{font-size:18px;line-height:29px;color:var(--texte)}
.capture{background:#fff;border:1px solid var(--bordure);border-radius:16px;overflow:hidden}
.capture img{width:100%;height:auto}

/* Haut de page */
.hero{background:var(--vert);padding:56px 24px 64px}
.hero__grille{display:flex;flex-wrap:wrap;gap:56px;align-items:center;justify-content:center}
.hero__texte{flex:1 1 440px;display:flex;flex-direction:column;gap:24px}
.hero h1{font-size:56px;line-height:62px;font-weight:600;letter-spacing:-.02em;color:#fff;text-wrap:balance}
.hero__intro{font-size:19px;line-height:30px;color:var(--texte-sur-vert);max-width:580px}
.hero__actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center;padding-top:8px}
.hero__actions .lien-fort{color:#fff}
/* Ruben en conversation : une seule animation (.o9-win) pilote le défilement et Ruben */
.hero__ruben,.hero__ruben *{box-sizing:content-box}
@property --sy{syntax:'<length>';inherits:true;initial-value:0px}
@property --ry{syntax:'<length>';inherits:true;initial-value:0px}
@property --rr{syntax:'<angle>';inherits:true;initial-value:0deg}
@property --rz{syntax:'<integer>';inherits:true;initial-value:2}
/* Fenêtre du visuel : 480 x 540 px, fondu en bas sur 56 px. */
.hero__ruben{flex:0 0 480px;position:relative;height:540px;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 56px),transparent)}
/* Ruben, silhouette provisoire (_includes/ruben.njk) : deux calques, tête et mains, qui lisent les
   mêmes propriétés de l'animation. Remplacer la silhouette = changer le contenu des calques. */
.hero__ruben .ruben__calque{position:absolute;left:0;top:0;width:140px;height:64px}
.hero__ruben .ruben__tete-cadre{position:absolute;left:0;top:0;width:140px;height:58px;overflow:hidden}
.hero__ruben .ruben__tete{position:absolute;left:36px;top:0;width:84px;height:84px;border-radius:999px;background:var(--vert-eau);border:2px dashed #5F8579;box-sizing:border-box}
.hero__ruben .ruben__oeil{position:absolute;top:40px;width:9px;height:12px;border-radius:50%;background:var(--vert)}
.hero__ruben .ruben__oeil--gauche{left:24px}
.hero__ruben .ruben__oeil--droit{left:46px}
.hero__ruben .ruben__main{position:absolute;top:45px;width:22px;height:16px;border-radius:10px;background:var(--vert-eau);border:2px dashed #5F8579;box-sizing:border-box}
.hero__ruben .ruben__main--gauche{left:42px}
.hero__ruben .ruben__main--droite{left:92px}
/* La conversation (_includes/conversation.njk), écrite deux fois pour la boucle. */
.o9-st{position:absolute;left:0;top:58px;width:480px;display:flex;flex-direction:column;gap:14px;z-index:1}
.o9-st__copie{display:flex;flex-direction:column;gap:14px}
.bulle{font-size:16px;line-height:25px;color:var(--encre)}
.bulle--ruben{margin-right:48px;background:#fff;border-radius:20px 20px 20px 6px;padding:16px 20px;box-shadow:0 24px 48px -20px rgba(0,0,0,.5)}
.bulle--ruben strong{font-weight:600;background:var(--abricot-clair);border-radius:4px;padding:0 4px}
.bulle--chef{align-self:flex-end;background:var(--vert-eau);border-radius:18px 6px 18px 18px;padding:12px 16px;box-shadow:0 20px 40px -20px rgba(0,0,0,.5)}
.bulle--courte{max-width:300px}
.bulle--longue{max-width:318px}
.carte-decoupage{margin-right:16px;background:#fff;border-radius:20px 20px 20px 6px;padding:14px 14px 12px;box-shadow:0 24px 48px -20px rgba(0,0,0,.5);display:flex;flex-direction:column;gap:6px}
.carte-decoupage__entete{display:flex;align-items:center;gap:10px;padding:0 4px 6px}
.carte-decoupage__titre{flex:1;font-size:15px;font-weight:600;color:var(--encre)}
/* Hauteur de ligne fixée : sans elle, chaque navigateur calcule la sienne (26 ou 28 px) et la
   carte ne fait plus 246 px partout. */
.carte-decoupage__total{font-size:22px;line-height:26px;font-weight:600;color:var(--vert)}
.carte-decoupage__lignes{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--bordure);padding-top:6px}
.carte-decoupage__ligne{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:8px}
.carte-decoupage__ligne--ecart{background:var(--abricot-clair)}
.carte-decoupage__tache{flex:1;font-size:14px;line-height:20px;color:var(--encre);font-weight:400}
.carte-decoupage__ligne--ecart .carte-decoupage__tache{font-weight:600}
.carte-decoupage__discipline{color:var(--texte-discret);font-weight:400;font-size:12px}
.carte-decoupage__ecart{display:inline-flex;align-items:center;gap:3px;color:var(--erreur);font-size:13px;font-weight:600}
.carte-decoupage__jours{flex:0 0 52px;text-align:right;font-size:14px;font-weight:600;color:var(--encre)}
.carte-decoupage__pied{display:flex;justify-content:space-between;align-items:center;padding:8px 10px 2px;border-top:1px solid var(--bordure);margin-top:4px;font-size:13px;color:var(--texte-discret)}
.carte-decoupage__depassement{display:inline-flex;align-items:center;gap:4px;color:var(--erreur);font-weight:600}
/* L'animation : une seule (.o9-win), qui fait bouger à la fois la conversation (--sy) et Ruben
   (--ry, --rr, --rz). Deux animations séparées se désynchronisent (constaté sur la maquette).
   Valeurs de --sy = hauteur des bulles déjà passées + 14 px d'écart chacune, à 1 440 px de large :
   bulles de 132, 74, 246 et 124 px (box-sizing: content-box).
     -146 = -(132 + 14)          -234 = -(146 + 74 + 14)
     -494 = -(234 + 246 + 14)    -632 = -(494 + 124 + 14), soit une séquence entière : la copie
   prend alors exactement la place de l'original et la boucle repart sans saut.
   Un texte ou une taille change : remesurer les bulles (test d'écran 128) et recalculer. */
.o9-win{animation:o9w 16s ease-in-out infinite}
.o9-st{transform:translateY(var(--sy))}
.o9-rb{transform:translateY(var(--ry)) rotate(var(--rr));z-index:var(--rz)}
@keyframes o9w{
0%,21.9%{--sy:0px;--ry:0px;--rr:0deg;--rz:2}
22%{--rz:0}
23.5%{--ry:-22px;--rr:-6deg;--rz:0}
26.5%{--ry:94px;--rr:5deg;--rz:0}
26.9%{--sy:-146px}
27.6%{--ry:84px;--rr:0deg;--rz:0}
28.5%{--rz:0}
28.6%,46.9%{--sy:-146px;--ry:88px;--rr:0deg;--rz:2}
50.6%,68.75%{--sy:-234px;--ry:0px;--rr:0deg;--rz:2}
68.85%{--rz:0}
70.3%{--ry:-22px;--rr:-6deg;--rz:0}
73.4%{--ry:144px;--rr:5deg;--rz:0}
73.75%{--sy:-494px}
74.5%{--ry:134px;--rr:0deg;--rz:0}
75.4%{--rz:0}
75.5%,90.6%{--sy:-494px;--ry:138px;--rr:0deg;--rz:2}
94.4%,100%{--sy:-632px;--ry:0px;--rr:0deg;--rz:2}
}
@media (prefers-reduced-motion: reduce){.o9-win{animation:none!important}}


/* Fonctionnalités */
.pile{display:flex;flex-direction:column}
.fonc__grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:56px}
.fonc__item{display:flex;flex-direction:column;gap:28px}
.h3{font-size:24px;line-height:32px;font-weight:600;color:var(--vert)}
.media{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:var(--neutre);border:1px solid var(--bordure);border-radius:16px}
.video{margin:0}

/* Ruben */
.ruben__titre{font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.01em;color:var(--vert)}
.ruben__grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}
.carte-ruben{background:#fff;border:1px solid var(--bordure);border-radius:16px;padding:24px;min-height:196px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}
.carte-ruben h4{font-size:18px;line-height:25px;font-weight:600;color:var(--vert)}
.pastille{width:48px;height:48px;border-radius:50%;background:var(--vert-pale);display:flex;align-items:center;justify-content:center;flex:0 0 48px}
.ruben__capture{border-color:var(--bordure-2);box-shadow:0 32px 64px -32px rgba(29,59,52,.35)}

/* Appels à rejoindre */
.appel{border-radius:22px;padding:56px 32px;display:flex;flex-direction:column;gap:28px;align-items:center;text-align:center}
.appel--clair{background:var(--abricot-clair)}
.appel--clair h2{font-size:32px;line-height:40px;font-weight:600;letter-spacing:-.01em;color:var(--vert);max-width:820px}
.appel--vert{background:var(--vert);padding:72px 32px;gap:32px}
.appel--vert h2{font-size:36px;line-height:44px;font-weight:600;letter-spacing:-.02em;color:#fff;max-width:820px}

/* Comment ça marche */
.etapes{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.etapes li{background:#fff;border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:14px}
.etapes__num{width:40px;height:40px;border-radius:50%;background:var(--vert-pale);color:var(--vert);display:inline-flex;align-items:center;justify-content:center;font-size:17px;font-weight:600}
.etapes h3{font-size:20px;line-height:28px;font-weight:600;color:var(--vert)}
.etapes p,.role p.role__texte{font-size:16px;line-height:26px;color:var(--texte)}

/* Pour qui */
.roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.role{border:1px solid var(--bordure);border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:16px}
.role h3{font-size:20px;line-height:28px;font-weight:600;color:var(--vert)}
.role__citation{font-size:17px;line-height:27px;color:var(--vert);font-weight:500;font-style:italic}

/* Qui l'a conçu */
.auteure{max-width:1000px;margin:0 auto;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.auteure img{width:180px;height:180px;border-radius:50%;object-fit:cover;flex:0 0 180px}
.auteure__texte{flex:1 1 460px;display:flex;flex-direction:column;gap:20px}
.auteure blockquote{margin:0;font-size:28px;line-height:38px;font-weight:500;color:var(--vert)}
.auteure p{font-size:17px;line-height:28px;color:var(--texte)}

/* FAQ */
.faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:40px}
.faq__liste{border-top:1px solid var(--bordure-2)}
.faq details{border-bottom:1px solid var(--bordure-2)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0;font-size:19px;line-height:27px;font-weight:600;color:var(--vert)}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{flex:0 0 20px;transition:transform .2s}
.faq details[open] summary svg{transform:rotate(180deg)}
.faq details p{font-size:16px;line-height:26px;color:var(--texte);padding-bottom:24px}

/* Pied de page */
.pied{border-top:1px solid var(--bordure)}
.pied__interieur{max-width:calc(var(--largeur) + 48px);margin:0 auto;padding:40px 24px 48px;display:flex;flex-wrap:wrap;gap:32px 64px;justify-content:space-between;align-items:flex-start;font-size:14px;color:var(--texte-discret)}
.pied__marque{display:flex;flex-direction:column;gap:12px}
.pied__marque .logo{height:19px}
.pied__marque p{font-size:13px}
.pied__liens{display:flex;flex-wrap:wrap;gap:24px 64px}
.pied nav{display:flex;flex-direction:column;gap:12px}
.pied nav a{color:var(--texte-discret);text-decoration:underline;text-underline-offset:3px}
.pied nav a.pied__principal{color:var(--vert);font-weight:600}

/* Page candidature */
.cand{background:var(--neutre);padding:56px 24px}
.cand h1{max-width:var(--largeur);margin:0 auto 24px;font-size:44px;line-height:52px;font-weight:600;letter-spacing:-.02em;color:var(--vert)}
.cand__cols{max-width:var(--largeur);margin:0 auto;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.cand__gauche{flex:1 1 420px;display:flex;flex-direction:column;gap:40px}
.cand__bloc{display:flex;flex-direction:column;gap:18px}
.cand__bloc h2{font-size:20px;line-height:28px;font-weight:600;color:var(--vert)}
.puces{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.puces li{display:flex;gap:16px;align-items:center;font-size:16px;line-height:24px}
.puces .pastille{width:44px;height:44px;flex-basis:44px}
.suite{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.suite li{display:flex;gap:16px;align-items:stretch}
.suite__rail{display:flex;flex-direction:column;align-items:center;flex:0 0 44px}
.suite__num{width:44px;height:44px;border-radius:50%;background:var(--vert);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;flex:0 0 44px}
.suite__trait{flex:1 1 auto;width:2px;min-height:16px;background:#C9D6D0}
.suite__texte{font-size:16px;line-height:24px;padding:10px 0 28px}
.suite li:last-child .suite__texte{padding-bottom:0}

.formulaire{flex:1 1 460px;background:#fff;border:1px solid var(--bordure);border-radius:22px;padding:36px;display:flex;flex-direction:column;gap:18px}
.formulaire__duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.champ{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;color:var(--vert)}
.champ input,.champ select{height:48px;border:1px solid var(--champ);border-radius:10px;padding:0 14px;font-family:inherit;font-size:15px;color:#1A2B27;background:#fff;width:100%}
.champ select{appearance:none;-webkit-appearance:none;padding-right:44px}
.select{position:relative;display:block}
.select svg{position:absolute;right:14px;top:15px;pointer-events:none}
.obligatoire{color:var(--erreur)}
.cases{display:flex;flex-direction:column;gap:12px;padding-top:6px}
.case{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:21px;color:var(--texte)}
.case input{width:20px;height:20px;margin:0;flex:0 0 20px;accent-color:var(--vert)}
.formulaire .btn{width:100%;margin-top:8px;border:0;font-family:inherit;cursor:pointer}

.contenu{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:48px}
.contenu h2{font-size:24px;line-height:32px;font-weight:600;color:var(--vert)}
.contenu__liste{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.contenu__liste li{display:flex;gap:12px;align-items:center;border:1px solid var(--bordure);border-radius:12px;padding:14px 16px;font-size:15px;line-height:22px;color:var(--texte);background:#fff}
.contenu__liste--fait li{background:var(--vert-pale);border-color:var(--vert-pale);color:var(--vert)}
.contenu__liste svg{flex:0 0 18px}

/* Page confirmation */
.conf{background:var(--neutre);padding:64px 24px}
.conf__carte{max-width:680px;margin:0 auto;background:#fff;border-radius:22px;padding:56px 40px;display:flex;flex-direction:column;gap:20px;align-items:center;text-align:center}
.conf__icone{width:64px;height:64px;border-radius:50%;background:var(--vert-pale);display:flex;align-items:center;justify-content:center}
.conf h1{font-size:40px;line-height:48px;font-weight:600;letter-spacing:-.02em;color:var(--vert)}
.conf h2{font-size:22px;line-height:30px;font-weight:500;color:var(--vert)}
.conf p{font-size:17px;line-height:27px}


/* Espacements des piles (styles en ligne de la version HTML) */
.pile--16{gap:16px}.pile--20{gap:20px}.pile--32{gap:32px}.pile--48{gap:48px}.pile--72{gap:72px}
.pile--760{max-width:760px}
.ruben__capture{margin-top:40px}
.auteure picture{flex:0 0 180px;display:block}
.exposant{font-size:.6em;line-height:0;vertical-align:super}

/* Erreurs du formulaire (DESIGN.md : composant d'erreur de champ, planche T3e, et bandeau d'erreur).
   Contour rouge de 1,5 px (bordure de 1 px + 0,5 px dessiné à l'intérieur, sans décaler la page),
   puis sous le champ un rond rouge plein avec un point d'exclamation blanc (16 px) et le message
   en rouge, 13 px. Pas de bouton désactivé : l'erreur s'explique après le clic. */
.champ input.en-erreur,.champ select.en-erreur{border-color:var(--erreur);box-shadow:inset 0 0 0 .5px var(--erreur)}
.case input.en-erreur{outline:1.5px solid var(--erreur);outline-offset:1px}
.erreur-champ{display:flex;align-items:center;gap:8px;font-size:13px;line-height:18px;font-weight:400;color:var(--erreur)}
.case-bloc{display:flex;flex-direction:column;gap:6px}
.case-bloc .erreur-champ{padding-left:32px}
.icone-erreur{flex:0 0 16px;width:16px;height:16px;border-radius:50%;background:var(--erreur);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;line-height:1}
.bandeau-erreur{display:flex;gap:10px;align-items:flex-start;background:var(--erreur-fond);color:var(--erreur);border-radius:12px;padding:12px 14px;font-size:14px;line-height:21px}
.bandeau-erreur[hidden]{display:none}
.bandeau-erreur .icone-erreur{margin-top:2px}
.bandeau-erreur a{color:var(--erreur)}
.formulaire .btn[aria-busy="true"]{cursor:progress}
/* Compteur de caractères (Entreprise, Taille de l'équipe) : visible à partir de 150 caractères. */
.compteur{align-self:flex-end;font-size:13px;line-height:18px;font-weight:400;color:var(--texte-discret)}
.compteur[hidden]{display:none}
/* Texte lu par les lecteurs d'écran seulement. */
.lecteur-ecran{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Champ piège de l'anti-spam : hors de l'écran, jamais vu ni lu par un humain. */
.piege{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Pages légales (texte : src/contenu/*.md) */
.legal{background:var(--neutre);padding:56px 24px}
.legal__texte{max-width:var(--largeur);margin:0 auto;background:#fff;border-radius:22px;padding:48px 40px;display:flex;flex-direction:column;gap:16px;font-size:16px;line-height:26px}
.legal__texte h1{font-size:40px;line-height:48px;font-weight:600;letter-spacing:-.02em;color:var(--vert);margin-bottom:8px}
.legal__texte h2{font-size:22px;line-height:30px;font-weight:600;color:var(--vert);margin-top:16px}
.legal__texte h3{font-size:18px;line-height:26px;font-weight:600;color:var(--vert)}
.legal__texte ul,.legal__texte ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.legal__texte blockquote{margin:0;background:var(--abricot-clair);border-radius:12px;padding:14px 18px}

/* Mobile */
@media (max-width:760px){
  .logo{height:15px}
  .entete__actions{gap:16px}
  .entete__connexion{font-size:14px}
  .btn--petit{padding:0 14px;font-size:14px}
  .section{padding-top:32px;padding-bottom:32px}
  .hero{padding:40px 24px}
  .hero h1{font-size:36px;line-height:42px}
  .hero__ruben{display:none !important}
  .h2,.appel--clair h2,.appel--vert h2{font-size:28px;line-height:34px}
  .ruben__grille{grid-template-columns:1fr;gap:12px}
  .carte-ruben{min-height:0;padding:16px 20px;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px}
  .fonc__grille,.contenu{grid-template-columns:1fr}

  .cand{padding:32px 24px}
  .cand h1{font-size:34px;line-height:40px}
  .cand__cols{gap:32px}
  .cand__gauche{display:contents}
  .cand__intro{order:1;flex:1 1 100%}
  .formulaire{order:2;padding:20px}
  .cand__role{order:3;flex:1 1 100%}
  .cand__suite{order:4;flex:1 1 100%}
  .conf{padding:32px 24px}
  .conf__carte{padding:40px 24px}
  .conf h1{font-size:34px;line-height:40px}
  .legal{padding:32px 24px}
  .legal__texte{padding:32px 20px}
  .legal__texte h1{font-size:34px;line-height:40px}
}
