/* ========================================
   MathLamb — Landing Page
   ======================================== */

:root {
  --ocre: #D4A843;
  --terracotta: #e07b20;
  --vert-foret: #2D6A4F;
  --vert-fonce: #1B4332;
  --bleu-ciel: #2a9b9b;
  --creme: #FFF8F0;
  --texte: #7b3a10;
  --blanc: #FFFFFF;
  --brun: #5C3D2E;
  --brun-fonce: #3E2723;
  --gris-chaud: rgba(74, 42, 10, 0.7);
  --border: #e7d7be;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(123,58,16,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

.landing {
  font-family: 'Nunito', sans-serif;
  color: var(--texte);
  background: #FFF;
  overflow-x: hidden;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--blanc);
  border-color: var(--terracotta);
}

.btn--primary:hover {
  background: #c86a00;
  border-color: #c86a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 123, 32, 0.35);
}

.btn--green {
  background: linear-gradient(172deg, #e07b20, #dd983c);
  color: var(--blanc);
  border-color: transparent;
}

.btn--green:hover {
  background: linear-gradient(172deg, #c86a00, #d08830);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 123, 32, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--texte);
  border-color: rgba(123, 58, 16, 0.25);
}

.btn--outline:hover {
  border-color: var(--texte);
  background: rgba(123, 58, 16, 0.04);
}

.btn--outline-dark {
  background: transparent;
  color: var(--texte);
  border-color: var(--texte);
}

.btn--outline-dark:hover {
  background: var(--texte);
  color: var(--blanc);
}

.btn--lg {
  font-size: 1.1rem;
  padding: 16px 36px;
  height: 48px;
}

.btn svg {
  flex-shrink: 0;
}

/* ========== SECTION UTILITIES ========== */
.section-badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #D78C27;
  background: #F7F3EF;
  border: 1px solid #DD983C;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-badge--light {
  color: var(--ocre);
  background: rgba(212, 168, 67, 0.15);
}

.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--texte);
  margin-bottom: 12px;
}

.section-title--light {
  color: var(--blanc);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gris-chaud);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.75);
}

/* ========== NAVBAR ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224, 213, 197, 0.5);
  transition: box-shadow 0.3s;
}

.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
}

.nav__logo-img {
  height: 41px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 8px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--texte);
  padding: 6px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav__link:hover {
  background: rgba(44, 24, 16, 0.05);
}

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

.nav__btn {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav__btn--ghost {
  color: var(--texte);
}

.nav__btn--ghost:hover {
  background: rgba(44, 24, 16, 0.05);
}

.nav__btn--primary {
  background: var(--terracotta);
  color: var(--blanc);
}

.nav__btn--primary:hover {
  background: #c86a00;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--texte);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
  padding-top: 112px;
  padding-bottom: 60px;
}

.hero__content {
  background: #F7F3EF;
  border-radius: 25px;
  padding: 40px;
}

/* Hero entrance — staggered reveals */
.hero__badge {
  animation: heroSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}

.hero__title {
  animation: heroSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

.hero__subtitle {
  animation: heroSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

.hero__proof {
  animation: heroSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}

.hero__ctas {
  animation: heroSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.6s;
}

.hero__visual {
  animation: heroVisualIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.3s;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(25px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 35px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texte);
  background: #f4e7da;
  border: 1px solid var(--texte);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.17;
  color: var(--texte);
  margin-bottom: 20px;
}

.hero__title em {
  color: #e07b20;
  font-style: normal;
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(74, 42, 10, 0.7);
  max-width: 491px;
  margin-bottom: 28px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 16px 24px 16px 40px;
}

.hero__avatars {
  display: flex;
}

.hero__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #c86a00;
  color: var(--blanc);
  font-family: 'Baloo 2', cursive;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  border: 2px solid var(--creme);
}

.hero__avatar:first-child {
  margin-left: 0;
}

.hero__avatar:nth-child(2) { background: #4a7a45; }
.hero__avatar:nth-child(3) { background: #7b3a10; }
.hero__avatar:nth-child(4) { background: #2a9b9b; }
.hero__avatar:nth-child(5) { background: #d4922a; }

.hero__stats-block {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.3;
}

.hero__stats-block strong {
  color: var(--texte);
}

.hero__stats-block span {
  color: rgba(123, 58, 16, 0.5);
  font-size: 0.8rem;
}

.hero__divider {
  width: 1px;
  height: 32px;
  background: rgba(123, 58, 16, 0.15);
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.hero__stars {
  color: #e07b20;
  font-size: 1rem;
  letter-spacing: 1px;
}

.hero__rating span:last-child {
  color: var(--texte);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero__ctas {
  display: flex;
  gap: 20px;
}

.hero__ctas .btn {
  flex: 1;
  justify-content: center;
}

/* Hero visual / image hero-left.svg */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* ========== TRUST ========== */
.trust {
  padding: 30px 0 42px 0;
  background: #F7F3EF;
  overflow: hidden;
}

.trust__label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666666;
  margin-bottom: 17px;
}

.trust__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.trust__list {
  display: flex;
  gap: 32px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texte);
  white-space: nowrap;
  background: #FFF;
  padding: 8px 20px;
  border-radius: 999px;
}

.trust__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(123, 58, 16, 0.10);
  color: #7B3A10;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== ECOSYSTEM ========== */
.ecosystem {
  padding: 80px 0;
  text-align: center;
}

.ecosystem__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.ecosystem__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 33px;
  margin-bottom: 48px;
}

.eco-card {
  background: #F7F3EF;
  border-radius: 20px;
  padding: 40px 32px 32px;
  text-align: left;
  border: 1px solid #E8D7BE;
  transition: transform 0.3s, box-shadow 0.3s;
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.eco-card__icon {
  margin-bottom: 20px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eco-card__title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.eco-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gris-chaud);
  margin-bottom: 20px;
}

.eco-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #4a7a45;
  background: #FFF;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05);
  padding: 8px 30px;
  border-radius: 50px;
}

.eco-card__tag--ocre {
  color: #c86a00;
}

.eco-card__tag--terra {
  color: #24ADB4;
}

.ecosystem__cta {
  margin-top: 8px;
}

/* ========== DEMO ========== */
.demo {
  padding: 80px 0 0;
  background: #f7f3ef;
  text-align: center;
  padding-bottom: 0;
  overflow: visible;
}

.section-badge--demo {
  color: #e07b20;
  background: rgba(224, 123, 32, 0.12);
  border: 1px solid rgba(224, 123, 32, 0.25);
}

.demo .section-title {
  color: #7b3a10;
  font-size: clamp(2rem, 4vw, 3rem);
}

.demo .section-subtitle {
  color: rgba(74, 42, 10, 0.6);
  font-size: 1.0625rem;
}

.demo__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.demo__duel-image {
  width: 100%;
  height: auto;
  display: block;
}

.demo__scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px 40px;
  background: var(--creme);
  border-bottom: 1px solid var(--border);
}

.demo__team {
  display: flex;
  align-items: center;
  gap: 16px;
}

.demo__team-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: var(--texte);
}

.demo__team-score {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
}

.demo__team--left .demo__team-score {
  color: var(--vert-foret);
}

.demo__team--right .demo__team-score {
  color: var(--terracotta);
}

.demo__vs-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.demo__timer {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 12px;
  color: var(--gris-chaud);
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
}

.demo__game-area {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-height: 360px;
}

.demo__keypad-side {
  padding: 24px;
  border-right: 1px solid var(--border);
}

.demo__question-box {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--creme);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  text-align: center;
}

.demo__answer-display {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gris-chaud);
  padding: 10px;
  margin-bottom: 12px;
  text-align: center;
}

.demo__keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.demo__keypad span {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px;
  background: var(--creme);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid var(--border);
}

.demo__keypad span:hover {
  background: var(--border);
}

.demo__key--delete {
  color: var(--terracotta) !important;
}

.demo__key--enter {
  background: var(--vert-foret) !important;
  color: var(--blanc) !important;
  border-color: var(--vert-foret) !important;
}

.demo__rope-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.demo__rope-visual {
  width: 80%;
  margin-bottom: 24px;
}

.demo__rope-progress {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--border);
}

.demo__rope-bar {
  height: 100%;
  transition: width 0.3s;
}

.demo__rope-bar--left {
  width: 45%;
  background: var(--vert-foret);
}

.demo__rope-bar--right {
  width: 55%;
  background: var(--terracotta);
}

.demo__rope-indicator {
  text-align: center;
  color: var(--terracotta);
  font-size: 0.8rem;
  margin-top: 4px;
  transform: translateX(10%);
}

.demo__feedback {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(45, 106, 79, 0.08);
  padding: 10px 20px;
  border-radius: 50px;
}

.demo__feedback-text {
  font-weight: 700;
  color: var(--vert-foret);
  font-size: 0.9rem;
}

.demo__feedback-pts {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  color: var(--blanc);
  background: var(--vert-foret);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.demo__validate-bar {
  padding: 16px;
  background: var(--creme);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.demo__validate-btn {
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--vert-foret);
  color: var(--blanc);
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}

.demo__validate-btn:hover {
  background: var(--vert-fonce);
}

/* ========== VICTORIES ========== */
.victories {
  padding: 71px 0 43px 0;
  background: transparent;
  text-align: center;
}

.victories__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.victories .section-title {
  color: #7b3a10;
}

.victories .section-subtitle {
  color: #8f7a66;
}

.victories__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.victories__tab {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: #f7f3ef;
  color: #7b3a10;
  cursor: pointer;
  transition: all 0.25s;
}

.victories__tab:hover {
  transform: translateY(-1px);
}

.victories__tab--active {
  background: #c86a00;
  color: #fff;
}

.victories__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  background: #f7f3ef;
  border-radius: 25px;
  padding: 48px 52px;
}

.victories__panel--active {
  display: grid;
}

.victories__quote {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.victories__quote h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #7b3a10;
}

.victories__quote p {
  font-size: 1rem;
  line-height: 1.7;
  color: #6b5547;
  margin-bottom: 24px;
}

.victories__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 10px 15px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.victories__author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #c86a00;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.victories__author div {
  display: flex;
  flex-direction: column;
}

.victories__author strong {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #7b3a10;
}

.victories__author span:not(.victories__author-avatar) {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8125rem;
  color: #b5815a;
}

.victories__checks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.victories__checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9375rem;
  color: #6b5547;
}

.victories__checks li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: transparent;
  color: #7b3a10;
  border: 1px solid #c86a00;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.victories__dashboard {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.dashboard__header {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  color: #c86a00;
  background: #f7f3ef;
}

.dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard__stat {
  background: #f7f3ef;
  border: 1px solid #f7f3ef;
  border-radius: 12px;
  padding: 16px 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.dashboard__stat-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b38159;
  margin-bottom: 0;
}

.dashboard__stat-value {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: #7b3a10;
  line-height: 1;
}

.dashboard__stat:first-child .dashboard__stat-value {
  color: #2a9b9b;
  font-size: 2.5rem;
}

.dashboard__stat:nth-child(2) .dashboard__stat-value {
  color: #c86a00;
}

.dashboard__stat-value--green {
  color: #7b3a10;
}

.dashboard__alerts {
  padding-top: 4px;
}

.dashboard__alerts-title {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #7b3a10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard__alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #f7f3ef;
  border: 1px solid #e8d7be;
  margin-bottom: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #7b3a10;
}

.dashboard__alert svg {
  flex-shrink: 0;
}

.dashboard__alert--success {
  background: #f7f3ef;
  border: 1px solid #e8d7be;
}

/* ========== PRICING ========== */
.pricing {
  padding: 40px 0;
  background: #f7f3ef;
  text-align: center;
}

.pricing__inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 40px;
}

.pricing .section-badge {
  color: #7b3a10;
  background: transparent;
  border: 1px solid #7b3a10;
}

.pricing .section-title {
  color: #7b3a10;
}

.pricing__toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e8d7be;
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 55px;
}

.pricing__toggle-btn {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 24px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #7b3a10;
  cursor: pointer;
  transition: all 0.25s;
}

.pricing__toggle-btn:hover {
  transform: translateY(-1px);
}

.pricing__toggle-btn--active {
  background: #c86a00;
  color: #fff;
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.pricing__card {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-radius: 25px;
  padding: 32px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 20px rgba(123, 58, 16, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(123, 58, 16, 0.12);
}

.pricing__card--featured {
  border: none;
  background: linear-gradient(126deg, #647242 0%, #8ca354 100%);
  box-shadow: 0 16px 56px rgba(123, 58, 16, 0.3);
  padding-top: 40px;
}

.pricing__card--featured:hover {
  box-shadow: 0 20px 60px rgba(123, 58, 16, 0.35);
}

.pricing__card--featured .pricing__card-label {
  color: #fff;
}

.pricing__card--featured .pricing__card-price {
  color: #fff;
}

.pricing__card--featured .pricing__card-desc {
  color: rgba(255, 255, 255, 0.6);
}

.pricing__card--featured .pricing__card-features li {
  color: rgba(255, 255, 255, 0.85);
}

.pricing__card--featured .pricing__card-features li::before {
  color: #fff;
}

.pricing__card-badge {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fff6d7 1.4%, #fff 90%);
  border: 1px solid #f7f3ef;
  color: #7a8c4c;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 32px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing__card-label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.pricing__card-price {
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  font-weight: 800;
  color: #7b3a10;
  margin-bottom: 4px;
  line-height: 1.1;
}

.pricing__card-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 24px;
}

.pricing__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing__card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: #4a4a4a;
  line-height: 1.5;
}

.pricing__card-features li::before {
  content: '✓';
  color: #c86a00;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.pricing__card-btn {
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.25s;
}

.pricing__card .btn--outline {
  border: 1px solid #c86a00;
  color: #c86a00;
  background: transparent;
}

.pricing__card .btn--outline:hover {
  background: rgba(200, 106, 0, 0.08);
}

.pricing__card-btn--white {
  background: #fff;
  color: #647242;
  border: none;
}

.pricing__card-btn--white:hover {
  background: #f7f3ef;
}

.pricing__card-btn--teal {
  background: #1bafb5;
  color: #fff;
  border: none;
}

.pricing__card-btn--teal:hover {
  background: #179a9f;
}

.pricing__card--premium {
  border-color: #1bafb5;
}

.pricing__card--premium .pricing__card-label {
  color: #2a9b9b;
}

.pricing__card--premium .pricing__card-price {
  color: #2a9b9b;
}

.pricing__card--premium .pricing__card-features li::before {
  color: #2a9b9b;
}

.pricing__note {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: #b5815a;
}

/* ========== CTA FINAL ========== */
.cta-final {
  padding: 80px 40px;
  text-align: center;
}

.cta-final__inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 67px 40px 64px 40px;
  background: #F7F3EF;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-final__arene {
  position: absolute;
  left: 54px;
  bottom: 0;
  width: auto;
  pointer-events: none;
}

.cta-final__title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--texte);
  margin-bottom: 12px;
}

.cta-final__text {
  font-size: 1rem;
  color: #B5815A;
  margin-bottom: 32px;
}

.cta-final__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-final__note {
  font-size: 0.85rem;
  color: #B3855F;
}

/* ========== FOOTER ========== */
.footer {
  padding: 64px 0 0;
  background: #1f140f;
  border-top: 1px solid rgba(212, 146, 42, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 70px;
}

.footer__top {
  display: flex;
  gap: 180px;
  padding-bottom: 40px;
}

.footer__brand {
  flex-shrink: 0;
  max-width: 334px;
}

.footer__logo {
  height: 60px;
  width: auto;
  margin-bottom: 6px;
}

.footer__brand p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.footer__social:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer__columns {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #d4922a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer__col a {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #fff;
}

.footer__partner {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

.footer__partner strong {
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 0;
    min-height: 280px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__proof {
    justify-content: center;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__image-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  .ecosystem__cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .demo__game-area {
    grid-template-columns: 1fr;
  }

  .demo__keypad-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .victories__panel {
    grid-template-columns: 1fr;
  }

  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__brand {
    max-width: 100%;
  }

  .footer__columns {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav__inner {
    padding: 0 20px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #FFF;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__actions {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    padding-top: 88px;
    padding-bottom: 30px;
  }

  .hero__inner {
    padding: 0 16px;
    gap: 20px;
  }

  .hero__content {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .hero__title {
    font-size: 1.6rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__visual {
    min-height: auto;
  }

  .hero__image-wrap {
    max-width: 280px;
  }

  .hero__proof {
    padding: 12px 16px;
    gap: 12px;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  /* Sections mobile */
  .ecosystem__inner,
  .demo__inner,
  .victories__inner,
  .pricing__inner {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Trust mobile */
  .trust {
    padding: 20px 0 30px;
  }

  /* Ecosystem mobile */
  .ecosystem {
    padding: 50px 0;
  }

  .eco-card {
    padding: 28px 20px 24px;
  }

  /* Demo mobile */
  .demo {
    padding-top: 50px;
  }

  .demo__inner {
    padding: 0 16px;
  }

  .demo__scoreboard {
    gap: 12px;
    padding: 14px 16px;
    flex-wrap: wrap;
  }

  .demo__team-name {
    font-size: 0.85rem;
  }

  /* Victories mobile */
  .victories {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .victories__tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .victories__tab {
    font-size: 0.9rem;
    padding: 8px 20px;
  }

  .victories__panel {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .victories__quote h3 {
    font-size: 1.4rem;
  }

  .victories__quote p {
    font-size: 0.9rem;
  }

  .victories__dashboard {
    padding: 16px;
  }

  /* Pricing mobile */
  .pricing {
    padding: 50px 0;
  }

  .pricing__card {
    padding: 24px;
  }

  /* CTA Final mobile */
  .cta-final {
    padding: 40px 16px;
  }

  .cta-final__inner {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .cta-final__arene {
    display: none;
  }

  .cta-final__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer mobile */
  .footer__inner {
    padding: 0 20px;
  }

  .footer__top {
    gap: 30px;
  }

  .footer__columns {
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.4rem;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero__proof {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__divider {
    display: none;
  }

  .hero__image-wrap {
    max-width: 240px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .pricing__card-price {
    font-size: 2rem;
  }

  .victories__quote h3 {
    font-size: 1.2rem;
  }

  .dashboard__grid {
    grid-template-columns: 1fr;
  }
}
