/* mindBird landing (static)
   - Design tokens aligned with lib/theme/colors.dart
   - No animations by request; only subtle focus/hover states.
*/

:root {
  --c-primary: #427044;   /* AppColors.fernGreen */
  --c-secondary: #6A994E; /* AppColors.asparagus */
  --c-accent: #BC4749;    /* AppColors.bittersweetShimmer */
  --c-bg: #F3F5F9;        /* AppColors.antiflashWhite */
  --c-parchment: #F2E8CF; /* AppColors.parchment */
  --c-text: #2D3648;      /* AppColors.textDark */

  --radius-1: 10px;
  --radius-2: 16px;
  --radius-3: 24px;

  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 18px 60px rgba(0, 0, 0, 0.12);

  --container: 1180px;

  --font-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-brand: "Sansita One", var(--font-sans);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
}

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

a { color: inherit; text-decoration: none; }

/* ------------------------------
   Motion system (reveal + micro-interactions)
   ------------------------------ */

:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.2, .9, .2, 1);
  --reveal-distance: 18px;
  --reveal-blur: 10px;
  --reveal-duration: 820ms;
  --reveal-stagger: 80ms;
}

/* Scroll reveal: apply to any element with [data-anim] */
[data-anim] {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  filter: blur(var(--reveal-blur));
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out),
    filter var(--reveal-duration) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--reveal-stagger));
  will-change: opacity, transform, filter;
}

[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Reduced motion: keep layout, remove motion */
@media (prefers-reduced-motion: reduce) {
  [data-anim] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(106, 153, 78, 0.45);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 245, 249, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 54, 72, 0.08);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.brand__name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -0.01em;
  color: rgba(17, 24, 39, 0.92);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.navlinks a {
  font-weight: 700;
  font-size: 14px;
  color: rgba(45, 54, 72, 0.86);
}

.navlinks a:hover { color: rgba(45, 54, 72, 1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    filter 220ms var(--ease-out),
    background-color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    color 220ms var(--ease-out);
  will-change: transform;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0px) scale(0.99); }

.btn--outline {
  background: transparent;
  border-color: rgba(45, 54, 72, 0.22);
  color: rgba(45, 54, 72, 0.86);
}

.btn--outline:hover {
  border-color: rgba(45, 54, 72, 0.34);
  color: rgba(45, 54, 72, 1);
}

.btn--primary {
  background: var(--c-secondary);
  color: white;
  box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.20) inset;
}

.btn--primary:hover { filter: brightness(0.98); }

.btn--ghost {
  background: rgba(66, 112, 68, 0.08);
  color: var(--c-primary);
  border-color: rgba(66, 112, 68, 0.12);
}

.btn--ghost:hover { background: rgba(66, 112, 68, 0.10); }

.hero {
  padding: 56px 0 28px;
}

.hero__wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(188, 71, 73, 0.12);
  color: rgba(188, 71, 73, 0.95);
  font-weight: 800;
  font-size: 13px;
}

.h1 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 4.6vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #111827;
}

.h1 .muted { color: #2F281E; }
.h1 .accent { color: var(--c-secondary); }

.lead {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(45, 54, 72, 0.82);
  max-width: 52ch;
}

.cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.download {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.download__buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.download__label {
  font-weight: 800;
  color: rgba(45, 54, 72, 0.80);
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(45, 54, 72, 0.14);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  font-weight: 800;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    background-color 220ms var(--ease-out);
  will-change: transform;
}

.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10);
  border-color: rgba(45, 54, 72, 0.20);
  background: rgba(255, 255, 255, 0.82);
}
.store:active { transform: translateY(-1px); }

.store small {
  display: block;
  font-weight: 700;
  font-size: 11px;
  opacity: 0.7;
}

.store strong {
  display: block;
  font-size: 14px;
}

.store__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.store--disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* STORY (C'est quoi mindBird ?) */
.story {
  padding: 86px 0 110px;
}

.story__grid {
  display: grid;
  place-items: center;
}

.story__content {
  max-width: 66ch;
  text-align: center;
}

.story__title {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: #111827;
}

.story__underline {
  margin-top: 10px;
  width: min(240px, 70%);
  height: auto;
  opacity: 0.95;
  margin-inline: auto;
}

.story__text {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(45, 54, 72, 0.82);
}

.story__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.story__cta {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow:
    0 -4px 0 rgba(0, 0, 0, 0.22) inset,
    0 10px 26px rgba(0, 0, 0, 0.10);
}

/* QUIZ TEASER (phone mock + concise text) */
.quiz-teaser {
  padding: 44px 0 48px;
}

.quiz-teaser__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.quiz-teaser__phone {
  width: min(340px, 100%);
  margin-inline: auto;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(45, 54, 72, 0.10);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.10);
  padding: 14px;
  position: relative;
  transition: transform 400ms var(--ease-spring), box-shadow 400ms var(--ease-out);
  will-change: transform;
}

.quiz-teaser__phone:hover {
  transform: translateY(-4px) rotate(-0.15deg);
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.14);
}

.quiz-teaser__notch {
  display: none;
}

.quiz-teaser__screen {
  border-radius: 34px;
  background: rgba(243, 245, 249, 0.92);
  border: 1px solid rgba(45, 54, 72, 0.08);
  padding: 16px;
  min-height: 480px;
  display: grid;
  gap: 12px;
  overflow: hidden;
}

/* Quiz UI mock (matches screenshot) */
.quiz-teaser__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
}

.quiz-teaser__step {
  grid-column: 2;
  justify-self: center;
  font-weight: 900;
  font-size: 16px;
  color: rgba(45, 54, 72, 0.70);
}

.quiz-teaser__lives {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(45, 54, 72, 0.12);
}

.quiz-teaser__lifeIcon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.quiz-teaser__lifeNum {
  font-size: 18px;
  font-weight: 1000;
  color: rgba(45, 54, 72, 0.88);
}

.quiz-teaser__progress {
  height: 12px;
  border-radius: 999px;
  background: rgba(45, 54, 72, 0.16);
  overflow: hidden;
}

.quiz-teaser__progressFill {
  height: 100%;
  border-radius: 999px;
  background: rgba(106, 153, 78, 0.72);
  transition: width 700ms var(--ease-out);
}

.quiz-teaser__question {
  margin-top: 6px;
  font-weight: 1000;
  font-size: 24px;
  line-height: 1.15;
  color: rgba(45, 54, 72, 0.92);
  text-align: center;
}

.quiz-teaser__soundTile {
  margin: 6px auto 0;
  width: 142px;
  height: 142px;
  border-radius: 20px;
  background: rgba(106, 153, 78, 0.22);
  border: 1px solid rgba(45, 54, 72, 0.08);
  display: grid;
  place-items: center;
  transition: transform 260ms var(--ease-out), background-color 260ms var(--ease-out);
  will-change: transform;
}

.quiz-teaser__soundTile:hover {
  transform: translateY(-2px) scale(1.01);
  background: rgba(106, 153, 78, 0.26);
}

.quiz-teaser__soundIcon {
  width: 74%;
  height: 74%;
  display: block;
  color: #606D7C;
  opacity: 0.95;
}

.quiz-teaser__soundIcon path {
  fill: currentColor;
}

.quiz-teaser__choices {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.quiz-teaser__choice {
  border-radius: 16px;
  border: 1px solid rgba(45, 54, 72, 0.14);
  background: rgba(255, 255, 255, 0.70);
  padding: 10px 12px;
  font-weight: 900;
  text-align: center;
  color: rgba(45, 54, 72, 0.92);
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
  will-change: transform;
}

.quiz-teaser__choice:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 54, 72, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.quiz-teaser__choice--green {
  background: rgba(106, 153, 78, 0.16);
  border-color: rgba(66, 112, 68, 0.24);
  color: rgba(66, 112, 68, 1);
}

.quiz-teaser__copy {
  max-width: 60ch;
}

.quiz-teaser__title {
  margin: 0;
  font-size: clamp(28px, 3.0vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: #111827;
}

.quiz-teaser__text {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(45, 54, 72, 0.82);
}

@media (prefers-reduced-motion: reduce) {
  .quiz-teaser__progressFill,
  .quiz-teaser__soundTile {
    transition: none;
  }
}

/* BIOMES (2 arrows + big image + 3 stat bars) */
.biomes {
  padding: 64px 0 86px;
}

.biomes__layout {
  display: grid;
  /* Biome à gauche, KPI à droite */
  /* Colonne KPI fixe (évite que la "case" grossisse) */
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 26px;
  /* Aligne visuellement stats et biome "en face" */
  align-items: center;
}

.biomes__left {
  /* Biome à gauche */
  grid-column: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  align-self: center;
  justify-self: start;
}

.biomes__imageStage {
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.biomes__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 54px rgba(0, 0, 0, 0.20));
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.biomes__image.is-changing {
  opacity: 0.12;
  transform: scale(0.985);
}

/* Directional slide on biome switch */
.biomes__image.is-changing.is-next {
  transform: translateX(18px) scale(0.985);
}

.biomes__image.is-changing.is-prev {
  transform: translateX(-18px) scale(0.985);
}

.biomes__arrows {
  display: flex;
  gap: 14px;
}

.biomes__arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  user-select: none;
  transition: transform 180ms var(--ease-out), filter 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.biomes__arrow:hover { transform: translateY(-1px); filter: brightness(1.02); }
.biomes__arrow:active { transform: translateY(0px) scale(0.98); }

.biomes__arrowIcon {
  width: 44px;
  height: 44px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.biomes__arrowIcon--prev {
  transform: scaleX(-1);
}

.biomes__right {
  /* KPI à droite */
  grid-column: 2;
  display: grid;
  gap: 18px;
  justify-items: start;
  align-self: center;
  justify-self: end;
}

/* KPI panel (replaces old 3 stat bars) */
.biomes__kpiPanel {
  width: min(420px, 100%);
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(45, 54, 72, 0.12);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(10px);
  position: relative;
}

.biomes__kpiPanel::before {
  /* Removed: vertical connector line */
  content: none;
}

.biomes__kpiHeader {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.biomes__kpiTitle {
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: rgba(17, 24, 39, 0.92);
}

.biomes__kpiHint {
  font-weight: 800;
  font-size: 12px;
  color: rgba(45, 54, 72, 0.60);
  text-align: left;
}

.biomes__kpiList {
  display: grid;
  gap: 12px;
}

.biomes__kpiRow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(243, 245, 249, 0.92), rgba(255, 255, 255, 0.68));
  border: 1px solid rgba(45, 54, 72, 0.10);
  position: relative;
}

.biomes__kpiRow::before {
  /* Removed: row dot marker */
  content: none;
}

.biomes__kpiIconWrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(66, 112, 68, 0.10);
  display: grid;
  place-items: center;
  margin-left: 0;
  flex: 0 0 auto;
}

.biomes__kpiIcon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.biomes__kpiEmoji {
  font-size: 22px;
  line-height: 1;
}

.biomes__kpiText {
  /* Left aligned stack */
  display: grid;
  gap: 2px;
}

.biomes__kpiValue {
  font-size: 44px;
  font-weight: 1000;
  line-height: 1;
  min-width: 0;
  text-align: left;
  color: rgba(17, 24, 39, 0.92);
}

.biomes__kpiLabel {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  color: rgba(45, 54, 72, 0.80);
  text-wrap: balance;
}

/* HERO ART (PNG + orbiting icons) */
.hero-art {
  position: relative;
  /* Enlever le carré de background: pas de card/gradient derrière */
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-art__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.hero-art__svg,
.hero-art__png {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.18));
}

/* Hero image: subtle breathing to avoid flatness */
@keyframes heroBreath {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.18)); }
  50% { transform: translateY(-6px) scale(1.01); filter: drop-shadow(0 26px 66px rgba(0, 0, 0, 0.22)); }
}

.hero-art__svg {
  animation: heroBreath 6.6s var(--ease-out) infinite;
  will-change: transform, filter;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art__svg { animation: none; }
}

.orbit {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);

  /* Motion: léger flottement vertical + glow (pas de rotation) */
  animation:
    orbitFloat 5.6s ease-in-out infinite,
    orbitGlow 6.4s ease-in-out infinite;
}

.orbit__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Placements (autour du SVG) */
.orbit--a { top: 10%; left: 12%; background: #DBD1B2; animation-delay: 0s, 0s, 0s; }
.orbit--h { top: 18%; right: 10%; background: #B2DBD6; animation-delay: .3s, 0s, 1.4s; }
.orbit--m { bottom: 14%; right: 18%; background: #DBDAB2; animation-delay: .6s, 0s, 2.8s; }
.orbit--l { bottom: 12%; left: 18%; background: #D2DBB2; animation-delay: .9s, 0s, 4.2s; }

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes orbitGlow {
  0%, 78% {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    filter: saturate(1);
  }
  84% {
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.18),
      0 0 0 8px rgba(255, 255, 255, 0.45),
      0 0 32px rgba(167, 201, 87, 0.55);
    filter: saturate(1.12);
  }
  100% {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    filter: saturate(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit { animation: none; }
}

.mock {
  position: relative;
  border-radius: var(--radius-3);
  background: linear-gradient(180deg, rgba(242, 232, 207, 0.55), rgba(243, 245, 249, 0.2));
  border: 1px solid rgba(45, 54, 72, 0.10);
  box-shadow: var(--shadow-2);
  padding: 18px;
}

.mock__device {
  border-radius: 28px;
  background: #0B1220;
  padding: 14px;
}

.mock__screen {
  border-radius: 22px;
  background: #ffffff;
  padding: 18px;
  min-height: 360px;
}

.mock__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(66, 112, 68, 0.08);
  color: rgba(66, 112, 68, 1);
  font-weight: 800;
  font-size: 12px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(45, 54, 72, 0.12);
  background: rgba(243, 245, 249, 0.7);
}

.cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card {
  border-radius: 16px;
  border: 1px solid rgba(45, 54, 72, 0.10);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  padding: 12px;
}

.card__kpi {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
}

.card__lbl {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(45, 54, 72, 0.72);
}

.footer {
  padding: 44px 0 28px;
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(106, 153, 78, 0.14), transparent 60%),
    radial-gradient(1000px 520px at 90% 20%, rgba(188, 71, 73, 0.10), transparent 62%),
    rgba(66, 112, 68, 0.06);
  border-top: 1px solid rgba(45, 54, 72, 0.10);
}

.brand--footer .brand__mark { width: 34px; height: 34px; }
.brand--footer .brand__name {
  /* Footer: align with app typography (avoid the playful brand font here) */
  font-family: var(--font-sans);
  font-weight: 1000;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(17, 24, 39, 0.92);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(45, 54, 72, 0.10);
}

.footer__tagline {
  margin: 0;
  color: rgba(45, 54, 72, 0.78);
  font-weight: 700;
  grid-column: 1 / -1;
}

.footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__socialLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 54, 72, 0.14);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  font-size: 13px;
  transition:
    transform 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    background-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.footer__socialLink:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 54, 72, 0.22);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
  padding-top: 18px;
}

.footer__col a,
.footer__bottomLinks a {
  font-weight: 800;
  font-size: 13px;
  color: rgba(45, 54, 72, 0.84);
  transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
}

.footer__col a:hover,
.footer__bottomLinks a:hover {
  color: rgba(45, 54, 72, 1);
  transform: translateY(-1px);
}

.footer__title {
  font-weight: 1000;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.88);
  margin-bottom: 10px;
}

.footer__col {
  display: grid;
  gap: 10px;
}

/* (Mentions légales uses a dedicated page now) */

.footer__bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(45, 54, 72, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-weight: 800;
  font-size: 13px;
  color: rgba(45, 54, 72, 0.72);
}

.footer__bottomLinks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .hero__wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .navlinks { display: none; }
  .quiz-teaser__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* Biomes: ne passe en 1 colonne que plus tard, pour garder les éléments "en face" */
@media (max-width: 520px) {
  .biomes__layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .biomes__left,
  .biomes__right {
    grid-column: auto;
  }
  .biomes__right {
    width: min(520px, 100%);
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__social { justify-content: flex-start; }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .btn { width: 100%; }
  .nav__actions { width: 100%; }
  .nav { height: auto; padding: 12px 0; align-items: flex-start; flex-wrap: wrap; }
  .brand { width: 100%; }
  .nav__actions { justify-content: stretch; flex-direction: column; }
  .biomes__kpiPanel { padding: 16px; }
  .biomes__kpiPanel::before { left: 20px; top: 58px; }
  .biomes__kpiValue { font-size: 40px; min-width: 62px; }
  .biomes__kpiLabel { font-size: 15px; }
  .biomes__kpiIconWrap { width: 42px; height: 42px; }
}

/* ------------------------------
   AD UNITS (Premium Integration)
   ------------------------------ */

/* ------------------------------
   AD UNIT: Minimal pre-footer (validation only)
   ------------------------------ */

.ad-section--prefooter {
  padding: 24px 0 0;
}

.ad-wrapper--minimal {
  max-width: 728px;
  margin-inline: auto;
  min-height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(243, 245, 249, 0.40),
    rgba(242, 232, 207, 0.15)
  );
}

.ad-wrapper--minimal ins.adsbygoogle {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .ad-wrapper--minimal {
    max-width: 100%;
    min-height: 70px;
  }
}

@media (max-width: 520px) {
  .ad-section--prefooter {
    padding: 16px 0 0;
  }
  
  .ad-wrapper--minimal {
    min-height: 50px;
    border-radius: 10px;
  }
}





