@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --primary: #F27405;
  /* Alternativa Orange (Main) */
  --primary-hover: #d96804;
  /* Darker Orange */
  --primary-light: rgba(242, 116, 5, 0.15);
  /* Dark theme orange tint */
  --secondary: #25D366;
  /* WhatsApp Green (Action) */
  --secondary-hover: #1b9b4b;

  --bg-color: #f8f9fa;
  /* Off-white */
  --surface: #ffffff;
  /* Pure White */
  --surface-alt: #f1f5f9;
  /* Light Gray */

  --text-main: #1a1a1a;
  /* Dark Charcoal */
  --text-muted: #4b5563;
  /* Medium Gray */
  --text-light: #6b7280;
  /* Soft Gray */

  --border: #e2e8f0;
  /* Dark Border */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;

  /* Layout */
  --max-width: 1200px;
  --header-height: 110px;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Mobile: container nunca estica */
@media (max-width: 768px) {
  .container {
    max-width: 90% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  /* Hero title mobile */
  .hero-content h1,
  .hero h1,
  section h1 {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
  }
}

/* Classes para Imagens Premium e Responsivas (Feedback Técnico) */
.product-image,
.premium-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin: 0 auto 1.5rem auto;
  /* Centraliza a imagem no container */
  display: block;
}

/* Refatoração para Mobile (Imagem até 80% da tela) */
@media (max-width: 768px) {

  .product-image,
  .premium-image {
    max-width: 80%;
  }
}

/* Otimização Extrema para Mobile (Ecrãs muito pequenos) */
@media (max-width: 480px) {

  .product-image,
  .premium-image {
    width: 100% !important;
    /* Maximiza o espaço interno do container */
    max-width: 400px !important;
    /* Controla o tamanho máximo para não perder qualidade */
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;

    /* Reset de Conflito */
    transition: none !important;
    animation: none !important;

    /* Estabilidade de Renderização (trava flickering no navegador) */
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  /* Remove paddings excessivos do contentor das seções / cards */
  .container {
    padding: 0 10px;
    /* Reduz de 1.5rem (24px) para 10px nas margens laterais no mobile */
  }

  /* Ajusta a div pai / container interno para não oprimir a largura */
  .feature-card,
  .pricing-card {
    width: 100% !important;
    padding: 10px !important;
    /* Padronizado confome recomendação */
  }

  /* Aumenta a proporção dos textos de nomes/preços dos produtos no mobile */
  .feature-card h3,
  .pricing-header h3 {
    font-size: 1.9rem !important;
  }

  .feature-card span:nth-child(2),
  .price,
  .pricing-card span {
    font-size: 3.2rem !important;
  }
}

.section {
  padding: 60px 0;
}

.section-bg-alt {
  background-color: var(--surface);
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

@keyframes pulse-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);
  }
}

a.btn[href^="https://wa.me"] {
  animation: pulse-whatsapp 2s infinite;
}

/* Header, Navbar & Topbar */
.topbar {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 51;
}

.topbar a {
  color: white;
  text-decoration: underline;
  margin-left: 0.5rem;
}

.header {
  background-color: var(--surface);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 36px;
  z-index: 50;
  padding: 15px 0;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: #000000;
  font-weight: 800;
  font-size: 1.1rem;
  position: relative;
  transition: color var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-glow {
  box-shadow: 0 0 20px 5px rgba(242, 116, 5, 0.6) !important;
  animation: glow-pulse 3s infinite alternate;
}

@keyframes glow-pulse {
  0% { box-shadow: 0 0 20px 2px rgba(242, 116, 5, 0.4) !important; }
  100% { box-shadow: 0 0 35px 8px rgba(242, 116, 5, 0.8) !important; }
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-main);
  border-radius: 2px;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  border-top: none;
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 700;
}

.footer-col p {
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #a1a1aa;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #F27405;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: #a1a1aa;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #F27405;
}



/* Cards */
.card {
  background-color: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-light);
}

.card-body {
  padding: 2rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  margin-bottom: 1rem;
}

/* Page Headers */
.page-header {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--primary-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background-color: var(--surface);
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    flex-direction: column;
    background-color: var(--surface);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1rem 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .section {
    padding: 40px 0;
  }
}

/* Hero Section Specific (Home) */
.hero {
  padding: 0;
  background: #ffffff;
  margin-top: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

/* Floating Checkmark Card in Hero */
.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}

.floating-icon {
  background: var(--secondary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-text p {
  margin: 0;
  font-weight: 600;
  color: var(--text-main);
}

.floating-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }
}

/* Feature Cards (Home) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

/* Trust Section */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 3rem;
  background: var(--primary);
  border-radius: 1rem;
  color: white;
  margin-top: -3rem;
  /* overlap with hero */
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.trust-stats h3 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.trust-stats p {
  color: var(--primary-light);
  margin: 0;
}

@media (max-width: 768px) {
  .trust-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
}

/* Premium Styles Added */
.glass-card {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--primary) !important;
  border-radius: 1.2rem !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.glass-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 40px 0 rgba(242, 116, 5, 0.2) !important;
  border-color: #ff9a44 !important;
}

.premium-price {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
}

.btn-gradient {
  background: linear-gradient(135deg, #FF9A44 0%, var(--primary) 100%) !important;
  box-shadow: 0 6px 15px rgba(242, 116, 5, 0.35) !important;
  border: none !important;
  color: white !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.btn-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-gradient:hover::after {
  transform: translateX(100%);
}

.btn-gradient:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(242, 116, 5, 0.5) !important;
}

/* Definição da cor principal */
:root {
  --cor-laranja-primaria: #FF8C00; /* Tom de laranja premium para botões e detalhes */
  --cor-laranja-fundo: #FF8C00; /* Tom de laranja para a barra de dúvidas, pode ser o mesmo ou ligeiramente mais suave */
}

/* Aplicar a cor aos botões e elementos que usam o laranja como cor de ação */
.btn-laranja, 
button.agendar-videoconferencia, 
a.agendar-videoconferencia,
.detalhe-laranja {
  background-color: var(--cor-laranja-primaria) !important;
  color: #FFFFFF !important;
}

/* Aplicar a cor de fundo à barra de dúvidas e rodapé laranja */
.barra-duvidas,
.faixa-final-laranja {
  background-color: var(--cor-laranja-fundo) !important;
}

/* ============================================================
   CORREÇÕES GLOBAIS DE MOBILE E RESPONSIVIDADE (2026)
   ============================================================ */

/* --- Previne overflow horizontal em qualquer tela --- */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
*, *::before, *::after {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* --- HERO: escalar título corretamente em celular --- */
@media (max-width: 768px) {
  .hero-content h1,
  .hero h1,
  section h1 {
    font-size: 1.9rem !important;
    line-height: 1.2 !important;
  }
  h1 {
    font-size: 1.9rem !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
}
@media (max-width: 480px) {
  .hero-content h1,
  .hero h1,
  section h1 {
    font-size: 1.6rem !important;
  }
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.3rem !important; }
}

/* --- CARDS: empilhar verticalmente no mobile --- */
@media (max-width: 768px) {
  .pricing-grid,
  .cards-grid,
  .features-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 0 12px !important;
  }
  .novo-product-card,
  .pricing-card,
  .feature-card,
  [id^="card-"] {
    width: 90% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }
}

/* --- CARD BIRDID: nunca esticar, sempre centralizado --- */
#card-birdid-pf,
.tag-nuvem,
[data-tipo="e-nuvem-birdid"] {
  max-width: 400px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* --- MENU HAMBURGER: alinhamento logo + botão --- */
@media (max-width: 900px) {
  .site-header-wrapper .container,
  header .container,
  .header-padrao .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 16px !important;
  }
  .logo img {
    max-height: 44px !important;
    width: auto !important;
  }
  .hamburger,
  .custom-hamburger,
  .menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .nav-menu,
  .custom-nav-menu {
    display: none !important;
  }
  .nav-menu.active,
  .custom-nav-menu.active {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    padding: 20px 0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    z-index: 999999 !important;
    border-bottom: 3px solid #F27405 !important;
    align-items: center !important;
    gap: 15px !important;
  }
  .btn-agendar {
    width: 85% !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
}

/* --- FOOTER: grid de colunas fixas no desktop --- */
.footer-grid-container {
  display: grid !important;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

/* --- FOOTER: empilhar em mobile --- */
@media (max-width: 650px) {
  .footer-grid,
  .footer-grid-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* --- TABLET: 2 colunas para cards --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
  }
}
