/* ==========================================================================
   DrinkMap — feuille de style du site (refonte 2026)
   Reprend les jetons de l'application (src/theme) et les couleurs du logo
   (turquoise, jaune bière, corail) utilisées par la plaquette commerciale.
   ========================================================================== */

:root {
  /* Application */
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --border: #E3E8F2;
  --border-input: #D5DCE8;
  --track: #E6EBF4;
  --ink: #0E1A33;
  --ink-2: #12306A;
  --text: #0E1A33;
  --text-2: #4F5B73;
  --on-dark: #FFFFFF;
  --on-dark-2: #B9CDEE;
  --blue: #1665C8;
  --blue-dark: #0F4C9A;
  --blue-soft: #E4EFFC;
  --blue-softer: #EEF5FE;
  --success: #0B6B4A;
  --success-soft: #DDF4EA;
  --gauge: #3DDC97;
  --amber: #8A4B05;
  --amber-soft: #FCE9CC;
  --amber-card: #FFF6E5;
  --amber-border: #F3D9A4;
  --wine: #8E1F4A;
  --wine-soft: #F7DDE6;
  --violet: #6B2FA0;
  --violet-soft: #EFE4FB;
  --danger: #B42318;
  --danger-soft: #FDECEC;
  --warning: #C2410C;

  /* Logo et plaquette */
  --teal: #69C3CA;
  --teal-dark: #1F7A82;
  --teal-soft: #E3F4F5;
  --yellow: #F2BC00;
  --yellow-soft: #FFF4CC;
  --coral: #F0926B;
  --indigo: #6080B8;

  --hero: linear-gradient(170deg, #0E1A33 0%, #12306A 60%, #1665C8 100%);
  --font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-card: 0 1px 2px rgba(14, 26, 51, .06), 0 8px 24px rgba(14, 26, 51, .06);
  --shadow-float: 0 10px 30px rgba(14, 26, 51, .18);
  --shadow-phone: 0 30px 60px -12px rgba(8, 16, 36, .55), 0 18px 36px -18px rgba(8, 16, 36, .5);
  --container: 1160px;
  --gutter: 20px;
  --header-h: 68px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #9CC3F5; outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-sm { max-width: 760px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }

/* --- Typo ---------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--yellow); }
.on-dark .eyebrow { color: var(--yellow); }
.title-xl { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
.title-xl .h1-sub { display: block; margin-top: 10px; font-size: .5em; font-weight: 600; letter-spacing: -.01em; opacity: .8; }
.title-lg { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.title-md { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); line-height: 1.55; }
.on-dark .lead { color: var(--on-dark-2); }
.section-head { max-width: 680px; display: grid; gap: 14px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; justify-items: center; }
.hl-yellow { color: var(--yellow); }
.hl-under { background: linear-gradient(transparent 62%, rgba(242, 188, 0, .45) 62%); padding: 0 2px; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--r-md);
  background: var(--blue); color: #fff; font: 700 16px/1 var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #1C2C4D; }
.btn-soft { background: var(--blue-soft); color: var(--blue-dark); }
.btn-soft:hover { background: #D5E6FA; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFCB1F; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #E87C52; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #8F1C13; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--blue); }
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Badges officiels des stores */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores.center { justify-content: center; }
.stores a { display: block; border-radius: 10px; transition: transform .15s ease; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 52px; width: auto; }

/* --- En-tête ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(227, 232, 242, .8);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font: 800 21px/1 var(--font-display); letter-spacing: -.02em; }
.brand b { color: var(--teal-dark); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none;
  font-weight: 500; font-size: 15px; white-space: nowrap; transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--ink); background: var(--track); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav .btn { margin-left: 8px; color: #fff; padding: 0 18px; }
.nav .btn:hover { color: #fff; background: var(--blue-dark); }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--track); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.mobile-nav { display: none; }

/* Bouton langue (menu déroulant natif <details>) */
.header-end { display: flex; align-items: center; gap: 8px; }
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  border-radius: 12px; background: var(--track); color: var(--ink); font: 700 14px/1 var(--font-body); cursor: pointer;
  transition: background-color .15s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: #DCE3EF; }
.lang-menu .chev { transition: transform .15s ease; }
.lang-menu[open] .chev { transform: rotate(180deg); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-float);
}
.lang-menu ul a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 12px;
  border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600;
}
.lang-menu ul a:hover { background: var(--track); }
.lang-menu ul a small { color: var(--text-2); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.lang-menu ul a[aria-current="true"] { color: var(--blue); background: var(--blue-softer); }
.lang-menu ul a[aria-current="true"] small { color: var(--blue); }
.mini-header .lang-menu summary { background: rgba(255, 255, 255, .12); color: #fff; height: 40px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.mini-header .lang-menu summary:hover { background: rgba(255, 255, 255, .2); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { border-top: 1px solid var(--border); background: #fff; }
  .mobile-nav:not([hidden]) { display: block; }
  .mobile-nav nav { display: grid; gap: 2px; padding: 12px var(--gutter) 20px; }
  .mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--track); }
  .mobile-nav .btn { margin-top: 10px; justify-content: center; color: #fff; }
  .mobile-nav .btn:hover { background: var(--blue-dark); }
}

/* --- Héros de l'accueil -------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--hero);
  border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
  padding: 72px 0 120px;
}
.hero .road { position: absolute; inset: auto -10% -2% auto; width: 75%; max-width: 900px; opacity: .14; pointer-events: none; }
.hero .glow { position: absolute; width: 520px; height: 520px; right: 8%; top: -120px; background: radial-gradient(closest-side, rgba(105, 195, 202, .35), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { max-width: 540px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  font-size: 14px; font-weight: 600; color: #E3ECFA;
}
.chip .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gauge); color: var(--ink); display: grid; place-items: center; }
.rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark-2); }
.rating .stars { color: var(--yellow); letter-spacing: 2px; font-size: 16px; }
.rating strong { color: #fff; }
.hero-phones { position: relative; height: 640px; }
.hero-phones .phone-a, .hero-phones .phone-b { position: absolute; }
.hero-phones .phone-a { left: 50%; top: 0; transform: translateX(-62%) rotate(-4deg); z-index: 2; }
.hero-phones .phone-b { left: 50%; top: 56px; transform: translateX(8%) rotate(5deg) scale(.9); z-index: 1; filter: saturate(.95); }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-float); font-size: 13px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card.fc-1 { left: -24px; top: 520px; }
.float-card.fc-2 { right: -10px; top: 8px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 980px) {
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-copy .stores { justify-content: center; }
  .rating { flex-direction: column; gap: 4px; }
  .hero-phones { height: 560px; }
  .hero-phones .phone-a { transform: translateX(-50%); }
  .hero-phones .phone-b, .float-card.fc-2 { display: none; }
  .float-card.fc-1 { left: auto; right: calc(50% + 70px); top: 60px; }
}
@media (max-width: 560px) {
  .float-card.fc-1 { display: none; }
}

/* --- Compteurs en direct ------------------------------------------------- */
.stats-band { position: relative; z-index: 5; margin-top: -64px; }
.stats-card {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-float); overflow: hidden;
}
.stat { padding: 28px 28px 26px; display: grid; gap: 4px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat .num { font: 800 clamp(34px, 4vw, 46px)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .lbl { color: var(--text-2); font-size: 15px; }
.stat .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--success); text-transform: uppercase; letter-spacing: .06em; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #18B47B; box-shadow: 0 0 0 0 rgba(24, 180, 123, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(24, 180, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 180, 123, 0); } }
@media (max-width: 760px) {
  .stats-card { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
  .stat { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 20px; }
  .stat .ic { grid-row: span 2; margin: 0; }
}

/* --- Tuiles de fonctionnalités ------------------------------------------ */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px;
  display: grid; gap: 10px; align-content: start; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feature h3 { font-size: 19px; font-weight: 700; }
.feature p { color: var(--text-2); font-size: 15px; }
.tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 6px; }
.t-amber { background: var(--amber-soft); color: var(--amber); }
.t-wine { background: var(--wine-soft); color: var(--wine); }
.t-green { background: var(--success-soft); color: var(--success); }
.t-blue { background: var(--blue-soft); color: var(--blue-dark); }
.t-violet { background: var(--violet-soft); color: var(--violet); }
.t-teal { background: var(--teal-soft); color: var(--teal-dark); }
.t-yellow { background: var(--yellow-soft); color: #8A6400; }
.t-coral { background: #FDE6DC; color: #B4471E; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature { padding: 22px; } }

/* --- Vitrines (texte + téléphone) --------------------------------------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase + .showcase { margin-top: 112px; }
.showcase.reverse .showcase-media { order: -1; }
.showcase-copy { display: grid; gap: 18px; align-content: start; }
.showcase-media { position: relative; display: grid; place-items: center; padding: 32px 0; }
.showcase-media::before {
  content: ""; position: absolute; inset: 0 6%; border-radius: 40px; z-index: 0;
  background: var(--blob, var(--blue-soft));
}
.showcase-media .phone { position: relative; z-index: 1; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; color: var(--text-2); }
.checks li strong { color: var(--ink); }
.checks .ck { width: 28px; height: 28px; border-radius: 9px; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin-top: -1px; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase.reverse .showcase-media { order: 0; }
  .showcase + .showcase { margin-top: 72px; }
}

/* --- Avertissement / responsabilité ------------------------------------- */
.notice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: var(--amber-card); border: 1px solid var(--amber-border); border-radius: var(--r-lg); padding: 24px 28px;
}
.notice .tile { margin: 0; background: #FFE4B8; color: var(--amber); }
.notice h3 { font-size: 18px; font-weight: 700; color: #5A4210; margin-bottom: 4px; }
.notice p { color: #6B5320; font-size: 15px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; padding: 22px; } }

/* --- Section Pro --------------------------------------------------------- */
.pro {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #135960 0%, #1F7A82 45%, #4FB3BB 100%);
  border-radius: clamp(28px, 4vw, 48px);
  padding: 72px clamp(24px, 5vw, 64px);
}
.pro .road { position: absolute; right: -6%; bottom: -8%; width: 60%; opacity: .18; pointer-events: none; }
.pro-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.pro h2 { color: #fff; }
.pro .lead { color: #E6F7F8; }
.pro .eyebrow, .pro .hl-yellow { color: #FFD84D; }
.pro-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.pro-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: #E6F7F8; }
.pro-list li strong { color: #fff; display: block; }
.pro-list .n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  display: grid; place-items: center; font: 800 16px/1 var(--font-display);
}
.pro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pro-actions .btn { padding: 0 18px; }
.browser { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(6, 40, 44, .55); overflow: hidden; color: var(--ink); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F4F8; border-bottom: 1px solid var(--border); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCE8; }
.browser-bar span { margin-left: 10px; flex: 1; background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12px; color: var(--text-2); }
.dash { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.dash-side { background: #2E9AA2; color: #E6F7F8; padding: 14px 10px; display: grid; gap: 4px; align-content: start; font-size: 12px; }
.dash-side b { color: #fff; font: 800 14px var(--font-display); margin-bottom: 8px; padding: 0 6px; }
.dash-side span { padding: 6px; border-radius: 8px; }
.dash-side span.on { background: rgba(255, 255, 255, .22); color: #fff; font-weight: 700; }
.dash-main { padding: 14px; display: grid; gap: 10px; background: #F7F9FC; }
.dash-main h4 { font: 700 14px var(--font-display); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.kpi small { display: block; font-size: 11px; color: var(--text-2); }
.kpi b { font: 800 19px/1.2 var(--font-display); }
.kpi em { font-style: normal; font-size: 11px; color: var(--success); font-weight: 700; }
.bars { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; gap: 6px; }
.bars small { font-size: 11px; color: var(--text-2); }
.bars-row { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.bars-row i { flex: 1; background: var(--teal); border-radius: 4px 4px 2px 2px; }
.bars-row i.hi { background: var(--yellow); }
.bars-days { display: flex; gap: 6px; font-size: 10px; color: var(--text-2); }
.bars-days span { flex: 1; text-align: center; }
.pro-note { font-size: 12px; color: #D4F0F2; margin-top: 10px; text-align: right; }
@media (max-width: 960px) { .pro-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .dash { grid-template-columns: 1fr; } .dash-side { display: none; } }

/* --- Étapes -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; align-content: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  display: grid; place-items: center; font: 800 17px/1 var(--font-display); margin-bottom: 6px;
}
.step h3 { font-size: 17px; font-weight: 700; }
.step p { font-size: 14px; color: var(--text-2); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* --- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; font-size: 17px; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--track)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E1A33' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); }

/* --- Appel final --------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; color: #fff; background: var(--hero);
  border-radius: clamp(28px, 4vw, 48px); padding: 64px clamp(24px, 5vw, 64px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
}
.cta .app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.cta p { color: var(--on-dark-2); margin-top: 8px; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; justify-items: center; text-align: center; } .cta .stores { justify-content: center; } }

/* --- Pied de page -------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); margin-top: 96px; padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--teal); }
.site-footer h4 { color: #fff; font: 700 15px var(--font-body); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about p { margin: 14px 0 20px; max-width: 320px; }
.footer-about .stores img { height: 42px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-bottom .warn { color: #FFB580; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-langs a { color: inherit; text-decoration: none; opacity: .75; }
.footer-langs a:hover, .footer-langs a[aria-current="true"] { opacity: 1; text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--hero);
  border-radius: 0 0 clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px);
  padding: 56px 0 96px;
}
.page-hero .road { position: absolute; right: -8%; bottom: -30%; width: 55%; opacity: .12; pointer-events: none; }
.page-hero .container { position: relative; display: grid; gap: 14px; justify-items: start; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: 14px; color: var(--on-dark-2); }
.breadcrumb a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.page-body { position: relative; margin-top: -56px; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.card + .card { margin-top: 16px; }
@media (max-width: 480px) { .card { padding: 22px 20px; } }
.google { max-width: 100%; overflow: hidden; }
.card-elev { box-shadow: var(--shadow-card); border-color: transparent; }

/* Documents juridiques avec sommaire */
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.toc p { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 10px; padding: 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.35; }
.toc a:hover { background: var(--track); }
.doc { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 48px); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--text-2); font-size: 14px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { color: #2A3550; font-size: 16px; line-height: 1.7; }
.prose > * + *, .prose section > * + * { margin-top: 14px; }
.prose section + section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.prose h2 { font-size: 23px; font-weight: 800; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 22px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); }
.callout { border-radius: 14px; padding: 16px 18px; background: var(--blue-softer); border: 1px solid #D3E4F9; }
.callout.warn { background: var(--amber-card); border-color: var(--amber-border); color: #5A4210; }
.callout.warn strong { color: #5A4210; }

/* Sciences */
.formula {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  background: var(--ink); color: #fff; border-radius: 18px; padding: 26px 20px; margin: 18px 0;
  font: 700 clamp(20px, 3vw, 28px)/1.2 var(--font-display);
}
.formula .frac { display: inline-grid; text-align: center; }
.formula .frac span:first-child { border-bottom: 2px solid rgba(255, 255, 255, .6); padding: 0 8px 4px; }
.formula .frac span:last-child { padding-top: 4px; }
.formula em { font-style: normal; color: var(--yellow); }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; font-size: 14px; color: var(--text-2); }
.legend b { color: var(--ink); font-family: var(--font-display); }
@media (max-width: 560px) { .legend { grid-template-columns: 1fr; } }
.refs { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.refs li { background: var(--bg); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.55; margin: 0 !important; }
.refs a { word-break: break-all; }
.factors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0 !important; }
.factors li { background: #fff; border: 1px solid var(--amber-border); border-radius: 12px; padding: 12px; font-weight: 600; font-size: 14px; color: #5A4210; text-align: center; margin: 0 !important; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 700px) { .factors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Formulaires --------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-weight: 700; font-size: 14px; color: var(--ink); }
.field .help { font-size: 13px; color: var(--text-2); }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--border-input); border-radius: var(--r-md);
  background: #fff; font: 500 16px var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.5; }
.input:hover { border-color: #B9C4D6; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 101, 200, .15); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }

.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.segmented legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: grid; justify-items: center; gap: 6px; padding: 14px 8px; min-height: 84px; align-content: center; text-align: center;
  border: 1.5px solid var(--border-input); border-radius: var(--r-md); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.seg span svg { color: var(--text-2); }
.seg:hover span { border-color: #B9C4D6; }
.seg input:checked + span { background: var(--blue-soft); border: 2px solid var(--blue); color: var(--blue-dark); }
.seg input:checked + span svg { color: var(--blue); }
.seg input:focus-visible + span { outline: 3px solid #9CC3F5; outline-offset: 2px; }

.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 15px; }
.alert svg { flex: none; margin-top: 1px; }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert[hidden] { display: none; }

.side-info { display: grid; gap: 16px; align-content: start; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-item .tile { width: 44px; height: 44px; border-radius: 14px; margin: 0; }
.info-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.info-item p { font-size: 15px; color: var(--text-2); }
.contact-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .side-info { order: 2; } }

.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.erase-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.erase-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--text-2); font-size: 15px; }
.erase-list svg { color: var(--danger); margin-top: 2px; }

/* ==========================================================================
   Maquettes de l'application (données fictives)
   ========================================================================== */
.phone {
  --pw: 300px;
  width: var(--pw); height: calc(var(--pw) * 2.05);
  border-radius: 46px; padding: 10px; background: #0B1222;
  box-shadow: var(--shadow-phone), inset 0 0 0 2px #2A3550;
  flex: none;
}
.phone .screen {
  position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden;
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 12px; line-height: 1.35;
  display: flex; flex-direction: column;
}
.phone .island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #0B1222; z-index: 10; }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 0; height: 38px; font-weight: 700; font-size: 12px; position: relative; z-index: 5; }
.sbar.light { color: #fff; }
.sbar .sic { display: flex; gap: 4px; align-items: center; }
.tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--border); padding: 8px 6px 18px; position: relative; z-index: 5; }
.tabbar span { display: grid; justify-items: center; gap: 2px; font-size: 9.5px; font-weight: 700; color: #8A94A8; }
.tabbar span.on { color: var(--blue); }

/* Accueil */
.m-home-bg { position: absolute; top: 0; left: 0; right: 0; height: 300px; background: var(--hero); border-radius: 0 0 28px 28px; }
.m-hello { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 0; color: #fff; }
.m-hello small { display: block; color: var(--on-dark-2); font-size: 10.5px; }
.m-hello b { font: 800 19px/1.1 var(--font-display); }
.m-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font: 800 15px var(--font-display); }
.m-gauge { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 18px 0; color: #fff; }
.m-gauge .g { position: relative; width: 112px; height: 112px; flex: none; }
.m-gauge .g div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.m-gauge .g b { font: 800 28px/1 var(--font-display); letter-spacing: -1px; }
.m-gauge .g small { color: var(--on-dark-2); font-size: 11px; }
.m-gauge .txt { display: grid; gap: 5px; font-size: 11px; color: #E3ECFA; }
.m-pill { justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-weight: 700; font-size: 11px; }
.m-pill.ok { background: var(--success-soft); color: var(--success); }
.m-pill.going { background: var(--success-soft); color: var(--success); }
.m-pill.maybe { background: var(--amber-soft); color: var(--amber); }
.m-gauge .muted { color: var(--on-dark-2); font-size: 10px; }
.m-gauge .limit { color: #FFB580; font-weight: 700; font-size: 10px; }
.m-quick { position: relative; margin: 14px 14px 0; background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow-float); display: grid; gap: 8px; }
.m-quick .row { display: grid; grid-template-columns: repeat(4, 1fr); }
.m-quick .row span { display: grid; justify-items: center; gap: 4px; font-size: 10px; font-weight: 700; }
.m-quick .row i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.m-quick .add { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; font-size: 13px; }
.m-sec { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px 6px; }
.m-sec b { font: 700 13.5px var(--font-display); }
.m-sec small { color: var(--text-2); font-size: 10.5px; }
.m-minimap { position: relative; margin: 0 14px; height: 96px; border-radius: 16px; overflow: hidden; background: #E6EEE3; }
.m-minimap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-dot { position: absolute; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid #fff; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; box-shadow: 0 2px 6px rgba(14, 26, 51, .3); }
.m-tag { position: absolute; left: 8px; bottom: 8px; background: #fff; border-radius: 999px; padding: 4px 9px; font-size: 10px; font-weight: 700; box-shadow: 0 2px 6px rgba(14, 26, 51, .15); }
.m-tag span { color: var(--text-2); font-weight: 500; }

/* Carte */
.m-map { position: absolute; inset: 0; }
.m-map svg { width: 100%; height: 100%; display: block; }
.m-search { position: relative; z-index: 5; margin: 6px 14px 0; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-float); color: var(--text-2); font-size: 12px; }
.m-chips { position: relative; z-index: 5; display: flex; gap: 6px; padding: 8px 14px 0; }
.m-chips span { background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 10.5px; font-weight: 700; box-shadow: 0 2px 6px rgba(14, 26, 51, .12); }
.m-chips span.on { background: var(--ink); color: #fff; }
.m-pin { position: absolute; z-index: 4; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2.5px solid #fff; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(14, 26, 51, .3); }
.m-pin > * { transform: rotate(45deg); }
.m-pin.coral { background: var(--coral); }
.m-pin.yellow { background: var(--yellow); }
.m-pin.teal { background: var(--teal-dark); }
.m-me { position: absolute; z-index: 4; width: 18px; height: 18px; border-radius: 50%; background: #4FA3FF; border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(79, 163, 255, .22); }
.m-sheet { position: relative; z-index: 5; margin: auto 10px 10px; background: #fff; border-radius: 20px; padding: 12px; box-shadow: var(--shadow-float); display: grid; gap: 8px; }
.m-sheet .grab { width: 34px; height: 4px; border-radius: 4px; background: var(--border-input); justify-self: center; margin-top: -4px; }
.m-place { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.m-place .ph { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(150deg, #F7C26B, #C9742E); }
.m-place b { font: 700 13px var(--font-display); display: flex; align-items: center; gap: 4px; }
.m-place small { color: var(--text-2); font-size: 10.5px; }
.m-faces { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-2); }
.m-faces i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; font-size: 9px; }
.m-faces i:first-child { margin-left: 0; }
.m-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.m-btns span { display: grid; place-items: center; height: 34px; border-radius: 11px; font-weight: 700; font-size: 11.5px; }

/* Soirée */
.m-cover { position: relative; height: 170px; background: linear-gradient(150deg, #6B2FA0 0%, #1665C8 60%, #69C3CA 100%); overflow: hidden; }
.m-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-cover .back { position: absolute; z-index: 2; top: 44px; left: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.m-ev { position: relative; margin: -26px 12px 0; background: #fff; border-radius: 20px; padding: 14px; display: grid; gap: 8px; box-shadow: var(--shadow-card); }
.m-ev small.k { color: var(--blue); font-weight: 700; font-size: 10.5px; }
.m-ev h5 { margin: 0; font: 800 17px/1.15 var(--font-display); }
.m-row { display: flex; gap: 8px; align-items: center; color: var(--text-2); font-size: 11.5px; }
.m-row b { color: var(--ink); }
.m-row svg { color: var(--blue); flex: none; }
.m-pills { display: flex; gap: 6px; }
.m-reply { margin: 10px 12px 0; background: #fff; border-radius: 20px; padding: 12px; border: 1px solid var(--border); display: grid; gap: 8px; }
.m-reply b { font: 700 13px var(--font-display); }
.m-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-choices span { display: grid; place-items: center; text-align: center; min-height: 38px; border: 1.5px solid var(--border-input); border-radius: 12px; font-weight: 700; font-size: 10.5px; padding: 0 4px; }
.m-choices span.on { background: var(--blue-soft); border: 2px solid var(--blue); color: var(--blue-dark); }
.m-share { margin: 10px 12px 0; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 12px; }

/* Fil d'actus */
.m-head { padding: 6px 16px 10px; display: flex; justify-content: space-between; align-items: center; }
.m-head b { font: 800 19px var(--font-display); }
.m-post { margin: 0 12px 10px; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.m-post .pic { position: relative; height: 140px; }
.m-post .who { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; background: rgba(14, 26, 51, .72); color: #fff; border-radius: 999px; padding: 3px 10px 3px 3px; font-size: 11px; font-weight: 700; }
.m-post .who i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.m-post .meta { padding: 8px 10px 0; font-size: 10.5px; color: var(--text-2); }
.m-post .acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 10px 10px; }
.m-post .acts span { height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--bg); }
.m-post .acts span.on { background: var(--blue); color: #fff; }
.m-trophy { margin: 0 12px; background: var(--amber-card); border: 1px solid var(--amber-border); border-radius: 18px; padding: 10px; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; color: #5A4210; font-size: 11px; }
.m-trophy i { width: 40px; height: 40px; border-radius: 12px; background: #FFE4B8; display: grid; place-items: center; }
.m-trophy b { display: block; font: 700 12.5px var(--font-display); }

/* Taille réduite des maquettes sur petit écran */
@media (max-width: 380px) { .phone { --pw: 270px; } }

/* --- Pages autonomes (soirée, parrainage, 404) -------------------------- */
.mini-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.mini-header .brand { color: #fff; }
.mini-header .brand b { color: var(--teal); }
.mini-header .brand img { width: 34px; height: 34px; }
.mini-header a.btn { min-height: 40px; font-size: 14px; }
@media (max-width: 440px) { .mini-header a.btn { display: none; } }
.solo-hero { position: relative; overflow: hidden; color: #fff; background: var(--hero); border-radius: 0 0 32px 32px; padding: 0 0 84px; }
.solo-hero .road { position: absolute; right: -20%; bottom: -10%; width: 90%; max-width: 640px; opacity: .13; pointer-events: none; }
.solo-hero .container { position: relative; }
.solo-hero .kicker { margin: 18px 0 8px; color: var(--on-dark-2); font-size: 15px; font-weight: 600; }
.solo-hero h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.solo { max-width: 600px; }
.solo-body { position: relative; margin-top: -60px; display: grid; gap: 14px; padding-bottom: 48px; }
.mini-footer { padding: 8px 0 36px; text-align: center; font-size: 13px; color: var(--text-2); }
.mini-footer a { color: var(--text-2); margin: 0 6px; }

.event-card { padding: 0; overflow: hidden; }
.event-card .cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--border); }
.event-card .body { padding: 22px; display: grid; gap: 12px; }
.ev-row { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.ev-row .tile { width: 40px; height: 40px; border-radius: 12px; margin: 0; flex: none; }
.ev-row strong { color: var(--ink); display: block; }
.ev-desc { white-space: pre-line; color: var(--ink); font-size: 15px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13px; }
.pill.going { background: var(--success-soft); color: var(--success); }
.pill.maybe { background: var(--amber-soft); color: var(--amber); }
.who { font-size: 14px; color: var(--text-2); }
.card h2 { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span, .choice button {
  display: grid; justify-items: center; align-content: center; gap: 4px; text-align: center; min-height: 72px; padding: 8px 6px; width: 100%;
  border: 1.5px solid var(--border-input); border-radius: var(--r-md); background: #fff; font: 700 14px var(--font-body); color: var(--ink); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.choice span i, .choice button i { font-style: normal; font-size: 20px; line-height: 1; }
.choice:hover span, .choice button:hover { border-color: #B9C4D6; }
.choice input:checked + span, .choice button.on { background: var(--blue-soft); border: 2px solid var(--blue); color: var(--blue-dark); }
.choice input:focus-visible + span { outline: 3px solid #9CC3F5; outline-offset: 2px; }
.google { display: grid; justify-items: center; gap: 10px; margin-top: 18px; text-align: center; }
.google .g_id_signin { min-height: 44px; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; color: var(--text-2); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--track); border-radius: 14px; padding: 4px; margin: 14px 0; }
.tabs button { border: 0; background: transparent; border-radius: 10px; min-height: 42px; font: 700 14px var(--font-body); color: var(--text-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 26, 51, .15); }
form.auth[hidden] { display: none; }
.hint { font-size: 13px; color: var(--text-2); }
.me { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); margin-top: 14px; }
.linkbtn { border: 0; background: none; color: var(--blue); font: 700 14px var(--font-body); cursor: pointer; padding: 0; }
.done-msg { display: flex; gap: 10px; align-items: center; background: var(--success-soft); color: var(--success); border-radius: 16px; padding: 14px 16px; font-weight: 700; margin-bottom: 14px; }
.card .alert { margin-bottom: 14px; }

.install { background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; }
.install h2 { color: #fff; }
.install > p { color: var(--on-dark-2); margin-bottom: 16px; }
.install ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.install li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: #E3ECFA; font-size: 15px; }
.install li span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(61, 220, 151, .16); color: var(--gauge); }
.install .stores { justify-content: center; margin-top: 14px; }

.code-box { display: grid; justify-items: center; gap: 6px; background: #fff; color: var(--ink); border-radius: 22px; padding: 22px 20px 18px; margin-top: 26px; box-shadow: var(--shadow-float); }
.code-box .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); font-weight: 700; }
.code-box .code { font: 800 46px/1.1 var(--font-display); letter-spacing: .28em; margin-left: .28em; }
.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.numbered li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-size: 16px; }
.numbered li::before { counter-increment: n; content: counter(n); width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font: 800 16px var(--font-display); }

.empty-glass { width: 88px; height: 88px; margin: 6px 0 18px; animation: bob 4.5s ease-in-out infinite; }
.big-code { font: 800 clamp(72px, 16vw, 120px)/1 var(--font-display); letter-spacing: -.04em; color: rgba(255, 255, 255, .14); position: absolute; right: 20px; top: 70px; }
.asked-url { font-size: 12px; color: var(--text-2); word-break: break-all; text-align: center; }
.asked-url code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* --- Apparition au défilement ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Bannière smartbanner : s'aligne sur la charte */
.smartbanner { font-family: var(--font-body) !important; }

/* --- Calculateur d'alcoolémie (écran « Ajouter un verre » de l'app) -------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.calc-form { display: grid; gap: 26px; }
.calc-sec { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-sec h2 { font-size: 18px; font-weight: 800; }
.calc-group { color: var(--text-2); font-size: 13px; font-weight: 500; }
.calc-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; align-content: start; }
.calc-field > label, .calc-field > legend { font-size: 13px; font-weight: 700; color: var(--text-2); padding: 0; margin-bottom: 6px; }
.calc-field > label { margin-bottom: 0; }
.calc-chips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.calc-chips.wrap { display: flex; flex-wrap: wrap; }
.calc-chip { position: relative; cursor: pointer; }
.calc-chip input, .calc-tile input { position: absolute; opacity: 0; pointer-events: none; }
.calc-chip span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; text-align: center;
  border: 1.5px solid var(--border-input); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 700; color: var(--ink);
  transition: background-color .15s, border-color .15s;
}
.calc-chip:hover span, .calc-tile:hover > span, .calc-size:hover { border-color: #AFC0DA; }
.calc-chip input:checked + span, .calc-tile input:checked + span, .calc-size.on {
  background: var(--blue-soft); border: 2px solid var(--blue); color: var(--blue-dark);
}
.calc-chip input:focus-visible + span, .calc-tile input:focus-visible + span { outline: 3px solid #9CC3F5; outline-offset: 2px; }
.calc-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.calc-tile { cursor: pointer; }
.calc-tile > span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 8px 4px;
  border: 1.5px solid var(--border-input); border-radius: var(--r-md); background: #fff; color: var(--ink); text-align: center;
  transition: background-color .15s, border-color .15s;
}
.calc-tile b { font-size: 12px; line-height: 1.2; }
.calc-sizes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.calc-size {
  min-height: 44px; border: 1.5px solid var(--border-input); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer;
}
.calc-when { display: flex; gap: 8px; align-items: center; }
.calc-when .input { flex: 1; min-width: 0; }
.calc-when .btn { min-height: 48px; }
.calc-footer { display: grid; gap: 10px; padding: 16px; margin: 0 -4px; border-radius: var(--r-lg); background: var(--bg); }
.calc-preview { text-align: center; font-size: 14px; color: var(--text-2); }
.calc-preview strong { color: var(--ink); }
.calc-preview strong.over { color: var(--warning); }
.calc-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-empty { color: var(--text-2); font-size: 14px; }
.calc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.calc-list li { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; }
.calc-list .ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); }
.calc-list .ic svg { width: 22px; height: 22px; }
.calc-list .txt { flex: 1; min-width: 0; display: grid; }
.calc-list .txt b { font-size: 14px; }
.calc-list .txt small { color: var(--text-2); font-size: 13px; }
.calc-remove { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--text-2); cursor: pointer; }
.calc-remove:hover { background: var(--danger-soft); color: var(--danger); }

.calc-result { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.calc-card { background: var(--hero); border-radius: var(--r-xl); padding: 24px; color: #fff; display: grid; gap: 14px; box-shadow: var(--shadow-card); }
.calc-card h2 { font-size: 18px; font-weight: 800; }
.calc-gauge { position: relative; width: 168px; height: 168px; margin: 4px auto 0; }
.calc-gauge svg { width: 100%; height: 100%; }
.calc-gauge circle, .calc-gauge line { transition: stroke-dasharray .4s ease, transform .4s ease, stroke .2s; }
.calc-gauge div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.calc-gauge b { font: 800 40px/1 var(--font-display); letter-spacing: -.02em; }
.calc-gauge small { color: var(--on-dark-2); font-weight: 600; margin-top: 4px; }
.calc-status { justify-self: center; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .12); }
.calc-status.legal, .calc-status.sober { background: var(--success-soft); color: var(--success); }
.calc-status.illegal { background: #FFE6D5; color: #9A3412; }
.calc-times { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.calc-times div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.calc-times dt { color: var(--on-dark-2); }
.calc-times dd { margin: 0; font-weight: 700; text-align: right; }
.calc-chart-box { display: grid; gap: 8px; }
.calc-chart { width: 100%; height: auto; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: 12px; }
.calc-chart:focus-visible { outline: 3px solid #9CC3F5; outline-offset: 4px; }
.calc-cursor { text-align: center; font-size: 14px; font-weight: 700; color: #fff; min-height: 1.4em; }
.calc-cursor.over { color: #FFB580; }
.calc-hint { text-align: center; font-size: 12px; color: var(--on-dark-2); }
.calc-rate { color: var(--on-dark-2); font-size: 12px; text-align: center; }
.calc-warning { font-size: 13px; color: var(--text-2); padding: 0 6px; }

.calc-content { display: grid; gap: 24px; margin-top: 40px; }
.calc-content .card { display: grid; gap: 12px; align-content: start; }
.calc-content .card h2 { font-size: 22px; font-weight: 800; }
.calc-content .card p { color: var(--text-2); }
.calc-table-wrap { overflow-x: auto; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.calc-table th, .calc-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.calc-table thead th { font-size: 13px; color: var(--text-2); font-weight: 700; }
.calc-table tbody th { font-weight: 800; }
.calc-note { font-size: 14px; }
.calc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc-faq { display: grid; gap: 16px; }

@media (max-width: 980px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; order: -1; }
  .calc-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .calc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-row-2 { grid-template-columns: 1fr; }
}
.showcase-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* --- Idées reçues (/mythes-alcool) -------------------------------------- */
.page-hero .eyebrow { margin-top: 4px; }
.myths-summary { display: inline-block; background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 16px; color: var(--on-dark-2); }
.myths-summary strong { color: var(--yellow); }
.myths-updated { font-size: 13px; color: var(--on-dark-2); }
.myths-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; margin-bottom: 24px; }
.myths-filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--border-input);
  border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 var(--font-body); cursor: pointer;
}
.myths-filter span { font-size: 12px; font-weight: 700; color: var(--text-2); background: var(--track); border-radius: 999px; padding: 3px 8px; }
.myths-filter:hover { border-color: var(--blue); }
.myths-filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.myths-filter[aria-pressed="true"] span { background: rgba(255, 255, 255, .16); color: #fff; }
.myths-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.myth {
  display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px; scroll-margin-top: calc(var(--header-h, 72px) + 20px);
}
.myth:target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.myth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.verdict { display: inline-flex; align-items: center; gap: 6px; font: 800 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.verdict-false { background: var(--danger-soft); color: var(--danger); }
.verdict-partly { background: var(--amber-soft); color: var(--amber); }
.myth-theme { font-size: 13px; font-weight: 600; color: var(--text-2); }
.myth-quote { font-size: 15px; font-style: italic; color: var(--text-2); }
.myth h2 { font-size: 21px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.myth-answer { color: var(--text); }
.myth-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.myth-sources { font-size: 13px; color: var(--text-2); }
.myth-sources a { color: var(--blue); font-weight: 600; }
.myth-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.myth-actions .link-arrow { font-size: 14px; }
.myth-copy { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--text-2); background: var(--track); }
.myth-copy:hover { color: var(--blue); background: var(--blue-soft); }
.myth-copy.done { color: var(--success); background: var(--success-soft); }
.myths-calc { margin-top: 32px; }
.myths-calc h2 { font-size: 18px; font-weight: 700; color: #5A4210; margin-bottom: 4px; }
.myths-sources { margin-top: 24px; display: grid; gap: 12px; }
.myths-sources h2 { font-size: 22px; font-weight: 800; }
.myths-sources ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--text-2); font-size: 15px; }
.myths-sources a { color: var(--blue); font-weight: 600; }
.myths-disclaimer { font-size: 14px; color: var(--text-2); }
.page-body > .cta { margin-top: 40px; }
@media (max-width: 860px) { .myths-list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .myth { padding: 20px; } .myths-filters { padding: 10px; } }

/* Encart « Vrai ou faux ? » de l'accueil */
.home-myths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-myths .myth { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.home-myths .myth:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.home-myths-more { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 900px) { .home-myths { grid-template-columns: 1fr; } }
.home-myths .myth-quote { font-size: 19px; font-style: normal; font-weight: 800; line-height: 1.3; color: var(--ink); }
