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

* {
  box-sizing: border-box;
}

:root {
  --o: #f45a05;
  --od: #e94d00;
  --ink: #171614;
  --cream: #fffaf5;
  --muted: #706962;
}

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

body {
  margin: 0;
  background: var(--o);
  font: 16px/1.6 "DM Sans", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ==========================================
   Hero Section
   ========================================== */
.heros {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  background: var(--cream);
  min-height: 650px;
  padding: 68px max(7vw, 28px) 55px;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 50px;
  align-items: center;
}

.copy {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

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

.eyebrow span {
  height: 2px;
  width: 25px;
  background: var(--o);
}

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

h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.07;
  letter-spacing: -2.4px;
  margin: 22px 0;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  color: var(--o);
}

.copy > p,
.lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 530px;
}

.copy > p {
  font-size: 18px;
  color: #605953;
  margin-bottom: 27px;
}

.actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

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

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

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

.dark:hover {
  background: #38332e;
}

.light {
  border: 1px solid #d8cec5;
}

.note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: #5c554f;
  font-size: 14px;
}

.note > i {
  font-size: 21px;
  color: var(--o);
}

.note strong {
  color: var(--ink);
}

/* ==========================================
   Foto e Card Hero
   ========================================== */
.photo {
  position: relative;
  z-index: 2;
  min-height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #00000005 20%, #00000090 100%), url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1500&q=90") center/cover;
  box-shadow: 0 25px 65px #a93d1640;
}

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

.photo-top {
  top: 22px;
  flex-wrap: wrap;
}

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

.photo-top b {
  background: #ffffffed;
  color: #211d1a;
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.photo-top b i {
  color: var(--o);
}

.photo-bottom {
  bottom: 23px;
}

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

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

.photo-bottom strong {
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -.6px;
}

.arrow {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  background: var(--o);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cloud {
  position: absolute;
  z-index: 1;
  left: 15%;
  right: 3%;
  bottom: -95px;
  height: 165px;
  background: #fff;
  border-radius: 50%;
  filter: blur(35px);
  opacity: .96;
}

/* ==========================================
   Benefícios
   ========================================== */
.benefits {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 0 max(7vw, 28px) 65px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

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

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

.benefits p {
  margin: 0;
}

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

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

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

/* ==========================================
   Download e Passos
   ========================================== */
.download,
.steps {
  padding: 90px max(7vw, 28px);
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 60px;
  align-items: center;
  background: #fff;
}

.download h2,
.steps h2,
.driver h2 {
  font-size: clamp(37px, 4.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin: 19px 0;
}

.download-panel {
  padding: 28px;
  border-radius: 16px;
  background: #fff8f2;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.app-icon {
  height: 68px;
  width: 68px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--o);
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.app-row h3 {
  font-size: 21px;
  margin: 0 0 3px;
}

.app-row p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.download-btn {
  width: 100%;
  min-height: 54px;
}

.progress {
  display: none;
  height: 6px;
  background: #eaded4;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.progress.active {
  display: block;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--o);
  transition: width .2s;
}

.status {
  font-size: 13px;
  color: var(--muted);
  min-height: 20px;
  margin: 11px 0 0;
}

.security {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #766d65;
  align-items: flex-start;
}

.security i {
  color: var(--o);
  font-size: 18px;
  flex-shrink: 0;
}

.steps {
  background: #f8f4ef;
  align-items: start;
}

.step-list article {
  display: flex;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid #e6ddd5;
}

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

.step-list b {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffeadc;
  color: var(--o);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}

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

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

/* ==========================================
   Secção Motorista
   ========================================== */
.driver {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

.driver-photo {
  min-height: 400px;
  background: url("https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1200&q=85") center/cover;
}

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

.driver-copy .lead {
  margin-bottom: 24px;
}



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

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

.mobile-menu {
  display: none;
}

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

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

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

/* ==========================================
   Media Queries (Responsividade)
   ========================================== */
@media(max-width: 1000px) {
  .desktop-nav {
    gap: 14px;
  }
  .desktop-nav a {
    font-size: 14px;
  }
  .heros {
    gap: 28px;
  }
  .photo {
    min-height: 400px;
  }
  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .foot-col:last-child {
    grid-column: 2/4;
  }
}

@media(max-width: 760px) {
  .topbar {
    height: 72px;
    padding: 0 18px;
  }
  .brand {
    width: 53px;
    height: 48px;
  }
  .desktop-nav {
    display: none;
  }
  .auth {
    margin-left: auto;
    margin-right: 7px;
    gap: 1px;
  }
  .auth > a {
    padding: 9px 10px;
    font-size: 14px;
  }
  .menu-toggle {
    display: block;
  }
  .driver-strip {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
  }
  .heros {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 42px 21px 0;
    min-height: 0;
  }
  .copy > p {
    font-size: 16px;
  }
  .eyebrow {
    font-size: 11px;
  }
  h1 {
    font-size: clamp(39px, 10vw, 55px);
    letter-spacing: -1.6px;
  }
  .actions {
    gap: 10px;
  }
  .btn {
    padding: 14px 16px;
    font-size: 14px;
  }
  .photo {
    min-height: 320px;
    margin-bottom: 30px;
  }
  .photo-top,
  .photo-bottom {
    left: 15px;
    right: 15px;
  }
  .photo-top {
    top: 15px;
  }
  .photo-bottom {
    bottom: 15px;
  }
  .photo-bottom strong {
    font-size: 22px;
  }
  .cloud {
    left: 0;
    right: 0;
    bottom: -120px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 23px 30px;
  }
  .benefits > div {
    padding: 13px 0;
    border-bottom: 1px solid #eee4dc;
  }
  .benefits > div:last-child {
    border: 0;
  }
  .download,
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 62px 22px;
  }
  .download h2,
  .steps h2,
  .driver h2 {
    font-size: clamp(36px, 9vw, 47px);
  }
  .download-panel {
    padding: 21px;
  }
  .driver {
    grid-template-columns: 1fr;
  }
  .driver-photo {
    min-height: 0;
    height: 255px;
  }
  .driver-copy {
    padding: 50px 23px 57px;
  }
  .backtop {
    margin-left: auto;
  }
}

@media(max-width: 380px) {
  .auth > a {
    padding: 8px;
    font-size: 13px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}

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

/* Breadcrumb — Caminho de navegação */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px max(7vw, 28px);
  background: var(--cream, #fffaf5);
  color: #706962;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 2px solid #E5E5E5;
}

.breadcrumb a {
  color: #706962;
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: #f45a05;
}

.breadcrumb i {
  font-size: 11px;
  color: #aaa19a;
}

.breadcrumb [aria-current="page"] {
  color: #171614;
  font-weight: 700;
}

@media (max-width: 760px) {
  .breadcrumb {
    gap: 8px;
    padding: 14px 21px;
    font-size: 13px;
  }
}