/* =========================================================
   OLA BRASIL - LANDING PAGE
   Site estático pronto para publicação
   ========================================================= */

/* ---------- Reset / Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #123a25;
  background: #ffffff;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}


/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  background: #ffffff;
  border-bottom: 1px solid #edf0ee;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #124b2c;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  font-size: 26px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: #111111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #147432;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 10px;
  background: #147432;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.wa-symbol {
  font-size: 18px;
}


/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 64px;
  background:
    radial-gradient(circle at 72% 34%, #1b6838 0%, #0f532f 28%, #063722 72%);
  color: #ffffff;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.52fr 0.72fr;
  align-items: center;
  gap: 34px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: #f1e70e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.1px;
}

.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(48px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.hero-copy h1 span {
  color: #f1e70e;
}

.hero-copy > p {
  max-width: 660px;
  margin: 23px 0 0;
  color: #e1ebe5;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.btn-yellow {
  background: #f1e70e;
  color: #17391f;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.06);
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand img {
  width: 400px !important;
  max-width: none !important;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.20));
}

.hero-brand strong {
  margin-top: 5px;
  font-size: 16px;
}


/* ---------- Mockup do celular ---------- */

.phone-wrap {
  position: relative;
  min-height: 455px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-halo {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: #e8ef10;
  opacity: 0.95;
}

.phone {
  position: relative;
  z-index: 2;
  width: 238px;
  height: 445px;
  padding: 10px;
  border: 9px solid #123d29;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 86px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #123d29;
}

.phone-screen {
  height: 100%;
  padding: 30px 20px 18px;
  border-radius: 28px;
  background: #ffffff;
  color: #103a26;
}

.phone-logo {
  display: block;
  width: 126px;
  margin: 0 auto 24px;
}

.phone-screen h2 {
  margin: 0 0 17px;
  font-size: 21px;
  line-height: 1.2;
}

.route-box {
  height: 150px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f3f5f3;
}

.route-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dce800;
}

.route-line {
  height: 48px;
  margin-left: 4px;
  border-left: 2px dashed #aeb9b2;
}

.app-info {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #164c2d;
  color: #ffffff;
}

.app-info strong,
.app-info span {
  display: block;
}

.app-info strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.app-info span {
  color: #e1e9e4;
  font-size: 13px;
  line-height: 1.45;
}

.hero-decoration {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(226, 235, 22, 0.15);
  border-radius: 50%;
}

.hero-decoration-left {
  bottom: -290px;
  left: -260px;
}

.hero-decoration-right {
  top: 110px;
  right: -320px;
}


/* ---------- Benefícios ---------- */

.benefits {
  padding: 42px 0;
  background: #ffffff;
}

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

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  flex: 0 0 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #12642d;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.benefit-item h3 {
  margin: 3px 0 7px;
  font-size: 18px;
}

.benefit-item p {
  margin: 0;
  color: #58665d;
  font-size: 13px;
  line-height: 1.45;
}


/* ---------- Cabeçalho de seções ---------- */

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.eyebrow-dark {
  color: #617800;
}

.section-heading h2 {
  margin: 4px 0 12px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
}

.section-heading p {
  margin: 0;
  color: #657268;
  font-size: 17px;
}


/* ---------- Como funciona ---------- */

.how-it-works {
  padding: 72px 0;
  background: #f5f7f5;
}

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

.step-card {
  padding: 30px;
  border: 1px solid #e1e7e2;
  border-radius: 18px;
  background: #ffffff;
}

.step-number {
  margin-bottom: 15px;
  color: #ccd609;
  font-size: 34px;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.step-card p {
  margin: 0;
  color: #657168;
  line-height: 1.5;
}


/* ---------- Aplicativos ---------- */

.apps {
  padding: 72px 0;
  background: #ffffff;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.app-card {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 230px;
  padding: 30px;
  border-radius: 20px;
}

.app-card-passenger {
  background: linear-gradient(135deg, #eef7e9, #fafcf8);
}

.app-card-driver {
  background: linear-gradient(135deg, #fff2c3, #fffaf0);
}

.app-card-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #125b2a;
  color: #ffffff;
  font-size: 42px;
}

.driver-icon {
  background: #f0cf18;
  color: #145327;
}

.app-label {
  display: inline-block;
  margin-bottom: 5px;
  color: #637169;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.app-card-copy h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.app-card-copy p {
  margin: 0;
  color: #4d5a52;
  line-height: 1.5;
}

.store-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 174px;
  padding: 9px 13px;
  border-radius: 9px;
  background: #080808;
  color: #ffffff;
  text-decoration: none;
}

.store-mark {
  font-size: 21px;
}

.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  font-size: 8px;
  letter-spacing: 0.8px;
}

.store-button strong {
  margin-top: 2px;
  font-size: 17px;
}


/* ---------- Contato ---------- */

.contact {
  padding: 52px 0;
  background: #124d2b;
  color: #ffffff;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact h2 {
  margin: 5px 0 9px;
  font-size: 38px;
}

.contact p {
  margin: 0;
  color: #d9e5dc;
}


/* ---------- Rodapé ---------- */

.site-footer {
  padding: 42px 0 18px;
  background: #07391e;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 1fr;
  gap: 60px;
}

.footer-brand {
  color: #ffffff;
}

.footer-about p {
  max-width: 340px;
  color: #cfddd3;
  line-height: 1.55;
}

.footer-column h4 {
  margin: 5px 0 13px;
}

.footer-column a {
  display: block;
  margin: 8px 0;
  color: #e3ece6;
  text-decoration: none;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
}


/* ---------- Responsividade ---------- */

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.7fr;
  }

  .hero-copy {
    grid-column: 1;
  }

  .hero-brand {
    display: none;
  }

  .phone-wrap {
    grid-column: 2;
    grid-row: 1;
  }

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

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

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

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 70px;
  }

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

  .brand strong {
    font-size: 20px;
  }

  .header-whatsapp {
    padding: 11px 13px;
  }

  .header-whatsapp span:last-child {
    display: none;
  }

  .hero {
    padding: 48px 0 55px;
  }

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

  .hero-copy {
    grid-column: 1;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .phone-wrap {
    grid-column: 1;
    grid-row: auto;
    min-height: 420px;
    margin-top: 15px;
  }

  .phone {
    width: 220px;
    height: 410px;
  }

  .phone-screen {
    padding-top: 29px;
  }

  .phone-logo {
    width: 118px;
  }

  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-template-columns: 70px 1fr;
  }

  .app-card-icon {
    width: 70px;
    height: 70px;
  }

  .store-links {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-inner {
    display: block;
  }

  .contact .btn {
    margin-top: 24px;
  }

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

  .footer-about {
    grid-column: auto;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .divider {
    display: none;
  }
}
