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

:root {
  --green:       #7ed320;
  --green-dark:  #62a418;
  --bg:          #0a0a0a;
  --bg-surface:  #0a0a0a;
  --border:      #0a0a0a;
  --text:        #ffffff;
  --text-muted:  #aaaaaa;
  --nav-h:       70px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

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

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  background-color: #0a0a0a;
}

.navbar-container {
  max-width: 1320px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* --- Logo --- */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--green);
  color: #000;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  letter-spacing: -1px;
  user-select: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-sep {
  font-weight: 300;
  color: var(--green);
  font-size: 0.9rem;
}

.logo-tagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  line-height: 1;
}

/* --- Nav links --- */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}

.navbar-links a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 4px;
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--green);
  background-color: rgba(126, 211, 32, 0.07);
}

/* --- Contact block --- */
.navbar-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.contact-icon {
  font-size: 0.85rem;
  color: var(--green);
  flex-shrink: 0;
}

.navbar-contact a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.navbar-contact a:hover {
  color: var(--green);
}

.contact-sep {
  color: #444444;
  font-size: 13px;
  user-select: none;
}

/* --- Hamburger button --- */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

.navbar-hamburger span {
  display: block;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  width: 100%;
}

/* Hamburger â†’ X when open */
.navbar-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.navbar-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image: url('assets/caminhao.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding-inline: 2rem;
  max-width: 780px;
  margin-left: clamp(1.5rem, 8vw, 10rem);
}

.hero-title {
  font-size: 68px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}

.text-white { color: var(--text); }
.text-green  { color: var(--green); }

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
  margin-bottom: 2.4rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

/* Green filled */
.btn-green {
  background-color: var(--green);
  border-color: var(--green);
  color: #000000;
}

.btn-green:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 6px 28px rgba(126, 211, 32, 0.38);
  transform: translateY(-2px);
}

/* Outline white */
.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--text);
}

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

/* ============================================================
   SERVICES SECTION
============================================================ */
.services {
  background-color: var(--bg);
  padding-block: 7rem;
  padding-inline: 2rem;
}

.services-container {
  max-width: 1240px;
  margin-inline: auto;
}

/* Section heading */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  display: inline-block;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text);
  padding-bottom: 0.85rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  background-color: var(--green);
  border-radius: 2px;
}

/* Remove original line div â€” kept for HTML compatibility */
.section-line { display: none; }

/* Cards grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.service-card {
  flex: 0 0 calc(25% - 1.125rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.75rem 1.5rem 2.25rem;
  background-color: transparent;
  border: none;
  border-radius: 0;
  gap: 1rem;
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Icon wrapper */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Card text */
.service-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

.service-card p {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE â€” â‰¤ 1100px
============================================================ */
@media (max-width: 1100px) {
  .navbar-contact {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE â€” â‰¤ 768px  (mobile)
============================================================ */
@media (max-width: 768px) {
  /* Show hamburger */
  .navbar-hamburger {
    display: flex;
  }

  /* Hide desktop links */
  .navbar-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #0a0a0a;
    border-bottom: 1px solid #222222;
    padding-block: 0.5rem;
    z-index: 999;
  }

  /* Show when open */
  .navbar-links.is-open {
    display: flex;
  }

  .navbar-links li a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }

  .navbar-links li:last-child a {
    border-bottom: none;
  }

  .navbar-links a:hover {
    background-color: rgba(126, 211, 32, 0.07);
    color: var(--green);
  }

  /* Hero */
  .hero {
    background-position: 65% center;
  }

  .hero-content {
    margin-left: 0;
    padding-inline: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-subtitle {
    max-width: 100%;
  }

  /* Cards: 2 columns */
  .services-grid .service-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

/* ============================================================
   RESPONSIVE â€” â‰¤ 480px
============================================================ */
@media (max-width: 480px) {
  .navbar-container {
    padding-inline: 1.25rem;
  }

  .logo-tagline {
    display: none;
  }

  .hero-content {
    padding-inline: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .services {
    padding-block: 4rem;
  }

  /* Cards: 1 column */
  .services-grid .service-card {
    flex: 0 0 100%;
  }
}

/* ============================================================
   EMAIL COPY BUTTON
============================================================ */
.email-copy-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}

.email-copy-btn:hover {
  color: var(--green);
}

.email-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #0a0a0a;
  color: var(--green);
  border: 1px solid var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 200;
}

.email-tooltip.visible {
  opacity: 1;
}

/* ============================================================
   SOBRE NÃ“S
============================================================ */
.sobre-nos {
  background-color: var(--bg);
  padding-block: 80px;
  padding-inline: 2rem;
}

.sobre-nos-container {
  max-width: 1240px;
  margin-inline: auto;
}

.sobre-nos-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.sobre-nos-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #cccccc;
  font-weight: 400;
}

.sobre-nos-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background-color: #111111;
  padding: 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 4px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
}

.sobre-nos-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ============================================================
   PHOTO PLACEHOLDER
============================================================ */
.photo-placeholder {
  background-color: #0a0a0a;
  border: 2px dashed #333333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* SVG icons inside navbar contact */
.navbar-contact svg {
  display: block;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE â€” SOBRE NÃ“S
============================================================ */
@media (max-width: 768px) {
  .sobre-nos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sobre-nos-photos {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 28px;
  }
}



/* ============================================================
   LOCALIZAÇÃO
============================================================ */
.localizacao {
  background-color: #0a0a0a;
  padding: 80px 0;
}

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

.localizacao-endereco {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.localizacao-endereco span {
  color: #cccccc;
  font-size: 1rem;
}

.localizacao-gmaps-link {
  margin-top: 1rem;
  text-align: right;
}

.localizacao-gmaps-link a {
  color: #7ed320;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.localizacao-gmaps-link a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .localizacao-endereco {
    flex-direction: column;
    text-align: center;
  }

  .localizacao iframe {
    height: 300px;
  }
}
