/* 
 * BASE STYLES - Agência Precisão
 * Estilos fundamentais, reset, container, etc.
 */

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores principais */
  --cor-primaria: #00D1FF;
  --cor-secundaria: #F9B233;
  --cor-fundo-escuro: #0A1B2A;
  --cor-fundo-mais-escuro: #000000;
  --cor-texto-principal: #FFFFFF;
  --cor-texto-secundario: rgba(255, 255, 255, 0.8);
  --cor-texto-terciario: #B0BEC5;
  
  /* Gradientes */
  --gradiente-fundo: linear-gradient(135deg, var(--cor-fundo-escuro) 0%, var(--cor-fundo-mais-escuro) 100%);
  --gradiente-texto: linear-gradient(90deg, #FFFFFF, var(--cor-primaria));
  --gradiente-primario: linear-gradient(90deg, var(--cor-primaria), var(--cor-secundaria));
  
  /* Sombras */
  --sombra-padrao: 0 10px 25px rgba(0, 0, 0, 0.2);
  --sombra-hover: 0 15px 35px rgba(0, 0, 0, 0.3);
  --sombra-glow-primaria: 0 0 15px rgba(0, 209, 255, 0.5);
  --sombra-glow-secundaria: 0 0 10px rgba(249, 178, 51, 0.6);
  
  /* Espaçamentos */
  --espacamento-secao: 5rem 0;
  --border-radius-padrao: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--cor-texto-principal);
  overflow-x: hidden;
  background-color: var(--cor-fundo-mais-escuro);
}

/* Layout Container */
.container {
/*  width: 90%; */
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Headings das Seções */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.section-header p {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--cor-texto-secundario);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-header p:last-child {
  margin-top: 1rem;
  font-weight: 400;
}

/* Highlight */
.highlight {
  position: relative;
  color: var(--cor-secundaria);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(249, 178, 51, 0.3);
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cor-primaria);
  box-shadow: var(--sombra-glow-primaria);
}

/* Botão CTA Base */
.cta-button-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
/*  padding: 16px 32px; */
  background-color: var(--cor-secundaria);
  color: var(--cor-fundo-escuro);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(249, 178, 51, 0.4);
  transition: all 0.3s ease;
  position: absolute;
  overflow: hidden;
  z-index: 5;
  bottom: -10%;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--cor-secundaria);
  color: var(--cor-fundo-escuro);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(249, 178, 51, 0.4);
  transition: all 0.3s ease;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(249, 178, 51, 0.5);
  background-color: #e9a82e;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px) rotate(10deg);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cor-primaria) 0%, #0088ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 209, 255, 0.4),
              0 0 20px rgba(0, 209, 255, 0.2);
  z-index: 99999;
  transition: all 0.3s ease;
  overflow: visible;
}

.whatsapp-button i {
  font-size: 28px;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 209, 255, 0.5),
              0 0 30px rgba(0, 209, 255, 0.3);
}

.whatsapp-button:hover i {
  transform: rotate(10deg);
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
  position: absolute;
  background: var(--cor-fundo-escuro);
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 14px;
  right: 75px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 209, 255, 0.3);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--cor-fundo-escuro);
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Responsividade Base */
@media screen and (max-width: 1024px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1.1rem;
  }
  
  /* WhatsApp button tablet adjustments */
  .whatsapp-button {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-button i {
    font-size: 26px;
  }
}

@media screen and (max-width: 768px) {
  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  /* WhatsApp button mobile adjustments */
  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-button i {
    font-size: 24px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }
  
  /* WhatsApp button smallest screen adjustments */
  .whatsapp-button {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-button i {
    font-size: 22px;
  }
}

/* Acessibilidade Base */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-button,
  .whatsapp-button:hover,
  .whatsapp-button i,
  .whatsapp-tooltip,
  .cta-button::before,
  .cta-button:hover,
  .highlight::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
