/* ==========================================
   VilaTáxi - Style.css (Vertical e Otimizado)
   ========================================== */

* {
  box-sizing: border-box;
}

:root {
  --orange: #f45a05;
  --orange-deep: #e94d00;
  --ink: #171614;
  --paper: #fffaf5;
  --muted: #716b65;
  --max: 1240px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background: var(--orange);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: 130px; /* Compensa a altura total do cabeçalho fixo */
}

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

button {
  font: inherit;
}

/* ==========================================
   Alinhamento Perfeito de Ícones
   ========================================== */
i.fi, 
[class^="fi-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
}

/* ==========================================
   Cabeçalho Fixo (Wrapper)
   ========================================== */
.fixed-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--orange);
}

.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  background: var(--orange);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  width: 62px;
  height: 54px;
  overflow: hidden;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  font-size: 15px;
  font-weight: 600;
  opacity: .9;
  transition: opacity .2s;
}

.desktop-nav a:hover {
  opacity: .65;
}

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

.signin,
.login {
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
}

.signin {
  color: #fff;
}

.login {
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
  padding: 8px;
  cursor: pointer;
}

.driver-strip {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  background: var(--orange-deep);
}

.driver-strip a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ffffff30;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  margin: 0;
  padding: 72px max(7vw, 28px) 0;
  min-height: 675px;
  border-radius: 16px 16px 0 0;
  background: var(--paper);
  overflow: hidden;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 570px;
  padding-bottom: 92px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #514a44;
}

.eyebrow-line {
  height: 2px;
  width: 24px;
  background: var(--orange);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 5.2vw, 70px);
  line-height: 1.06;
  letter-spacing: -2.8px;
  margin: 25px 0 22px;
  font-weight: 800;
}

h1 span {
  color: var(--orange);
}

.hero-copy > p {
  max-width: 475px;
  font-size: 18px;
  line-height: 1.7;
  color: #5f5953;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: #34312d;
}

.text-link {
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 43px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars span {
  width: 34px;
  height: 34px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #f5d3bd;
  display: grid;
  place-items: center;
  margin-left: -7px;
  font-size: 14px;
  font-weight: 800;
}

.proof-avatars span:first-child {
  margin-left: 0;
  background: #222;
  color: #fff;
}

.proof-avatars span:last-child {
  background: #f9b98c;
}

.hero-proof strong,
.hero-proof small {
  display: block;
}

.hero-proof strong {
  font-size: 13px;
}

.hero-proof small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================
   Hero Photo & Cloud
   ========================================== */
.hero-photo {
  position: relative;
  z-index: 2;
  height: 470px;
  align-self: center;
  margin-bottom: 70px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #00000008 20%, #00000075 100%), url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1500&q=90") center/cover no-repeat;
  box-shadow: 0 26px 60px #a73a1240;
}

.photo-top,
.photo-bottom {
  position: absolute;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.photo-top {
  top: 24px;
  gap: 12px;
  flex-wrap: wrap;
}

.photo-top > span:first-child {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.photo-badge {
  font-size: 12px;
  background: #ffffffeb;
  color: #1c1a18;
  border-radius: 30px;
  padding: 9px 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.photo-badge i {
  color: var(--orange);
  margin-right: 5px;
}

.photo-bottom {
  bottom: 25px;
}

.photo-bottom small,
.photo-bottom strong {
  display: block;
}

.photo-bottom small {
  font-size: 13px;
  opacity: .88;
}

.photo-bottom strong {
  font-size: 28px;
  letter-spacing: -.7px;
}

.round-arrow {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  font-size: 20px;
  flex-shrink: 0;
}

.hero-cloud {
  position: absolute;
  z-index: 1;
  bottom: -120px;
  left: 20%;
  width: 70%;
  height: 180px;
  border-radius: 50%;
  background: #fff;
  filter: blur(35px);
  opacity: .95;
}

/* ==========================================
   Stats & Secções
   ========================================== */
.stats {
  position: relative;
  z-index: 4;
  background: var(--paper);
  padding: 18px max(7vw, 28px) 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.stats > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffeadc;
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stats p {
  margin: 0;
}

.stats strong,
.stats small {
  display: block;
}

.stats strong {
  font-size: 16px;
}

.stats small {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}

.section {
  padding: 100px max(7vw, 28px);
}

.services {
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2,
.how h2,
.driver-copy h2,
.download h2 {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 20px 0 0;
  font-weight: 800;
}

.section-heading > p {
  max-width: 370px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 5px;
}

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

.service-card {
  height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: #39332e;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000005 15%, #000000bd 100%);
}

.service-content {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 25px;
}

.service-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #ffd0b3;
}

.service-content h3 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 8px 0;
}

.service-content p {
  font-size: 15px;
  max-width: 260px;
  color: #f3eee9;
  margin-bottom: 18px;
}

.service-content > a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 18px;
}

/* ==========================================
   How It Works & Driver Section
   ========================================== */
.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
  background: #f8f4ef;
}

.how-image {
  position: relative;
  height: 540px;
  border-radius: 16px;
  overflow: hidden;
}

.how-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  background: #fff;
  border-radius: 12px;
}

.image-note > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #ffeadc;
  color: var(--orange);
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}

.image-note strong,
.image-note small {
  display: block;
}

.image-note strong {
  font-size: 15px;
}

.image-note small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.section-intro,
.driver-copy > p,
.download-copy > p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 22px 0 28px;
}

.steps {
  display: grid;
  gap: 0;
}

.step {
  display: flex;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid #e5ddd5;
}

.step:last-child {
  border: 0;
}

.step > span {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffeadc;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.step h3 {
  font-size: 17px;
  margin: 0 0 5px;
}

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

.driver-section {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.driver-image {
  min-height: 530px;
  overflow: hidden;
}

.driver-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.driver-copy {
  padding: 75px max(6vw, 30px);
  align-self: center;
}

.driver-copy h2 {
  max-width: 450px;
}

.driver-copy > p {
  max-width: 500px;
}

.driver-copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 13px;
}

.driver-copy li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
}

.driver-copy li i {
  color: var(--orange);
  font-size: 18px;
}

/* ==========================================
   Download Section & Footer
   ========================================== */
.download {
  background: var(--orange);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  min-height: 470px;
  overflow: hidden;
}

.download .eyebrow {
  color: #fff;
}

.download .eyebrow-line {
  background: #fff;
}

.download h2 {
  font-size: clamp(42px, 5vw, 62px);
}

.download-copy > p {
  color: #fff0e7;
  max-width: 490px;
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.download-note {
  display: block;
  margin-top: 17px;
  font-size: 14px;
  color: #fff2e8;
}

.download-note i {
  margin-right: 6px;
}

.download-visual {
  height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-visual > img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: 28px;
  transform: rotate(7deg);
  box-shadow: 0 25px 65px #9b310c55;
}

.floating-label {
  position: absolute;
  bottom: 25px;
  left: 7%;
  background: #fff;
  color: var(--ink);
  padding: 13px 17px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px #9b310c40;
}

.mini-v {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.floating-label strong,
.floating-label small {
  display: block;
}

.floating-label strong {
  font-size: 14px;
}

.floating-label small {
  font-size: 12px;
  color: var(--muted);
}

.footer {
  background: var(--ink);
  color: #fff;
  padding: 65px max(7vw, 28px) 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 45px;
  padding-bottom: 55px;
}

.brand-footer {
  width: 64px;
  height: 60px;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}

.footer-brand > p {
  font-size: 15px;
  line-height: 1.8;
  color: #c1bbb5;
  margin: 20px 0;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #302d2a;
  font-size: 16px;
  transition: background .2s;
}

.socials a:hover {
  background: var(--orange);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-column h4 {
  font-size: 15px;
  margin: 8px 0 7px;
}

.footer-column > a,
.footer-column > span {
  font-size: 14px;
  color: #c1bbb5;
  line-height: 1.6;
}

.footer-column > a:hover {
  color: #fff;
}

.footer-contact > a,
.footer-contact > span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer-contact i {
  color: #ff8b4a;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid #393632;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #aaa39c;
  font-size: 13px;
}

.footer-bottom > div {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.footer-bottom a:hover {
  color: #fff;
}

.back-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #302d2a;
  display: grid;
  place-items: center;
  color: #fff !important;
}

.mobile-menu {
  display: none;
}

.menu-open .mobile-menu {
  display: flex;
  position: fixed;
  z-index: 99;
  top: 130px;
  left: 0;
  right: 0;
  background: var(--orange);
  padding: 18px 26px 26px;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 15px 25px #9b310c25;
}

.mobile-menu a {
  padding: 13px 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid #ffffff35;
}

.mobile-menu a:last-child {
  border: 0;
}

.menu-open .menu-toggle {
  transform: rotate(90deg);
}

/* ==========================================
   Animação Reveal
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Media Queries
   ========================================== */
@media(min-width: 1500px) {
  .hero {
    padding-left: max(calc((100vw - 1240px) / 2), 7vw);
    padding-right: max(calc((100vw - 1240px) / 2), 7vw);
  }
}

@media(max-width: 1000px) {
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav a {
    font-size: 14px;
  }
  .hero {
    gap: 25px;
    padding-top: 55px;
  }
  .hero-photo {
    height: 410px;
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .stats {
    gap: 12px;
  }
  .service-card {
    height: 380px;
  }
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
  }
  .footer-contact {
    grid-column: 2/4;
  }
  .how {
    gap: 5%;
  }
  .how-image {
    height: 490px;
  }
}

@media(max-width: 760px) {
  body {
    padding-top: 120px; /* Ajuste para o mobile (72px topbar + 48px driver-strip) */
  }
  .topbar {
    height: 72px;
    padding: 0 20px;
  }
  .brand {
    width: 54px;
    height: 48px;
  }
  .desktop-nav {
    display: none;
  }
  .auth-actions {
    margin-left: auto;
    margin-right: 9px;
    gap: 2px;
  }
  .signin,
  .login {
    font-size: 14px;
    padding: 9px 12px;
  }
  .login i {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .driver-strip {
    height: auto;
    min-height: 48px;
    flex-wrap: wrap;
    padding: 10px 15px;
    gap: 7px;
    font-size: 13px;
  }
  .driver-strip a {
    margin-left: 3px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 48px 22px 0;
    gap: 22px;
    min-height: 0;
    border-radius: 16px 16px 0 0;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: clamp(39px, 10vw, 57px);
    letter-spacing: -1.8px;
    margin: 20px 0 18px;
  }
  .hero-copy > p {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero-actions {
    gap: 16px;
  }
  .button {
    padding: 14px 17px;
    font-size: 14px;
  }
  .text-link {
    font-size: 14px;
  }
  .hero-proof {
    margin-top: 28px;
  }
  .hero-photo {
    width: 100%;
    height: 340px;
    margin: 5px 0 35px;
    border-radius: 14px;
  }
  .photo-top,
  .photo-bottom {
    left: 16px;
    right: 16px;
  }
  .photo-top {
    top: 16px;
  }
  .photo-bottom {
    bottom: 17px;
  }
  .photo-bottom strong {
    font-size: 24px;
  }
  .round-arrow {
    width: 42px;
    height: 42px;
  }
  .hero-cloud {
    bottom: -135px;
    left: 0;
    width: 100%;
    height: 170px;
    filter: blur(28px);
  }
  .stats {
    grid-template-columns: 1fr;
    padding: 5px 25px 35px;
    gap: 0;
  }
  .stats > div {
    padding: 14px 0;
    border-bottom: 1px solid #eee4dc;
  }
  .stats > div:last-child {
    border: 0;
  }
  .stat-icon {
    width: 44px;
    height: 44px;
  }
  .section {
    padding: 67px 22px;
  }
  .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  .section-heading h2,
  .how h2,
  .driver-copy h2,
  .download h2 {
    font-size: clamp(36px, 9vw, 48px);
    letter-spacing: -1.5px;
  }
  .section-heading > p {
    font-size: 16px;
    margin-top: 18px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    height: 390px;
  }
  .service-content {
    left: 21px;
    right: 21px;
    bottom: 21px;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .how-image {
    height: 390px;
  }
  .how-copy {
    padding: 0 1px;
  }
  .section-intro,
  .driver-copy > p,
  .download-copy > p {
    font-size: 16px;
  }
  .step {
    padding: 16px 0;
  }
  .driver-section {
    grid-template-columns: 1fr;
  }
  .driver-image {
    min-height: 0;
    height: 300px;
  }
  .driver-copy {
    padding: 56px 23px 62px;
  }
  .download {
    grid-template-columns: 1fr;
    padding-bottom: 35px;
    gap: 8px;
  }
  .download-visual {
    height: 280px;
  }
  .download-visual > img {
    width: 170px;
    height: 225px;
  }
  .floating-label {
    bottom: 15px;
    left: 3%;
  }
  .footer {
    padding: 48px 23px 18px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding-bottom: 35px;
  }
  .footer-brand {
    grid-column: 1/3;
  }
  .footer-contact {
    grid-column: 1/3;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
  }
  .footer-bottom > span {
    width: calc(100% - 55px);
    order: 1;
  }
  .footer-bottom > div {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 18px;
    flex-wrap: wrap;
  }
  .back-top {
    order: 2;
    margin-left: auto;
  }
  .menu-open .mobile-menu {
    top: 120px; /* Ajuste no mobile */
  }
}

@media(max-width: 380px) {
  .signin,
  .login {
    padding: 8px 9px;
    font-size: 13px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-photo {
    height: 300px;
  }
  .photo-badge {
    font-size: 11px;
  }
  .footer-main {
    gap: 27px 15px;
  }
  .footer-column > a,
  .footer-column > span {
    font-size: 13px;
  }
}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
