/* app/static/landing/css/style.css — Landing page KOLO */

:root {
  --green-dark: #024533;
  --green: #1bb16a;
  --green-light: #a5ed6a;
  --ink: #0b120f;
  --gray-700: #45524c;
  --gray-500: #6b7972;
  --gray-200: #e3e9e5;
  --gray-100: #f2f6f3;
  --white: #ffffff;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-md: 0 12px 32px -12px rgba(2, 69, 51, 0.25);
  --shadow-sm: 0 4px 14px -6px rgba(2, 69, 51, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(2, 69, 51, 0.35);

  --container: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
}

body.is-ready {
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  body {
    opacity: 1;
  }
}

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

a {
  color: inherit;
}

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

section {
  padding: 88px 0;
}

@media (max-width: 720px) {
  section {
    padding: 56px 0;
  }
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

p {
  color: var(--gray-700);
  margin: 0 0 1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(165, 237, 106, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Scroll reveal (toggled via IntersectionObserver in main.js) */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-group.in-view > * {
  opacity: 1;
  transform: none;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-group > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-group > *:nth-child(6) { transition-delay: 0.55s; }

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  font-size: 1.05rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-block {
  width: 100%;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 8px 24px -16px rgba(2, 69, 51, 0.35);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand img {
  height: 30px;
  width: auto;
  transition: transform 0.2s var(--ease);
}

.brand:hover img {
  transform: scale(1.04);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.nav-links a:hover {
  color: var(--green-dark);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--gray-200);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 40px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.hero-blob-1 {
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(165, 237, 106, 0.45), transparent 72%);
  animation: drift-1 16s ease-in-out infinite;
}

.hero-blob-2 {
  bottom: -260px;
  left: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(27, 177, 106, 0.22), transparent 72%);
  animation: drift-2 20s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.06); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -24px) scale(1.05); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

.hero-copy p {
  font-size: 1.12rem;
  max-width: 46ch;
}

.hero-desc-short {
  display: none;
}

@media (max-width: 640px) {
  .hero-desc-full {
    display: none;
  }

  .hero-desc-short {
    display: block;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.hero-trust strong {
  color: var(--ink);
  font-size: 1.05rem;
  display: block;
}

/* Entrance stagger for the hero copy */

.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s var(--ease) forwards;
}

.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.15s; }
.hero-copy p { animation-delay: 0.28s; }
.hero-copy .hero-actions { animation-delay: 0.4s; }
.hero-copy .hero-trust { animation-delay: 0.52s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero visual: stylised ride card mockup */

.hero-visual {
  position: relative;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: rise 0.8s var(--ease) forwards;
  animation-delay: 0.3s;
}

.ride-card-stack {
  position: absolute;
  inset: 22px -10px -10px 22px;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  border-radius: var(--radius-lg);
  opacity: 0.5;
  z-index: 0;
}

.ride-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
  animation: float-card 5s ease-in-out infinite;
}

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

.ride-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ride-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--gray-100);
  padding: 5px 12px;
  border-radius: 999px;
}

.ride-price {
  font-weight: 800;
  font-size: 1.15rem;
}

.ride-route {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 14px;
  margin-bottom: 20px;
}

.ride-route .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 6px;
  position: relative;
}

.ride-route .dot.end {
  background: var(--green-dark);
}

.ride-route .line {
  width: 2px;
  background: var(--gray-200);
  height: 34px;
  margin: 2px auto;
}

.ride-route .city {
  font-weight: 700;
}

.ride-route .sub {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.ride-driver {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--gray-200);
}

.ride-driver .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--green-dark);
}

.ride-driver .meta strong {
  display: block;
  font-size: 0.92rem;
}

.ride-driver .meta span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.ride-driver .seats {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.floating-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-chip .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(27, 177, 106, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(27, 177, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 177, 106, 0); }
}

.chip-trust {
  bottom: 10px;
  left: -18px;
  z-index: 2;
  opacity: 0;
  animation: chip-in 0.6s var(--ease) forwards;
  animation-delay: 1.1s;
}

@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .floating-chip {
    display: none;
  }
}

/* Réseau / Carte Côte d'Ivoire */

.network {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.map-wrap {
  max-width: 460px;
  margin: 0 auto;
}

.civ-map {
  width: 100%;
  height: auto;
  overflow: visible;
}

.civ-outline {
  fill: var(--gray-100);
  stroke: var(--green-dark);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.route-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 8;
  animation: route-flow 1.4s linear infinite;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -18;
  }
}

.city-dot circle {
  fill: var(--green-light);
  stroke: var(--green-dark);
  stroke-width: 2.5;
}

.city-dot.hub circle:not(.city-pulse) {
  fill: var(--green-dark);
}

.city-pulse {
  fill: none !important;
  stroke: var(--green-dark) !important;
  stroke-width: 2 !important;
  transform-origin: center;
  transform-box: fill-box;
  animation: hub-pulse 2.2s ease-out infinite;
}

@keyframes hub-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.city-dot text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  fill: var(--green-dark);
}

.city-dot.hub text {
  font-size: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .route-line,
  .city-pulse {
    animation: none;
  }
}

/* Steps */

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

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 100%;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-200) 0 6px, transparent 6px 12px);
}

@media (max-width: 820px) {
  .step:not(:last-child)::after {
    display: none;
  }
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.step:hover .step-number {
  background: var(--green);
  transform: scale(1.08);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* Features */

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

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.feature-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(165, 237, 106, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.feature-card:hover .feature-icon {
  background: var(--green);
  transform: scale(1.08) rotate(-4deg);
}

.feature-card:hover .feature-icon svg {
  color: var(--white);
  stroke: var(--white);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--green-dark);
  stroke: var(--green-dark);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* Waitlist / CTA */

.waitlist {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.waitlist .container {
  padding: 0;
}

.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
}

@media (max-width: 860px) {
  .waitlist-inner {
    grid-template-columns: 1fr;
    padding: 40px 26px;
  }
}

.waitlist h2 {
  color: var(--white);
}

.waitlist p {
  color: rgba(255, 255, 255, 0.78);
}

.waitlist-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 26px;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  text-overflow: ellipsis;
}

.form-row select {
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 380px) {
  .form-row input,
  .form-row select {
    font-size: 0.88rem;
    padding: 11px 12px;
  }
}

.form-row input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--green-light);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(165, 237, 106, 0.18);
}

.form-row select option {
  color: var(--ink);
}

.form-msg {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.form-msg.success,
.form-msg.error {
  opacity: 1;
  transform: none;
}

.form-msg.success {
  color: var(--green-light);
}

.form-msg.error {
  color: #ffb4b4;
}

#waitlist-submit {
  position: relative;
}

#waitlist-submit.is-loading {
  color: transparent;
}

#waitlist-submit.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(2, 69, 51, 0.25);
  border-top-color: var(--green-dark);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 28px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--green-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-social a:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
}

/* ============================================================
   Store badges (App Store / Google Play) — pas encore publiée :
   pointent vers la liste d'attente plutôt qu'une fiche store.
   ============================================================ */

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

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.store-badge:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-text small {
  font-size: 0.66rem;
  opacity: 0.75;
}

.store-badge-text strong {
  font-size: 0.92rem;
  font-weight: 700;
}

/* ============================================================
   Phone mockup — pas de vraies captures d'écran (app pas publiée) :
   reconstitue l'UI Kolo directement en CSS, réutilisable partout.
   ============================================================ */

.phone {
  --phone-w: 240px;
  position: relative;
  width: var(--phone-w);
  background: var(--ink);
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 16px;
  background: var(--ink);
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.phone-screen {
  position: relative;
  background: var(--gray-100);
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  padding: 26px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gray-500);
  padding: 0 2px 6px;
}

.phone-statusbar .dots {
  display: flex;
  gap: 3px;
}

.phone-statusbar .dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-500);
}

/* Petite carte "trajet" réutilisée à l'intérieur des téléphones (version
   compacte de .ride-card, pour cohérence visuelle). */

.phone-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  border: 1px solid var(--gray-200);
}

.phone-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.phone-card-top .badge {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--green-dark);
  background: rgba(165, 237, 106, 0.35);
  padding: 4px 9px;
  border-radius: 999px;
}

.phone-card-top .price {
  font-weight: 800;
  font-size: 0.92rem;
}

.phone-route-mini {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0 10px;
  margin-bottom: 12px;
}

.phone-route-mini .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 5px;
}

.phone-route-mini .dot.end {
  background: var(--green-dark);
}

.phone-route-mini .line {
  width: 2px;
  background: var(--gray-200);
  height: 22px;
  margin: 1px auto;
}

.phone-route-mini .city {
  font-weight: 700;
  font-size: 0.82rem;
}

.phone-route-mini .sub {
  color: var(--gray-500);
  font-size: 0.7rem;
}

.phone-card-actions {
  display: flex;
  gap: 8px;
}

.phone-card-actions .btn-mini {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.phone-card-actions .btn-mini.decline {
  background: var(--gray-100);
  color: var(--gray-700);
}

.phone-card-actions .btn-mini.accept {
  background: var(--green);
  color: var(--white);
}

.phone-driver-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.phone-driver-mini .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--green-dark);
  flex-shrink: 0;
}

.phone-driver-mini span {
  font-size: 0.72rem;
  color: var(--gray-500);
}

/* Écran "liste de trajets" (variante) */

.phone-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.phone-list-item .icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(165, 237, 106, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-list-item .icon svg {
  width: 15px;
  height: 15px;
  color: var(--green-dark);
  stroke: var(--green-dark);
}

.phone-list-item .meta {
  flex: 1;
  min-width: 0;
}

.phone-list-item .meta strong {
  display: block;
  font-size: 0.78rem;
}

.phone-list-item .meta span {
  font-size: 0.68rem;
  color: var(--gray-500);
}

.phone-list-item .amount {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-dark);
}

/* Écran "portefeuille" (variante chauffeur) */

.phone-wallet-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--white);
}

.phone-wallet-card small {
  opacity: 0.75;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-wallet-card strong {
  display: block;
  font-size: 1.3rem;
  margin: 4px 0 2px;
}

.phone-float-badge {
  position: absolute;
  z-index: 3;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ============================================================
   "Comment ça marche" — zigzag en 4 étapes autour d'un téléphone
   central, avec un grand cercle de couleur derrière (cf. référence).
   ============================================================ */

.works-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px 48px;
}

.works-col {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.works-col.right {
  text-align: left;
}

@media (min-width: 900px) {
  .works-col.left .work-step {
    text-align: right;
    align-items: flex-end;
  }
}

.work-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 260px;
}

.works-col.left .work-step {
  margin-left: auto;
}

.work-step .step-number {
  background: var(--green-light);
  color: var(--green-dark);
  margin-bottom: 0;
}

.work-step h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.work-step p {
  font-size: 0.88rem;
  margin: 0;
}

.works-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.works-phone-wrap .big-circle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-light), var(--green));
  z-index: 0;
  opacity: 0.9;
}

.works-phone-wrap .phone {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-col,
  .works-col.left .work-step {
    text-align: center;
    align-items: center;
  }

  .works-col.left .work-step {
    margin-left: 0;
  }

  .works-col {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .work-step {
    max-width: 320px;
  }

  .works-phone-wrap {
    order: -1;
  }

  .works-phone-wrap .big-circle {
    width: 280px;
    height: 280px;
  }
}

/* ============================================================
   Onglets Passager / Chauffeur (cf. référence "How does this app
   work") — deux téléphones superposés + liste de points.
   ============================================================ */

.tabs-switch {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 48px;
}

.tabs-switch button {
  border: none;
  background: transparent;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.tabs-switch button.is-active {
  background: var(--green);
  color: var(--white);
}

.tabs-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .tabs-body {
    grid-template-columns: 1fr;
  }
}

.tabs-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.tabs-visual .big-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-light), var(--green));
  opacity: 0.9;
  z-index: 0;
}

.tabs-visual .phone {
  position: absolute;
  z-index: 1;
  --phone-w: 190px;
}

.tabs-visual .phone.phone-back {
  transform: translate(-58px, -18px) rotate(-6deg);
  z-index: 1;
  opacity: 0.92;
}

.tabs-visual .phone.phone-front {
  transform: translate(46px, 32px) rotate(5deg);
  z-index: 2;
}

@media (max-width: 500px) {
  .tabs-visual .phone.phone-back {
    transform: translate(-34px, -14px) rotate(-6deg);
  }

  .tabs-visual .phone.phone-front {
    transform: translate(28px, 22px) rotate(5deg);
  }
}

.tabs-points {
  display: grid;
  gap: 24px;
}

.tab-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tab-point .feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.tab-point h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.tab-point p {
  font-size: 0.9rem;
  margin: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
}

/* ============================================================
   Bannière CTA "Télécharger l'app" — bandeau vert avec téléphones
   qui débordent en haut (cf. référence).
   ============================================================ */

.download-cta {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
  color: var(--white);
}

.download-cta .container {
  padding: 0;
}

.download-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 56px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.download-cta h2 {
  color: var(--white);
}

.download-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
}

.download-cta-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  min-height: 220px;
}

.download-cta-visual .phone {
  --phone-w: 170px;
  margin-bottom: -56px;
}

.download-cta-visual .phone.phone-2 {
  --phone-w: 150px;
  transform: translate(76px, -34px) rotate(8deg);
  margin-left: -90px;
}

@media (max-width: 860px) {
  .download-cta-inner {
    grid-template-columns: 1fr;
    padding: 40px 26px;
    text-align: center;
  }

  .download-cta-visual {
    margin-top: 12px;
  }

  .download-cta-visual .phone {
    margin-bottom: -40px;
  }
}

@media (max-width: 480px) {
  .download-cta-visual .phone.phone-2 {
    display: none;
  }
}
