/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

/* ===== VARIÁVEIS ===== */
:root {
  --laranja: #E28600;
  --laranja-escuro: #B86E00;
  --verde: #27D366;
  --verde-escuro: #1DA851;
  --branco: #FFFFFF;
  --cinza-claro: #F9F9F9;
  --cinza-medio: #666;
  --preto: #1a1a1a;
  --max-width: 1100px;
  --radius: 8px;
  --sombra: 0 4px 20px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

/* ===== UTILITÁRIOS ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--preto);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--cinza-medio);
  margin-bottom: 2.5rem;
}

section {
  padding: 5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-laranja {
  background: var(--laranja);
  color: var(--branco);
}

.btn-laranja:hover {
  background: var(--laranja-escuro);
  transform: translateY(-2px);
}

.btn-verde {
  background: var(--verde);
  color: var(--branco);
}

.btn-verde:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--laranja);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  gap: 1rem;
}

.header__logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  gap: 1.5rem;
}

.header__nav a {
  font-weight: 600;
  color: var(--branco);
  transition: var(--transition);
  font-size: 0.95rem;
}

.header__nav a:hover {
  color: var(--preto);
}

.header__cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
  background: var(--branco) !important;
  color: var(--laranja-escuro) !important;
}

.header__cta:hover {
  background: var(--preto) !important;
  color: var(--branco) !important;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--branco);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: 110px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--branco);
  max-width: 650px;
}

.hero__badge {
  display: inline-block;
  background: var(--laranja);
  color: var(--branco);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--laranja);
}

.hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  color: var(--branco);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--branco);
  transform: translateY(-2px);
}

/* ===== SOBRE ===== */
.sobre {
  background: var(--branco);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre__img img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}

.sobre__texto p {
  color: var(--cinza-medio);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.sobre__diferenciais {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.diferencial {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.diferencial__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.diferencial strong {
  display: block;
  color: var(--preto);
  font-size: 1rem;
}

.diferencial p {
  font-size: 0.9rem;
  color: var(--cinza-medio);
  margin: 0;
}

/* ===== SERVIÇOS ===== */
.servicos {
  background: var(--laranja);
}

.servicos__header {
  text-align: center;
  margin-bottom: 3rem;
}

.servicos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.servicos__card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--sombra);
}

.servicos__card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--cinza-claro);
  color: var(--preto);
}

.servicos__card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cinza-claro);
  color: var(--cinza-medio);
  font-size: 0.95rem;
}

.servicos__card ul li:last-child {
  border-bottom: none;
}

.servicos__card--sim {
  border-top: 4px solid var(--laranja);
}

.servicos__card--nao {
  border-top: 4px solid #e74c3c;
}

/* ===== GALERIA ===== */
.galeria {
  background: var(--cinza-claro);
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.galeria__item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeria__item:hover img {
  transform: scale(1.05);
}

/* ===== FROTA ===== */
.frota {
  background: var(--branco);
}

.frota__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.frota__texto p {
  color: var(--cinza-medio);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.frota__texto .section-title {
  margin-bottom: 1.5rem;
}

.frota__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--laranja);
  color: rgba(255,255,255,0.95);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer__col p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

.footer__col a {
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
}

.footer__col a:hover {
  color: var(--preto);
}

.footer__col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--preto);
  color: var(--branco);
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#lightbox.active {
  display: flex;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  transition: opacity 0.15s ease;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: background var(--transition);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.1rem;
}

.lightbox__prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
}

.lightbox__next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--laranja);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    gap: 1rem;
  }

  .header__nav.open {
    display: flex;
  }

  .header__hamburger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .hero__title { font-size: 2.5rem; }
  .hero { min-height: 90vh; }

  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sobre__img img {
    height: 280px;
  }

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

  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .frota__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .frota__img { order: -1; }

  .frota__img img {
    height: 260px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }

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