/* ============================================
   AMÉRICA ELEVADORES — style.css
   Paleta: Verde Escuro + Preto + Branco
   ============================================ */

/* --- RESET & VARIÁVEIS --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --verde:        #1a3d2b;
  --verde-medio:  #2a5c40;
  --verde-claro:  #3a7a55;
  --verde-accent: #4CAF7D;
  --preto:        #0d0d0d;
  --branco:       #ffffff;
  --cinza-claro:  #f5f5f0;
  --cinza-borda:  #e5e5e0;
  --cinza-texto:  #888888;

  --font-titulo: 'Playfair Display', serif;
  --font-corpo:  'DM Sans', sans-serif;

  --sombra-card: 0 20px 40px rgba(26, 61, 43, 0.10);
  --radius:      4px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corpo);
  color: var(--preto);
  background: var(--branco);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 61, 43, 0.97);
  backdrop-filter: blur(8px);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(76, 175, 125, 0.15);
}

.nav-logo {
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  color: var(--branco);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--verde-accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--verde-accent);
}

.nav-cta {
  background: var(--verde-accent) !important;
  color: var(--preto) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #5fcc94 !important;
  color: var(--preto) !important;
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--branco);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--preto) 0%, #0d1f15 50%, var(--verde) 100%);
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(76, 175, 125, 0.10);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(76, 175, 125, 0.07);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 175, 125, 0.15);
  border: 1px solid rgba(76, 175, 125, 0.30);
  color: var(--verde-accent);
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--verde-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-content h1 {
  font-family: var(--font-titulo);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--branco);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--verde-accent);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.60);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

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

/* --- Botões --- */
.btn-primary {
  background: var(--verde-accent);
  color: var(--preto);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-corpo);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: #5fcc94;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: var(--branco);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--verde-accent);
  color: var(--verde-accent);
}

/* --- Stats / Hero Visual --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--verde-accent);
}

.stat-card .num {
  font-family: var(--font-titulo);
  font-size: 2.5rem;
  color: var(--branco);
  font-weight: 700;
  line-height: 1;
}

.stat-card .label {
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-card-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(76, 175, 125, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-card-icon {
  background: rgba(76, 175, 125, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--verde-accent);
  font-size: 1.4rem;
}

.hero-card-title {
  color: var(--branco);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-card-sub {
  color: rgba(255, 255, 255, 0.40);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

/* ============================================
   SECTION UTILITÁRIOS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  color: var(--verde-medio);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--preto);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title span {
  color: var(--verde-medio);
}

.section-sub {
  color: var(--cinza-texto);
  font-size: 1rem;
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
  padding: 6rem 5%;
  background: var(--cinza-claro);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--verde-accent);
  transition: width 0.4s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-card);
}

.card:hover::after {
  width: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 61, 43, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  font-family: var(--font-titulo);
  font-size: 1.25rem;
  color: var(--preto);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--cinza-texto);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferenciais {
  padding: 6rem 5%;
  background: var(--verde);
  position: relative;
  overflow: hidden;
}

.diferenciais::before {
  content: 'ELEVADORES';
  font-family: var(--font-titulo);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.diff-text .section-tag {
  color: var(--verde-accent);
}

.diff-text .section-title {
  color: var(--branco);
}

.diff-text .section-title span {
  color: var(--verde-accent);
}

.diff-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.diff-check {
  width: 28px;
  height: 28px;
  background: rgba(76, 175, 125, 0.20);
  border: 1px solid rgba(76, 175, 125, 0.40);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--verde-accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.diff-item h4 {
  color: var(--branco);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.diff-item p {
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 300;
}

.diff-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.diff-num-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.diff-num-card .big {
  font-family: var(--font-titulo);
  font-size: 3rem;
  color: var(--verde-accent);
  font-weight: 900;
  line-height: 1;
}

.diff-num-card .label {
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos {
  padding: 6rem 5%;
  background: var(--branco);
}

.dep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.dep-card {
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.dep-card::before {
  content: '"';
  font-family: var(--font-titulo);
  font-size: 5rem;
  color: var(--verde-accent);
  opacity: 0.20;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.stars {
  color: var(--verde-accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.dep-card p {
  color: #555555;
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.dep-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dep-avatar {
  width: 36px;
  height: 36px;
  background: var(--verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.dep-author .name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--preto);
}

.dep-author .role {
  font-size: 0.75rem;
  color: var(--cinza-texto);
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
  padding: 6rem 5%;
  background: var(--cinza-claro);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contato-info .section-tag {
  color: var(--verde-medio);
}

.contato-info .section-title {
  font-family: var(--font-titulo);
  font-size: 2.2rem;
  color: var(--preto);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contato-info .section-title span {
  color: var(--verde-medio);
}

.contato-info > p {
  color: var(--cinza-texto);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contato-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #555555;
}

.detail-icon {
  width: 36px;
  height: 36px;
  background: var(--verde);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Formulário */
.form-card {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #555555;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  font-family: var(--font-corpo);
  font-size: 0.9rem;
  color: var(--preto);
  background: var(--branco);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--verde-accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row select {
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--verde);
  color: var(--branco);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-corpo);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.03em;
}

.form-submit:hover {
  background: var(--verde-medio);
  transform: translateY(-1px);
}

.success-msg {
  display: none;
  background: rgba(76, 175, 125, 0.10);
  border: 1px solid rgba(76, 175, 125, 0.30);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--verde-medio);
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--preto);
  padding: 3rem 5%;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  color: var(--branco);
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: var(--verde-accent);
}

footer > p {
  color: rgba(255, 255, 255, 0.30);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.40);
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--verde-accent);
}

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: var(--branco);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.40);
  z-index: 99;
  transition: transform 0.2s;
}

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

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 900px) {
  .hero-grid,
  .diff-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .diferenciais::before {
    display: none;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 61, 43, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(76, 175, 125, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-btn {
    display: block;
  }

  .hero {
    padding-top: 80px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .servicos,
  .diferenciais,
  .depoimentos,
  .contato {
    padding: 4rem 1.25rem;
  }

  footer {
    padding: 2.5rem 1.25rem;
  }

  .form-card {
    padding: 1.5rem;
  }

  .diff-numbers {
    grid-template-columns: 1fr 1fr;
  }
}
