/* =========================================================================
   OraPro.Public — charte graphique (transposée de la maquette « Proposition
   Claude », mai 2026). Design system + styles des pages publiques.
   Bootstrap retiré du projet ; bootstrap-icons + police Inter conservés.
   ========================================================================= */

:root {
    --orapro-night:         #0A1A33;
    --orapro-night-2:       #112344;
    --orapro-night-3:       #1B2E55;
    --orapro-blue:          #1E88E5;
    --orapro-blue-hover:    #1976D2;
    --orapro-blue-soft:     #E3F0FB;
    --orapro-gold:          #E8C84D;
    --orapro-gold-hover:    #D6B73A;
    --orapro-gold-soft:     #FBF4D9;
    --orapro-bordeaux:      #A8324C;
    --orapro-bordeaux-hover:#8E2A40;
    --orapro-bordeaux-soft: #F7E4E9;
    --orapro-white:         #FFFFFF;
    --orapro-bg:            #F5F7FB;
    --orapro-card:          #FFFFFF;
    --orapro-border:        #E3E7EE;
    --orapro-text:          #1A2238;
    --orapro-text-muted:    #6B7591;
    --orapro-text-light:    #9BA8C4;
    --orapro-success:       #1AAB6B;
    --orapro-success-soft:  #E2F6EC;
    --orapro-warning:       #E89B2A;
    --orapro-warning-soft:  #FCF1DF;
    --orapro-danger:        #C0392B;
    --orapro-danger-soft:   #FBE6E2;
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(10, 26, 51, 0.06);
    --shadow:    0 4px 16px rgba(10, 26, 51, 0.08);
    --shadow-lg: 0 12px 32px rgba(10, 26, 51, 0.14);
    --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Navigation par ancres de la page d'accueil. scroll-padding-top compense la barre de
   navigation STICKY (.pub-nav) : sans lui, le titre de chaque section viendrait se loger
   DERRIÈRE la barre. Le glissement est purement CSS — aucun JavaScript. */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

html, body {
    margin: 0; padding: 0;
    font-family: var(--font-base);
    font-size: 15px;
    color: var(--orapro-text);
    background: var(--orapro-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -0.01em; color: var(--orapro-text); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p  { margin: 0; line-height: 1.55; color: var(--orapro-text-muted); }
a  { color: var(--orapro-blue); text-decoration: none; }
a:hover { color: var(--orapro-blue-hover); }

/* ── Brand wordmark + tagline ─────────────────────────────────────────── */
.brand-mark { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.35rem; }
.brand-mark img { height: 36px; width: auto; }
.brand-mark .ora { color: var(--orapro-bordeaux); }
.brand-mark .pro { color: var(--orapro-blue); }
.brand-mark.on-dark .ora { color: #E37C92; }
.brand-mark.on-dark .pro { color: #6FB8F2; }

.tagline-punch { font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; letter-spacing: -0.025em; line-height: 1.15; }
.tagline-punch .gerez { color: var(--orapro-blue); }
.tagline-punch .analysez { color: var(--orapro-gold); }
.tagline-punch .decidez { color: var(--orapro-bordeaux); }
.tagline-punch.on-dark { color: white; }
.tagline-punch.on-dark .analysez { color: var(--orapro-gold); }
.tagline-punch.on-dark .gerez { color: #6FB8F2; }
.tagline-punch.on-dark .decidez { color: #E37C92; }

/* ── Boutons (design system) ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.15rem; font-size: 0.95rem; font-weight: 600; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; transition: all 0.18s ease; text-decoration: none; line-height: 1.2; }
.btn i { font-size: 1.05em; }
/* Chaque :hover RÉAFFIRME sa couleur de texte : sur un <a class="btn ...">, la règle générique
   « a:hover { color: bleu } » (0,1,1) l'emporterait sinon sur « .btn-primary { color:white } »
   (0,1,0) → texte bleu sur fond bleu, donc invisible. Réaffirmer au :hover donne (0,2,0), qui
   bat a:hover. Même pattern que .hero-cta-*:hover et .pub-nav-links a:hover ci-dessous. */
.btn-primary { background: var(--orapro-blue); color: white; }
.btn-primary:hover { background: var(--orapro-blue-hover); color: white; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--orapro-gold); color: var(--orapro-night); }
.btn-accent:hover { background: var(--orapro-gold-hover); color: var(--orapro-night); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-danger { background: var(--orapro-bordeaux); color: white; }
.btn-danger:hover { background: var(--orapro-bordeaux-hover); color: white; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--orapro-text); border-color: var(--orapro-border); }
.btn-outline:hover { background: var(--orapro-bg); color: var(--orapro-text); border-color: var(--orapro-text-light); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.05rem; }
.btn:disabled, .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Champs / formulaires ─────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--orapro-text-muted); letter-spacing: 0.02em; text-transform: uppercase; }
.field input, .field select, .field textarea { padding: 0.75rem 0.95rem; font-size: 0.95rem; font-family: inherit; color: var(--orapro-text); background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius); transition: all 0.18s ease; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orapro-blue); box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12); }
.field .hint { font-size: 0.8rem; color: var(--orapro-text-muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
/* ⚠️ « 1fr » signifie minmax(AUTO, 1fr) : une piste de grille refuse de descendre sous la
   largeur naturelle de son contenu. Un <select> ou un <input> — dont la taille par défaut
   vaut 20 caractères — bloque donc la colonne, et c'est la PAGE ENTIÈRE qui s'élargit,
   puisque rien ne peut plus se réduire au-dessus. min-width:0 rend la piste compressible.
   Sans lui, /souscrire mesurait 427 px de large sur un écran de 360. */
.field-row > * { min-width: 0; }
@media (max-width: 720px) { .field-row { grid-template-columns: 1fr; } }

/* ── Cards génériques ─────────────────────────────────────────────────── */
.card { background: var(--orapro-card); border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.5rem; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.card-header h3 { margin: 0; }

/* ── Badges ───────────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.badge-blue { background: var(--orapro-blue-soft); color: var(--orapro-blue); }
.badge-gold { background: var(--orapro-gold-soft); color: var(--orapro-gold-hover); }
.badge-bordeaux { background: var(--orapro-bordeaux-soft); color: var(--orapro-bordeaux); }
.badge-success { background: var(--orapro-success-soft); color: var(--orapro-success); }
.badge-muted { background: var(--orapro-bg); color: var(--orapro-text-muted); }

/* ═══════════════ Nav publique ═══════════════ */
.pub-nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 26, 51, 0.92); backdrop-filter: blur(10px); color: white; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pub-nav-inner { max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 2rem; }
.pub-nav .logo { display: flex; align-items: center; gap: 0.6rem; color: white; font-weight: 800; font-size: 1.15rem; }
.pub-nav .logo img { height: 38px; }
.pub-nav .logo .ora { color: #E37C92; }
.pub-nav .logo .pro { color: #6FB8F2; }
.pub-nav-links { display: flex; gap: 0.4rem; margin-left: 1.5rem; flex: 1; }
.pub-nav-links a { padding: 0.55rem 0.95rem; color: rgba(255,255,255,0.78); font-size: 0.93rem; font-weight: 500; border-radius: var(--radius); transition: all 0.18s ease; }
.pub-nav-links a:hover { background: rgba(255,255,255,0.08); color: white; }
.pub-nav-actions { display: flex; gap: 0.5rem; align-items: center; }
.pub-nav-actions .btn-login { color: white; padding: 0.55rem 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.18); font-size: 0.92rem; font-weight: 500; transition: all 0.18s ease; }
.pub-nav-actions .btn-login:hover { background: rgba(255,255,255,0.08); }
/* Bouton de menu : caché tant que la barre affiche les liens en clair. */
.pub-nav-burger { display: none; background: transparent; border: 1px solid rgba(255,255,255,0.18); color: white; border-radius: var(--radius); width: 42px; height: 42px; align-items: center; justify-content: center; font-size: 1.35rem; cursor: pointer; flex-shrink: 0; }
.pub-nav-burger:hover { background: rgba(255,255,255,0.08); }
.pub-nav-burger:focus-visible { outline: 2px solid var(--orapro-gold); outline-offset: 2px; }

@media (max-width: 900px) {
    /* La barre passe sur deux lignes : logo + actions + bouton, puis le menu déplié. */
    .pub-nav-inner { flex-wrap: wrap; gap: 0.75rem; }
    .pub-nav-burger { display: inline-flex; order: 3; }
    .pub-nav-actions { order: 2; margin-left: auto; }

    /* Replié par défaut, déplié par le bouton (site.js pose « is-open »). */
    .pub-nav-links { display: none; order: 4; flex: none; flex-basis: 100%; flex-direction: column;
                     gap: 0.15rem; margin-left: 0; padding-top: 0.6rem;
                     border-top: 1px solid rgba(255,255,255,0.10); }
    .pub-nav.is-open .pub-nav-links { display: flex; }
    .pub-nav-links a { padding: 0.7rem 0.85rem; }
}

/* Sous 560 px, les deux boutons d'action passent seuls sur une ligne et se partagent la
   largeur : côte à côte avec le logo, ils débordaient. */
@media (max-width: 560px) {
    .pub-nav-actions { order: 4; flex-basis: 100%; margin-left: 0; }
    .pub-nav-actions .btn-login,
    .pub-nav-actions .hero-cta-primary { flex: 1; justify-content: center; }
    .pub-nav-links { order: 5; }
    .pub-nav .logo { font-size: 1rem; }
    .pub-nav .logo img { height: 32px; }
}

/* ═══════════════ CTA hero (réutilisés nav + hero + cta-final) ═══════════════ */
.hero-cta-primary { background: var(--orapro-gold); color: var(--orapro-night); padding: 0.85rem 1.6rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.18s ease; box-shadow: 0 8px 24px rgba(232,200,77,0.35); }
.hero-cta-primary:hover { background: var(--orapro-gold-hover); color: var(--orapro-night); transform: translateY(-2px); }
.hero-cta-secondary { color: white; border: 1px solid rgba(255,255,255,0.25); padding: 0.85rem 1.5rem; border-radius: var(--radius); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.18s ease; }
.hero-cta-secondary:hover { background: rgba(255,255,255,0.08); color: white; }

/* ═══════════════ Hero ═══════════════ */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 30%, rgba(232,200,77,0.18), transparent 50%), radial-gradient(circle at 15% 80%, rgba(168,50,76,0.18), transparent 55%), radial-gradient(circle at 50% 50%, rgba(30,136,229,0.12), transparent 65%), linear-gradient(180deg, var(--orapro-night) 0%, var(--orapro-night-2) 100%); color: white; padding: 5rem 1.5rem 6rem; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; gap: 3rem; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(232,200,77,0.16); color: var(--orapro-gold); padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero h1 { color: white; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 1.3rem; }
.hero h1 .gerez { color: #6FB8F2; }
.hero h1 .analysez { color: var(--orapro-gold); }
.hero h1 .decidez { color: #E37C92; }
.hero p.lead { font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,0.78); margin-bottom: 2.2rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.hero-trust .item { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust .item i { color: var(--orapro-gold); }
.hero-mock { background: white; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06); transform: perspective(1400px) rotateY(-6deg) rotateX(4deg); overflow: hidden; position: relative; }
.hero-mock-bar { background: var(--orapro-night-2); padding: 0.5rem 0.8rem; display: flex; align-items: center; gap: 0.4rem; }
.hero-mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.hero-mock-content { padding: 1rem; background: var(--orapro-bg); }
.hero-mock-content .row-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 0.7rem; }
.mini-stat { background: white; border-radius: 8px; padding: 0.65rem 0.8rem; border: 1px solid var(--orapro-border); box-shadow: 0 1px 2px rgba(10,26,51,0.04); position: relative; overflow: hidden; }
.mini-stat::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; }
.mini-stat.b::before { background: var(--orapro-blue); }
.mini-stat.g::before { background: var(--orapro-gold); }
.mini-stat.r::before { background: var(--orapro-bordeaux); }
.mini-stat .lbl { font-size: 0.6rem; color: var(--orapro-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mini-stat .val { font-size: 0.95rem; font-weight: 800; color: var(--orapro-text); margin-top: 0.1rem; }
.mini-stat .up { font-size: 0.62rem; color: var(--orapro-success); }
.hero-mock-chart { background: white; border-radius: 8px; padding: 0.8rem; border: 1px solid var(--orapro-border); height: 130px; }

/* ═══════════════ Piliers ═══════════════ */
section.pillars { background: white; padding: 4rem 1.5rem; border-top: 1px solid var(--orapro-border); border-bottom: 1px solid var(--orapro-border); }
.pillars-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .pillars-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.pillar { text-align: center; padding: 1rem; }
.pillar .picto { width: 64px; height: 64px; margin: 0 auto 1rem; background: var(--orapro-blue-soft); color: var(--orapro-blue); border-radius: var(--radius-lg); display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.pillar:nth-child(2) .picto { background: var(--orapro-gold-soft); color: var(--orapro-gold-hover); }
.pillar:nth-child(3) .picto { background: var(--orapro-bordeaux-soft); color: var(--orapro-bordeaux); }
.pillar h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.pillar p { font-size: 0.93rem; max-width: 320px; margin: 0 auto; }

/* ═══════════════ Section générique ═══════════════ */
/* ALTERNANCE DE FOND — sans elle, six sections se suivaient sur le gris du body et rien ne
   marquait le passage de l'une à l'autre au défilement.

   ⚠️ max-width RETIRÉ d'ici (il valait 1280px) : une section bornée en largeur n'aurait pas
   produit une bande pleine largeur, mais une « carte » centrée avec du gris de chaque côté sur
   les grands écrans. La largeur de lecture est donc portée par les conteneurs INTÉRIEURS —
   .section-head, .about-grid, .testimonials-grid et .contact-grid l'avaient déjà, seules
   .modules-grid et .audience-grid la reçoivent ci-dessous. */
section.bloc { padding: 5rem 1.5rem; background: var(--orapro-bg); }
section.bloc.alt { background: white; border-top: 1px solid var(--orapro-border); border-bottom: 1px solid var(--orapro-border); }

/* Sur fond blanc, une carte blanche disparaîtrait : on la détache par une ombre douce. */
section.bloc.alt .audience-card,
section.bloc.alt .testimonial-card,
section.bloc.alt .module-card { box-shadow: var(--shadow); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { display: inline-block; background: var(--orapro-blue-soft); color: var(--orapro-blue); padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.85rem; }
/* clamp() plutôt qu'un palier : la taille suit la largeur sans saut brutal au point de rupture. */
.section-head h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.15; margin-bottom: 0.8rem; }
.section-head p { font-size: 1.05rem; }

/* ═══════════════ Modules grid ═══════════════ */
.modules-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .modules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .modules-grid { grid-template-columns: 1fr; } }
.module-card { background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; transition: all 0.22s ease; position: relative; overflow: hidden; }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orapro-blue); }
.module-card .mod-icon { width: 46px; height: 46px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; background: var(--orapro-blue-soft); color: var(--orapro-blue); }
.module-card.gold .mod-icon { background: var(--orapro-gold-soft); color: var(--orapro-gold-hover); }
.module-card.bordeaux .mod-icon { background: var(--orapro-bordeaux-soft); color: var(--orapro-bordeaux); }
.module-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.5rem; }
.module-card p { font-size: 0.9rem; }
.module-card .badge { margin-top: 1rem; }

/* Carte de module cliquable (ouvre sa fenêtre de détail) */
.module-card { display: flex; flex-direction: column; }
.module-card p { flex: 1; }
.module-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.1rem; font-size: 0.88rem; font-weight: 600; color: var(--orapro-blue); transition: gap 0.18s ease; }
.module-card.gold .module-more { color: var(--orapro-gold-hover); }
.module-card.bordeaux .module-more { color: var(--orapro-bordeaux); }
.module-card:hover .module-more { gap: 0.65rem; }

/* Déclencheur en superposition : couvre la carte entière, reste invisible, et porte le
   libellé accessible. Le contour de focus dessine ainsi le tour de la carte. */
.module-card-trigger { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
/* Contour tracé vers l'INTÉRIEUR (offset négatif) : la carte est en overflow:hidden, un
   contour débordant serait rogné et le focus clavier deviendrait invisible. */
.module-card-trigger:focus-visible { outline: 2px solid var(--orapro-blue); outline-offset: -3px; }

/* ═══════════════ Fenêtre de détail d'un module (<dialog>) ═══════════════ */
/* Règle indispensable aux navigateurs qui ignorent <dialog> : sans elle, l'élément inconnu
   s'afficherait comme un bloc ordinaire et déverserait les sept fiches dans la page. */
dialog:not([open]) { display: none; }

.module-modal { width: min(580px, calc(100vw - 2rem)); max-height: min(86vh, 760px); padding: 0; border: 0; border-radius: var(--radius-xl); background: white; color: var(--orapro-text); box-shadow: 0 24px 64px rgba(10,26,51,0.35); overflow: hidden; }
.module-modal[open] { display: flex; flex-direction: column; }
.module-modal::backdrop { background: rgba(10, 26, 51, 0.55); }

/* Empêche l'arrière-plan de défiler pendant que la fenêtre est ouverte. */
html:has(dialog[open]) { overflow: hidden; }

.module-modal-head { display: flex; align-items: flex-start; gap: 1rem; padding: 1.6rem 1.75rem 1.2rem; border-bottom: 1px solid var(--orapro-border); }
.module-modal-head .mod-icon { width: 48px; height: 48px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; background: var(--orapro-blue-soft); color: var(--orapro-blue); }
.module-modal-head.gold .mod-icon { background: var(--orapro-gold-soft); color: var(--orapro-gold-hover); }
.module-modal-head.bordeaux .mod-icon { background: var(--orapro-bordeaux-soft); color: var(--orapro-bordeaux); }
.module-modal-head .ttl { flex: 1; min-width: 0; }
.module-modal-head h3 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.25; }
.module-modal-close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--orapro-bg); color: var(--orapro-text-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; transition: all 0.18s ease; }
.module-modal-close:hover { background: var(--orapro-danger-soft); color: var(--orapro-danger); }

.module-modal-body { padding: 1.4rem 1.75rem; overflow-y: auto; flex: 1; }
.module-modal-body p { font-size: 0.97rem; line-height: 1.6; }
.module-modal-body h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orapro-text-light); margin: 1.5rem 0 0.75rem; }
.module-modal-body ul { list-style: none; padding: 0; margin: 0; }
.module-modal-body ul li { position: relative; padding: 0.4rem 0 0.4rem 1.75rem; font-size: 0.93rem; color: var(--orapro-text); }
.module-modal-body ul li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0.4rem; color: var(--orapro-success); font-size: 0.95rem; }

.module-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.15rem 1.75rem; border-top: 1px solid var(--orapro-border); background: var(--orapro-bg); }
.module-modal-foot .hint { font-size: 0.85rem; color: var(--orapro-text-muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.module-modal-foot .hint i { color: var(--orapro-blue); }

@keyframes orapro-modal-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes orapro-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.module-modal[open] { animation: orapro-modal-in 0.2s ease-out; }
.module-modal[open]::backdrop { animation: orapro-backdrop-in 0.2s ease-out; }

@media (prefers-reduced-motion: reduce) {
    .module-modal[open], .module-modal[open]::backdrop { animation: none; }
    .module-more, .module-card:hover .module-more { transition: none; }
}

@media (max-width: 600px) {
    .module-modal-foot { flex-direction: column; align-items: stretch; }
    .module-modal-foot .btn { justify-content: center; }
}

/* ═══════════════ Audience ═══════════════ */
.audience-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); padding: 2rem 1.75rem; text-align: center; }
.audience-card .icn { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.2rem; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; }
.audience-card.ong .icn { background: var(--orapro-blue-soft); color: var(--orapro-blue); }
.audience-card.ent .icn { background: var(--orapro-gold-soft); color: var(--orapro-gold-hover); }
.audience-card.cab .icn { background: var(--orapro-bordeaux-soft); color: var(--orapro-bordeaux); }
.audience-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.audience-card ul { list-style: none; padding: 0; margin: 1.2rem 0 0; text-align: left; }
.audience-card ul li { font-size: 0.92rem; color: var(--orapro-text-muted); padding: 0.35rem 0 0.35rem 1.8rem; position: relative; }
.audience-card ul li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0.35rem; color: var(--orapro-success); font-size: 1rem; }

/* ═══════════════ Chiffres clés ═══════════════ */
.stats-bar { background: var(--orapro-night); color: white; padding: 3.5rem 1.5rem; margin-top: 2rem; }
.stats-bar-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 900px) { .stats-bar-inner { grid-template-columns: repeat(2, 1fr); } }
.stats-bar .val { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 2.5rem); font-weight: 800; color: var(--orapro-gold); margin-bottom: 0.3rem; letter-spacing: -0.02em; }
.stats-bar .lbl { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* ═══════════════ CTA final ═══════════════ */
.cta-final { background: radial-gradient(circle at 80% 50%, rgba(232,200,77,0.22), transparent 55%), radial-gradient(circle at 20% 50%, rgba(168,50,76,0.18), transparent 55%), linear-gradient(135deg, var(--orapro-night) 0%, var(--orapro-night-2) 100%); color: white; padding: 5rem 1.5rem; text-align: center; }
.cta-final h2 { color: white; font-size: clamp(1.7rem, 5vw, 2.3rem); max-width: 720px; margin: 0 auto 1.2rem; line-height: 1.2; }
.cta-final p { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 600px; margin: 0 auto 2rem; }

/* ═══════════════ À propos ═══════════════ */
.about-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-text p + p { margin-top: 1rem; }
.about-text p { font-size: 1.02rem; }
.about-points { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.about-points li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.55rem 0; font-size: 0.95rem; color: var(--orapro-text); }
.about-points li i { color: var(--orapro-success); font-size: 1.1rem; margin-top: 0.1rem; flex-shrink: 0; }
.about-card { background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.about-card h3 { font-size: 1.15rem; margin-bottom: 1.2rem; }
.about-stat { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid var(--orapro-border); }
.about-stat:last-child { border-bottom: 0; }
.about-stat .v { font-size: 1.5rem; font-weight: 800; color: var(--orapro-blue); letter-spacing: -0.02em; min-width: 3.2rem; }
.about-stat .l { font-size: 0.9rem; color: var(--orapro-text-muted); }

/* ═══════════════ Témoignages ═══════════════ */
.testimonials-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial-card .quote-mark { font-size: 2rem; line-height: 1; color: var(--orapro-gold); }
.testimonial-card p { font-size: 0.95rem; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.9rem; border-top: 1px solid var(--orapro-border); }
.testimonial-author .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--orapro-bg); color: var(--orapro-text-light); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.testimonial-author .who { font-weight: 600; font-size: 0.92rem; color: var(--orapro-text); }
.testimonial-author .role { font-size: 0.82rem; color: var(--orapro-text-muted); }

/* Emplacement en attente d'un VRAI témoignage (recueil + consentement écrit à obtenir).
   Volontairement neutre et sans personne fictive : publié par accident, ce bloc n'invente
   aucun client et ne peut passer pour un faux avis. */
.testimonial-card.is-pending { border-style: dashed; background: transparent; box-shadow: none; }
.testimonial-card.is-pending .quote-mark { color: var(--orapro-text-light); }
.testimonial-card.is-pending p { color: var(--orapro-text-light); font-style: italic; }
.testimonials-note { max-width: 1100px; margin: 1.5rem auto 0; text-align: center; font-size: 0.88rem; color: var(--orapro-text-light); }

/* ═══════════════ Contact ═══════════════ */
.contact-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

.contact-line { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--orapro-border); }
.contact-line:first-child { padding-top: 0; }
.contact-line .icn { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; background: var(--orapro-blue-soft); color: var(--orapro-blue); }
.contact-line .icn.gold { background: var(--orapro-gold-soft); color: var(--orapro-gold-hover); }
.contact-line .icn.bordeaux { background: var(--orapro-bordeaux-soft); color: var(--orapro-bordeaux); }
.contact-line .lbl { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orapro-text-light); margin-bottom: 0.2rem; }
.contact-line .value { font-size: 1rem; font-weight: 600; color: var(--orapro-blue); word-break: break-word; }
.contact-line .value:hover { color: var(--orapro-blue-hover); }
.contact-delay { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.88rem; color: var(--orapro-text-muted); }
.contact-delay i { color: var(--orapro-gold-hover); }

.contact-form-wrap { background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); padding: 2rem 1.9rem; box-shadow: var(--shadow); }
@media (max-width: 600px) { .contact-form-wrap { padding: 1.5rem 1.25rem; } }
.contact-form-wrap .field label .req { color: var(--orapro-danger); }
.contact-form-wrap .field label .opt { color: var(--orapro-text-light); font-weight: 500; text-transform: none; letter-spacing: 0; }
.contact-form-wrap .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.8rem; color: var(--orapro-text-light); margin-top: 1rem; line-height: 1.5; }

/* Retour d'envoi. Trois états DISTINCTS : envoyé / pris en compte mais non transmis / échec —
   ils n'engagent pas la même promesse, les confondre reviendrait à mentir au visiteur. */
.contact-feedback { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem 1.15rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: 0.9rem; line-height: 1.5; }
.contact-feedback i { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.contact-feedback strong { display: block; margin-bottom: 0.15rem; }
.contact-feedback.is-ok { background: var(--orapro-success-soft); color: var(--orapro-success); }
.contact-feedback.is-warn { background: var(--orapro-warning-soft); color: var(--orapro-warning); }
.contact-feedback.is-error { background: var(--orapro-danger-soft); color: var(--orapro-danger); }

/* Messages de validation produits par Blazor (<ValidationMessage>) — alignés sur .field-error. */
.validation-message { color: var(--orapro-danger); font-size: 0.82rem; }
.field input.invalid, .field textarea.invalid { border-color: var(--orapro-danger); }

/* Champ piège : hors écran plutôt que display:none — un automate ignore souvent les champs
   réellement masqués, mais remplit ceux qui sont simplement déportés. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ═══════════════ Révélation au défilement ═══════════════ */
/* Masqué UNIQUEMENT quand le JS est actif (classe « js » posée dans App.razor) : sans
   script, rien n'est masqué et la page reste entièrement lisible. */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-reveal][data-delay="1"] { transition-delay: 0.09s; }
html.js [data-reveal][data-delay="2"] { transition-delay: 0.18s; }
html.js [data-reveal][data-delay="3"] { transition-delay: 0.27s; }

/* Réglage système « moins d'animations » : ni glissement ni fondu. Double sécurité —
   le script applique déjà la même règle de son côté. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Lien de menu correspondant à la section en cours de lecture (posé par site.js). */
.pub-nav-links a.is-active { color: white; background: rgba(255,255,255,0.10); }

/* ═══════════════ Footer public ═══════════════ */
.pub-footer { background: #060F1F; color: rgba(255,255,255,0.7); padding: 3rem 1.5rem 1.5rem; }
/* 3 colonnes : la colonne « Légal » a été retirée, ses liens ne menaient nulle part.
   À repasser en « 2fr 1fr 1fr 1fr » le jour où les pages légales existent. */
.pub-footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 900px) { .pub-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .pub-footer-inner { grid-template-columns: 1fr; } }
.pub-footer h4 { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.pub-footer ul { list-style: none; padding: 0; margin: 0; }
.pub-footer ul li { padding: 0.3rem 0; font-size: 0.9rem; }
.pub-footer ul a { color: rgba(255,255,255,0.65); }
.pub-footer ul a:hover { color: white; }
.pub-footer-brand img { height: 50px; margin-bottom: 0.8rem; }
.pub-footer-brand p { font-size: 0.9rem; max-width: 320px; color: rgba(255,255,255,0.6); }
.pub-footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.pub-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: white; display: inline-flex; align-items: center; justify-content: center; transition: all 0.18s ease; }
.pub-footer-social a:hover { background: var(--orapro-blue); }
.pub-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ═══════════════ Page message (confirmations) ═══════════════ */
.msg-page { max-width: 560px; margin: 0 auto; padding: clamp(2.5rem, 8vw, 5rem) 1.5rem; text-align: center; }
.msg-page .msg-icon { font-size: clamp(3rem, 12vw, 4.5rem); line-height: 1; margin-bottom: 1.5rem; display: block; }
.msg-page .msg-icon.blue { color: var(--orapro-blue); }
.msg-page .msg-icon.success { color: var(--orapro-success); }
.msg-page .msg-icon.danger { color: var(--orapro-danger); }
.msg-page h2 { font-size: 1.9rem; margin-bottom: 1rem; }
.msg-page p { font-size: 1.05rem; margin-bottom: 1.75rem; }
.msg-page .msg-note { display: flex; align-items: flex-start; gap: 0.7rem; text-align: left; background: var(--orapro-blue-soft); border: 1px solid var(--orapro-blue); border-radius: var(--radius); padding: 1rem 1.15rem; color: var(--orapro-text); font-size: 0.92rem; margin-bottom: 1.75rem; }
.msg-page .msg-note i { color: var(--orapro-blue); font-size: 1.1rem; margin-top: 0.1rem; }
.msg-page .btn { display: inline-flex; }

/* ═══════════════ Page Souscription ═══════════════ */
.subscribe-wrap { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; }
/* Même piège que sur .field-row, mais un cran plus haut, et c'est celui qui décalait toute
   la page : la colonne « 1fr » se réglait sur la largeur naturelle du groupe sous-domaine
   (l'input de 20 caractères PLUS le suffixe « .orapro.online », insécable), soit 405 px.
   Les fonds — barre, cartes, pied de page — s'arrêtant eux à la largeur de l'écran, le
   contenu paraissait coupé à droite. Mesuré : 427 px de document pour 360 px d'écran. */
.subscribe-wrap > * { min-width: 0; }
@media (max-width: 1000px) {
    .subscribe-wrap { grid-template-columns: 1fr; }

    /* En colonne unique, le récapitulatif passe SOUS le formulaire : le garder collant n'a plus
       d'objet — il n'a plus de colonne voisine à accompagner — et provoque un décrochage au
       défilement. Il redevient un bloc ordinaire. */
    aside.recap { position: static; top: auto; }
}
.subscribe-header { grid-column: 1 / -1; text-align: center; margin-bottom: 1.5rem; }
.subscribe-header .eyebrow { display: inline-block; background: var(--orapro-gold-soft); color: var(--orapro-gold-hover); padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; }
.subscribe-header h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: 0.6rem; }
.subscribe-header p { font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.form-section { background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); padding: 1.75rem 2rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
/* Sur téléphone, 2 rem de chaque côté prenaient 64 px des ~320 px utiles, au détriment des
   champs eux-mêmes. Même réduction que .contact-form-wrap, au même point de rupture. */
@media (max-width: 600px) { .form-section { padding: 1.5rem 1.25rem; } }
.form-section h2 { font-size: 1.25rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.6rem; }
.form-section h2 i { color: var(--orapro-blue); }
.form-section .desc { color: var(--orapro-text-muted); margin-bottom: 1.5rem; font-size: 0.92rem; }
.form-section .field:last-child { margin-bottom: 0; }

.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
@media (max-width: 700px) { .mode-grid { grid-template-columns: 1fr; } }
.mode-card { background: white; border: 2px solid var(--orapro-border); border-radius: var(--radius); padding: 1.1rem; cursor: pointer; transition: all 0.18s ease; position: relative; }
.mode-card:hover { border-color: var(--orapro-blue); }
.mode-card.selected { border-color: var(--orapro-blue); background: var(--orapro-blue-soft); }
.mode-card .check { position: absolute; top: 0.75rem; right: 0.75rem; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--orapro-border); background: white; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; color: white; }
.mode-card.selected .check { background: var(--orapro-blue); border-color: var(--orapro-blue); }
.mode-card .head { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 700; color: var(--orapro-text); margin-bottom: 0.3rem; }
.mode-card .head i { color: var(--orapro-blue); }
.mode-card p { font-size: 0.83rem; }

.module-check-list { display: flex; flex-direction: column; gap: 0.6rem; }
.module-check { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.1rem; background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius); cursor: pointer; transition: all 0.18s ease; position: relative; }
.module-check:hover { border-color: var(--orapro-blue); }
.module-check.selected { border-color: var(--orapro-blue); background: var(--orapro-blue-soft); }
.module-check .cb { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--orapro-border); background: white; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; color: white; flex-shrink: 0; margin-top: 0.05rem; }
.module-check.selected .cb { background: var(--orapro-blue); border-color: var(--orapro-blue); }
.module-check .body { flex: 1; }
.module-check .body .title { font-weight: 700; font-size: 0.95rem; color: var(--orapro-text); display: flex; gap: 0.5rem; align-items: center; }
.module-check .body .descr { font-size: 0.85rem; color: var(--orapro-text-muted); margin-top: 0.2rem; }
.module-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.module-base-note { display: flex; align-items: center; gap: 0.6rem; background: var(--orapro-bg); border: 1px solid var(--orapro-border); border-radius: var(--radius); padding: 0.75rem 1rem; margin-bottom: 1rem; font-size: 0.88rem; color: var(--orapro-text-muted); }
.module-base-note i { color: var(--orapro-success); }

.subdomain-group { display: flex; align-items: stretch; background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius); overflow: hidden; }
.subdomain-group input { border: none; flex: 1; padding: 0.75rem 0.95rem; font-size: 0.95rem; font-family: inherit; color: var(--orapro-text); outline: none; background: white; min-width: 0; }
.subdomain-group .suffix { padding: 0 1rem; background: var(--orapro-bg); color: var(--orapro-text-muted); display: flex; align-items: center; font-size: 0.92rem; white-space: nowrap; }
.subdomain-group:focus-within { border-color: var(--orapro-blue); box-shadow: 0 0 0 3px rgba(30,136,229,0.12); }

.check-line { font-size: 0.85rem; margin-top: 0.4rem; display: flex; align-items: center; gap: 0.35rem; }
.check-line.ok { color: var(--orapro-success); }
.check-line.ko { color: var(--orapro-danger); }
.check-line.pending { color: var(--orapro-text-muted); }
.field-error { color: var(--orapro-danger); font-size: 0.82rem; margin-top: 0.25rem; }
.field.invalid input, .field.invalid select { border-color: var(--orapro-danger); }
.field.invalid .subdomain-group { border-color: var(--orapro-danger); }
.form-error { display: flex; align-items: center; gap: 0.6rem; background: var(--orapro-danger-soft); border: 1px solid var(--orapro-danger); color: var(--orapro-danger); border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-bottom: 1.25rem; font-size: 0.92rem; }

.spinner { display: inline-block; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -0.15em; }
@keyframes spin { to { transform: rotate(360deg); } }

aside.recap { position: sticky; top: 100px; align-self: start; background: white; border: 1px solid var(--orapro-border); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
aside.recap h3 { font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
aside.recap .recap-label { font-size: 0.8rem; color: var(--orapro-text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; margin-top: 1rem; margin-bottom: 0.25rem; }
aside.recap .row { display: flex; justify-content: space-between; padding: 0.45rem 0; font-size: 0.92rem; color: var(--orapro-text-muted); border-bottom: 1px dashed var(--orapro-border); }
aside.recap .row:last-of-type { border: none; }
aside.recap .row .name { color: var(--orapro-text); font-weight: 500; }
aside.recap .row.included .name { color: var(--orapro-success); }
aside.recap .row.included .tag { color: var(--orapro-success); font-weight: 600; font-size: 0.82rem; }
aside.recap .row.empty { color: var(--orapro-text-light); font-style: italic; border: none; }
aside.recap .send-btn { margin-top: 1.2rem; background: var(--orapro-gold); color: var(--orapro-night); border: none; padding: 0.85rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; width: 100%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; box-shadow: 0 8px 24px rgba(232,200,77,0.32); transition: all 0.18s ease; }
aside.recap .send-btn:hover:not(:disabled) { background: var(--orapro-gold-hover); transform: translateY(-1px); }
aside.recap .send-btn:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
aside.recap .reassure { text-align: center; margin-top: 1rem; font-size: 0.78rem; color: var(--orapro-text-muted); display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
aside.recap .reassure i { color: var(--orapro-success); }

/* ═══════════════ Écrans d'accès (layout nu : connexion) ═══════════════ */
.bare-shell { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; background: radial-gradient(circle at 30% 20%, rgba(30,136,229,0.16), transparent 50%), radial-gradient(circle at 80% 80%, rgba(232,200,77,0.10), transparent 55%), var(--orapro-night); }
.bare-shell::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle 260px at 12% 85%, rgba(168,50,76,0.16), transparent 60%), radial-gradient(circle 220px at 88% 18%, rgba(232,200,77,0.10), transparent 60%); }
.bare-top { position: relative; z-index: 5; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.bare-top .brand { display: flex; align-items: center; gap: 0.6rem; color: white; font-weight: 800; font-size: 1.15rem; }
.bare-top .brand img { height: 38px; }
.bare-top .brand .ora { color: #E37C92; }
.bare-top .brand .pro { color: #6FB8F2; }
.bare-top .back { color: rgba(255,255,255,0.78); font-size: 0.9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 0.4rem; }
.bare-top .back:hover { color: white; }
.bare-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1.5rem 3rem; }
.bare-bottom { position: relative; z-index: 1; padding: 1.25rem 1.5rem; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.bare-bottom a { color: rgba(255,255,255,0.7); }

/* Barre nue sur petit écran : le libellé de retour est raccourci à sa flèche et le logo réduit,
   sinon les deux se disputent la largeur et le texte se coupe. */
@media (max-width: 480px) {
    .bare-top { padding: 1rem; }
    .bare-top .brand { font-size: 1rem; }
    .bare-top .brand img { height: 32px; }
    .bare-top .back span { display: none; }
    .bare-main { padding: 1.5rem 1rem 2.5rem; }
    .login-card { padding: 1.75rem 1.35rem 1.35rem; }
}

.login-card { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; padding: 2.4rem 2.4rem 1.7rem; }
.login-card .icn-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--orapro-blue-soft); color: var(--orapro-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 1.2rem; }
.login-card h1 { font-size: 1.5rem; margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.login-card .sub { color: var(--orapro-text-muted); font-size: 0.93rem; line-height: 1.5; margin-bottom: 1.75rem; }
.login-card .sub .hint { display: block; margin-top: 0.4rem; color: var(--orapro-text-light); font-size: 0.85rem; }
.login-card .error-message { margin-top: 0.6rem; padding: 0.75rem 0.95rem; background: var(--orapro-danger-soft); border-radius: var(--radius); color: var(--orapro-danger); font-size: 0.86rem; line-height: 1.45; display: flex; align-items: flex-start; gap: 0.55rem; }
.login-card .error-message i { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.recall-checkbox { display: flex; align-items: center; gap: 0.55rem; margin: 1.1rem 0 1.5rem; font-size: 0.88rem; color: var(--orapro-text-muted); cursor: pointer; user-select: none; }
.recall-checkbox input { width: 16px; height: 16px; accent-color: var(--orapro-blue); }
.next-step { margin-top: 1.25rem; padding: 1rem 1.1rem; background: var(--orapro-blue-soft); border-radius: var(--radius); font-size: 0.85rem; color: var(--orapro-text); line-height: 1.55; display: flex; gap: 0.7rem; }
.next-step i { color: var(--orapro-blue); font-size: 1.15rem; flex-shrink: 0; margin-top: 0.05rem; }

/* ═══════════════ Blazor error UI (natif, sans Bootstrap) ═══════════════ */
#blazor-error-ui { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; display: none; padding: 0.9rem 2.5rem 0.9rem 1.5rem; background: var(--orapro-danger-soft); color: var(--orapro-danger); border-top: 1px solid var(--orapro-danger); box-shadow: var(--shadow-lg); font-size: 0.9rem; }
#blazor-error-ui .reload { color: var(--orapro-danger); font-weight: 600; text-decoration: underline; margin-left: 0.4rem; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 1rem; top: 0.7rem; }
