:root {
  --blue: #2563d8;
  --blue-dark: #153f91;
  --green: #138a52;
  --green-soft: #e9f7ef;
  --red: #c9282d;
  --ink: #0f172a;
  --muted: #5f6f84;
  --line: #dce5ef;
  --soft-line: #edf2f7;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --surface: #ffffff;
  --surface-strong: #f1f6fb;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.11);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  max-width: 100%;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand b {
  color: var(--blue);
}

.brand i {
  color: var(--green);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.language-switcher {
  display: inline-grid;
  /* Une colonne par langue offerte (fr/en/es aujourd'hui). Surtout pas un
     nombre figé: une langue de plus ferait passer la dernière à la ligne. */
  grid-auto-flow: column;
  grid-auto-columns: 44px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}

.language-switcher a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.language-switcher a.is-active {
  background: var(--blue);
  color: #fff;
}

.nav-links a:not(.btn):hover,
.footer-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.24);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--blue);
}

.btn-store {
  min-height: auto;
  padding: 0;
  border-radius: 7px;
}

.btn-store img {
  display: block;
  height: 52px;
  width: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 62px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #fff 58%),
    radial-gradient(circle at 70% 18%, rgba(37, 99, 216, 0.08), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 58px;
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-lead {
  max-width: 630px;
  margin: 24px 0 0;
  color: #405066;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.store-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.android-interest {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #42536a;
  font-size: 14px;
  font-weight: 750;
}

.proof-line span {
  position: relative;
}

.proof-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #91a1b4;
}

.product-stage {
  position: relative;
  min-height: 548px;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(334px, 100%);
  margin-left: auto;
  padding: 12px;
  border-radius: 38px;
  background: #0b1220;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.26);
}

.phone-screen {
  min-height: 560px;
  overflow: hidden;
  border-radius: 29px;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 18px;
}

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

.phone-title {
  font-size: 14px;
  font-weight: 850;
}

.phone-chip {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 850;
}

.balance-panel {
  border-radius: var(--radius);
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.balance-panel small,
.mini-stat small,
.summary-card small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.84;
}

.balance-panel strong {
  display: block;
  margin-top: 5px;
  font-size: 31px;
  line-height: 1.1;
}

.split-row,
.mini-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  margin-top: 10px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 11px;
  background: #fff;
}

.icon-box {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: var(--blue);
  background: #edf4ff;
  font-size: 13px;
  font-weight: 900;
}

.split-row b,
.mini-row b {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.split-row span,
.mini-row span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amount-pos {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.amount-neg {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.floating-card {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 258px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-card.card-budget {
  top: 72px;
}

.floating-card.card-trip {
  bottom: 20px;
}

.summary-card strong {
  display: block;
  margin: 4px 0 12px;
  font-size: 24px;
  line-height: 1.1;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf5;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--green);
}

.section {
  padding: 84px 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2,
.detail-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.section-head p,
.detail-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.usecase-grid,
.feature-grid,
.pricing-grid,
.trust-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

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

.card ul,
.detail-list,
.check-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.card li,
.detail-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: #314157;
  font-size: 14px;
}

.card li::before,
.detail-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 850;
}

.text-link:hover {
  text-decoration: underline;
}

.workflow-stack {
  display: grid;
  gap: 24px;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.workflow:first-child {
  border-top: 0;
  padding-top: 0;
}

.workflow h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.15;
}

.workflow p {
  margin: 0;
  color: var(--muted);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.flow-step {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.flow-step b {
  display: block;
  color: var(--blue-dark);
  font-size: 13px;
}

.flow-step span {
  display: block;
  margin-top: 8px;
  color: #3f5067;
  font-size: 13px;
}

.differentiators {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.proof-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.proof-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--soft-line);
  padding: 16px 18px;
}

.proof-table div:first-child {
  border-top: 0;
}

.proof-table b {
  color: var(--ink);
  font-size: 14px;
}

.proof-table span {
  color: var(--muted);
  font-size: 14px;
}

.pricing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.price {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.pricing-card .btn {
  margin-top: auto;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  border-left: 3px solid var(--green);
  padding-left: 16px;
}

.trust-item b {
  display: block;
  margin-bottom: 5px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  border-radius: var(--radius);
  padding: 42px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #153f91 58%, #138a52 100%);
}

.final-cta h2 {
  max-width: 760px;
  color: #fff;
}

.final-cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--soft-line);
  padding: 42px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.detail-hero {
  padding: 70px 0 58px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.crumb {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 850;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 900;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg-alt);
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric b {
  display: block;
  margin-top: 5px;
  font-size: 21px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
}

.timeline-num {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.comparison-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--soft-line);
  padding: 15px;
  text-align: left;
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table th {
  background: var(--surface-strong);
  font-size: 14px;
}

.comparison-table td {
  color: var(--muted);
  font-size: 14px;
}

.comparison-table td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.feature-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.feature-summary-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.feature-summary-grid b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.feature-summary-grid span {
  color: var(--muted);
  font-size: 13px;
}

.feature-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.feature-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.feature-table th,
.feature-table td {
  border-bottom: 1px solid var(--soft-line);
  padding: 14px 15px;
  text-align: left;
  vertical-align: top;
}

.feature-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.feature-table td {
  color: var(--muted);
  font-size: 14px;
}

.feature-table td:first-child {
  width: 170px;
  color: var(--blue-dark);
  font-weight: 900;
}

.feature-table td:nth-child(2) {
  width: 230px;
  color: var(--ink);
  font-weight: 800;
}

.feature-table tr:last-child td {
  border-bottom: 0;
}

.feature-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.feature-badge.free {
  background: var(--green-soft);
  color: var(--green);
}

.feature-badge.plus {
  background: #edf4ff;
  color: var(--blue-dark);
}

.feature-badge.group {
  background: #f1f6fb;
  color: var(--ink);
}

@media (max-width: 960px) {
  .hero-grid,
  .detail-grid,
  .workflow,
  .differentiators {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .product-stage {
    min-height: auto;
  }

  .phone-frame {
    margin: 0 auto;
  }

  .floating-card {
    position: relative;
    left: auto;
    width: auto;
    margin: 14px auto 0;
  }

  .floating-card.card-budget,
  .floating-card.card-trip {
    top: auto;
    bottom: auto;
  }

  .usecase-grid,
  .feature-grid,
  .pricing-grid,
  .pricing-grid-four,
  .trust-grid,
  .feature-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* L'en-tête passe en colonne plus tôt que le reste de la mise en page: avec
   trois langues et des libellés espagnols plus longs, la barre ne tient plus
   sur une ligne bien avant 720px. */
@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .nav-links a:not(.btn) {
    white-space: nowrap;
  }

  .nav-links .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero h1,
  .detail-hero h1 {
    font-size: 40px;
  }

  .hero-lead,
  .detail-lead,
  .section-head p {
    font-size: 17px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-actions,
  .store-inline {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-store img {
    height: 48px;
  }

  .phone-frame {
    width: 100%;
    max-width: 334px;
  }

  .phone-screen {
    min-height: auto;
  }

  .usecase-grid,
  .feature-grid,
  .pricing-grid,
  .pricing-grid-four,
  .trust-grid,
  .feature-summary-grid,
  .faq-grid,
  .metric-row,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .feature-table-wrap {
    margin-right: -14px;
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .proof-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .final-cta {
    padding: 30px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
