@font-face {
  font-family: "Bangers";
  src: url("/fonts/Bangers-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #14161d;
  --paper: #f7f1e3;
  --page: #f3f6fa;
  --sky-bg: #e2edf8;
  --teal: #29b6c4;
  --teal-soft: #dcf0f2;
  --orange: #f5822a;
  --navy: #1f2a44;
  --sky: #9cc5e8;
  --lilac: #a78bdb;
  --lilac-soft: #ece4fb;
  --yellow: #f6c343;
  --yellow-soft: #fdf0d2;
  --red: #d8432f;
  --green: #5bb85b;
  --muted: #4b5566;
  --line: #c9d3de;
  --display: "Bangers", "Impact", sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --screen: #eef4f9;
  --dot: rgba(20, 22, 29, 0.15);
  --text-soft: #2b3240;
  --orange-soft: #fff4e6;
  --tab-on: #d6e6f6;
  --tabbar: rgba(255, 255, 255, 0.9);
  --on-accent: #14161d;
  --frame: #14161d;
  --foot-bg: #14161d;
  --foot-line: #39404e;
  --link: #1f2a44;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f7f1e3;
  --page: #0e1118;
  --sky-bg: #161c2b;
  --muted: #aab3c2;
  --line: #2d3445;
  --text-soft: #d5dbe5;
  --surface: #1c2232;
  --surface-2: #171c29;
  --screen: #1a2030;
  --dot: rgba(247, 241, 227, 0.13);
  --teal-soft: #173a40;
  --lilac-soft: #2a2145;
  --yellow-soft: #3a3118;
  --orange-soft: #3a2615;
  --tab-on: #26324a;
  --tabbar: rgba(28, 34, 50, 0.92);
  --frame: #07080b;
  --foot-bg: #07080b;
  --foot-line: #232a38;
  --link: #8fe0e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
  width: min(1280px, calc(100% - 160px));
  margin: 0 auto;
}

.dots {
  background-image: radial-gradient(circle, var(--dot) 1.2px, transparent 1.4px);
  background-size: 10px 10px;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.brand-name {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  display: block;
}

.brand-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.site-nav {
  background: var(--surface);
  border-bottom: 3px solid var(--ink);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  height: 128px;
}

/* Boutons et étiquettes */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 16px;
  color: var(--on-accent);
  background: var(--teal);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
}

.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }

.btn-light { background: var(--surface); color: var(--ink); }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn .apple-ico { height: 24px; width: auto; flex: none; filter: brightness(0); }
.btn .play-ico { height: 22px; width: auto; flex: none; filter: brightness(0); }

html[data-theme="dark"] .btn .apple-ico,
html[data-theme="dark"] .btn .play-ico { filter: none; }

.tag {
  display: inline-block;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--lilac);
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Accueil */

.hero {
  background: var(--sky-bg);
  border-bottom: 3px solid var(--ink);
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(56px, 7.4vw, 104px);
}

.hero h1 .accent {
  color: var(--teal);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.hero p.lead {
  font-size: 19px;
  max-width: 520px;
  margin: 28px 0 36px;
}

.phone {
  position: relative;
  width: 320px;
  height: 660px;
  margin: 0 auto;
  background: var(--frame);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 10px 10px 0 var(--lilac);
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background-color: var(--screen);
  overflow: hidden;
  position: relative;
  padding: 26px 18px 0;
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.3px);
  background-size: 9px 9px;
}

.screen .time {
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}

.screen h2 {
  font-family: var(--display);
  font-size: 40px;
  color: var(--teal);
  text-align: center;
  margin: 10px 0 8px;
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
  font-weight: 400;
}

.bubble {
  display: block;
  width: max-content;
  margin: 0 auto 14px;
  padding: 6px 14px;
  background: var(--surface);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.panel {
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.panel-title {
  font-family: var(--display);
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.chip {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
}

.chip.sky { background: var(--sky); color: var(--on-accent); }

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action {
  font-family: var(--display);
  font-size: 19px;
  text-align: center;
  padding: 8px 0;
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}

.action.teal { background: var(--teal); }
.action.green { background: var(--green); }
.action.red { background: var(--red); }

.tabbar {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: var(--tabbar);
  border-radius: 999px;
  padding: 6px;
}

.tabbar span {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
}

.tabbar .on { background: var(--tab-on); color: var(--orange); }

.section {
  padding: 104px 0;
  border-bottom: 3px solid var(--ink);
}

.section.alt { background: var(--surface); }

.section-head h2 {
  font-size: clamp(44px, 5.2vw, 72px);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 56px;
  max-width: 720px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 28px 26px 30px;
  background: var(--surface);
}

.card .num {
  font-family: var(--display);
  font-size: 46px;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.c-teal { background: var(--teal-soft); }
.c-lilac { background: var(--lilac-soft); }
.c-yellow { background: var(--yellow-soft); }
.c-orange { background: var(--orange-soft); }

.reflex {
  padding: 96px 0;
  background: var(--sky-bg);
  border-bottom: 3px solid var(--ink);
}

.reflex h2 {
  font-size: clamp(44px, 5vw, 68px);
  margin-bottom: 48px;
}

.reflex .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.reflex .card h3 {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reflex .card .hint {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 16px 0 0;
}

.faq {
  padding: 104px 0;
  border-bottom: 3px solid var(--ink);
}

.faq .wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
}

.faq h2 {
  font-size: clamp(44px, 4.6vw, 64px);
  margin-bottom: 20px;
}

.faq .intro {
  color: var(--muted);
  font-size: 17px;
}

.qa {
  border-top: 1px solid var(--line);
}

.qa details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.qa summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "–";
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
}

.qa details[open] summary::after { content: "–"; }

.qa details:not([open]) summary::after { content: "+"; }

.qa details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.cta-band {
  background: var(--teal);
  color: var(--on-accent);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 48px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin: 104px 0;
}

.cta-band h2 {
  font-size: clamp(40px, 4.4vw, 60px);
  margin-bottom: 10px;
}

.cta-band p { margin: 0; font-size: 17px; }

/* Pied de page */

.site-foot {
  background: var(--foot-bg);
  color: #fff;
  padding: 56px 0 32px;
}

.site-foot .top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--foot-line);
}

.site-foot .brand-name { color: #fff; }

.site-foot .brand-sub { color: #9aa3b2; }

.site-foot .tagline {
  margin: 18px 0 0;
  color: #d8dde6;
  font-size: 15px;
}

.foot-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
}

.foot-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links a { text-decoration: none; color: #fff; }

.foot-links a:hover { color: var(--teal); }

.site-foot .bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: #9aa3b2;
}

.site-foot .bottom a { color: #9aa3b2; }

.foot-theme { margin: 0 0 22px; }

.theme-switch { display: inline-flex; flex-wrap: wrap; gap: 8px; }

.theme-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s, border-color 0.2s;
}

.theme-switch button svg { width: 14px; height: 14px; }

.theme-switch button:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

.theme-switch button.active { color: #fff; border-color: var(--teal); font-weight: 800; }

/* Pages légales */

.page-head {
  background: var(--sky-bg);
  border-bottom: 3px solid var(--ink);
  padding: 56px 0 64px;
}

.crumbs {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 28px;
}

.crumbs a { color: var(--muted); }

.page-head h1 {
  font-size: clamp(56px, 6.4vw, 88px);
  margin-bottom: 18px;
}

.page-head p {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
  margin: 0;
}

.legal-body {
  padding: 56px 0 96px;
}

.legal-body .wrap {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 56px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 32px;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 22px 20px;
}

.toc h2 {
  font-family: var(--display);
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 400;
}

.toc ol {
  margin: 0;
  padding: 0 0 0 22px;
  font-size: 15px;
  font-weight: 700;
}

.toc li { margin: 8px 0; }

.toc a { text-decoration: none; }

.toc a:hover { color: var(--teal); }

.toc .meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.notice {
  background: var(--yellow-soft);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 22px 26px;
  margin-bottom: 40px;
}

.notice strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 400; margin-bottom: 4px; letter-spacing: 0.02em; }

.article {
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 30px 32px;
  margin-bottom: 32px;
  scroll-margin-top: 32px;
}

.article h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}

.article h3 {
  font-size: 17px;
  margin: 22px 0 6px;
}

.article p,
.article li {
  color: var(--text-soft);
  font-size: 16px;
}

.article p { margin: 0 0 12px; }

.article ul { padding-left: 22px; margin: 0 0 12px; }

.article a { color: var(--link); font-weight: 700; }

.fill {
  background: var(--yellow-soft);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 700;
}

table.inventory {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 8px 0 12px;
}

table.inventory th,
table.inventory td {
  text-align: left;
  padding: 12px 12px;
  border-bottom: 2px solid var(--line);
  vertical-align: top;
}

table.inventory th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fields {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.fields li {
  margin: 0;
  padding: 11px 16px;
  border-bottom: 2px solid var(--line);
}

.fields li:last-child { border-bottom: 0; }

.legal-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--link);
  text-decoration: none;
}

.read-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  margin-top: 8px;
}

.read-next a { color: var(--link); text-decoration: none; }

.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;
}

/* Bandeau cookies */

.cb-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 480px;
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 22px 24px;
  z-index: 50;
  display: none;
}

.cb-banner.visible { display: block; }

.cb-banner h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.cb-banner p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.cb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cb-btn {
  font: inherit;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.cb-btn.primary { background: var(--teal); color: var(--on-accent); }

.cb-links {
  margin-top: 14px;
  font-size: 13px;
}

.cb-links a { color: var(--link); font-weight: 700; }

.cb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 29, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 60;
}

.cb-overlay[hidden] { display: none; }

.cb-prefs {
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 26px;
  width: min(480px, 100%);
}

.cb-prefs h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 16px;
}

.cb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.cb-row strong { display: block; }

.cb-row small { color: var(--muted); font-size: 13px; }

.cb-always { font-size: 13px; font-weight: 800; color: var(--muted); white-space: nowrap; }

.cb-switch input { width: 20px; height: 20px; accent-color: var(--teal); }

/* Responsive */

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { margin-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .reflex .pair { grid-template-columns: 1fr; }
  .faq .wrap { grid-template-columns: 1fr; gap: 40px; }
  .legal-body .wrap { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .hero { padding: 64px 0 72px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .site-foot .top { flex-direction: column; }
  .site-foot .bottom { flex-direction: column; gap: 10px; }
  .article { padding: 24px 22px; }
  .phone { transform: scale(0.92); }
}
