/*
 Theme Name:   ANC Tecnologia Child
 Theme URI:    https://www.anctecnologia.com.br
 Description:  Tema filho personalizado para ANC Tecnologia
 Author:       ANC Tecnologia
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  anc-tecnologia-child
*/

/* ============================================
   VARIÁVEIS GLOBAIS — PALETA ANC TECNOLOGIA
   ============================================ */
:root {
  --anc-red:        #A52020;   /* Vermelho principal */
  --anc-red-dark:   #7D1515;   /* Vermelho escuro hover */
  --anc-gold:       #9C8B5E;   /* Dourado/Bege secundário */
  --anc-gold-light: #C4AE7A;   /* Dourado claro */
  --anc-white:      #FFFFFF;
  --anc-gray:       #4A4A4A;   /* Texto geral */
  --anc-gray-light: #F5F5F5;   /* Fundo seções claras */
  --anc-black:      #1A1A1A;
}

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

body {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  color: var(--anc-gray);
  background-color: var(--anc-white);
  line-height: 1.7;
}

a {
  color: var(--anc-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--anc-gold);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header,
.elementor-nav-menu {
  background-color: var(--anc-black) !important;
  border-bottom: 3px solid var(--anc-red);
}

.elementor-nav-menu a {
  color: var(--anc-white) !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.elementor-nav-menu a:hover,
.elementor-nav-menu .current-menu-item a {
  color: var(--anc-gold) !important;
  border-bottom: 2px solid var(--anc-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.anc-hero {
  background: linear-gradient(
    135deg,
    var(--anc-red) 0%,
    var(--anc-red-dark) 60%,
    var(--anc-black) 100%
  );
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* Efeito de sobreposição decorativa */
.anc-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(156, 139, 94, 0.15); /* Gold translúcido */
  border-radius: 50%;
  pointer-events: none;
}

.anc-hero h1 {
  color: var(--anc-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.anc-hero h1 span {
  color: var(--anc-gold);
}

.anc-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 35px;
}

/* ============================================
   BOTÕES
   ============================================ */
.anc-btn-primary {
  background-color: var(--anc-gold);
  color: var(--anc-white) !important;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--anc-gold);
  transition: all 0.3s ease;
  display: inline-block;
}

.anc-btn-primary:hover {
  background-color: transparent;
  color: var(--anc-gold) !important;
  border-color: var(--anc-gold);
}

.anc-btn-secondary {
  background-color: transparent;
  color: var(--anc-white) !important;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--anc-white);
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: 15px;
}

.anc-btn-secondary:hover {
  background-color: var(--anc-white);
  color: var(--anc-red) !important;
}

/* ============================================
   SEÇÃO SOBRE / NOSSA HISTÓRIA
   ============================================ */
.anc-section {
  padding: 90px 20px;
}

.anc-section-light {
  background-color: var(--anc-gray-light);
}

.anc-section-dark {
  background-color: var(--anc-black);
  color: var(--anc-white);
}

.anc-section-red {
  background-color: var(--anc-red);
  color: var(--anc-white);
}

.anc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

/* Linha decorativa abaixo do título */
.anc-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--anc-gold);
  margin-top: 10px;
  border-radius: 2px;
}

.anc-section-dark .anc-section-title,
.anc-section-red .anc-section-title {
  color: var(--anc-white);
}

.anc-section-title-centered::after {
  margin: 10px auto 0;
}

/* ============================================
   CARDS DE SERVIÇOS
   ============================================ */
.anc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.anc-card {
  background: var(--anc-white);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--anc-red);
}

.anc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(165, 32, 32, 0.15);
}

.anc-card-icon {
  font-size: 2.8rem;
  color: var(--anc-red);
  margin-bottom: 20px;
}

.anc-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--anc-black);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.anc-card p {
  color: var(--anc-gray);
  font-size: 0.95rem;
}

/* ============================================
   NÚMEROS / ESTATÍSTICAS
   ============================================ */
.anc-stats {
  background: linear-gradient(135deg, var(--anc-red), var(--anc-red-dark));
  padding: 70px 20px;
  text-align: center;
}

.anc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.anc-stat-item h2 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--anc-gold);
}

.anc-stat-item p {
  color: var(--anc-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ============================================
   SETOR PÚBLICO / PRIVADO (TABS ou CARDS)
   ============================================ */
.anc-sector-card {
  background: var(--anc-white);
  border-left: 5px solid var(--anc-gold);
  padding: 35px 30px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.07);
  margin-bottom: 25px;
}

.anc-sector-card h3 {
  color: var(--anc-red);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
.elementor-section.anc-footer {
  background-color: var(--anc-black);
  color: var(--anc-white);
  padding: 60px 20px 30px;
  border-top: 4px solid var(--anc-red);
}

.anc-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.anc-footer-col h4 {
  color: var(--anc-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(156,139,94,0.4);
}

.anc-footer-col p,
.anc-footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 2;
}

.anc-footer-col a:hover {
  color: var(--anc-gold);
}

.anc-footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ============================================
   CONTATO / WHATSAPP FLOAT
   ============================================ */
.anc-whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white !important;
  border-radius: 50px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.anc-whatsapp-float:hover {
  transform: scale(1.08);
  color: white !important;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
  .anc-hero {
    min-height: 70vh;
    padding: 60px 20px;
  }

  .anc-btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .anc-services-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .anc-stat-item h2 {
    font-size: 2.2rem;
  }

  .anc-stats-grid {
    grid-template-columns: 1fr;
  }
}