:root {
  --brand: #c74f26;
  --brand-dark: #8d351c;
  --ink: #24313a;
  --muted: #667782;
  --line: #d9e0e4;
  --panel: #f2f5f6;
  --white: #ffffff;
  --whatsapp: #25d366;
  --shadow: 0 18px 45px rgba(28, 38, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover,
a:focus {
  color: var(--brand);
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: relative;
  min-height: 720px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(24, 31, 35, 0.24), rgba(24, 31, 35, 0.18) 36%, rgba(24, 31, 35, 0.68)),
    url("../img/back_caminhao.jpg") center bottom / cover no-repeat;
}

.site-header.thank-you {
  background:
    linear-gradient(90deg, rgba(24, 31, 35, 0.20), rgba(24, 31, 35, 0.70)),
    url("../img/back_familia.jpg") center bottom / cover no-repeat;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 12px max(24px, calc((100vw - 1120px) / 2));
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.topbar.is-scrolled {
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 219px;
}

.brand img {
  width: 100%;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.menu a {
  color: var(--white);
}

.menu a:hover,
.menu a:focus {
  color: #ffe1d4;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 150px max(24px, calc((100vw - 1120px) / 2)) 90px;
}

.hero-content {
  width: min(900px, 100%);
  text-align: right;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6c5;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  line-height: 1.05;
  font-weight: 800;
  text-wrap: balance;
}

#hero-title {
  font-size: clamp(1.935rem, 4.5vw, 3.735rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-text {
  margin-left: auto;
  max-width: 590px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-dark);
  color: var(--white);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.74);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 182px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card-cta {
  display: block;
  color: var(--white);
  background: #c74f26;
  border-color: #c74f26;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.service-card-cta:hover,
.service-card-cta:focus {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-2px);
}

.service-card h3 {
  color: var(--brand);
}

.service-card-cta h3 {
  font-size: 1.44rem;
}

.service-card p {
  color: var(--muted);
}

.service-card-cta h3,
.service-card-cta p,
.service-card-cta span {
  color: var(--white);
}

.service-card-cta span {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.routes {
  background: var(--panel);
}

.routes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 54px;
  align-items: center;
}

.routes p {
  color: var(--muted);
}

.route-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.route-image-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.route-image-card img {
  width: 100%;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.contact-section {
  background: #edf1f2;
}

.contact-stack {
  display: grid;
  gap: 34px;
}

.contact-intro {
  max-width: 820px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.send-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 0 0 4px;
  margin: 0;
  border: 0;
}

.send-options legend {
  flex: 0 0 100%;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 800;
}

.send-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.contact-form .send-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid #cfd8dd;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form .send-option:has(input:checked) {
  background: #fff4ef;
  border-color: var(--brand);
}

.send-option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  accent-color: var(--brand);
}

.send-option-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.send-option-icon img,
.send-option-icon svg {
  width: 22px;
  height: 22px;
}

.send-option-icon svg {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8dd;
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(199, 79, 38, 0.25);
  border-color: var(--brand);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: fit-content;
  cursor: pointer;
}

.honeypot {
  display: none !important;
}

.faq {
  background: var(--white);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #1fb45a;
}

.site-footer {
  position: relative;
  padding: 50px 0 34px;
  color: var(--white);
  text-align: center;
  background: #191919;
}

.site-footer p {
  margin: 4px 0;
}

.footer-address {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-weight: 700;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.footer-brand img {
  width: auto;
  max-height: 92px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
  margin: 0;
  text-align: left;
}

.footer-g2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.footer-g2 img {
  width: auto;
  height: 35px;
  max-height: 35px;
  filter: brightness(0) invert(1);
}

.site-footer a {
  color: #f5c5b3;
}

.back-to-top {
  position: absolute;
  top: -28px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
}

@media (max-width: 920px) {
  .site-header,
  .site-header.thank-you {
    min-height: 680px;
    background-position: center bottom;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    right: 20px;
    display: none;
    min-width: 220px;
    padding: 14px;
    background: var(--brand);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

  .menu.is-open,
  .menu.is-static {
    display: grid;
    gap: 12px;
  }

  .hero {
    min-height: 680px;
    justify-content: center;
    padding-top: 140px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text {
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .service-grid,
  .routes-grid,
  .contact-stack {
    grid-template-columns: 1fr;
  }

  .routes-grid,
  .contact-stack {
    gap: 34px;
  }

}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .topbar {
    min-height: 78px;
    padding: 10px 16px;
  }

  .brand {
    width: 178px;
  }

  .hero {
    padding: 120px 18px 70px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

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

  .contact-form {
    padding: 22px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 60px;
    height: 60px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .footer-bottom p {
    text-align: center;
  }
}
