/* ============================================================
   EBOOK CRYPTO (invest.galeon.care/fr/crypto-ebook, /crypto-ebook) AU GABARIT V10 — la feuille de la page
   ------------------------------------------------------------
   Chargée APRÈS css/v10.css et css/v10-invest.css, sur la seule page de l'ebook crypto (aperçus
   public/preview/invest/crypto-ebook/ et /en/). Classes ceb- : rien ne heurte les deux autres feuilles.
   Ce qu'elle ajoute : le hero à deux colonnes (couverture + formulaire), le formulaire de l'ebook,
   les quatre « rêves » autour du labyrinthe, les six chapitres, les avis de lecteurs et la carte de
   téléchargement du bas. Les formulaires gardent les repères de js/galeon-forms.js (.w-form,
   .w-form-done, .w-form-fail).
   ============================================================ */

.ceb-equilibre{text-wrap:balance}

/* ─── HERO : couverture à gauche, accroche et formulaire à droite ─ */
.inv-hero.ceb-hero{text-align:left}
.ceb-hero__grille{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,80px);align-items:center}
/* titre et chapô : ceux de .v-hero (la section porte v-hero) */
/* le titre partage sa ligne avec le livre : à 80 px il prenait cinq lignes (Simon, 21/10/2026) */
.inv-hero.ceb-hero h1{margin:0;max-width:none;text-wrap:balance;font-size:clamp(36px,4.2vw,60px);line-height:1}
.ceb-sous{margin:14px 0 0;font-size:clamp(22px,2.3vw,32px);font-weight:500;letter-spacing:-.02em;line-height:1.2;color:var(--tx)}
.inv-hero.ceb-hero .lead{margin:24px 0 32px}
.ceb-couv{display:block;justify-self:center;width:100%;max-width:360px;filter:drop-shadow(0 34px 50px rgba(0,0,0,.5)) drop-shadow(0 0 60px rgba(227,183,116,.16))}
.ceb-couv img{width:100%;height:auto}
.ceb-couv--flotte img{animation:ceb-flotte 7s ease-in-out infinite}
@keyframes ceb-flotte{50%{transform:translateY(-10px)}}
@media (prefers-reduced-motion:reduce){.ceb-couv--flotte img{animation:none}}
@media (max-width:860px){
  .inv-hero.ceb-hero{text-align:center}
  .ceb-hero__grille{grid-template-columns:minmax(0,1fr);gap:28px}
  .ceb-hero .ceb-couv{max-width:200px}
  .ceb-hero .ceb-form{margin-left:auto;margin-right:auto}
}

/* ─── FORMULAIRE DE L'EBOOK (les deux exemplaires) ─ */
.ceb-form{max-width:560px}
.ceb-form label{display:block;margin:0 0 10px;font-size:15px;font-weight:600;color:var(--tx)}
.ceb-champ{display:flex;align-items:center;gap:8px;padding:6px;border-radius:999px;background:rgba(14,17,34,.6);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:border-color .2s}
.ceb-champ:focus-within{border-color:var(--inv-or)}
.ceb-champ input[type=email]{flex:1;min-width:0;height:46px;padding:0 16px;border:0;background:none;outline:none;font-size:15px;color:var(--tx)}
.ceb-champ input[type=email]::placeholder{color:rgba(var(--tx-rgb),.45)}
.ceb-envoi{position:relative;flex:none}
.ceb-envoi input{height:48px;padding:0 22px 0 48px;border:0;border-radius:999px;background:var(--inv-grad-or);color:#1b1408;font-size:13.5px;font-weight:700;letter-spacing:.04em;cursor:pointer;box-shadow:0 10px 30px rgba(213,162,91,.22);transition:box-shadow .2s}
.ceb-envoi input:hover{box-shadow:0 12px 40px rgba(245,210,161,.34)}
.ceb-envoi img{position:absolute;left:18px;top:50%;width:20px;height:auto;transform:translateY(-50%);pointer-events:none}
.ceb-note{margin:12px 0 0;font-size:13px;line-height:1.5;color:var(--dim)}
.inv .ceb-form .w-form-done{margin:16px 0 0;padding:22px 24px;border-radius:20px;background:rgba(255,255,255,.06);border:0;color:var(--tx);font-size:15px}
.inv .ceb-form .w-form-done .ceb-pret{display:block;margin:0 0 14px;font-size:18px;font-weight:700;letter-spacing:.04em}
.inv .ceb-form .w-form-done a.btn{color:#1b1408;text-decoration:none;height:50px}
.inv .ceb-form .w-form-fail{color:#ff8a7a}
@media (max-width:560px){
  .ceb-champ{flex-direction:column;align-items:stretch;border-radius:20px;padding:8px}
  .ceb-champ input[type=email]{text-align:left}
  .ceb-envoi input{width:100%;padding:0 48px}
}

/* ─── BOUTONS D'APPEL (icône sombre sur le bouton doré) ─ */
.ceb-appel{margin:clamp(36px,5vw,56px) auto 0;text-align:center}
.ceb-appel p{margin:0 auto 24px;max-width:52ch;font-size:clamp(15px,1.2vw,17px);line-height:1.6;color:var(--dim);text-wrap:balance} /* .lead */
.btn.ceb-btn img{width:20px;height:auto}

/* ─── INTRODUCTION ───────────────────────────────── */
.ceb-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center}
.ceb-intro p{margin:18px 0 0;font-size:clamp(15px,1.2vw,17px);line-height:1.6;color:var(--dim)} /* .lead */
.ceb-intro strong{color:var(--tx);font-weight:600}
.ceb-intro__carte{padding:clamp(26px,3vw,40px);border-radius:20px;background:var(--inv-carte);border:1px solid var(--line-d)}
@media (max-width:860px){.ceb-intro{grid-template-columns:minmax(0,1fr)}}

/* ─── « ET TOI, TU RÊVES DE… » : quatre cartes autour du labyrinthe ─ */
.v-sec.ceb-sec-reves{overflow:hidden}
.ceb-reves{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"a l b" "c l d";gap:20px clamp(20px,3vw,40px);align-items:center}
.ceb-reve--a{grid-area:a}.ceb-reve--b{grid-area:b}.ceb-reve--c{grid-area:c}.ceb-reve--d{grid-area:d}
.ceb-reve{display:flex;flex-direction:column;align-items:center;gap:10px;padding:26px;text-align:center;border-radius:20px;background:rgba(14,17,34,.55);border:1px solid var(--line-d);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.ceb-reve img{width:96px;height:96px;object-fit:contain}
.ceb-reve h3{margin:4px 0 0;color:var(--inv-or-2)}
.ceb-reve p{margin:0;font-size:14.5px;line-height:1.55;color:var(--dim);text-wrap:balance}
.ceb-laby{grid-area:l;position:relative;margin:0;justify-self:center;width:100%;max-width:460px}
.ceb-laby__cercles{position:absolute;left:50%;top:50%;width:175%;max-width:none;height:auto;transform:translate(-50%,-50%);opacity:.32;pointer-events:none}
.ceb-laby__img{position:relative;width:100%;height:auto;filter:drop-shadow(0 30px 50px rgba(0,0,0,.45))}
@media (max-width:900px){
  .ceb-reves{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"l l" "a b" "c d"}
  .ceb-laby{max-width:380px}
}
@media (max-width:560px){.ceb-reves{grid-template-columns:minmax(0,1fr);grid-template-areas:"l" "a" "b" "c" "d"}.ceb-laby{max-width:300px}}

/* ─── LES SIX CHAPITRES ──────────────────────────── */
.ceb-chapitres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ceb-chapitre{display:flex;flex-direction:column;align-items:center;gap:12px;padding:26px;text-align:center;border-radius:20px;background:var(--inv-carte);border:1px solid var(--line-d);transition:border-color .2s,background .2s}
.ceb-chapitre:hover{background:var(--inv-carte-2)}
.ceb-chapitre img{width:132px;height:132px;object-fit:contain;margin-bottom:6px}
.ceb-chapitre h3{margin:0;color:var(--inv-or-2)}
.ceb-chapitre p{margin:0;max-width:34ch;font-size:14.5px;line-height:1.55;color:var(--dim)}
@media (max-width:900px){.ceb-chapitres{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.ceb-chapitres{grid-template-columns:minmax(0,1fr)}}

/* ─── AVIS DES LECTEURS ──────────────────────────── */
.ceb-avis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ceb-avi{display:flex;flex-direction:column;gap:14px;padding:26px;border-radius:20px;background:var(--inv-carte);border:1px solid var(--line-d)}
.ceb-etoiles{display:flex;gap:4px}
.ceb-etoiles img{width:20px;height:19px}
.ceb-avi h3{margin:4px 0 0}
.ceb-avi blockquote{margin:0}
.ceb-avi blockquote p{margin:0;font-size:14.5px;line-height:1.55;color:var(--dim)}
.ceb-avi__qui{margin-top:auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;padding-top:16px;border-top:1px solid var(--line-d);font-size:14px}
.ceb-avi__qui b{font-weight:600}
.ceb-avi__qui span{color:var(--inv-or-2)}
@media (max-width:900px){.ceb-avis{grid-template-columns:minmax(0,1fr);max-width:560px;margin:0 auto}}

/* ─── TÉLÉCHARGER (la section du bas, ancre #form-container) ─ */
.v-sec.ceb-final{background:radial-gradient(60% 55% at 50% 60%,rgba(227,183,116,.09),transparent 72%),var(--fond)}
.ceb-atouts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px;margin:24px 0 0;padding:0;list-style:none;font-size:15px;font-weight:600}
.ceb-atouts li{display:flex;align-items:center;gap:8px}
.ceb-atouts img{width:22px;height:auto}
.ceb-carte{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:clamp(28px,4vw,56px);align-items:center;max-width:920px;margin:0 auto;padding:clamp(26px,4vw,52px);border-radius:28px;background:linear-gradient(160deg,rgba(60,49,44,.82),rgba(37,32,38,.82));box-shadow:0 30px 80px rgba(0,0,0,.35)}
.ceb-carte .ceb-couv{max-width:260px}
@media (max-width:760px){.ceb-carte{grid-template-columns:minmax(0,1fr);text-align:center}.ceb-carte .ceb-couv{max-width:170px}.ceb-carte .ceb-form{margin:0 auto}}
