/* ═══════════════════════════════════════
   VENDY — Sections
═══════════════════════════════════════ */

/* ── Common ── */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 3rem;
  max-width: 1180px;
  margin: 0 auto;
}

.section-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-center .s-sub {
  margin: 0 auto;
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  overflow: hidden;
}

/* Shapes flottantes */
.float-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 16px;
  opacity: .12;
}

.sh1 {
  width: 120px;
  height: 120px;
  background: var(--v1);
  top: 15%;
  left: 8%;
  transform: rotate(20deg);
  animation: floatA 6s ease-in-out infinite;
}

.sh2 {
  width: 70px;
  height: 70px;
  background: var(--gold);
  top: 20%;
  right: 12%;
  border-radius: 50%;
  animation: floatB 5s ease-in-out infinite;
}

.sh3 {
  width: 90px;
  height: 90px;
  background: var(--v2);
  bottom: 25%;
  left: 5%;
  transform: rotate(-30deg);
  animation: floatA 7s ease-in-out infinite 1s;
}

.sh4 {
  width: 50px;
  height: 50px;
  background: var(--gold);
  bottom: 30%;
  right: 8%;
  border-radius: 50%;
  animation: floatB 4s ease-in-out infinite .5s;
}

/* Badge eyebrow */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--v-light);
  border: 1px solid rgba(102, 35, 211, .25);
  color: var(--v1);
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  letter-spacing: .04em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulseGold 2s ease-in-out infinite;
}

/* H1 */
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  max-width: 820px;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.hero h1 .h-violet {
  color: var(--v1);
}

.hero h1 .h-gold {
  background: linear-gradient(135deg, var(--gold), #FF9500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 3rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Stats strip */
.stats-strip {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 700px;
  margin-top: 4rem;
  background: #fff;
  border: 1px solid var(--v-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(102, 35, 211, .08);
}

.stat-item {
  flex: 1;
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--v-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--v1);
}

.stat-label {
  color: var(--muted);
  font-size: .78rem;
  margin-top: 2px;
}

/* ════════════════════════════════
   COMMENT ÇA MARCHE
════════════════════════════════ */
.steps-outer {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--v3) 0%, var(--v1) 55%, var(--v2) 100%);
  padding: 5rem 3rem;
}

.steps-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.steps-outer .s-tag {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.steps-outer .s-tag::before {
  background: var(--gold);
}

.steps-outer .s-title {
  color: #fff;
}

.steps-outer .s-sub {
  color: rgba(255, 255, 255, .65);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.step {
  text-align: center;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 2px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto 1.2rem;
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #fff;
  margin-bottom: .5rem;
  font-size: 1.05rem;
}

.step-desc {
  color: rgba(255, 255, 255, .62);
  font-size: .88rem;
  line-height: 1.65;
  max-width: 200px;
  margin: 0 auto;
}

/* ════════════════════════════════
   FONCTIONNALITÉS
════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.feat-row-last {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ════════════════════════════════
   PRICING
════════════════════════════════ */
.pricing-outer {
  position: relative;
  z-index: 1;
  background: var(--v-pale);
  padding: 5rem 3rem;
}

.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Toggle */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.toggle-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
}

.toggle-label.on {
  color: var(--ink);
  font-weight: 600;
}

.toggle-pill {
  width: 52px;
  height: 28px;
  background: #ddd;
  border-radius: var(--r-pill);
  position: relative;
  cursor: pointer;
  border: none;
  transition: background .25s;
}

.toggle-pill.active {
  background: var(--v1);
}

.toggle-circle {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: transform .3s;
}

.toggle-pill.active .toggle-circle {
  transform: translateX(24px);
}

.save-pill {
  background: linear-gradient(135deg, var(--gold), #FF9500);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ════════════════════════════════
   TRANSPORTEURS
════════════════════════════════ */
.carriers-section {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  overflow: hidden;
  background-color: #fff;
}

.carriers-section-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 3rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ════════════════════════════════
   FAQ
════════════════════════════════ */
.faq-inner {
  max-width: 780px;
  margin: 3.5rem auto 0;
}

/* ════════════════════════════════
   CTA FINAL
════════════════════════════════ */
.cta-outer {
  position: relative;
  z-index: 1;
  margin: 0 3rem 5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--v3) 0%, var(--v1) 50%, var(--v2) 100%);
  padding: 5rem 3rem;
  text-align: center;
  overflow: hidden;
}

.cta-shape1 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  top: -100px;
  right: -80px;
}

.cta-shape2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(254, 197, 2, .12);
  bottom: -60px;
  left: -50px;
}

.cta-outer h2 {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 1rem;
}

.cta-outer p {
  position: relative;
  color: rgba(255, 255, 255, .7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-note {
  position: relative;
  color: rgba(255, 255, 255, .42);
  font-size: .78rem;
  margin-top: 1rem;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: #6623d3;
  padding: 2rem 3rem 2rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: .8rem;
}

.footer-brand-name span {
  color: var(--gold);
}

.footer-brand p {
  color: rgba(255, 255, 255, .42);
  font-size: .86rem;
  line-height: 1.7;
  max-width: 270px;
}

.footer-socials {
  display: flex;
  gap: .6rem;
  margin-top: 1.5rem;
}

.footer-social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .4);
  font-size: .8rem;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.footer-social:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col a {
  color: rgba(255, 255, 255, .42);
  font-size: .88rem;
  transition: color .2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
    color: rgb(255 255 255);
    font-size: .82rem;
}

.footer-bottom p a {
  color: var(--gold);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, .25);
  font-size: .82rem;
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, .6);
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width:1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width:768px) {
  .section {
    padding: 4rem 1.5rem;
  }

  .steps-outer {
    padding: 4rem 1.5rem;
  }

  .pricing-outer {
    padding: 4rem 1.5rem;
  }

  .cta-outer {
    margin: 0 1.5rem 4rem;
    padding: 3.5rem 1.5rem;
  }

  /* Nav */
  .nav {
    padding: .0rem 1.25rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 9rem 1.25rem 3rem;
  }

  .stats-strip {
    flex-direction: column;
    border-radius: var(--r-lg);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--v-border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Features */
  .feat-row-last {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width:480px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn-v,
  .hero-btns .btn-o {
    width: 100%;
    justify-content: center;
  }
}