/* Insoumissionnaire website: the app's campaign-poster design (frontend/lib/utils/theme/app_colors.dart).
   Blue bars, cream paper, red and yellow accents, hard coloured offset shadows, no blur. */

@font-face { font-family: "Titan One"; src: url("../fonts/TitanOne-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "League Gothic"; src: url("../fonts/LeagueGothic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/BarlowSemiCondensed-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --blue: #2D4386;
  --blue-deep: #24458B;
  --blue-ray: #34509A;
  --red: #E1366D;
  --yellow: #FBCD41;
  --green: #1F6B45;
  --cream: #F6E9CD;
  --surface: #FDF8E8;
  --ink: #17254F;
  --ink-soft: #46537C;
  --paper-line: #E2CFA4;

  --font-poster: "Titan One", "Arial Black", sans-serif;
  --font-gothic: "League Gothic", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;

  --radius-card: 18px;
  --shadow-red: 5px 5px 0 var(--red);
  --shadow-blue: 5px 5px 0 var(--blue);
  --shadow-ink: 5px 5px 0 var(--ink);
  --wrap: 1160px;
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'%3E%3Cpath d='M0,16 L0,6 L6,10 L12,8 L19,3 L28,2 L36,3 L41,7 L52,3 L59,10 L70,9 L78,14 L83,12 L90,4 L96,6 L107,4 L116,10 L124,9 L129,3 L136,10 L144,6 L153,7 L160,12 L170,5 L179,8 L190,11 L197,14 L203,7 L213,4 L221,2 L231,11 L240,8 L240,16 Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.on-blue :focus-visible, .topbar :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ── Typography ─────────────────────────────────────────────────────────── */
.poster-name {
  font-family: var(--font-poster);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: .01em;
  line-height: .95;
  text-shadow: 1px 1px 0 var(--red), 2px 2px 0 var(--red), 3px 3px 0 var(--red), 4px 4px 0 var(--red), 5px 5px 0 var(--red), 6px 6px 0 var(--red);
}
.poster-name.on-cream { color: var(--blue); }
.tilt { transform: rotate(-3deg); }
.tilt-r { transform: rotate(2deg); }

/* League Gothic, red on a tilted yellow block (PosterTitle) */
.poster-title {
  display: inline-block;
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--red);
  background: var(--yellow);
  padding: .12em .35em .06em;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-red);
}
.poster-title.blue { background: var(--blue); color: var(--cream); box-shadow: var(--shadow-red); }
.poster-title.red { background: var(--red); color: var(--cream); box-shadow: 5px 5px 0 var(--blue); }
.kicker {
  font-family: var(--font-gothic);
  font-size: 1.5rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}
.lead { font-size: clamp(1.2rem, 2.2vw, 1.4rem); color: var(--ink-soft); max-width: 46ch; }
.on-blue .lead { color: var(--cream); }
.section-head { display: grid; gap: 22px; justify-items: start; margin-bottom: 44px; }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ── Buttons: round pills, hard coloured shadow, press shifts onto it ───── */
.btn {
  --btn-shadow: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font: 700 1.15rem/1.1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--btn-shadow);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--btn-shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--btn-shadow); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); }
.btn-blue { background: var(--blue); color: var(--cream); }
.btn-blue:hover { color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--blue); --btn-shadow: var(--red); }
.btn-cream:hover { color: var(--blue); }
.btn[aria-disabled="true"], .btn:disabled { cursor: default; }
.btn-store { background: var(--ink); color: var(--cream); --btn-shadow: var(--yellow); min-width: 230px; justify-content: flex-start; }
.btn-store:hover { color: var(--cream); }
.btn-store[aria-disabled="true"]:hover, .btn-store[aria-disabled="true"]:active { transform: none; box-shadow: 4px 4px 0 var(--btn-shadow); }
.btn-store svg { width: 28px; height: 28px; flex: none; }
.btn-store span { display: grid; text-align: left; }
.btn-store small { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); }

/* ── Top bar ───────────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--cream); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand img { width: 40px; height: auto; }
.brand b { font-family: var(--font-poster); font-weight: 400; font-size: 1.2rem; letter-spacing: .01em; text-shadow: 2px 2px 0 var(--red); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--blue-deep); color: var(--yellow); }
.nav .btn { min-height: 44px; padding: 8px 18px; font-size: 1rem; margin-left: 8px; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: 999px;
    background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--red); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 24px; background: var(--blue);
    border-top: 2px solid var(--blue-deep);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 1.2rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ── Torn paper edges ──────────────────────────────────────────────────── */
.torn { height: 16px; -webkit-mask: var(--torn) repeat-x 0 0 / 240px 16px; mask: var(--torn) repeat-x 0 0 / 240px 16px; }
.torn.cream { background: var(--cream); }
.torn.blue { background: var(--blue); }
.torn.surface { background: var(--surface); }
.torn.yellow { background: var(--yellow); }
.torn.flip { transform: scaleY(-1); }
.torn-wrap { position: relative; }
.torn-wrap > .torn { position: absolute; left: 0; right: 0; bottom: -1px; }
.torn-wrap > .torn.top { top: -15px; bottom: auto; z-index: 1; }

/* ── Hero: blue field, sunburst, stickers ──────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg at 76% 58%, var(--blue) 0deg 9deg, var(--blue-ray) 9deg 18deg);
  color: var(--cream);
  padding: 56px 0 110px;
}
.hero::before { /* yellow diamond behind the phone, as on the campaign posters */
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  left: 76%; top: 58%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--yellow);
  box-shadow: 14px 14px 0 var(--red);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); }
.hero h1 .small { display: block; font-size: .42em; margin-bottom: .25em; color: var(--yellow); }
.hero .lead { color: var(--cream); font-size: clamp(1.25rem, 2.4vw, 1.55rem); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; min-height: 600px; }
.hero .poster-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 90px; background: repeating-conic-gradient(from 0deg at 50% 78%, var(--blue) 0deg 9deg, var(--blue-ray) 9deg 18deg); }
  .hero::before { left: 50%; top: 78%; width: 440px; height: 440px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; }
}

/* Round stickers (campaign badges) */
.sticker {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 128px; height: 128px;
  border-radius: 50%;
  padding: 14px;
  text-align: center;
  font-family: var(--font-gothic);
  font-size: 1.35rem;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 4px 4px 0 var(--ink);
}
.sticker em { font-family: var(--font-body); font-style: italic; font-weight: 800; font-size: .7em; text-transform: none; display: block; }
.sticker.red { background: var(--red); color: var(--cream); }
.sticker.yellow { background: var(--yellow); color: var(--blue); }
.sticker.cream { background: var(--cream); color: var(--red); }
.sticker.blue { background: var(--blue); color: var(--yellow); box-shadow: 4px 4px 0 var(--red); }
.hero .s1 { left: -8px; top: 70px; transform: rotate(-12deg); }
.hero .s2 { right: -10px; top: 20px; transform: rotate(10deg); }
.hero .s3 { right: 0; bottom: 70px; transform: rotate(-8deg); }
@media (max-width: 1100px) { .hero .s1 { left: -30px; } }
@media (max-width: 900px) {
  .sticker { width: 104px; height: 104px; font-size: 1.1rem; }
  .hero .s1 { left: 0; top: 260px; }
  .hero .s2 { right: 0; top: 0; }
  .hero .s3 { display: none; }
}

/* ── Ticker ────────────────────────────────────────────────────────────── */
.ticker { background: var(--red); color: var(--cream); overflow: hidden; transform: rotate(-1.2deg); margin: -26px -10px 0; position: relative; z-index: 5; box-shadow: 0 6px 0 var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span {
  font-family: var(--font-gothic);
  font-size: 1.9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}
.ticker-track span::after { content: "★"; color: var(--yellow); margin: 0 26px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .card-lift { transition: none; }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.blue { background: var(--blue); color: var(--cream); }
.section.yellow { background: var(--yellow); }
.section.surface { background: var(--surface); }
.on-blue a:not(.btn) { color: var(--yellow); }
.on-blue h3 { color: var(--yellow); }
@media (max-width: 700px) { .section { padding: 68px 0; } .section-head { margin-bottom: 32px; } }

/* Cards: flat, soft corners, thin paper outline at most */
.card {
  background: var(--surface);
  border: 1.5px solid var(--paper-line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.card h3 { font-family: var(--font-gothic); font-weight: 400; font-size: 2rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--blue); margin-bottom: 10px; }
.card p { color: var(--ink-soft); }
.on-blue .card { background: var(--blue-deep); border-color: var(--blue-ray); }
.on-blue .card p { color: var(--cream); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* How it works */
.step { position: relative; padding-top: 44px; }
.step-num {
  position: absolute; top: -26px; left: 22px;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-poster); font-size: 1.8rem;
  background: var(--red); color: var(--cream);
  box-shadow: 4px 4px 0 var(--blue);
  transform: rotate(-8deg);
}
.drinks { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.drink { display: grid; justify-items: center; gap: 6px; font-weight: 700; font-size: .95rem; text-align: center; }
.drink svg { width: 58px; height: 58px; }

/* Feature rows: copy + mockup */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 110px; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 20px; justify-items: start; }
.feature-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 10px; }
.signup h2 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); margin-bottom: 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23F6E9CD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.on-blue .checks li::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232D4386' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.feature-visual { display: flex; justify-content: center; position: relative; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature + .feature { margin-top: 80px; }
}

/* ── Phone mockups (placeholders until real screenshots) ───────────────── */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 10px 10px 0 var(--red);
  flex: none;
}
.phone.tilt-l { transform: rotate(-4deg); }
.phone.tilt-r { transform: rotate(4deg); }
.phone::before { /* camera notch */
  content: ""; position: absolute; z-index: 3; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 999px; background: var(--ink);
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.35;
}
.screen-head { background: var(--blue); color: var(--cream); padding: 46px 16px 10px; position: relative; }
.screen-head .torn { position: absolute; left: 0; right: 0; bottom: -15px; z-index: 2; transform: scaleY(-1); }
.screen-head b { font-family: var(--font-poster); font-weight: 400; font-size: 21px; text-transform: uppercase; text-shadow: 2px 2px 0 var(--red); display: inline-block; transform: rotate(-2deg); }
.screen-body { flex: 1; padding: 22px 12px 10px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--blue); color: var(--cream); font-size: 10.5px; font-weight: 700; text-align: center; }
.tabbar span { padding: 8px 2px 12px; display: grid; justify-items: center; gap: 2px; }
.tabbar span.active { background: var(--yellow); color: var(--blue); }
.tabbar svg { width: 18px; height: 18px; }

/* Discover card */
.pcard { position: relative; flex: 1; border-radius: 16px; overflow: hidden; background: var(--yellow); min-height: 0; }
.pcard .portrait { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcard-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; display: grid; gap: 6px; }
.pcard-name { font-family: var(--font-poster); font-size: 25px; color: var(--cream); text-shadow: 1px 1px 0 var(--red), 2px 2px 0 var(--red), 3px 3px 0 var(--red); transform: rotate(-2deg); transform-origin: left; }
.pcard-meta { display: inline-flex; gap: 6px; align-items: center; justify-self: start; background: var(--surface); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 11.5px; }
.badge-verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: var(--cream); font-size: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { border-radius: 999px; padding: 3px 9px; font-weight: 700; font-size: 11px; background: var(--blue); color: var(--cream); white-space: nowrap; }
.chip.y { background: var(--yellow); color: var(--ink); }
.chip.r { background: var(--red); color: var(--cream); }
.chip.c { background: var(--surface); color: var(--ink); border: 1px solid var(--paper-line); }
.actions { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 2px 0 4px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--red); box-shadow: 3px 3px 0 var(--red); font-weight: 800; font-size: 20px; }
.drink-btn { border-radius: 999px; background: var(--blue); color: var(--cream); padding: 12px 18px; font-weight: 800; font-size: 13px; box-shadow: 3px 3px 0 var(--red); }

/* Profile poster mockup */
.poster-card { width: min(380px, 100%); background: var(--surface); border-radius: var(--radius-card); border: 1.5px solid var(--paper-line); padding: 18px; box-shadow: var(--shadow-blue); transform: rotate(1.5deg); display: grid; gap: 14px; }
.poster-card .photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--blue); }
.poster-card .photo svg { width: 100%; height: 100%; }
.poster-card .photo .pcard-name { position: absolute; left: 14px; bottom: 10px; font-size: 30px; }
.poster-card h4 { margin: 0; font-family: var(--font-gothic); font-weight: 400; font-size: 21px; text-transform: uppercase; color: var(--red); background: var(--yellow); justify-self: start; padding: 2px 8px 0; transform: rotate(-2deg); }
.voice { display: flex; align-items: center; gap: 10px; background: var(--red); color: var(--cream); border-radius: 999px; padding: 8px 14px 8px 8px; font-weight: 700; font-size: 14px; }
.voice i { width: 30px; height: 30px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.voice i::before { content: ""; border-left: 10px solid var(--red); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.voice .wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, var(--cream) 0 3px, transparent 3px 6px); -webkit-mask: linear-gradient(#000 0 0) center / 100% 100%; opacity: .85; clip-path: polygon(0 40%, 5% 10%, 10% 60%, 15% 0, 20% 50%, 25% 20%, 30% 70%, 35% 30%, 40% 0, 45% 50%, 50% 10%, 55% 60%, 60% 25%, 65% 75%, 70% 5%, 75% 45%, 80% 15%, 85% 65%, 90% 30%, 95% 55%, 100% 20%, 100% 100%, 0 100%); }
.prompt { background: var(--cream); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.prompt b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }

/* Chat mockup */
.bubble { max-width: 78%; padding: 8px 12px; border-radius: 16px; font-size: 13px; }
.bubble.in { background: var(--surface); border: 1px solid var(--paper-line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--blue); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.drink-msg { background: var(--yellow); color: var(--ink); align-self: center; text-align: center; font-weight: 700; border-radius: 12px; max-width: 90%; }
.bubble .meta { display: block; font-size: 10px; opacity: .75; text-align: right; margin-top: 2px; }
.bubble.media { padding: 4px; }
.blurred { width: 150px; height: 96px; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--blue-ray) 0 10px, var(--blue) 10px 20px); display: grid; place-items: center; color: var(--cream); font-size: 11px; font-weight: 700; text-align: center; }
.voice-msg { display: flex; align-items: center; gap: 8px; }
.voice-msg i { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.voice-msg i::before { content: ""; border-left: 8px solid var(--blue); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.voice-msg .wave { width: 110px; height: 16px; background: repeating-linear-gradient(90deg, var(--cream) 0 2px, transparent 2px 5px); clip-path: polygon(0 40%, 8% 10%, 16% 60%, 24% 0, 32% 50%, 40% 20%, 48% 70%, 56% 30%, 64% 0, 72% 50%, 80% 10%, 88% 60%, 100% 25%, 100% 100%, 0 100%); }
.typing { align-self: flex-start; display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--paper-line); padding: 10px 12px; border-radius: 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); }
.chat-input { display: flex; gap: 8px; align-items: center; padding: 8px 10px 14px; background: var(--surface); }
.chat-input span { flex: 1; border-radius: 999px; border: 1px solid var(--paper-line); padding: 8px 12px; color: var(--ink-soft); }
.chat-input i { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); flex: none; }

/* Agora mockup */
.post { background: var(--surface); border: 1px solid var(--paper-line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; }
.post-head { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.post-head small { color: var(--ink-soft); font-weight: 600; margin-left: auto; }
.avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.post-foot { display: flex; gap: 14px; color: var(--ink-soft); font-weight: 700; font-size: 12px; }
.post-img { height: 84px; border-radius: 10px; background: var(--yellow); position: relative; overflow: hidden; }
.post-img::after { content: ""; position: absolute; width: 120px; height: 120px; background: var(--red); transform: rotate(45deg); right: -30px; bottom: -70px; }

/* ── Safety strip ──────────────────────────────────────────────────────── */
.icon-tile { display: grid; gap: 12px; align-content: start; }
.icon-tile .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--blue); box-shadow: 3px 3px 0 var(--red); }
.icon-tile .ic svg { width: 28px; height: 28px; }
.icon-tile h3 { font-family: var(--font-gothic); font-weight: 400; font-size: 1.8rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.icon-tile p { color: var(--ink-soft); }
.on-blue .icon-tile p { color: var(--cream); }

/* ── Bientôt ───────────────────────────────────────────────────────────── */
.soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.soon { position: relative; padding-top: 34px; }
.soon .stamp {
  position: absolute; top: -14px; right: 18px;
  font-family: var(--font-gothic); font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--red); color: var(--cream); padding: 4px 12px 2px; transform: rotate(4deg);
  box-shadow: 3px 3px 0 var(--blue);
}
.soon h3 { font-size: 1.7rem; }
.note { font-size: 1rem; color: var(--ink-soft); }

/* ── Waitlist ──────────────────────────────────────────────────────────── */
.signup { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.signup-card { background: var(--surface); color: var(--ink); border-radius: 24px; padding: 34px; box-shadow: 10px 10px 0 var(--red); }
.on-blue .signup-card a:not(.btn) { color: var(--blue); }
.signup-card h3 { font-family: var(--font-gothic); font-weight: 400; font-size: 2.2rem; line-height: 1; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 700; }
.input {
  width: 100%;
  min-height: 54px;
  padding: 12px 22px;
  border: 1.5px solid var(--paper-line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font: 600 1.15rem var(--font-body);
}
.input:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 1rem; line-height: 1.4; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.signup-card .btn { width: 100%; margin-top: 6px; }
.stores { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; } .signup-card { padding: 26px 20px; } }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1.5px solid var(--paper-line); border-radius: var(--radius-card); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  position: relative;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--blue);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--red); font-family: var(--font-poster); font-size: 1.2rem;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 24px 22px; color: var(--ink-soft); display: grid; gap: 10px; }
.faq h2.group { font-family: var(--font-gothic); font-weight: 400; font-size: 2rem; text-transform: uppercase; color: var(--red); margin: 30px 0 4px; }

/* ── Page header (inner pages) ─────────────────────────────────────────── */
.page-head { background: var(--blue); color: var(--cream); padding: 64px 0 80px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; width: 380px; height: 380px; right: -110px; top: -150px; background: var(--yellow); transform: rotate(45deg); box-shadow: 12px 12px 0 var(--red); }
.page-head .wrap { position: relative; display: grid; gap: 24px; justify-items: start; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 10px; }
.page-head a:not(.btn) { color: var(--yellow); }
.page-head .lead { color: var(--cream); }
@media (max-width: 700px) { .page-head::before { width: 220px; height: 220px; right: -90px; top: -110px; } }

/* Prose (legal pages, long text) */
.prose { max-width: 820px; margin-inline: auto; padding: 56px 0 90px; }
.prose h1 { font-family: var(--font-gothic); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.prose h2 { font-family: var(--font-gothic); font-weight: 400; font-size: 2rem; line-height: 1.05; text-transform: uppercase; color: var(--red); margin: 44px 0 14px; }
.prose h3 { font-weight: 800; font-size: 1.25rem; color: var(--blue); margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 1rem; background: var(--surface); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { border: 1px solid var(--paper-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--blue); color: var(--cream); }
.prose .table-scroll { overflow-x: auto; }
.prose hr { border: 0; height: 2px; background: var(--paper-line); margin: 40px 0; }
.prose .highlight, .prose .contact-info, .callout { background: var(--surface); border: 1.5px solid var(--paper-line); border-left: 6px solid var(--yellow); border-radius: 12px; padding: 18px 22px; margin: 20px 0; }
.prose .todo { background: var(--yellow); color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.prose .signature { text-align: center; color: var(--ink-soft); font-size: .95rem; }

/* Numbers (emergency) */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.number { background: var(--surface); border-radius: var(--radius-card); padding: 20px; border: 1.5px solid var(--paper-line); display: grid; gap: 4px; }
.number b { font-family: var(--font-poster); font-size: 2.2rem; color: var(--red); line-height: 1; }
.number span { font-weight: 800; color: var(--blue); }
.number small { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px) { .numbers { grid-template-columns: repeat(2, 1fr); } }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.cta-band { text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--cream); padding: 70px 0 40px; position: relative; }
.footer .torn { position: absolute; top: -15px; left: 0; right: 0; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h2 { font-family: var(--font-gothic); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer .brand b { font-size: 1.5rem; }
.footer p { color: var(--cream); opacity: .85; margin-top: 14px; max-width: 34ch; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--blue); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .95rem; opacity: .85; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utility */
.center { text-align: center; }
.mt-l { margin-top: 48px; }
.stack { display: grid; gap: 16px; }
.hidden { display: none !important; }
.lead.ink { color: var(--ink); }
.sticker.big { position: relative; width: 230px; height: 230px; font-size: 2.5rem; transform: rotate(-8deg); }
.on-blue .note { color: var(--cream); }
.logo-press { margin-inline: auto; }
