/* =========================================================
   TREVO LOGÍSTICA INTEGRADA — style.css
   Design moderno, responsivo, com tema claro/escuro
   ========================================================= */

/* ---------- Fontes ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
html { scroll-behavior: smooth; }

/* =========================================================
   VARIÁVEIS DE TEMA
   ========================================================= */
:root {
  /* Paleta extraída da marca Trevo */
  --brand-green-dark:  #2f5a03;
  --brand-green:       #3f7a09;
  --brand-green-light: #81b02e;
  --brand-charcoal:    #2f2f2f;
  --brand-black:       #101010;

  --accent:        var(--brand-green);
  --accent-light:  var(--brand-green-light);
  --accent-dark:   var(--brand-green-dark);

  /* Tema claro (padrão) */
  --bg:            #ffffff;
  --bg-alt:        #f4f6f1;
  --bg-elevated:   #ffffff;
  --text:          #1a1c17;
  --text-muted:    #565b50;
  --border:        #e3e6dd;
  --header-bg:     rgba(255, 255, 255, 0.92);
  --footer-bg:     #14170f;
  --footer-text:   #d8ddd0;
  --footer-border: rgba(255,255,255,0.08);
  --card-shadow:   0 10px 30px -12px rgba(20, 30, 10, 0.15);
  --hero-overlay:  linear-gradient(120deg, rgba(16,16,16,0.94) 0%, rgba(24,36,10,0.90) 55%, rgba(63,122,9,0.55) 100%);
  --input-bg:      #ffffff;
  --logo-src:      url('../img/logo-trevo.png');

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.25s ease;
}

[data-theme="dark"] {
  --bg:            #101210;
  --bg-alt:        #171a14;
  --bg-elevated:   #1c1f18;
  --text:          #f1f3ec;
  --text-muted:    #aab0a0;
  --border:        #2a2e24;
  --header-bg:     rgba(16, 18, 16, 0.85);
  --footer-bg:     #0b0d09;
  --footer-text:   #c7cdbd;
  --footer-border: rgba(255,255,255,0.07);
  --card-shadow:   0 10px 30px -10px rgba(0, 0, 0, 0.55);
  --hero-overlay:  linear-gradient(120deg, rgba(8,9,7,0.96) 0%, rgba(14,22,6,0.92) 55%, rgba(63,122,9,0.55) 100%);
  --input-bg:      #20241b;
  --accent:        var(--brand-green-light);
  --accent-dark:   var(--brand-green);
  --logo-src:      url('../img/logo-trevo-light.png');
}

/* O site sempre inicia no tema claro por padrão (não segue mais a
   preferência do sistema operacional do visitante) — o tema escuro só é
   aplicado quando o próprio visitante escolhe pelo botão no cabeçalho,
   ou quando já existe uma escolha salva anteriormente (localStorage). */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* Seção de CTA: espaçamento simétrico (topo = base) para a caixa verde
   ficar centralizada. Um pouco mais enxuto que o padrão porque já vem
   logo após uma seção que também tem padding inferior. */
.cta-section {
  padding: 56px 0;
}
@media (max-width: 768px) {
  .cta-section { padding: 40px 0; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 48px;
}
.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-green-light), var(--brand-green));
  color: #ffffff;
  box-shadow: 0 12px 28px -10px rgba(63, 122, 9, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(63, 122, 9, 0.7);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}
.btn-dark {
  background: var(--text);
  color: var(--bg);
}
.btn-dark:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--accent);
}
.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Toggle de tema */
.theme-toggle {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 3px;
  transition: background var(--transition);
}
.theme-toggle .knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green-light), var(--brand-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: translateX(0);
  transition: transform var(--transition);
}
[data-theme="dark"] .theme-toggle .knob {
  transform: translateX(24px);
}
.theme-toggle svg { width: 13px; height: 13px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Botão hambúrguer (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(80vw, 340px);
    background: var(--bg-elevated);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    transition: right 0.35s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,0.25);
  }
  .main-nav.open { right: 0; }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .nav-links a { font-size: 20px; }
  .header-actions { gap: 10px; }
}

/* =========================================================
   HERO / BANNER
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-black) url('../img/hero-frota.jpg') center 42% / cover no-repeat;
  color: #fff;
  padding-top: 148px;
  padding-bottom: 96px;
  min-height: 620px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}
/* Sobre a foto real da carreta, um véu um pouco mais escuro que o padrão
   (usado também no page-hero, sem foto) garante contraste de leitura
   para o texto claro em qualquer trecho da imagem. */
.hero .hero-bg {
  background: linear-gradient(100deg, rgba(6,7,5,0.92) 0%, rgba(8,12,5,0.82) 40%, rgba(10,16,5,0.62) 68%, rgba(16,26,6,0.42) 100%);
}
/* brilho suave, discreto, para dar profundidade sem poluir */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 420px at 82% 30%, rgba(129,176,46,0.16), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.hero-content .hero-cta,
.hero-content .hero-stats {
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-green-light);
  box-shadow: 0 0 0 4px rgba(129,176,46,0.25);
}
.hero-content h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #fff;
}
.hero-content h1 span {
  background: linear-gradient(135deg, var(--brand-green-light), #b4d97a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 38px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}
.hero-stats div span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 128px;
    padding-bottom: 64px;
    min-height: 0;
    background-position: 66% 42%;
  }
  .hero .hero-bg {
    background: linear-gradient(180deg, rgba(6,7,5,0.8) 0%, rgba(8,10,5,0.76) 55%, rgba(10,14,5,0.66) 100%);
  }
}
@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* =========================================================
   PAGE HEADER (páginas internas)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  background: var(--brand-black);
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-bg { z-index: 1; }
.page-hero .container { position: relative; z-index: 3; }
.page-hero .breadcrumb {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-green-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero .breadcrumb span { opacity: 0.5; color: #fff; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  font-weight: 800;
  max-width: 700px;
}
.page-hero p {
  margin-top: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
}

/* =========================================================
   CARDS / GRIDS GENÉRICOS
   ========================================================= */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-green-light), var(--brand-green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* =========================================================
   SOBRE / QUEM SOMOS
   ========================================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand-charcoal), var(--brand-black));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-shadow: var(--card-shadow);
}
.about-media svg { width: 100%; height: auto; }
/* Variante com foto real (em vez da ilustração SVG) */
.about-media.photo { padding: 0; }
.about-media.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-media .badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(16,16,16,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-media .badge-float strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  color: var(--brand-green-light);
}
.about-media .badge-float span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.timeline {
  position: relative;
  margin-top: 20px;
  padding-left: 30px;
  border-left: 2px solid var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item .year {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}
.timeline-item h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.timeline-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.values-grid { margin-top: 20px; }

.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h4 { font-size: 16px; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   FAIXA DE ESTATÍSTICAS
   ========================================================= */
.stats-strip {
  background: linear-gradient(120deg, var(--brand-black), var(--brand-charcoal) 60%, var(--brand-green-dark));
  color: #fff;
  padding: 56px 0;
}
.stats-strip .grid { text-align: center; }
.stats-strip strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-green-light);
}
.stats-strip span {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* =========================================================
   SERVIÇOS
   ========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
@media (max-width: 900px) {
  .service-detail, .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}
.service-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
}
.service-visual svg { width: 100%; height: 100%; color: var(--accent); }
/* Variante com foto real (em vez do ícone) */
.service-visual.photo { padding: 0; }
.service-visual.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   NOSSA ESTRUTURA (galeria de fotos reais + números)
   ========================================================= */
.structure-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.structure-gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  aspect-ratio: 4/3;
}
.structure-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.structure-gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(6,9,4,0.85) 0%, rgba(6,9,4,0) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .structure-gallery { grid-template-columns: 1fr; }
}

.structure-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.structure-stats div { text-align: center; }
.structure-stats strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 27px;
  font-weight: 800;
  color: var(--accent);
}
.structure-stats span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .structure-stats { grid-template-columns: repeat(2, 1fr); }
}
.service-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-muted);
}
.service-list svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.service-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}
.step .step-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--border);
  margin-bottom: 14px;
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   FROTA (aproveitamento de veículos)
   ========================================================= */
.fleet-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}
.fleet-strip::-webkit-scrollbar { height: 6px; }
.fleet-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.fleet-card {
  scroll-snap-align: start;
  min-width: 260px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  flex-shrink: 0;
}
.fleet-card svg { width: 100%; height: 90px; color: var(--accent); margin-bottom: 16px; }
.fleet-card h4 { font-size: 15px; margin-bottom: 6px; }
.fleet-card p { font-size: 13px; color: var(--text-muted); }

/* =========================================================
   CTA
   ========================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--brand-green-dark), var(--brand-green) 55%, var(--brand-green-light));
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); max-width: 480px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 10px; max-width: 480px; }
@media (max-width: 768px) {
  .cta-band { padding: 40px 28px; flex-direction: column; text-align: center; }
  .cta-band p { margin-left: auto; margin-right: auto; }
}

/* =========================================================
   CONTATO
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
.contact-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-info-item a:hover { color: var(--accent); }

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-row a svg { width: 17px; height: 17px; }
.social-row a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* O rodapé é sempre escuro, independente do tema ativo — por isso os
   ícones sociais dentro dele precisam de cores fixas (claras) em vez
   de var(--text)/var(--border), que acompanham o tema e ficariam
   escuros (invisíveis) sobre o fundo escuro do rodapé no tema claro. */
.site-footer .social-row a {
  color: var(--footer-text);
  border-color: var(--footer-border);
}
.site-footer .social-row a:hover {
  background: var(--brand-green-light);
  border-color: var(--brand-green-light);
  color: #0b0d09;
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--card-shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 14.5px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(63, 122, 9, 0.15);
}
.form-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(129,176,46,0.15); color: var(--accent-dark); border: 1px solid rgba(129,176,46,0.35); }
[data-theme="dark"] .form-status.success { color: var(--brand-green-light); }
.form-status.error { background: rgba(220,50,50,0.12); color: #c23; border: 1px solid rgba(220,50,50,0.3); }

/* Mapa / localização */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  height: 440px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15); }
[data-theme="dark"] .map-frame iframe { filter: grayscale(0.4) invert(0.92) contrast(0.9); }

.location-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}
.location-details .info {
  flex: 1;
  min-width: 220px;
}
.location-details h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
}
.location-details p { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }

/* =========================================================
   FAQ (accordion simples)
   ========================================================= */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
}
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}
.accordion-header svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--accent);
}
.accordion-item.open .accordion-header svg { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding var(--transition);
  padding: 0 24px;
}
.accordion-item.open .accordion-body {
  max-height: 300px;
  padding: 0 24px 22px;
}
.accordion-body p { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--footer-border);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--footer-text);
  opacity: 0.75;
  max-width: 300px;
}
.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green-light);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14.5px;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}
.footer-col a:hover { opacity: 1; color: var(--brand-green-light); }
.footer-col .contact-line {
  display: flex;
  gap: 10px;
  font-size: 14px;
  opacity: 0.82;
  align-items: flex-start;
  line-height: 1.6;
}
.footer-col .contact-line svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--brand-green-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 0;
  font-size: 13px;
  opacity: 0.65;
}

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */
/* Por padrão (sem JS), o conteúdo fica sempre visível.
   A animação de entrada só é ativada quando o JavaScript
   adiciona a classe "has-js" ao <html> — progressive enhancement. */
html.has-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* Skip link (acessibilidade) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }
