:root {
  /* Colors */
  --brand: #D9531E;
  --brand-hover: #BF4516;
  --dark: #1A1A1A;
  --offwhite: #F9F8F6;
  --white: #FFFFFF;
  --gray-50: #F3F4F6;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;

  /* Typography */
  --font-sans: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background-color: var(--offwhite);
  color: var(--dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Utility Classes */
.bg-offwhite { background-color: var(--offwhite); }
.bg-dark { background-color: var(--dark); }
.bg-black { background-color: #000; }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-brand { background-color: var(--brand); }
.text-brand { color: var(--brand); }
.text-white { color: var(--white); }
.text-dark { color: var(--dark); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.max-w-full { max-width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0; /* Huge vertical padding (AIDA structure rule) */
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

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

.btn-primary:hover {
  background-color: #000;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark);
}

.btn-secondary:hover {
  background-color: var(--offwhite);
  transform: scale(1.05);
}

.btn-brand {
  background-color: var(--brand);
  color: var(--white);
}

.btn-brand:hover {
  background-color: var(--brand-hover);
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-outline:hover {
  background-color: var(--dark);
  color: var(--white);
}

/* Glass Navbar */
.glass-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1200px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* 1. Hero Section */
.hero-section {
  padding-top: 12rem;
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1rem;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  color: var(--dark);
}

.hero-text {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-note {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(217, 83, 30, 0.1);
  padding: 0.25rem 1rem;
  border-radius: 999px;
}

/* Marquee */
.hero-brands {
  margin-top: 6rem;
  width: 100%;
  overflow: hidden;
}

.brands-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.brands-marquee {
  display: flex;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  gap: 4rem;
}

.marquee-content {
  display: flex;
  gap: 4rem;
  flex-shrink: 0;
  animation: scrollMarquee 20s linear infinite;
  align-items: center;
  min-width: max-content;
}

.marquee-logo {
  max-height: 60px;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.4s ease;
  cursor: pointer;
}

.marquee-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Tratamento para logos brancas em fundos claros */
.invert-if-white {
  filter: grayscale(100%) opacity(0.5) brightness(0);
}

.invert-if-white:hover {
  filter: grayscale(0%) opacity(1) brightness(0);
  transform: scale(1.05);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 4rem)); }
}

/* 1.5. Picadeiro Section */
.picadeiro-section {
  background-image: linear-gradient(rgba(26, 26, 26, 0.4), rgba(26, 26, 26, 0.6)), url('../assets/images/bk-orando-oficial.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 8rem 0;
}

.picadeiro-container {
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4rem;
  border-radius: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px; /* Ajuste premium para vídeo vertical (Reels/Shorts) sem cortes */
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating overlay button to unmute */
.video-overlay-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--brand);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(217, 83, 30, 0.3);
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  animation: pulseButton 2s infinite;
}

.video-overlay-btn:hover {
  background: var(--brand-hover);
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(217, 83, 30, 0.5);
}

.video-overlay-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.8) translateY(-10px);
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 83, 30, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(217, 83, 30, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 83, 30, 0);
  }
}

/* 2. Identificacao */
.identificacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.id-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.id-card i {
  margin-bottom: 1.5rem;
  display: block;
}

.id-card p {
  font-size: 1.125rem;
  font-weight: 500;
}

.id-card.highlight {
  background: var(--brand);
  color: var(--white);
}

.large-quote {
  margin-top: 6rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

/* 3. Proposito Social */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.body-text {
  font-size: 1.25rem;
  color: var(--gray-500);
}

.split-quote-box {
  background: var(--white);
  padding: 4rem 3rem;
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.split-quote-box h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
}

/* 4. Target Section */
.target-section {
  background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.95) 100%), url('../assets/images/redes-sociais-ativas.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.target-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  color: var(--white);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.target-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 5. Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-flow: dense;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .col-span-2 { grid-column: span 2; }
  .row-span-2 { grid-row: span 2; }
}

.bento-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.bento-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bento-card p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.6;
}

.card-icon {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: auto;
  padding-bottom: 2rem;
}

/* Hover Physics for all interactive cards */
.hover-physics {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-physics:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* 6 & 7. Workflow & Pilot */
.step-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.step-num {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--gray-500);
}

.pilot-box {
  background: var(--dark);
  color: var(--white);
  padding: 3rem;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}

.pilot-badge {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.pilot-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

/* 9. FAQ Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  font-family: inherit;
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-content p {
  padding: 0 2rem 1.5rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* 10. Formulário */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-300);
}

.input-group input[type="text"],
.input-group input[type="tel"],
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,0.1);
}

.input-group select option {
  background: var(--dark);
  color: var(--white);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--white) !important;
}

.radio-label input[type="radio"] {
  accent-color: var(--brand);
  width: 1.2rem;
  height: 1.2rem;
}

/* Footer Logos */
.footer {
  padding: 1rem 0; /* Rodapé bem mais estreito */
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem; /* Espaçamento ajustado */
}

.footer-logo {
  max-height: 60px; /* Logos ajustadas para 60px */
  width: auto;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.footer-logos a:not(.pointer-events-none):hover .footer-logo {
  opacity: 1;
  transform: scale(1.05);
}

/* Modal Lightbox */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-start; /* Alinhamento ao topo para evitar cortes de conteúdo no topo em celulares */
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 900px;
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 2rem auto; /* Margem superior e inferior corretas na rolagem */
  color: var(--white);
}

.modal-overlay.hidden .modal-content {
  transform: translateY(30px) scale(0.95);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: var(--brand);
  transform: rotate(90deg);
}

/* Media Queries Globais */
@media (max-width: 768px) {
  /* Espaçamentos Globais */
  .container { padding: 0 1rem; }
  .section { padding: 4rem 0; }
  
  /* Picadeiro */
  .picadeiro-section { padding: 4rem 0; }
  .picadeiro-container { padding: 2.5rem 1.5rem; border-radius: 1.5rem; }
  .video-overlay-btn { top: 1rem; right: 1rem; padding: 0.5rem 1.25rem; font-size: 0.875rem; }
  
  /* Hero */
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero-section { padding-top: 8rem; }
  .brands-marquee { margin-top: 3rem; }
  .marquee-content { gap: 2rem; }
  .marquee-content span { font-size: 1.125rem; }
  
  /* Grids - 1 Coluna */
  .identificacao-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  
  /* Cards & Boxes */
  .id-card { padding: 2rem 1.5rem; }
  .bento-card { padding: 1.5rem; }
  .split-quote-box { padding: 2rem; }
  .step-card { padding: 1.5rem; flex-direction: column; gap: 1rem; }
  .pilot-box { padding: 2rem 1.5rem; }
  .investment-card { padding: 2rem 1rem; }
  .price-box { padding: 2rem 1rem; }
  .accordion-header { padding: 1.25rem 1.5rem; font-size: 1rem; }
  .accordion-content p { padding: 0 1.5rem 1.25rem; }
  
  /* Modal */
  .modal-content { padding: 2.5rem 1.5rem; margin: 1rem; width: auto; }
  .modal-close { top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
  
  /* Footer */
  .footer-logos { gap: 2rem; flex-direction: column; }
  .footer-logo { max-height: 50px; max-width: 100%; object-fit: contain; }
  a[href*="picadeiro-do-orando"] .footer-logo { max-height: 90px !important; }
}
