/* Accueil v2 (/home-v2, /home-v2-fr) — complément de style.css, chargé APRÈS lui.
   Même DA que le site (crème, encre, bouton pilule turquoise, Reddit Sans). Élément fort : les deux livres
   posés sur leur fond teinté (vert dino, lilas licorne), la maquette déborde du panneau.
   Un seul appel principal par bloc : la page gratuite. Amazon = bouton secondaire. */

:root {
  --dino-tint: #e3f2dc;
  --dino-deep: #2f7a3a;
  --uni-tint: #f1e6fa;
  --uni-deep: #7a52c7;
  --pages-bg: #fff2df; /* fond de l'image « pages + livre » (assets/email/dinos-and-book*.jpg) */
}

/* --- Barre de navigation --- */
.v2 .nav .container { gap: 12px; }
.v2 .nav-right { gap: 8px; }
.v2 .nav-links { gap: 26px; align-items: center; }
.v2 .nav-cta-short { display: none; }
.burger {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
}
.burger:hover { background: rgba(255,255,255,.18); }
.burger svg { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.nav-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 29;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 30px rgba(46,42,94,.28);
  padding: 8px 20px 20px;
}
.nav-menu ul { list-style: none; max-width: 1200px; margin: 0 auto; }
.nav-menu li + li { border-top: 1px solid rgba(255,255,255,.1); }
.nav-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; color: #fff; font-weight: 700; font-size: 1.0625rem; text-decoration: none;
}
.nav-menu a:hover { color: var(--yellow); }
.nav-menu a svg { width: 18px; height: 18px; opacity: .6; flex-shrink: 0; }
.nav-menu .menu-lang { color: rgba(255,255,255,.75); font-weight: 600; }
/* Petit écran : la langue passe dans le menu (et le pied de page) pour laisser la place au bouton */
@media (max-width: 399px) { .v2 .nav .lang { display: none; } }
@media (max-width: 340px) {
  .v2 .nav-cta-long { display: none; }
  .v2 .nav-cta-short { display: inline; }
  .v2 .nav .btn--sm { padding: 0 14px; }
}
/* Bandeau du haut sur une ligne en mobile */
@media (max-width: 480px) { .v2 .topbar-lead { display: none; } }
@media (min-width: 1024px) {
  .v2 .nav-links { display: flex; }
  .burger, .nav-menu { display: none !important; }
}
@media (min-width: 900px) and (max-width: 1023px) { .v2 .nav-links { display: none; } }

/* --- Hero --- */
.v2 .hero h1 { max-width: 13ch; }
.v2 .hero .lede { max-width: 40ch; }
.v2 .hero-media--demo .demo-teaser { cursor: pointer; }
.v2 .play-label { white-space: nowrap; }
@media (max-width: 400px) { .v2 .play { padding: 8px 18px 8px 8px; gap: 10px; font-size: 1rem; } .v2 .play-icon { width: 46px; height: 46px; } }
.v2 .hero-body .micro { margin-top: 14px; }
@media (max-width: 719px) {
  .v2 .hero-body .btn { width: 100%; }
}

/* --- Les deux livres --- */
.books-v2 { list-style: none; display: grid; gap: 64px; max-width: 1040px; margin: 0 auto; padding-top: 24px; }
.book-card {
  --tint: var(--dino-tint); --deep: var(--dino-deep);
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--tint); border-radius: var(--r-panel); padding: 0 20px 28px;
}
.book-card--unicorn { --tint: var(--uni-tint); --deep: var(--uni-deep); }
.book-card img {
  width: min(100%, 400px); height: auto; aspect-ratio: 840 / 826; margin: -32px auto 4px;
  filter: drop-shadow(0 16px 22px rgba(46,42,94,.16));
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.book-card:hover img { transform: translateY(-6px) rotate(-1deg); }
.book-card h3 { font-size: 1.75rem; margin-top: 4px; }
.book-card .desc { margin: 8px auto 20px; max-width: 34ch; font-size: 1.0625rem; }
.book-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; margin-top: auto; }
.book-actions .btn { width: 100%; max-width: 360px; }
.btn-amazon {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 360px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid rgba(46,42,94,.18); background: #fff;
  color: var(--ink); font: 800 1.0625rem/1.2 var(--font); text-decoration: none; text-align: center;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-amazon:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-amazon svg { width: 20px; height: 20px; flex-shrink: 0; }
.soon {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px;
  border-radius: 999px; background: rgba(255,255,255,.7); border: 2px dashed rgba(46,42,94,.22);
  color: var(--ink); font-weight: 800; font-size: 1.0625rem; line-height: 1.2; cursor: default;
}
.soon svg { width: 20px; height: 20px; color: var(--deep); flex-shrink: 0; }
@media (min-width: 720px) {
  .books-v2 { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 32px; }
  .book-card { padding: 0 28px 32px; }
  .book-card img { margin-top: -40px; }
}

/* --- PicoPop, c'est quoi ? --- */
.what-v2 { display: grid; gap: 28px; align-items: center; margin-bottom: 56px; }
.what-v2 > * { min-width: 0; }
.what-v2 h2 { margin-bottom: 12px; }
.what-v2 .lede { font-size: 1.125rem; max-width: 46ch; }
.what-v2 picture, .what-v2 img { display: block; width: 100%; height: auto; }
.what-v2 .pages-img { border-radius: var(--r-media); }
.v2 .band--pages { background: var(--pages-bg); }
.v2 .steps h3 { font-size: 1.3rem; }
.what-cta { text-align: center; margin-top: 48px; }
@media (max-width: 719px) { .what-v2 .pages-img { border-radius: 0; background: none; } }
@media (max-width: 719px) { .what-cta .btn { width: 100%; } }
@media (min-width: 720px) {
  .what-v2 { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; text-align: center; }
  .what-v2 .lede { margin: 0 auto; }
  .what-v2 .pages-img { max-width: 1080px; margin: 0 auto; }
}

/* --- App --- */
.app-v2 { display: grid; gap: 32px; align-items: center; max-width: 980px; margin: 0 auto; }
.app-v2 > * { min-width: 0; }
.app-v2 .app-text { text-align: center; }
.app-v2 .app-icon { margin-bottom: 18px; }
.app-v2 h2 { margin-bottom: 10px; }
.app-v2 .app-text > p { font-size: 1.125rem; margin: 0 auto 24px; max-width: 40ch; }
.app-v2 .free-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 0 24px; }
.app-v2 .free-list li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: .95rem;
}
.app-v2 .free-list svg { width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; }
.qr-card { display: none; }
@media (min-width: 900px) {
  .app-v2 { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .app-v2 .app-text { text-align: left; }
  .app-v2 .app-icon { margin-left: 0; }
  .app-v2 .app-text > p { margin-left: 0; }
  .app-v2 .free-list, .app-v2 .badges { justify-content: flex-start; }
  .qr-card {
    display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
    background: #fff; border-radius: var(--r-panel); padding: 28px 28px 24px; box-shadow: var(--shadow-lg);
  }
  .qr-card img { width: 180px; height: 180px; }
  .qr-card p { color: var(--text); font-size: .95rem; max-width: 26ch; }
  .qr-card strong { color: var(--ink); }
}

/* --- Choix de la page gratuite (fenêtre, même gabarit que le formulaire des pages gratuites) --- */
.pick { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.pick a {
  display: grid; grid-template-columns: 72px 1fr 24px; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px; border-radius: 18px; border: 2px solid var(--line); background: #fff;
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.pick a:hover, .pick a:focus-visible { border-color: var(--cta); box-shadow: 0 8px 20px rgba(18,181,201,.18); transform: translateY(-2px); }
.pick img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.pick strong { display: block; font-size: 1.125rem; line-height: 1.2; }
.pick small { display: block; color: var(--muted); font-size: .95rem; font-weight: 600; margin-top: 2px; }
.pick svg { width: 22px; height: 22px; color: var(--cta); }
.pick .pick-dino { background: var(--dino-tint); border-color: transparent; }
.pick .pick-unicorn { background: var(--uni-tint); border-color: transparent; }
.free-modal .sub { margin-bottom: 16px; }

/* --- Pied de page --- */
.v2 .footer .lang-foot { white-space: nowrap; }
