:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-primary-blue: #003366;
  /* Deep Corporate Blue */
  --color-secondary-blue: #004080;
  /* Lighter Blue for hover/accent */
  --color-black: #1A1A1A;
  --color-gold: #D4AF37;
  --color-gold-hover: #b5952f;
  --color-gray-light: #F5F7FA;
  --color-text-body: #333333;

  /* Typography */
  --font-primary: 'Poppins', sans-serif;

  /* Spacing */
  --spacing-container: 1200px;
  --spacing-section: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-body);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 40px;
  /* Increased desktop padding */
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
    /* Proper mobile padding */
  }
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-secondary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.btn-cta {
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 1.1rem;
}

.btn-cta:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.section {
  padding: var(--spacing-section) 0;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--color-gold);
}

.text-blue {
  color: var(--color-primary-blue);
}

/* Header */
.header {
  height: auto;
  /* Allow header to grow with logo */
  min-height: 100px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  /* Slightly more opaque */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  will-change: transform;
  /* Hint for performance */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 240px;
  /* Maximum visibility requested */
  width: auto;
  transition: transform 0.3s ease;
  display: block;
}

/* Make header logo Blue for better visibility on white */
.header .logo img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(58%) saturate(2716%) hue-rotate(200deg) brightness(92%) contrast(102%);
  will-change: transform;
}

/* Keep footer logo Gold (original) for contrast on black */
.footer .logo img {
  filter: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-blue);
  letter-spacing: -0.5px;
}

.logo-span {
  color: var(--color-gold);
}

/* Hero Section */
.hero {
  padding-top: 350px;
  /* Increased to clear the large 240px logo on Desktop */
  padding-bottom: 100px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(0, 51, 102, 0.05), transparent 40%);
}

.hero h1 {
  font-size: 3.8rem;
  /* Further increased for PC impact */
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  /* Tight functional tracking for modern look */
  max-width: 1000px;
  /* Allow more width to frame the sentence better */
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.35rem;
  /* Readable premium size */
  color: var(--color-text-body);
  margin-bottom: 40px;
  max-width: 750px;
  /* Tighter reading frame */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Video Section */
.video-section {
  background-color: var(--color-gray-light);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #000;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder-text {
  color: white;
  font-size: 1.2rem;
  opacity: 0.7;
}

/* Social Proof */
.social-proof {
  background-color: var(--color-white);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--color-primary-blue);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--color-gray-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card,
.authority-item {
  backface-visibility: hidden;
  transform: translateZ(0);
  /* Force GPU acceleration */
}

.video-thumb {
  background: #ddd;
  aspect-ratio: 9/16;
  /* Vertical video placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* Authority */
.authority {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
  padding: 100px 0;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.authority-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  text-align: center;
}

.authority-icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
}

.authority-text {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Final CTA */
.final-cta {
  padding: 120px 0;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.secondary-cta-text {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #666;
}

/* Footer */
.footer {
  background-color: var(--color-black);
  color: white;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: center;
  /* Center logo */
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    /* Optimized for mobile reading */
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .authority-grid {
    grid-template-columns: 1fr;
  }

  .header .container {
    flex-direction: column;
    gap: 10px;
  }

  .header {
    height: auto;
    padding: 15px 0;
    position: absolute;
    /* Fix header to top of PAGE, not screen (scrolls away) */
  }

  .hero {
    padding-top: 180px;
    /* Adjusted for 150px mobile logo + less whitespace for better optimization */
  }

  /* Hide WhatsApp button in header on mobile */
  .header .btn-primary {
    display: none;
  }

  /* Ensure logo is centered if button is gone */
  .header .container {
    justify-content: center;
  }

  .logo img {
    height: 150px;
  }
}

/* Play Button Animation */
@keyframes pulse-gold {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0.7));
  }

  70% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
  }
}

.play-btn-custom {
  /* Background/shape removed for image icon */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.play-btn-container:hover .play-btn-custom {
  transform: scale(1.1);
  /* Hover scale */
}

.play-text {
  color: white;
  font-weight: 600;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-size: 1rem;
  pointer-events: none;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
}

/* Responsividade para o botão flutuante */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }
}