/* ==========================================================================
   SITE D'ENTREPRISE MAYNA — feuille de style unique
   MAYN-309 · ADR-043 · Mur section K

   Source : docs/design/identity/site-entreprise/index.html (maquette validée),
   elle-même issue de la bibliothèque visuelle Mayna
   (docs/design/identity/direction-finale/ + preview-design-riche/).

   Différence avec la maquette : dans la maquette, deux rendus (bureau et
   téléphone) coexistaient dans le même document, d'où les préfixes « .site »
   et « .site.mob ». Ici il n'y a qu'une page par écran : le préfixe « .site »
   disparaît et les règles « .mob » deviennent des points de bascule.
   Aucune couleur, ombre, graisse ou échelle n'est inventée.

   AUTONOMIE (ADR-043 §2.1) : aucune ressource externe, aucune police distante,
   aucun appel réseau. Le site ne dépend d'aucun composant de l'application.
   ========================================================================== */

/* --- FONDATIONS : jetons de la bibliothèque, repris verbatim -------------- */
:root {
  --navy: #3D5A80;
  --navy-dk: #2C4260;
  --navy-deep: #1C2B3A;
  --navy-soft: #EEF4FB;
  --gold: #C9A96E;
  --gold-lt: #D8B87A;
  --terra: #C26A50;
  --terra-soft: #FBE9E0;
  --bg-warm: #FAF7F2;
  --bg-soft: #F5F1EA;
  --ink: #2D2D2D;
  --muted: #6B6B6B;
  --border-warm: #E0D7C7;
  --success: #4A9B6F;
  --shadow-card: 0 18px 48px rgba(61,90,128,0.10), 0 2px 6px rgba(45,45,45,0.04);
  --shadow-card-hover: 0 28px 70px rgba(61,90,128,0.18), 0 4px 10px rgba(45,45,45,0.06);
  --shadow-float: 0 36px 80px rgba(28,43,58,0.28);
  --grad-hero: radial-gradient(1200px 600px at 78% -10%, rgba(201,169,110,0.20), transparent 60%),
               radial-gradient(900px 500px at 2% 8%, rgba(61,90,128,0.10), transparent 55%),
               linear-gradient(180deg, #FBF8F3 0%, #F5F1EA 100%);
  --grad-navy: linear-gradient(145deg, #46658E 0%, #2C4260 55%, #1C2B3A 100%);
  --grad-gold: linear-gradient(135deg, #D8B87A 0%, #C9A96E 100%);
  --grad-line: linear-gradient(90deg, var(--gold), var(--terra));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-warm);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* Accès clavier — anneau de focus visible partout */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

/* Lien d'évitement (accessibilité) */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #fff; color: var(--navy-deep); font-weight: 700;
  padding: 12px 18px; border-radius: 0 0 12px 0; box-shadow: var(--shadow-card);
}
.skip:focus { left: 0; }

/* --- Typographie --------------------------------------------------------- */
h1 { font-size: clamp(34px,5vw,54px); line-height: 1.06; font-weight: 800; letter-spacing: -1.5px; color: var(--navy-deep); }
h1 .navy { position: relative; color: var(--navy); }
h1 .navy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 11px; background: linear-gradient(90deg, rgba(201,169,110,.55), rgba(216,184,122,.30)); z-index: -1; border-radius: 4px; }
h2 { font-size: clamp(28px,3.6vw,40px); font-weight: 800; letter-spacing: -1px; line-height: 1.14; color: var(--navy-deep); }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.3px; color: var(--navy-deep); }
p { margin: 0; }
.lede { font-size: 17px; color: var(--muted); line-height: 1.65; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.shead { max-width: 660px; margin: 0 auto 48px; }
.shead.left { margin-left: 0; }
.shead .lede { margin-top: 14px; }

/* --- Navigation ---------------------------------------------------------- */
.nav { background: rgba(250,247,242,0.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border-warm); position: sticky; top: 0; z-index: 50; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--navy-dk); letter-spacing: -.6px; }
.logo .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-navy); display: grid; place-items: center; color: #fff; font-size: 18px; box-shadow: 0 6px 16px rgba(61,90,128,.35); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.on { color: var(--navy); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* --- Boutons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; font-family: inherit; border-radius: 12px; padding: 11px 20px; cursor: pointer; border: none; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s; }
.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 13px; }
.btn-primary { background: var(--grad-navy); color: #fff; box-shadow: 0 12px 26px rgba(44,66,96,.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(44,66,96,.40); }
.btn-gold { background: var(--grad-gold); color: #3a2c12; box-shadow: 0 12px 26px rgba(201,169,110,.40); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(201,169,110,.5); }
.btn-ghost { background: #fff; color: var(--navy-dk); border: 1.5px solid var(--border-warm); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }

/* --- Hero ---------------------------------------------------------------- */
.hero { background: var(--grad-hero); position: relative; overflow: hidden; padding: 80px 0 92px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 1px 1px, rgba(61,90,128,0.06) 1px, transparent 0); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); opacity: .5; }
.hero .wrap { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--navy-dk); background: #fff; border: 1px solid var(--border-warm); padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-card); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(194,106,80,.55); } 70% { box-shadow: 0 0 0 10px rgba(194,106,80,0); } 100% { box-shadow: 0 0 0 0 rgba(194,106,80,0); } }
.hero h1 { margin: 20px 0 18px; max-width: 880px; }
.hero .lede { font-size: 19px; max-width: 620px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* --- Accès direct de l'abonné dans le bloc d'accroche (MAYN-309, décision PO)
   LIEN TEXTE DISCRET, jamais un bouton plein : « Découvrir la solution » reste
   le premier et le dominant. Motif : l'utilisateur que protège le Mur K1 n'est
   pas un prospect, c'est un abonné qui saisit « mayna-app.com » depuis son
   téléphone — sa porte ne doit pas être à 5 000 px de défilement.
   Couleur navy (jamais terracotta : contrastes hérités ticketés MAYN-314). */
.hero-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--navy); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero-link:hover { color: var(--navy-dk); }
.reassurance { margin-top: 30px; padding: 16px 20px; background: #fff; border: 1px solid var(--border-warm); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-card); max-width: 640px; }
.reassurance span { display: inline-flex; align-items: center; gap: 8px; }
.reassurance .d { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* --- Encart « terrain » (bandeau navy à filet gauche) -------------------- */
.terrain-intro { padding: 22px 26px; background: var(--navy-soft); border-left: 4px solid var(--navy); border-radius: 12px; margin: 22px 0 26px; max-width: 660px; font-size: 16px; line-height: 1.65; }
.terrain-intro strong { color: var(--navy); }

/* --- Étapes numérotées --------------------------------------------------- */
.steps { background: #fff; }
.steps-grid { display: grid; gap: 18px; }
.step { padding: 26px 28px; background: var(--bg-warm); border-radius: 16px; border-left: 4px solid var(--navy); box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform .2s; }
.step:hover { transform: translateX(4px); }
.step-num { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--navy); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.step-num b { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; font-size: 13px; }
.step h3 { margin-bottom: 10px; font-size: 20px; }
.step p { color: var(--ink); font-size: 15px; }
.step p + p { margin-top: 10px; }
.step .hero-ctas { margin-top: 18px; }
.pillbar { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.pillbar .pill { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border-warm); font-size: 12.5px; font-weight: 600; }

/* --- Cartes -------------------------------------------------------------- */
.features { background: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--bg-warm); border: 1px solid var(--border-warm); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow-card); overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-line); opacity: 0; transition: opacity .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card:hover::before { opacity: 1; }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--navy-soft); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(61,90,128,.08); }
.card.alt .icon { background: var(--terra-soft); color: var(--terra); }
.card.gold .icon { background: #F7EFDD; color: #9c7f43; }
.card .icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* --- Carte cockpit (panneau de preuve) ----------------------------------- */
.cockpit-card { background: #fff; border: 1px solid var(--border-warm); border-radius: 20px; padding: 30px 32px; box-shadow: var(--shadow-card); max-width: 720px; margin: 0 auto; position: relative; overflow: hidden; }
.cockpit-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-line); }
.cockpit-card .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 10px; }

/* --- Lignes de liste type application ------------------------------------ */
.prow { background: #fff; border: 1px solid #EEF0F2; border-radius: 12px; padding: 10px 12px; margin-bottom: 9px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 12px rgba(45,45,45,.04); }
.prow:last-child { margin-bottom: 0; }
.prow .txt { flex: 1; min-width: 0; }
.prow .t { font-size: 12px; font-weight: 700; color: var(--navy-deep); }
.prow .s { font-size: 10px; color: var(--muted); margin-top: 2px; }
.pchip { font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pchip.navy { background: var(--navy-soft); color: var(--navy); }
.pchip.terra { background: var(--terra-soft); color: var(--terra); }
/* NOUVEAU MOTIF — 3e état du badge, dérivé de --success (les 2 autres existent) */
.pchip.green { background: #E7F2EC; color: #2A5A3D; }

/* --- Cartes « engagements » ---------------------------------------------- */
.security { background: var(--bg-soft); }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec-card { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid var(--border-warm); box-shadow: var(--shadow-card); transition: transform .2s; }
.sec-card:hover { transform: translateY(-3px); }
.sec-card h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.sec-card p { font-size: 14.5px; color: var(--muted); }

/* --- Liste « besoins » --------------------------------------------------- */
.audience { background: #fff; }
.aud-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.aud-item { padding: 14px 18px; background: var(--bg-warm); border-radius: 10px; font-size: 14.5px; font-weight: 600; border: 1px solid var(--border-warm); display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.aud-item .d { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 7px; }

/* --- Bande finale -------------------------------------------------------- */
.final-wrap { padding: 88px 0; }
.final { background: var(--grad-navy); color: #fff; border-radius: 28px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-float); }
.final::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,110,.30), transparent 70%); top: -120px; right: -80px; }
.final h2 { color: #fff; position: relative; }
.final p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 600px; margin: 14px auto 26px; position: relative; }
.final .hero-ctas { justify-content: center; position: relative; }

/* --- Pied de page -------------------------------------------------------- */
.foot { background: #2C4260; color: rgba(255,255,255,.78); padding: 56px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.foot .logo { color: #fff; }
.footer-tag { line-height: 1.6; max-width: 320px; margin-top: 12px; }
.foot h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { display: flex; flex-direction: column; gap: 8px; }
.foot ul a:hover { color: #fff; text-decoration: underline; }
.foot .addr { color: rgba(255,255,255,.62); font-size: 12.5px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   NOUVEAUX MOTIFS — conçus dans le langage existant (maquette validée)
   ========================================================================== */

/* NOUVEAU MOTIF 1 — « propos + preuve » */
.step-split { display: grid; grid-template-columns: 1fr 330px; gap: 34px; align-items: center; }
.cockpit-card.compact { max-width: none; margin: 0; padding: 18px 20px 20px; border-radius: 16px; }
.proof-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }

/* NOUVEAU MOTIF 2 — « mise en avant d'une solution » (pleine largeur, jamais
   une grille de vignettes : une seule réalisation, présentée pleinement) */
.showcase { background: var(--grad-navy); color: #fff; border-radius: 28px; padding: 46px 48px; position: relative; overflow: hidden; box-shadow: var(--shadow-float); }
.showcase::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,110,.30), transparent 70%); top: -140px; right: -90px; }
.showcase > * { position: relative; z-index: 2; }
.showcase .tag { display: inline-block; background: var(--grad-gold); color: #3a2c12; padding: 5px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; box-shadow: 0 8px 20px rgba(201,169,110,.5); margin-bottom: 18px; }
.showcase h3 { color: #fff; font-size: clamp(24px,3vw,32px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 12px; }
.showcase p.intro { color: rgba(255,255,255,.88); font-size: 16.5px; line-height: 1.65; max-width: 640px; }
.showcase ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; margin: 24px 0 28px; }
.showcase ul li { padding-left: 24px; position: relative; font-size: 15px; color: rgba(255,255,255,.95); line-height: 1.5; padding-bottom: 9px; }
.showcase ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-lt); font-weight: 800; }
.showcase .btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.showcase .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

/* NOUVEAU MOTIF 3 — « bloc contact institutionnel avec formulaire » */
.contact-card { background: #fff; border: 1px solid var(--border-warm); border-radius: 20px; padding: 32px 34px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-line); }
.contact-card h2 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.3px; }
.contact-card > div > p { color: var(--muted); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; margin-top: 26px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-deep); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-warm); border: 1.5px solid var(--border-warm); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field input::placeholder, .field textarea::placeholder { color: #A7A29A; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(61,90,128,.12); }
.field textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 14px; }
.form-note a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.contact-aside { background: var(--bg-soft); border: 1px solid var(--border-warm); border-radius: 16px; padding: 22px 24px; }
.contact-aside .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 10px; }
.contact-aside .mail { display: inline-block; font-size: 17px; font-weight: 800; color: var(--navy); word-break: break-word; }
.contact-aside p { font-size: 13.5px; margin-top: 12px; line-height: 1.6; color: var(--muted); }

/* Retour d'envoi du formulaire — jamais d'échec muet */
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E7F2EC; color: #2A5A3D; border: 1px solid #CBE3D5; }
.form-status.info { background: var(--navy-soft); color: var(--navy-dk); border: 1px solid #D6E4F5; }
.form-status.ko { background: var(--terra-soft); color: #8E4030; border: 1px solid #F0D2C6; }
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }

/* Sections institutionnelles à fond alterné */
.simple { background: var(--bg-soft); }
.example { background: var(--bg-warm); }

/* ==========================================================================
   BASCULE BUREAU STANDARD DE LA BIBLIOTHÈQUE (≤ 880 px)
   ========================================================================== */
@media (max-width: 880px) {
  .feat-grid, .feat-grid.four, .sec-grid, .aud-grid,
  .footer-grid, .step-split, .showcase ul, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* ==========================================================================
   VERSION TÉLÉPHONE (≤ 640 px) — mêmes composants, adaptations de confort :
   grilles en une colonne, échelles resserrées d'un cran, zones tactiles ≥ 48 px.
   Reprise des règles « .site.mob » de la maquette validée.
   ========================================================================== */
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  section, .final-wrap { padding: 46px 0; }
  .nav-in { height: 60px; gap: 10px; }

  /* ── CEINTURE DE MISE EN PAGE — MAYN-309 ──────────────────────────────────
     L'accès exigé par le Mur K1 (https://app.mayna-app.com/) ne doit JAMAIS
     pouvoir être poussé hors de l'écran.
     AVANT : `.logo` ET `.nav-actions` étaient tous deux en `flex: 0 0 auto` —
     aucun des deux ne pouvait rétrécir. La tenue à 320 px reposait donc sur une
     MESURE (les largeurs tombaient juste), pas sur une propriété du code : tout
     ajustement de police, de padding ou de libellé la cassait sans alarme.
     MAINTENANT : c'est la MARQUE qui cède la place, jamais l'accès.
     `.nav-actions` reste délibérément `flex: 0 0 auto` (voir plus bas).
     ───────────────────────────────────────────────────────────────────────── */
  .logo { font-size: 18px; flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
  .logo .mark { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; flex: 0 0 auto; }
  .btn { min-height: 48px; padding: 13px 18px; font-size: 14.5px; }

  /* ── Barre du haut sur téléphone — MAYN-309 ────────────────────────────────
     Deux boutons côte à côte ne tiennent pas dans la largeur : à 320 px ils
     débordaient de 11 px (barre de défilement horizontale, bord droit rogné) et
     à 390 px ils passaient chacun sur deux lignes, portant la barre à 67 px pour
     62 px utiles (haut des boutons hors écran).
     La barre ne conserve donc qu'UN accès, celui exigé par le Mur K1 / §7 :
     « Découvrir la solution » → https://app.mayna-app.com/. Il reste visible et
     cliquable à TOUTES les largeurs, 320 px inclus.
     « Se connecter » n'est pas supprimé du site : il reste dans le pied de page
     (rubrique « Accès », sur les deux pages) et dans le corps de « Nos solutions ».

     `flex: 0 0 auto` sur `.nav-actions` est VOLONTAIRE et doit le rester : c'est
     lui qui porte l'accès exigé par K1 — il ne doit jamais être celui qui
     rétrécit. C'est `.logo` qui cède (ceinture ci-dessus).
     ───────────────────────────────────────────────────────────────────────── */
  .nav-actions { gap: 8px; flex: 0 0 auto; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn {
    padding: 11px 14px; font-size: 13px; line-height: 1.2;
    min-height: 44px; white-space: nowrap;
  }
  .hero { padding: 34px 0 42px; }
  .hero h1 { font-size: 30px; letter-spacing: -1px; line-height: 1.14; margin: 16px 0 14px; }
  .hero .lede { font-size: 16.5px; margin-bottom: 20px; }
  .eyebrow { font-size: 11px; padding: 6px 12px; }
  .terrain-intro { padding: 16px 18px; font-size: 15px; margin: 18px 0 22px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; min-height: 52px; font-size: 15.5px; }
  /* Le lien d'accès direct de l'abonné reste un LIEN, centré et en retrait :
     il ne prend jamais la largeur pleine des boutons (hiérarchie préservée). */
  .hero-ctas .hero-link { align-self: center; width: auto; margin-top: 2px; }
  .reassurance { flex-direction: column; gap: 12px; font-size: 13.5px; margin-top: 22px; }
  h2 { font-size: 26px; letter-spacing: -.7px; }
  .shead { margin-bottom: 28px; }
  .lede { font-size: 15.5px; }
  .step { padding: 22px 20px; }
  .step h3 { font-size: 19px; }
  .step-split { grid-template-columns: 1fr; gap: 18px; }
  .cockpit-card.compact { padding: 16px; }
  .prow .t { font-size: 13px; }
  .prow .s { font-size: 11.5px; }
  .pchip { font-size: 10px; padding: 4px 9px; }
  .card { padding: 22px 20px; }
  .final { padding: 34px 22px; border-radius: 22px; }
  .final p { font-size: 16px; }
  .showcase { padding: 28px 22px; border-radius: 22px; }
  .showcase p.intro { font-size: 15.5px; }
  .showcase ul { gap: 0; margin: 18px 0 22px; }
  .contact-card { padding: 24px 20px; }
  .contact-card h2 { font-size: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 20px; }
  .field input, .field textarea { font-size: 16px; padding: 15px 14px; min-height: 52px; }
  .field textarea { min-height: 130px; }
  .contact-card .btn { width: 100%; min-height: 52px; }
  .contact-aside { padding: 18px; }
  .foot { padding: 38px 0 26px; }
  .footer-grid { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ==========================================================================
   CEINTURE — TRÈS PETITES LARGEURS (< 360 px) — MAYN-309
   Second cran : sous 360 px, la marque de la BARRE DU HAUT s'efface ENTIÈREMENT
   — le mot « Mayna » ET le carré « M ». Le lien reste dans la page, nommé par
   son libellé accessible (aria-label « Mayna — accueil »), et « Accueil » reste
   dans le pied de page. La marque cède TOUTE sa place, jamais l'accès.
   Pourquoi entièrement : tant que le carré « M » restait rigide (30 px), la
   tenue redevenait une MESURE — elle dépendait de la longueur du libellé du
   bouton. Ici la garantie ne dépend plus d'aucun libellé (Mur K1(1 bis)).
   ========================================================================== */
@media (max-width: 359px) {
  .nav .logo .word, .nav .logo .mark { display: none; }
  /* Marge supplémentaire cédée par le seul élément qui a le droit de céder :
     le bouton reste ≥ 44 px de haut, sa zone tactile n'est pas réduite. */
  .nav-actions .btn { padding: 11px 10px; }
  .nav-in { gap: 8px; }
  .wrap { padding: 0 14px; }
}

/* --- Respect du réglage système « moins d'animations » ------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
