/* ═══════════════════════════════════════
   PAGE DÉMARRER — lead magnet « Bien démarrer avec Claude »
   Charge main.css + home.css (bento, reassurance, faq réutilisés).
   Langage du site : angles NETS (radius 0) + croix corner-plus. Radius seulement
   sur boutons/pilules. Voir site/CLAUDE.md § Conventions visuelles.
   ═══════════════════════════════════════ */

/* ── TOPBAR (logo centré, non sticky) ── */
.dm-topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 2rem 0 0; }
.dm-topbar .container { display: flex; justify-content: center; }

/* ── HERO ── */
.dm-hero { padding: 6.5rem 0 4rem; position: relative; overflow: hidden; }
.dm-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 72% 40%, rgba(27, 73, 101, 0.35), transparent 70%),
        radial-gradient(ellipse 50% 40% at 18% 18%, rgba(249, 220, 92, 0.05), transparent 65%);
}
.dm-hero .container { position: relative; z-index: 1; }
.dm-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.dm-kicker {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--golden); background: var(--golden-dim); border: 1px solid rgba(249, 220, 92, 0.25);
    padding: 0.4rem 0.95rem; border-radius: 100px; margin-bottom: 1.6rem;
}
.dm-kicker svg { width: 15px; height: 15px; }
.dm-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.03em; margin-bottom: 1.4rem; }
.dm-hero h1 em { font-family: var(--font-display); font-style: normal; color: var(--golden); font-weight: 400; font-size: 1.12em; }
.dm-hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--light-blue); line-height: 1.6; max-width: 44ch; margin-bottom: 2rem; }
.dm-form-inline { display: flex; gap: 0.6rem; max-width: 480px; }
.dm-input {
    flex: 1; min-width: 0; background: rgba(13, 27, 42, 0.55);
    border: 1px solid rgba(124, 152, 179, 0.22); border-radius: 0;
    padding: 0.95rem 1.1rem; color: var(--off-white);
    font-family: inherit; font-size: 0.98rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.dm-input::placeholder { color: var(--soft-blue); }
.dm-input:focus { outline: none; border-color: var(--golden); box-shadow: 0 0 0 3px var(--golden-dim); }
.dm-reassure { font-size: 0.82rem; color: var(--soft-blue); margin-top: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.dm-reassure svg { width: 14px; height: 14px; stroke: var(--golden); flex: none; }

/* opt-in qui apparaît quand on saisit l'email */
.dm-hero-consent { display: none; align-items: flex-start; gap: 0.55rem; max-width: 480px; margin-top: 0.9rem; }
.dm-hero-consent.show { display: flex; }
.dm-hero-consent input { margin-top: 0.15rem; accent-color: var(--golden); width: 16px; height: 16px; flex: none; }
.dm-hero-consent label { font-size: 0.76rem; color: var(--soft-blue); line-height: 1.5; }
.dm-hero-consent a { color: var(--light-blue); text-decoration: underline; }

.dm-hero-thanks { display: none; }
.dm-hero-thanks.show { display: block; }
.dm-hero-thanks .dm-ht-in { display: flex; align-items: flex-start; gap: 0.7rem; background: var(--golden-dim); border: 1px solid rgba(249, 220, 92, 0.25); padding: 1.1rem 1.3rem; max-width: 480px; }
.dm-hero-thanks svg { width: 22px; height: 22px; stroke: var(--golden); flex: none; margin-top: 2px; }
.dm-hero-thanks p { color: var(--off-white); font-size: 0.96rem; line-height: 1.5; }

/* ── HERO ART : thumbnail vidéo + icônes flottantes + inventaire ── */
.dm-hero-art { display: flex; flex-direction: column; gap: 1.5rem; }
.dm-thumb-wrap { position: relative; padding: 1.6rem 1.6rem 1.9rem; }
.dm-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(124, 152, 179, 0.18); background: #0A1622; }
.dm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dm-float { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(13, 27, 42, 0.9); border: 1px solid rgba(249, 220, 92, 0.3); display: flex; align-items: center; justify-content: center; z-index: 3; }
.dm-float svg { width: 21px; height: 21px; stroke: var(--golden); }
.dm-float.f1 { top: 2px; left: -4px; animation: dm-bob 4.2s ease-in-out infinite; }
.dm-float.f2 { top: 24%; right: -10px; animation: dm-bob 5.1s ease-in-out infinite 0.6s; }
.dm-float.f3 { bottom: 14%; left: -12px; animation: dm-bob 4.6s ease-in-out infinite 1.1s; }
.dm-float.f4 { bottom: 4px; right: 16%; animation: dm-bob 5.6s ease-in-out infinite 0.3s; }
@keyframes dm-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-11px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .dm-float { animation: none; } }

/* inventaire (angles nets) */
.dm-inventory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-left: 1px solid rgba(124, 152, 179, 0.12); border-top: 1px solid rgba(124, 152, 179, 0.12); }
.dm-inv-item { border-right: 1px solid rgba(124, 152, 179, 0.12); border-bottom: 1px solid rgba(124, 152, 179, 0.12); padding: 1rem 0.6rem; text-align: center; }
.dm-inv-num { font-family: var(--font-display); color: var(--golden); font-size: 2.2rem; line-height: 1; font-weight: 400; }
.dm-inv-label { font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft-blue); margin-top: 0.35rem; display: block; }

/* ── logo Jessy Martin au-dessus des chiffres de réassurance ── */
.dm-reassure-logo { text-align: center; margin-bottom: var(--space-md); }
.dm-reassure-logo .footer-brand-name { font-size: 1.9rem; }

/* réassurance : hauteur réduite + contenu centré verticalement pour rapprocher les témoignages (visibles au scroll, donne envie de descendre) */
.dm-content + .reassurance,
.reassurance { min-height: 600px; padding: 4.5rem 0 3rem; align-items: center; }
/* cadrage remonté pour révéler le visage de Jessy (au micro, plus bas dans la photo) */
.reassurance-bg img { object-position: center 62%; }

/* ── CE QUE TU REÇOIS : continuité de couleur avec la réassurance (midnight-light → midnight) ── */
.dm-content { background: var(--midnight); }
.dm-content .offer-feature { background: transparent; }
.dm-content .offer-feature.alt { background: rgba(27, 73, 101, 0.12); }
/* cellule haute (formation) : illustration remontée et centrée dans l'espace vide */
.dm-content .of-span-tall { justify-content: flex-start; }
.dm-content .of-span-tall .offer-feature-illustration { flex: 1; height: auto; min-height: 180px; display: flex; align-items: center; justify-content: center; margin-top: 1.5rem; }
.dm-content .of-span-tall .offer-feature-illustration img { max-height: 230px; }
.offer-feature-note { font-size: 0.8rem; color: var(--soft-blue); margin-top: 0.8rem; }
.dm-content-cta { display: flex; justify-content: center; margin-top: var(--space-lg); }

/* descente continue témoignages → CTA : midnight-light en haut des témoignages, teinte intermédiaire à leur bas,
   puis le CTA reprend cette teinte et finit en foncé plein (la FAQ enchaîne en midnight) */
.dm-testimonials { background: linear-gradient(180deg, var(--midnight-light) 0%, var(--midnight-light) 15%, #0F1E34 100%); }
.dm-capture-section { background: linear-gradient(180deg, #0F1E34 0%, var(--midnight) 100%); }
/* témoignages : grille 3 colonnes (réutilise .testimonial-card, neutralise le span de la carte 1) */
.dm-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-left: 1px solid rgba(124, 152, 179, 0.1); border-top: 1px solid rgba(124, 152, 179, 0.1); }
.dm-testimonials-grid .testimonial-card:nth-child(1),
.dm-testimonials-grid .testimonial-card:nth-child(4),
.dm-testimonials-grid .testimonial-card:nth-child(7) { grid-column: auto; grid-row: auto; }
@media (max-width: 900px) { .dm-testimonials-grid { grid-template-columns: 1fr; } }

/* ── POUR QUI (titre centré, angles nets + corner-plus) ── */
.dm-fit-head { text-align: center; margin: 0 auto var(--space-md); }
.dm-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.dm-fit { position: relative; padding: 1.7rem 1.9rem; border: 1px solid rgba(124, 152, 179, 0.12); background: var(--midnight); }
.dm-fit.yes { background: rgba(249, 220, 92, 0.04); border-color: rgba(249, 220, 92, 0.2); }
.dm-fit h3 { font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.dm-fit h3 svg { width: 20px; height: 20px; flex: none; }
.dm-fit ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.dm-fit li { color: var(--light-blue); font-size: 0.94rem; line-height: 1.45; display: flex; align-items: flex-start; gap: 0.6rem; }
.dm-fit-ico { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; }

/* ── CAPTURE (bloc CTA final : angles nets + corner-plus, comme .test-block) ── */
.dm-capture-wrap { display: flex; justify-content: center; }
.dm-capture {
    position: relative; width: 100%; max-width: 520px;
    background: rgba(13, 27, 42, 0.55); border: 1px solid rgba(124, 152, 179, 0.14);
    padding: 2.6rem 2.5rem;
    text-align: left;
}

/* ── Micro-question de segmentation post-email (indépendant / salarié / dirigeant) ── */
.dm-profile-step { display: none; margin-top: 1.4rem; }
.dm-profile-step.show { display: block; animation: dmProfileIn 0.4s ease both; }
@keyframes dmProfileIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dm-profile-q { font-size: 0.9rem; color: var(--light-blue); margin-bottom: 0.7rem; }
.dm-profile-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dm-profile-opts button { font-family: inherit; font-size: 0.85rem; color: var(--off-white); background: rgba(124, 152, 179, 0.08); border: 1px solid rgba(124, 152, 179, 0.18); padding: 0.55rem 0.9rem; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.dm-profile-opts button:hover { background: rgba(249, 220, 92, 0.1); border-color: rgba(249, 220, 92, 0.45); color: var(--golden); }
.dm-profile-opts button:disabled { opacity: 0.4; }
.dm-profile-done { display: none; font-size: 0.9rem; color: var(--golden); }
.dm-profile-done.show { display: block; }
.dm-capture h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.dm-capture h2 em { font-family: var(--font-display); font-style: normal; color: var(--golden); font-weight: 400; font-size: 1.1em; }
.dm-capture .dm-cap-sub { color: var(--light-blue); font-size: 0.96rem; margin-bottom: 0.4rem; }
.dm-cap-proof { color: var(--soft-blue); font-size: 0.84rem; margin-bottom: 1.5rem; }
.dm-checks { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.dm-checks li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--light-blue); }
.dm-checks svg { width: 16px; height: 16px; stroke: var(--golden); flex: none; }
.dm-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.dm-field label { font-size: 0.82rem; color: var(--light-blue); font-weight: 500; }
.dm-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.4rem 0 1.3rem; }
.dm-consent input { margin-top: 0.15rem; accent-color: var(--golden); width: 16px; height: 16px; flex: none; }
.dm-consent label { font-size: 0.78rem; color: var(--soft-blue); line-height: 1.5; }
.dm-consent a { color: var(--light-blue); text-decoration: underline; }
.dm-optin { font-size: 0.76rem; color: var(--soft-blue); margin-top: 1rem; display: flex; align-items: center; gap: 0.45rem; }
.dm-optin svg { width: 15px; height: 15px; stroke: var(--soft-blue); flex: none; }
.dm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dm-thanks { display: none; flex-direction: column; align-items: center; text-align: center; padding: 1rem 0; }
.dm-thanks.show { display: flex; }
.dm-thanks svg { width: 46px; height: 46px; stroke: var(--golden); margin-bottom: 1rem; }
.dm-thanks h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.dm-thanks p { color: var(--light-blue); font-size: 0.96rem; line-height: 1.6; max-width: 36ch; }

/* ── FOOTER simplifié (centré) ── */
.dm-footer { padding: 3rem 0 2.5rem; border-top: 1px solid rgba(124, 152, 179, 0.08); text-align: center; }
.dm-footer .footer-brand-name { font-size: 1.5rem; display: inline-block; }
.dm-footer .dm-copy { color: var(--soft-blue); font-size: 0.78rem; margin-top: 1rem; }
.dm-footer .dm-legal-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: 0.9rem; flex-wrap: wrap; }
.dm-footer .dm-legal-links a { font-size: 0.68rem; color: #9BB0C4; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .dm-hero { padding: 5.5rem 0 2rem; }
    .dm-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .dm-fit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .dm-form-inline { flex-direction: column; }
    .dm-form-inline .btn-primary { width: 100%; justify-content: center; }
    .dm-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
    .dm-inv-num { font-size: 1.8rem; }
    .dm-capture { padding: 1.9rem 1.5rem; }
}
