/* Brick Pop — site de présentation. Mêmes couleurs, police et reliefs que l'appli. */

@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/nunito-bold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("fonts/nunito-extrabold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("fonts/nunito-black.woff") format("woff"); }

:root {
  --violet: #6C4CF5;
  --violet-dark: #4F31D1;
  --violet-soft: #F1EEFF;
  --violet-line: #DCD3FF;
  --tangerine: #FF8A1F;
  --tangerine-dark: #E06E00;
  --tangerine-text: #C2410C;
  --tangerine-soft: #FFF1E3;
  --sun: #FFC72C;
  --sun-dark: #E3A600;
  --lagoon: #19C3E6;
  --lagoon-dark: #0EA0C0;
  --lime: #7ED321;
  --lime-dark: #5DA80F;
  --cherry: #FF4D6D;
  --cherry-dark: #D93052;
  --cherry-soft: #FFF2F4;
  --cherry-line: #FFD3DB;
  --coral: #FF6B5B;
  --ink: #23213A;
  --ink-soft: #6B6880;
  --line: #E7E5F0;
  --mist: #F7F6FB;
  --night: #1C1B33;
  --night-card: #2B2950;
  --night-text: #B9B6E0;
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: var(--violet); }
a:hover { color: var(--violet-dark); }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Boutons en relief ---------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border: none; border-radius: 16px;
  font: 900 16px/1 "Nunito", system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(4px); }
.btn-primary { background: var(--violet); color: #FFFFFF; box-shadow: 0 5px 0 var(--violet-dark); }
.btn-primary:hover { color: #FFFFFF; background: #7A5CFF; }
.btn-primary:active { box-shadow: 0 1px 0 var(--violet-dark); }
.btn-secondary { background: #FFFFFF; color: var(--violet); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.btn-secondary:hover { color: var(--violet-dark); background: var(--mist); }
.btn-secondary:active { box-shadow: 0 0 0 var(--line); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-dark); }
.btn-sun:hover { background: #FFD24F; color: var(--ink); }
.btn-sun:active { box-shadow: 0 0 0 var(--sun-dark); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* --- En-tête -------------------------------------------------------------------------- */

.site-header { border-bottom: 2px solid var(--line); background: #FFFFFF; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 900; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--tangerine-soft); display: grid; place-items: center; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 800; }
.site-nav a:not(.btn):hover { color: var(--ink); }

/* --- Titres de section ---------------------------------------------------------------- */

.eyebrow { margin: 0; font-size: 14px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--violet); }
.section-title { margin: 10px 0 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 900; letter-spacing: -0.5px; }
.center { text-align: center; }
.lead { margin: 18px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-soft); }

.section { padding: 96px 0; }
.section-mist { background: var(--mist); }
.section-violet { background: var(--violet-soft); }
.section-night { background: var(--night); color: #FFFFFF; }
.section-night .eyebrow { color: var(--sun); }
.section-night .lead { color: var(--night-text); }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > .text { flex: 1 1 460px; min-width: 0; }
.split > .visual { flex: 1 1 360px; display: flex; justify-content: center; }
.split.reverse { flex-wrap: wrap-reverse; }

/* --- Téléphone ------------------------------------------------------------------------ */

.phone {
  width: 300px; max-width: 100%; aspect-ratio: 640 / 1324; padding: 12px; border-radius: 48px;
  background: var(--night); box-shadow: 0 8px 0 #15142A, 0 30px 60px rgba(35, 33, 58, 0.22);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.section-night .phone { background: var(--night-card); box-shadow: 0 8px 0 #15142A, 0 30px 80px rgba(108, 76, 245, 0.35); }

/* --- Accroche ------------------------------------------------------------------------- */

.hero { padding: 56px 0 88px; }
.hero .split { gap: 48px; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--tangerine-soft); color: var(--tangerine-text); font-size: 13px; font-weight: 900; letter-spacing: 1px; }
.hero h1 { margin: 20px 0 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.04; font-weight: 900; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--tangerine); }
.hero .lead { max-width: 540px; font-size: 20px; margin-top: 22px; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.facts { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.facts li { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 900; }

.stage { position: relative; width: 420px; max-width: 100%; height: 700px; display: flex; align-items: center; justify-content: center; }
.stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; max-width: 120%;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--violet-soft);
}
.stage .phone { position: relative; }
.stage .pop { position: absolute; left: -18px; bottom: 6px; width: 170px; }
.brick, .capsule { position: absolute; animation: bob 4s ease-in-out infinite; }
.brick { border-radius: 6px; }
.brick.b1 { left: 6px; top: 92px; width: 46px; height: 24px; background: var(--coral); box-shadow: inset 0 -5px 0 #D9473A; --r: -18deg; }
.brick.b2 { right: 2px; top: 40px; width: 52px; height: 26px; background: var(--tangerine); box-shadow: inset 0 -5px 0 var(--tangerine-dark); --r: 14deg; animation-delay: -1s; }
.brick.b3 { right: 26px; top: 300px; width: 40px; height: 22px; background: var(--sun); box-shadow: inset 0 -5px 0 var(--sun-dark); --r: -10deg; animation-delay: -2s; }
.brick.b4 { left: 30px; top: 360px; width: 34px; height: 18px; background: #FFB627; box-shadow: inset 0 -4px 0 var(--sun-dark); --r: 22deg; animation-delay: -3s; }
.capsule { display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.capsule span { display: grid; place-items: center; width: 80%; height: 80%; border-radius: 50%; }
.capsule.c1 { right: 0; top: 170px; width: 58px; height: 58px; background: var(--lagoon-dark); font-size: 20px; color: #06323D; --r: 0deg; animation-delay: -1.5s; }
.capsule.c1 span { background: var(--lagoon); }
.capsule.c2 { left: 0; top: 230px; width: 52px; height: 52px; background: var(--lime-dark); font-size: 18px; color: #1F3A05; --r: 0deg; animation-delay: -2.5s; }
.capsule.c2 span { background: var(--lime); }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}

/* --- Cartes --------------------------------------------------------------------------- */

.grid { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.step { background: #FFFFFF; border: 2px solid var(--line); box-shadow: 0 5px 0 var(--line); border-radius: var(--radius); padding: 28px; }
.step svg { width: 100%; height: auto; }
.step-head { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.step-head h3 { margin: 0; font-size: 22px; font-weight: 900; }
.step-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--violet); color: #FFFFFF; display: grid; place-items: center; font-size: 18px; font-weight: 900; }
.step p, .habit p { margin: 10px 0 0; font-size: 16px; color: var(--ink-soft); }

.perks { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.perks li { display: flex; align-items: flex-start; gap: 16px; }
.perk-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--night-card); display: grid; place-items: center; }
.perks strong { display: block; font-size: 18px; font-weight: 900; color: #FFFFFF; }
.perks span span { font-size: 16px; color: var(--night-text); }

.bonus-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.bonus { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 22px; border: 2px solid var(--line); }
.bonus strong { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 900; }
.bonus p { margin: 2px 0 0; font-size: 15px; color: var(--ink-soft); }
.bonus.trap { background: var(--cherry-soft); border-color: var(--cherry-line); }
.badge { padding: 2px 8px; border-radius: 999px; background: var(--cherry); color: #FFFFFF; font-size: 11px; letter-spacing: 0.8px; }
.pill { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.pill > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 900; }

.sizes { margin-top: 32px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sizes figure { margin: 0; padding: 14px; border-radius: 18px; background: #FFFFFF; border: 2px solid var(--line); }
.sizes svg { width: 100%; height: auto; }
.sizes figcaption { margin-top: 8px; font-size: 14px; font-weight: 900; }
.sizes figcaption span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); }

.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 800; }
.checks svg { flex: none; }

.habits { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.habit { padding: 26px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 5px 0 var(--violet-line); }
.habit h3 { margin: 14px 0 0; font-size: 21px; font-weight: 900; }

/* --- Appel final ---------------------------------------------------------------------- */

.cta {
  max-width: 1100px; margin: 0 auto; border-radius: 32px; background: var(--violet); box-shadow: 0 8px 0 var(--violet-dark);
  padding: 48px clamp(24px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 32px; color: #FFFFFF;
}
.cta .pop { flex: none; width: 190px; }
.cta-body { flex: 1 1 380px; min-width: 0; }
.cta h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 900; }
.cta p { margin: 12px 0 0; font-size: 19px; color: var(--violet-soft); }
.waitlist { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.waitlist input {
  flex: 1 1 240px; min-width: 0; height: 56px; padding: 0 18px; border-radius: 16px; border: 2px solid #8B70FF;
  background: #FFFFFF; color: var(--ink); font: 800 17px "Nunito", system-ui, sans-serif;
}
.waitlist input:focus { outline: 3px solid var(--sun); outline-offset: 2px; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--violet-soft); }
.form-note a { color: #FFFFFF; }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-size: 17px; font-weight: 900; }
.form-status.ok { color: #FFFFFF; }
.form-status.error { color: #FFE3E8; }

/* --- Pied de page --------------------------------------------------------------------- */

.site-footer { border-top: 2px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 36px; }
.site-footer .logo { font-size: 16px; }
.site-footer small { font-size: 15px; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; font-weight: 800; }
.site-footer nav a:hover { color: var(--ink); }

/* --- Pages de texte (confidentialité) ------------------------------------------------- */

.prose { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.prose h1 { margin: 10px 0 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 900; }
.prose h2 { margin: 44px 0 0; font-size: 26px; font-weight: 900; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: #45435E; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.updated { color: var(--ink-soft); font-size: 15px; }

/* --- Téléphone et petits écrans ------------------------------------------------------- */

@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 36px 0 64px; }
  .stage { height: 620px; }
  .stage .pop { width: 130px; left: -6px; }
  .bonus-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; padding: 0 16px; font-size: 15px; letter-spacing: 0.4px; }
  .site-nav .btn { width: auto; }
  .logo { font-size: 21px; }
  .logo-mark { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brick, .capsule { animation: none; transform: rotate(var(--r, 0deg)); }
  .btn { transition: none; }
}
