/* Design system "landing-system" (issu du site Tag Academy, inspiré de roborabbit.com)
   Règles fixes : Inter 400/500/700/800, bordures encre 2px, ombres dures 3px 3px 0,
   radius 5px, sections pleines bord à bord séparées par un trait de 2px.
   Ce qui change d'un site à l'autre : les tokens de :root (4 couleurs), le logo, le contenu. */

:root {
  --ink: #1a2130;              /* Encre : texte, bordures, ombres, fond sombre (bleu nuit Tube Operator) */
  --accent: #ff0000;           /* Accent vif : le rouge YouTube (demande explicite de Yoan ; encre dessus = 4.0:1, AA texte large) */
  --secondary: #dde3ee;        /* Couleur douce : gris bleuté de l'app */
  --secondary-dark: #b9c1d1;   /* Nuance foncée de la couleur douce */
  --secondary-light: #edf0f6;  /* Nuance claire de la couleur douce */
  --bg: #fafafa;               /* Fond des sections "claires" */
  --line: #dfe3ea;             /* Séparateurs fins (listes, dividers) */
  --white: #ffffff;            /* Fond des cartes */
  --body-max: 1100px;
}

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

html {
  background: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--ink);
  min-height: 100%;
  font-family: 'Inter', BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
ul { list-style: none; }

.global_container { background: var(--bg); position: relative; }

.container {
  max-width: var(--body-max);
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
  display: block;
}

/* ---------- Header ---------- */

header { background: var(--bg); }

header .level {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .level-left,
header .level-right { display: flex; align-items: center; }

header .level-left a.logo {
  margin-left: 1.25em;
  font-size: 1.5em;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

header .logo_text { display: flex; flex-direction: column; line-height: 1; }
header .logo_name { text-transform: uppercase; }
header .logo_by {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.42em;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}
header .logo_by img { height: 11px; width: auto; display: block; }

/* Pastille carrée avec les initiales (ou un <img> de 38px si un vrai logo existe) */
header .logo_mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62em;
  font-weight: 800;
  overflow: hidden;
}
header .logo_mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

header .level-right { margin-right: 2em; }

header .level-right .level-item {
  margin-left: 2em;
  font-size: 1.2em;
  font-weight: 500;
  position: relative;
}

header .level-right .level-item a,
header .level-right .level-item span.menu_item { color: var(--ink); cursor: pointer; }

header .level-right .level-item a.signin {
  font-size: 0.85em;
  border: 2px solid var(--ink);
  padding: 9px 18px;
  border-radius: 5px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
  position: relative;
  top: 0; left: 0;
  transition: box-shadow 0.16s cubic-bezier(0.25, 1, 0.5, 1), top 0.16s cubic-bezier(0.25, 1, 0.5, 1), left 0.16s cubic-bezier(0.25, 1, 0.5, 1);
}
header .level-right .level-item a.signin:hover { top: 3px; left: 3px; box-shadow: 0 0 0 var(--ink); color: var(--white); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -1em;
  z-index: 3000;
  padding-top: 8px;
  min-width: 16em;
}
.dropdown.is-right .dropdown-menu { left: auto; right: 0; }
.dropdown.is-open .dropdown-menu { display: block; }
html:not(.js) .dropdown:focus-within .dropdown-menu { display: block; }
html:not(.js) .dropdown:hover .dropdown-menu { display: block; }
.dropdown .dropdown-content {
  background: var(--white);
  border-radius: 5px;
  border: 2px solid var(--ink);
  padding: 0.5em 0;
  font-size: 0.85em;
}
.dropdown .dropdown-content a.dropdown-item {
  display: block;
  color: var(--ink);
  padding: 0.4em 1.2em;
  white-space: nowrap;
}
.dropdown .dropdown-content a.dropdown-item:hover { background: var(--accent); }
.dropdown .dropdown-content strong.dropdown-item {
  display: block;
  padding: 0.4em 1.2em;
}
.dropdown-divider { border-top: 1px solid var(--line); margin: 0.5em 0; display: block; }

.hamburger {
  cursor: pointer;
  font-size: 1.6em;
  line-height: 1;
  padding: 0.2em 0.4em;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  font-weight: 800;
}

@media (min-width: 1024px) {
  .is-hidden-desktop { display: none !important; }
}
@media (max-width: 1023px) {
  .is-hidden-touch { display: none !important; }
  header .level-left a.logo { margin-left: 0.5em; font-size: 1.25em; }
  header .level-right { margin-right: 1em; }
}

/* ---------- Sections ---------- */

.biglayer { border-bottom: 2px solid var(--ink); position: relative; }
.biglayer .container_inner { padding: 80px 0; position: relative; }
.biglayer.hero { z-index: 2000; }
.biglayer.hero .container_inner { padding-top: 50px; }

.fill_bg { background: var(--bg); }
.fill_secondary { background: var(--secondary); }
.fill_dark { background: var(--ink); }
.fill_accent { background: var(--accent); }

/* Colonnes : texte à gauche (65 %), visuel à droite (35 %) */
.columns { display: flex; gap: 0; }
.columns .column { flex: 1 1 0; min-width: 0; }
.columns .column.is-half { flex: 0 0 65%; }
.column_inner { height: 100%; position: relative; }

@media (max-width: 768px) {
  .columns { flex-direction: column; }
  .columns .column.is-half { flex: 1 1 auto; }
  .columns.mobile_spaced .column { padding-top: 50px; }
  .columns.mobile_spaced .column:first-child { padding-top: 0; }
}

@media (min-width: 769px) {
  .columns .column.is-half:first-child .column_inner { padding-right: 3em; }
  .columns .column:last-child .column_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 1216px) {
  .columns .column:last-child .column_inner {
    padding-left: 1.5em;
    margin-right: -2.5em;
  }
}

/* ---------- Typographie des sections ---------- */

.big_text h1, .big_text h2, .big_text h3,
.column_text h1, .column_text h2, .column_text h3 {
  font-size: 2.7em;
  line-height: 1.1em;
  font-weight: 800;
  padding-bottom: 0.5em;
  letter-spacing: -0.03em;
}

.big_text h1.global_index,
.column_text h1.global_index { font-size: 4.1em; line-height: 1em; }

.big_text p, .column_text p { font-size: 1.5em; padding-top: 1em; }
.big_text p:first-of-type, .column_text p:first-of-type { padding-top: 0; }

.big_text { text-align: center; }
.column_text p { padding-right: 2em; }

@media (max-width: 768px) {
  .big_text h1.global_index, .column_text h1.global_index { font-size: 3.3em; }
  .big_text h1, .column_text h1 { font-size: 3.3em; }
  .column_text p { padding-right: 0; }
  .biglayer .container_inner { padding: 50px 0 80px; }
}

/* Sections sombres : texte blanc */
.fill_dark, .fill_dark .big_text h2, .fill_dark .big_text p, .fill_dark .column_text h2, .fill_dark .column_text p { color: var(--white); }
.fill_dark .stats_band strong { color: var(--white); }

/* ---------- CTA ---------- */

.cta { margin-top: 2em; }

a.bigbutton, button.bigbutton {
  font-family: inherit;
  line-height: 1.5em;
  border: 2px solid var(--ink);
  padding: 20px 45px;
  font-size: 1.5em;
  font-weight: 400;
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 5px;
  background: var(--accent);
  color: var(--ink);
  display: inline-block;
  cursor: pointer;
  position: relative;
  top: 0; left: 0;
}
a.bigbutton:hover, button.bigbutton:hover {
  top: 4px; left: 4px;
  box-shadow: 1px 1px 0 var(--ink) !important;
  transition: box-shadow 0.3s ease-in-out, top 0.3s ease-in-out, left 0.3s ease-in-out;
}
button.bigbutton:disabled { opacity: 0.5; cursor: wait; }
.bigbutton.is-small { font-size: 1.2em; padding: 15px 30px; font-weight: 700; }
.bigbutton.is-white { background: var(--white); }

/* Formulaire email (liste d'attente, newsletter, contact rapide) */
.signup_form { display: flex; gap: 14px; margin-top: 2em; flex-wrap: wrap; }
.signup_form input[type="email"],
.signup_form input[type="text"]:not(.hp_field) {
  font-family: inherit;
  font-size: 1.2em;
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 15px 18px;
  flex: 1 1 240px;
  background: var(--white);
  color: var(--ink);
  min-width: 0;
}
.signup_form input::placeholder { color: #777; }
.signup_form button.bigbutton {
  font-size: 1.2em;
  padding: 15px 30px;
  font-weight: 700;
  flex: 0 0 auto;
}
.signup_form .hp_field { position: absolute; left: -5000px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form_message { font-weight: 700; margin-top: 1em; display: none; }
.form_message.is-success { display: block; }
.form_message.is-error { display: block; color: #c0392b; }
@media (max-width: 480px) {
  .signup_form button.bigbutton { width: 100%; text-align: center; }
}

/* Coches rondes */
.checkmarks { padding-top: 30px; }
.checkmarks .check_line { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
span.general_check {
  background: var(--ink);
  color: var(--white);
  width: 20px; height: 20px;
  flex: 0 0 20px;
  text-align: center;
  line-height: 20px;
  border-radius: 30px;
  font-size: 12px;
  display: inline-block;
  font-weight: bold;
}

/* ---------- Carte liste (en-tête + lignes) ---------- */

.list_card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 3px 3px 0 var(--ink);
  position: relative;
  margin-top: 10px;
}
.list_card .list_card_header {
  border-bottom: 2px solid var(--ink);
  padding: 14px 20px;
  font-weight: 800;
  font-size: 1.1em;
}
.list_row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 2px solid var(--ink);
  font-size: 1.1em;
}
.list_row:last-child { border-bottom: none; }
.list_row .row_label { font-weight: 700; }
.list_row .row_value { margin-left: auto; font-weight: 800; font-size: 1.25em; white-space: nowrap; }

/* Vignette carrée (initiales, numéro, logo) utilisée dans toutes les cartes */
.app_logo {
  height: 52px; width: 52px;
  flex: 0 0 52px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8em;
  background: var(--white);
}
.app_logo.app_logo_img { padding: 7px; }
.app_logo.app_logo_img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bg_secondary { background: var(--secondary); }
.bg_secondary_dark { background: var(--secondary-dark); }
.bg_accent { background: var(--accent); }

/* Sticker incliné collé sur un coin de carte */
.sticker {
  position: absolute;
  right: -14px;
  bottom: -22px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px 22px;
  font-weight: 800;
  font-size: 1.15em;
  transform: rotate(-3deg);
  z-index: 10;
}
@media (max-width: 768px) {
  .hero .column:last-child { padding-top: 60px; }
}

/* Carte "chat" : lignes avec avatar et bulle de texte */
.chat_row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 2px solid var(--ink);
}
.chat_row:last-child { border-bottom: none; }
.chat_row .app_logo { height: 46px; width: 46px; flex: 0 0 46px; font-size: 0.72em; }
.chat_text { font-size: 0.98em; line-height: 1.45; }

/* ---------- Bande de chiffres clés (sur fond sombre) ---------- */

.stats_band { width: 80%; margin: 0 auto; text-align: center; }
.stats_band .columns { gap: 20px; }
.stats_band .stat {
  margin: 20px auto;
  height: 160px; width: 160px;
  border-radius: 100px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4em;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.stats_band strong {
  text-transform: uppercase;
  font-size: 1.3em;
  line-height: 1.2em;
  color: var(--ink);
  display: block;
}
@media (max-width: 768px) {
  .stats_band .columns { flex-direction: column; }
}

/* ---------- Carte "étapes" numérotées ---------- */

.steps_card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  text-align: left;
}
.steps_card .steps_step {
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
  font-size: 1.4em;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}
.steps_card .steps_step:last-child { border-bottom: none; }
.steps_card .app_logo { height: 60px; width: 60px; flex: 0 0 60px; font-size: 1em; }

/* ---------- Cartes empilées inclinées (captures, visuels) ---------- */

.stack { position: relative; padding: 10px 0; }
.stack .stack_card {
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px;
  width: 88%;
}
.stack .stack_card img { display: block; width: 100%; border-radius: 3px; }
.stack .stack_card:first-child { transform: rotate(-2deg); z-index: 10; position: relative; }
.stack .stack_card:last-child {
  transform: rotate(2deg);
  margin-left: auto;
  margin-top: -90px;
}
@media (max-width: 768px) {
  .stack .stack_card { width: 100%; transform: rotate(0); }
  .stack .stack_card:last-child { transform: rotate(0); margin-top: 20px; }
}

/* ---------- Grille de cartes ---------- */

.cards_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 1.5em;
  text-align: left;
}
.cards_grid.is-three { grid-template-columns: 1fr 1fr 1fr; }
.cards_grid.is-narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .cards_grid.is-three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .cards_grid, .cards_grid.is-three { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 25px;
}
.card.is-flex { display: flex; flex-direction: column; align-items: flex-start; }
.card .card_thumb {
  margin: -25px -25px 20px;
  border-bottom: 2px solid var(--ink);
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 16 / 9;
}
.card .card_thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card h3 {
  font-size: 1.4em;
  font-weight: 800;
  line-height: 1.2em;
  letter-spacing: -0.02em;
  padding-bottom: 0.6em;
}
.card ul { list-style: none; }
.card ul li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98em;
}
.card ul li:first-child { border-top: none; }
.card ul li strong { font-weight: 800; margin-right: 0.35em; }
.card .card_logo { height: 28px; width: auto; margin: 4px 0 16px; }
.card .card_text { font-size: 1.05em; }
.card .card_link { margin-top: auto; padding-top: 1.5em; font-weight: 700; }
.card .card_link a { color: var(--ink); text-decoration: underline; }

.grid_note { font-size: 1.2em; text-align: center; padding-top: 2.5em; }

/* Pilule (étiquette de carte, catégorie) */
.pill {
  display: inline-block;
  background: var(--secondary);
  border: 2px solid var(--ink);
  border-radius: 50px;
  padding: 4px 14px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85em;
  margin-bottom: 14px;
}
.pill.pill_accent { background: var(--accent); }
.pill.pill_white { background: var(--white); }

/* ---------- Grille de coches (bénéfices) ---------- */

.checks_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  margin-top: 2.5em;
  text-align: left;
}
@media (max-width: 768px) { .checks_grid { grid-template-columns: 1fr; } }
.checks_grid .check_line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.2em;
  font-weight: 500;
}
.checks_grid span.general_check { margin-top: 4px; }

/* ---------- Carte personne (fondateur, formateur, auteur) ---------- */

.person_card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 40px 30px;
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
}
.person_card .person_avatar {
  height: 160px; width: 160px;
  border-radius: 100px;
  border: 2px solid var(--ink);
  background: var(--secondary);
  display: block;
  object-fit: cover;
  margin: 0 auto 20px;
}
.person_card strong { display: block; font-size: 1.3em; font-weight: 800; }
.person_card span { display: block; padding-top: 4px; }

/* ---------- Bande de logos défilants ---------- */

.logos_band .container_inner { padding: 40px 0 50px; }
.logos_caption { text-align: center; font-size: 1.1em; font-weight: 700; padding-bottom: 26px; }
.logos_caption a { color: var(--ink); text-decoration: underline; }
.marquee { overflow: hidden; width: 100%; }
.marquee_track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding-right: 20px;
  animation: marquee_scroll 45s linear infinite;
}
@keyframes marquee_scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee_track { animation-play-state: paused; }

/* Puces logo (statiques ou dans le marquee) */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 1.5em;
}
.chip {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 12px 22px;
  height: 64px;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chip img { max-height: 36px; max-width: 140px; width: auto; object-fit: contain; display: block; }

/* ---------- Cheminement (étapes en ligne avec flèches) ---------- */

.path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin: 0.5em auto 2em;
}
.path_step {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 50px;
  padding: 8px 18px 8px 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.path_step_accent { background: var(--accent); }
.path_num {
  background: var(--ink);
  color: var(--white);
  width: 28px; height: 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9em;
}
.path_arrow { font-weight: 800; font-size: 1.2em; }

/* ---------- FAQ ---------- */

.faq_list { max-width: 800px; margin: 1em auto 0; text-align: left; }
.faq_list details {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 16px;
}
.faq_list summary {
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.15em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
.faq_list summary::-webkit-details-marker { display: none; }
.faq_list summary::after { content: "+"; font-weight: 800; font-size: 1.3em; }
.faq_list details[open] summary::after { content: "-"; }
.faq_list details p { padding: 0 22px 20px; font-size: 1.05em; }

/* ---------- Footer ---------- */

.the_footer { background: var(--ink); border-bottom: none; }
.the_footer .container { max-width: 100% !important; padding: 50px; }
.the_footer .columns { gap: 30px; flex-wrap: wrap; }
.the_footer h4 { color: var(--white); font-weight: 800; padding-bottom: 0.8em; }
.the_footer ul { font-size: 0.8em; }
.the_footer ul li { padding: 3px 0; }
.the_footer a { color: var(--white); opacity: 0.4; }
.the_footer a:hover { opacity: 1; }
@media (max-width: 768px) {
  .the_footer .container { padding: 20px; padding-top: 50px; }
  .the_footer .columns { flex-direction: column; }
}

.copyright {
  background: var(--ink);
  padding: 10px 50px 30px;
  font-size: 12px;
  color: #999;
}
.copyright .level { display: flex; gap: 2em; flex-wrap: wrap; }
.copyright a { color: var(--white); }

/* Ancres : compenser le header */
section[id] { scroll-margin-top: 20px; }

/* ---------- Tube Operator : texte blanc sur l'accent ----------
   L'accent est le rouge YouTube (#ff0000) : l'encre y reste lisible (4.0:1) mais
   YouTube compose en blanc sur ce rouge, et Yoan préfère ce rendu. Même ratio. */
a.bigbutton, button.bigbutton, .sticker, .pill.pill_accent, .logo_mark,
.app_logo.bg_accent, .path_step_accent, .fill_accent,
.dropdown .dropdown-content a.dropdown-item:hover { color: var(--white); }
.fill_accent span.general_check { background: var(--white); color: var(--accent); }
.bigbutton.is-white, .fill_accent .bigbutton.is-white { color: var(--ink); }

/* Logo horizontal fourni (robot + play + mot-marque), cas 3 de references/theming.md. */
header .level-left a.logo img { height: 48px; width: auto; display: block; }
@media (max-width: 1023px) { header .level-left a.logo img { height: 38px; } }

/* Pages légales (terms, privacy, legal) : texte long dans le système. */
.legal_text { max-width: 800px; margin: 0 auto; }
.legal_text h1 { font-size: 2.7em; line-height: 1.1em; font-weight: 800; letter-spacing: -0.03em; padding-bottom: 0.4em; }
.legal_text .legal_meta { color: #5d6577; padding-bottom: 2em; }
.legal_text h2 { font-size: 1.4em; font-weight: 800; letter-spacing: -0.02em; padding: 1.6em 0 0.5em; }
.legal_text p, .legal_text li { font-size: 1.05em; line-height: 1.6; padding-bottom: 0.8em; }
.legal_text ul { list-style: disc; padding-left: 1.4em; }
.legal_text a { text-decoration: underline; text-underline-offset: 3px; }
.legal_text .legal_todo { background: var(--accent); color: var(--white); border: 2px solid var(--ink); border-radius: 5px; padding: 12px 16px; font-weight: 700; margin-bottom: 1.5em; }

/* Captures de l'app et visite guidée (onglets), mêmes tokens que le reste. */
.tour_tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.tour_tabs button.pill { font-family: inherit; cursor: pointer; margin-bottom: 0; }
.tour_tabs button.pill:hover { background: var(--secondary-dark); }
.tour_tabs button.pill.pill_accent:hover { background: var(--accent); }
.tour_tabs button.pill:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.tour_panel[hidden] { display: none; }
.shot_card {
  display: block;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
  position: relative;
  top: 0; left: 0;
}
.shot_card img { display: block; width: 100%; height: auto; }
a.shot_card:hover { top: 3px; left: 3px; box-shadow: 0 0 0 var(--ink); transition: box-shadow 0.2s ease-in-out, top 0.2s ease-in-out, left 0.2s ease-in-out; }
.shot_caption { text-align: center; font-size: 1.05em; padding-top: 1.2em; }
.shot_caption strong { font-weight: 800; }
.text_link { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.text_link:hover { color: var(--accent); }
.column_text .text_link_line { font-size: 1.2em; padding-top: 1.2em; }
.hero_shot { margin-top: 10px; }
.hero_shot .sticker { right: -14px; bottom: -14px; }

/* Keyboard access, readable mobile examples, and reduced-motion preferences. */
button.menu_item { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; min-height: 44px; }
.hamburger { min-width: 44px; min-height: 44px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.the_footer a:focus-visible { outline-color: var(--white); }
.the_footer a { opacity: .85; display: inline-flex; align-items: center; min-height: 44px; }
.text_link { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.column, .column_inner, .row_label { min-width: 0; }
.mobile_excerpt { display: none; }
@media (max-width: 600px) {
  .column_text h1.global_index, .big_text h1.global_index { font-size: clamp(2rem, 9vw, 3.3rem); }
  .column_text p, .big_text p { font-size: 1.125rem; }
  h1, h2, h3 { overflow-wrap: anywhere; }
  .mobile_excerpt { display: block; background: var(--white); border: 2px solid var(--ink); border-radius: 5px; padding: 20px; margin-bottom: 18px; font-size: 16px; line-height: 1.65; }
  .mobile_excerpt span { display: block; font-size: 14px; margin-bottom: 12px; }
  .mobile_excerpt h3 { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
  .dropdown .dropdown-menu { max-width: calc(100vw - 32px); min-width: 0; width: 285px; }
  .dropdown .dropdown-content a.dropdown-item { white-space: normal; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Cartes fonctionnalités (section #features) ---------- */
.features_intro { max-width: 820px; margin: 0 auto 44px; }
.features_intro .pill { margin-bottom: 18px; }
.feature_stack { display: flex; flex-direction: column; gap: 32px; }
.feature_card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 48px 52px;
}
.feature_text .pill { margin-bottom: 18px; }
.feature_text h3 { font-size: 2.1em; line-height: 1.12em; font-weight: 800; letter-spacing: -0.03em; padding-bottom: 0.45em; }
.feature_text p { font-size: 1.25em; line-height: 1.55; }
.feature_text .checkmarks { padding-top: 1.1em; }
.feature_text .text_link_line { font-size: 1.15em; padding-top: 0.9em; }
.feature_quote { margin: 1.1em 0 0.2em; padding: 14px 18px; border: 2px solid var(--ink); border-radius: 5px; background: var(--bg); font-size: 1.15em; font-weight: 700; line-height: 1.45; }
/* Le visuel : une capture réelle posée sur un fond, décalée, à ombre dure. */
.feature_shot {
  display: block;
  background: var(--secondary);
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 30px 30px 22px 38px;
  position: relative;
  overflow: hidden;
}
.feature_shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--secondary-dark) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: 0.55;
}
.feature_shot img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--white);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}
a.feature_shot:hover img { transform: translate(3px, 3px); box-shadow: 5px 5px 0 var(--ink); }
.feature_card:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature_card:nth-child(even) .feature_text { order: 2; }
.feature_card:nth-child(even) .feature_shot { order: 1; padding: 30px 38px 22px 30px; }
#features .shot_caption { padding-top: 2em; }
@media (max-width: 900px) {
  .feature_card, .feature_card:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 30px 26px; }
  .feature_card:nth-child(even) .feature_text { order: 1; }
  .feature_card:nth-child(even) .feature_shot { order: 2; }
  .feature_text h3 { font-size: 1.8em; }
  .feature_text p { font-size: 1.1em; padding-right: 0; }
  .feature_shot, .feature_card:nth-child(even) .feature_shot { padding: 18px 18px 14px 22px; }
  .feature_shot img { box-shadow: 5px 5px 0 var(--ink); }
}

/* ---------- Hero : 65/35 réellement visible ---------- */
@media (min-width: 769px) {
  .hero .columns .column.is-half { flex: 0 0 65%; }
  .hero .columns .column.is-half:first-child .column_inner { padding-right: 1.5em; }
  .hero .column_text p { padding-right: 0; max-width: 30em; }
  .hero .columns .column:last-child .column_inner { padding-left: 1.5em; margin-right: 0; }
  .hero .hero_shot { width: 100%; }
}

/* ---------- Mascotte : se balade d'une section à l'autre ---------- */
.mascot {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 5;
  animation: mascot-float 4.5s ease-in-out infinite;
}
@keyframes mascot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.mascot_hero { width: 190px; right: 0; bottom: -6px; }
.mascot_how { width: 170px; left: 0; bottom: -4px; }
.mascot_features { width: 120px; right: -10px; top: 0; }
.mascot_stats { width: 140px; left: -10px; bottom: -28px; z-index: 6; }
.mascot_pricing { width: 150px; right: 0; top: -44px; }
.mascot_faq { width: 130px; left: -24px; top: 40px; }
.mascot_cta { width: 200px; right: 0; bottom: -2px; }
@media (max-width: 1215px) {
  .mascot_pricing { width: 120px; top: -30px; }
  .mascot_faq { width: 110px; top: 30px; }
  .mascot_features { width: 100px; }
}
@media (max-width: 1023px) {
  .mascot { width: 110px; }
  .mascot_hero { right: 0; bottom: -4px; }
  .mascot_how { left: 0; bottom: -4px; }
  .mascot_cta { width: 130px; }
}
@media (max-width: 768px) {
  .mascot { display: none; }
  .mascot_hero { display: block; position: static; width: 120px; margin: 0 auto 10px; }
  .mascot_cta { display: block; position: static; width: 120px; margin: 0 auto 10px; }
}
