/*--------------------------------------------------------------
# Fontes Customizadas
--------------------------------------------------------------*/
@font-face {
  font-family: "Futura";
  src: url("../fonts/futura/FuturaCyrillicLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/futura/FuturaCyrillicBook.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/futura/FuturaCyrillicDemi.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/futura/FuturaCyrillicMedium.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/futura/FuturaCyrillicBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/futura/FuturaCyrillicExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Futura";
  src: url("../fonts/futura/FuturaCyrillicHeavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/*--------------------------------------------------------------
# Google Fonts
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  /* ─── Cor Primária (Azul - destaque) ─────────────────── */
  --primary:            #234FA2;
  --primary-rgb:        35, 79, 162;
  --primary-light:      #4A73C4;
  --primary-dark:       #1E4591;
  --primary-text-light: #D6E2FF;
  --primary-text-dark:  #131731;

  /* ─── Cor Secundária (Amarelo - institucional) ─────────── */
  --secondary:            #FFE600;
  --secondary-rgb:        255, 230, 0;
  --secondary-light:      #FFED4D;
  --secondary-dark:       #CDB800;
  --secondary-text-light: #FFFBE0;
  --secondary-text-dark:  #2D2C20;

  /* ─── Destaque (Azul Ciano - argola direita do logo) ────── */
  --accent:            #3DB8E8;
  --accent-rgb:        61, 184, 232;
  --accent-light:      #7DD4F0;
  --accent-dark:       #1A9DC8;
  --accent-text-dark:  #0D3D52;

  /* ─── Neutros ───────────────────────────────────────────── */
  --branco-absoluto: #ffffff;
  --preto-absoluto:  #000000;
  --branco-gelo:     #f7f7f7;
  --cinza-claro:     #e0e0e0;
  --cinza-medio:     #7a7a7a;
  --cinza-escuro:    #2f2f2f;

  /* ─── Estados ───────────────────────────────────────────── */
  --success: #2e8b57;
  --danger:  #c62828;

  /* ─── Integração Bootstrap ──────────────────────────────── */
  --bs-primary:          var(--primary);
  --bs-primary-rgb:      var(--primary-rgb);
  --bs-secondary:        var(--secondary);
  --bs-secondary-rgb:    var(--secondary-rgb);
  --bs-success:          var(--success);
  --bs-warning:          var(--primary);
  --bs-danger:           var(--danger);
  --bs-light:            var(--branco-gelo);
  --bs-dark:             var(--secondary-dark);
  --bs-body-color:       var(--cinza-escuro);
  --bs-body-bg:          var(--branco-absoluto);
  --bs-link-color:       var(--primary);
  --bs-link-hover-color: var(--primary-dark);

  /* ─── Atalhos ───────────────────────────────────────────── */
  --light: var(--branco-gelo);
  --dark:  var(--secondary-dark);

  /* ─── Fontes ───────────────────────────────────────────── */
  --font-heading: "Montserrat", sans-serif;
  --font-body:    "Inter", sans-serif;

  --bs-body-font-family:    var(--font-body);
  --bs-heading-font-family: var(--font-heading);

  /* ─── Transições ───────────────────────────────────────── */
  --transition-fast:   all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --transition-slow:   all 0.8s ease;

  /* ─── Topbar ────────────────────────────────────────────── */
  --topbar-height: 36px;
}

/* Força a fonte de corpo em qualquer elemento */
.u-font-family__secondary {
  font-family: var(--font-body) !important;
}

/* reCAPTCHA - Estilos globais para prevenir erros */
.g-recaptcha {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
}

/* Previne scroll horizontal causado por elementos absolutos */
.row {
  /* overflow-x: hidden; */
}

/* Previne problemas de touch no mobile */
* {
  touch-action: manipulation;
}

/* Previne scroll horizontal causado por animações AOS */
[data-aos] {
  pointer-events: auto;
}

body[data-aos-easing],
body[data-aos-duration],
body[data-aos-delay] {
  overflow-x: hidden !important;
}

html {
  overflow-x: hidden;
  overflow-y: auto; /* Permite apenas scroll vertical */
  width: 100%;
  position: relative;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--dark);
  background-color: var(--secondary);
  overflow-x: hidden;
  overflow-y: auto; /* Permite apenas scroll vertical */
  line-height: 1.6;
  width: 100%;
  position: relative;
  font-weight: 300;
}

/* Regras globais para imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Espaçador para navbar fixa + topbar */
.navbar-spacer {
  height: calc(90px + var(--topbar-height));
}

/*--------------------------------------------------------------
# Typography
# ─────────────────────────────────────────────────────────────
# Títulos     (h1–h6)              → --font-heading  (Futura)    [regra explícita]
# Corpo       (body)               → --font-body     (Poppins)   [regra explícita]
# p, li, span                      → herdam de body  (Poppins)   [via cascade, sem regra]
# Links       (a)                  → herdam do contexto           [via cascade, sem regra]
# Botões      (.btn, button)       → --font-body     (Poppins)   [regra explícita]
# Formulários (input, select...)   → --font-body     (Poppins)   [regra explícita]
# ─────────────────────────────────────────────────────────────
# Para trocar: redefina --font-heading ou --font-body em :root.
--------------------------------------------------------------*/

/* Títulos — fonte de destaque */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

/* Links — herdam a fonte do pai */
a {
  color: var(--bs-link-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--bs-link-hover-color);
}

/* Botões — fonte de corpo, peso médio */
.btn,
button {
  font-family: var(--font-body);
}

/* Campos de formulário */
input,
select,
textarea,
label {
  font-family: var(--font-body);
  font-weight: 400;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Botões */
.btn {
  border-radius: 0.25rem;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--branco-absoluto);;
}

/* Cartões */
.card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: var(--transition-fast);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Ícones de recursos */
.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Ícones de contato */
.contact-icon {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

/* Ícones de redes sociais */
.social-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  transition: var(--transition-fast);
}

/* Animações de hover para imagens SVG */
img[src$=".svg"] {
  transition: var(--transition-fast);
}

img[src$=".svg"]:hover {
  transform: scale(1.1) rotate(5deg);
}

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/* Navbar */
.navbar {
  transition: var(--transition-fast);
}

.navbar.scrolled {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary);
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Hero Section */
.hero-section {
  background-color: var(--light);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Features Section */
.features-section {
  padding: 80px 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--light);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
}

/* Page Header */
.page-header {
  padding: 80px 0;
  background-color: var(--light);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

/* Map Section */
.map-section {
  padding: 80px 0;
  background-color: var(--light);
}

/* About Section */
.about-section {
  padding: 80px 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--dark);
  color: var(--branco-absoluto);;
  padding: 80px 0 20px;
}

.footer-links a {
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary) !important;
  transform: translateX(5px);
}

.footer-contact li {
  margin-bottom: 0.75rem;
}

/*--------------------------------------------------------------
# Back to Top & WhatsApp Button
--------------------------------------------------------------*/
.back-to-top {
  display: none;
  z-index: 9999;
}

.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px; /* Movido para a direita */
  width: 60px; /* Aumentado levemente para melhor toque */
  height: 60px;

  background-color: #25d366; /* Mantendo verde oficial do WhatsApp para reconhecimento */
  color: var(--branco-absoluto);
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); /* Sombra colorida */
  z-index: 999;
  transition: var(--transition-medium);
  border: 2px solid var(--branco-absoluto); /* Borda branca para destaque */
}

.whatsapp-button:hover {
  transform: translateY(-5px) scale(1.1); /* Efeito de levitação */
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: var(--branco-absoluto);
}

/* Animação de pulso para chamar atenção */
.whatsapp-button::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-border 2s infinite;
  opacity: 0;
  z-index: -1;
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.icon-rotate {
  animation: is-rotating 1s infinite linear;
}

@keyframes is-rotating {
  to {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Responsividade
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 0.5rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: calc(1.375rem + 1.5vw);
  }

  .hero-section {
    padding: 70px 0;
  }

  .features-section,
  .testimonials-section,
  .cta-section,
  .page-header,
  .contact-section,
  .map-section,
  .about-section {
    padding: 60px 0;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section {
    padding: 50px 0;
  }

  .features-section,
  .testimonials-section,
  .cta-section,
  .page-header,
  .contact-section,
  .map-section,
  .about-section {
    padding: 40px 0;
  }
}

/* Link Dev Rodapé */

.dev__link,
.dev__dir,
.dev__arco {
  color: var(--branco-absoluto);
}

.dev__link .dev__arco:hover {
  color: #f9a13f;
}

.dev__link .dev__arco:hover .dev__logo svg {
  filter: brightness(1);
}

.dev__link .dev__logo svg {
  filter: brightness(100);
  width: 22px;
  height: 22px;
  margin-left: 5px;
}

.dev__link .dev__logo:hover svg {
  filter: brightness(1);
}

.dev__link .dev__logo:hover .dev__arco {
  color: #f9a13f;
}

/* FIm Link Dev */

/* ================================================ */
/* AOS Animation Fix - Previne Scroll Horizontal    */
/* ================================================ */

/* Previne overflow durante animações AOS */
html.aos-init {
  overflow-x: hidden !important;
}

body.aos-animate {
  overflow-x: hidden !important;
}

/* Garante que elementos com AOS não causem overflow */
[data-aos] {
  box-sizing: border-box;
  max-width: 100%;
}

[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-left"],
[data-aos="fade-right"],
[data-aos="fade-up-right"],
[data-aos="fade-up-left"],
[data-aos="fade-down-right"],
[data-aos="fade-down-left"],
[data-aos="zoom-in"],
[data-aos="zoom-out"] {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Container pai de elementos AOS */
.container [data-aos],
.row [data-aos],
section [data-aos] {
  max-width: 100%;
  overflow: visible;
}

/* Previne quebra de layout durante animações */
@media (prefers-reduced-motion: no-preference) {
  [data-aos] {
    transition-property: opacity, transform;
  }
}

/* Desabilita animações se usuário preferir movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    transition: none !important;
    animation: none !important;
  }
}
