/* =========================================
   1. VARIÁVEIS E IDENTIDADE (DH&L)
   ========================================= */
:root {
  --dhl-orange: #FF5500;
  --bg-dark: #000000;
  --bg-card: #0a0a0a;
  --text-main: #FFFFFF;
  --text-light: #A0A0A0;
  --font-primary: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --logo-header-width: 220px; 
  --logo-footer-width: 155px;
}


/* =========================================
   2. RESET E BASE
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   CABEÇALHO DO ZERO - MARGEM DE SEGURANÇA
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Altura ideal para visual premium */
    background: rgba(0, 0, 0, 0.9); /* Fundo preto semi-transparente */
    backdrop-filter: blur(15px); /* Efeito de vidro fosco */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9999;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px; /* MARGEM DE SEGURANÇA */
    width: 100%;
    margin: 0 auto;    /* CENTRALIZA O BLOCO NA TELA */
    padding: 0 20px;   /* ESPAÇO INTERNO PARA NÃO COLAR EM TELAS PEQUENAS */
    display: flex;
    justify-content: space-between; /* LOGO NA ESQUERDA, BOTÃO NA DIREITA */
    align-items: center;
}

/* CONTROLE DEFINITIVO DA LOGO DO TOPO */
.nav-logo img, .logo {
    width: var(--logo-header-width) !important;
    height: auto !important;
    max-height: none !important;
    display: block;
}

.nav-btn {
    background: transparent;
    color: #FFFFFF;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--dhl-orange); /* BORDA LARANJA DHL */
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--dhl-orange);
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.3);
}

/* AJUSTE PARA CELULAR */
@media (max-width: 768px) {
    .navbar { height: 70px; }
    .nav-btn { padding: 8px 15px; font-size: 0.7rem; }
}

/* =========================================
   4. HERO SECTION (BANNER)
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 20px;
  max-width: 1000px;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 25px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* Força a cor laranja na frase estratégica */
.hero h1 .destaque-laranja {
  color: #FF5500 !important;
}

.hero h2 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 45px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  text-transform: none !important; /* MÁGICA: Tira a caixa alta do subtítulo */
  letter-spacing: 1px;
}

/* Força a cor vermelha e negrito no REC */
.hero h2 .rec-vermelho {
  color: #FF0000 !important;
  font-weight: 800;
}

/* CORREÇÃO DO BOTÃO DO BANNER */
.btn-orcamento-home {
    display: inline-block !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    padding: 18px 45px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    border: 2px solid #FFFFFF !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-top: 30px !important;
    transition: 0.3s all ease !important;
    cursor: pointer !important;
}

.btn-orcamento-home:hover {
    background-color: #FF5500 !important;
    border-color: #FF5500 !important;
    color: #000000 !important;
}

/* DESTAQUE LARANJA NO TÍTULO */
.destaque-laranja {
    color: var(--dhl-orange) !important;
}

/* DESTAQUE VERMELHO NO REC */
.rec-vermelho {
    color: #FF0000 !important;
    font-weight: 800;
}

/* REMOVE CAIXA ALTA DO SUBTÍTULO */
.hero h2 {
    text-transform: none !important;
}

/* =========================================
   5. SEÇÃO BRANCA (LOGOS E VÍDEO)
   ========================================= */
.white-section {
  background-color: #FFFFFF;
  color: #111111;
  padding: 80px 20px;
  text-align: center;
}

.logos-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  filter: grayscale(100%);
  opacity: 0.6;
}

.logos img {
  height: 80px; /* Logo aumentada conforme pedido */
  width: auto;
}

.portfolio-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.video-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================
   6. NÚMEROS E MANIFESTO
   ========================================= */
.stats-bar {
  background: var(--dhl-orange);
  color: #000;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-item p {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.manifesto {
  padding: 100px 20px;
  text-align: center;
}

.manifesto-box {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #222;
  padding: 60px 40px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.manifesto h3 {
  color: var(--dhl-orange);
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.manifesto p {
  font-size: 1.8rem;
  font-weight: 300;
}

.manifesto strong {
  color: var(--dhl-orange);
  font-weight: 800;
}

/* =========================================
   7. BASTIDORES E PILARES
   ========================================= */
.backstage {
  padding: 80px 20px;
  text-align: center;
}

.backstage h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.backstage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.backstage-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  filter: brightness(0.7);
  transition: 0.5s;
}

.backstage-grid img:hover {
  filter: brightness(1);
}

.pillars {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillars h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.grid-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pillar-card {
  padding: 40px;
  border: 1px solid #1a1a1a;
  background: var(--bg-card);
  transition: 0.3s;
}

.pillar-card:hover {
  border-color: var(--dhl-orange);
}

.pillar-card h3 {
  color: var(--dhl-orange);
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* =========================================
   8. DEPOIMENTOS E FAQ
   ========================================= */
.testimonials {
  padding: 80px 20px;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 15px;
  border: 1px solid #222;
  border-radius: 8px;
}

.testimonial-card img {
  width: 100%;
  display: block;
}

.faq {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

details {
  background: var(--bg-card);
  margin-bottom: 10px;
  padding: 20px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #1a1a1a;
}

details summary {
  font-weight: 700;
  color: var(--dhl-orange);
}

/* =========================================
   9. CONTATO E FOOTER
   ========================================= */
.contact {
  padding: 100px 20px;
  background: var(--bg-card);
  text-align: center;
  border-top: 1px solid #111;
}

.text-orange {
  color: var(--dhl-orange);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-box {
  max-width: 600px;
  margin: 40px auto;
  text-align: left;
}

.form-box input {
  width: 100%;
  padding: 18px;
  margin-bottom: 15px;
  background: transparent;
  border: 1px solid #333;
  color: #fff;
}

.btn-send {
  width: 100%;
  background: var(--dhl-orange);
  color: #fff;
  padding: 20px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.whatsapp-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

footer {
  padding: 50px;
  text-align: center;
  color: #444;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-top: 1px solid #111;
}

/* =========================================
   10. RESPONSIVIDADE
   ========================================= */
@media (max-width: 768px) {
  .nav-btn { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .manifesto p { font-size: 1.3rem; }
  .stats-bar { gap: 30px; }
}


/* =========================================
   BOTÃO WHATSAPP FLUTUANTE (LATERAL)
   ========================================= */
.whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Verde Oficial do WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
    animation: pulsar-whatsapp 2s infinite;
}

.whatsapp-flutuante svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.whatsapp-flutuante:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Efeito de chamar atenção */
@keyframes pulsar-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* No mobile, ele fica um pouco menor e mais no canto */
@media (max-width: 768px) {
    .whatsapp-flutuante {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-flutuante svg { width: 30px; height: 30px; }
}


/* Logo do Topo (Navbar) */
.logo {
    width: var(--logo-header-width) !important;
    height: auto !important; /* O !important anula o 'height' fixo antigo */
    max-height: none !important; /* Remove qualquer trava de altura */
    display: block;
}

/* Logo do Rodapé (Footer) */
.footer-logo {
    width: var(--logo-footer-width) !important;
    height: auto !important;
    max-height: none !important;
    margin-bottom: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    :root {
        --logo-header-width: 140px; /* Logo menor em telas de celular */
    }
}

/* Estilo base dos links do menu */
.nav-link-item {
    color: var(--text-main); /* Branco (conforme sua variável) */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease; /* Faz a mudança de cor ser suave */
}

/* Efeito ao passar o mouse: Fica Laranja */
.nav-link-item:hover {
    color: var(--dhl-orange) !important;
}