/* ============================================
   IDEAL ASSISTÊNCIA TÉCNICA — Design System
   ============================================ */

/* --- CSS Variables / Tokens --- */
:root {
  /* Colors */
  --color-primary-900: #071A3E;
  --color-primary-800: #0B2559;
  --color-primary-700: #0F3375;
  --color-primary-600: #154496;
  --color-primary-500: #1E6FD9;
  --color-primary-400: #4A8FE5;
  --color-primary-300: #7DB1F0;
  --color-primary-200: #B3D4F7;
  --color-primary-100: #E0EEFB;
  --color-primary-50: #F0F7FD;

  --color-accent: #25D366;
  --color-accent-dark: #1EBE5A;
  --color-accent-light: #E8FBF0;

  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;

  --color-danger: #EF4444;
  --color-warning: #F59E0B;
  --color-success: #10B981;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(30, 111, 217, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary-900);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-500);
  background: var(--color-primary-100);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.text-center {
  text-align: center;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-600));
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(30, 111, 217, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 111, 217, 0.45);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1EBE5A);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1EBE5A, #179E4C);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Garante que o GTM capture a tag <a> com a classe e não os ícones/textos internos */
.btn-whatsapp-click *,
.whatsapp-float * {
  pointer-events: none !important;
}

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

.btn-outline:hover {
  background: var(--color-primary-500);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid var(--color-gray-200);
}

.header.scrolled {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo img {
  height: 40px;
  width: auto;
}

/* Navigation Overlay */
.nav-overlay {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
}

.close-btn,
.nav-drawer-header,
.mobile-only {
  display: none;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-list li {
  list-style: none;
}

.nav-menu-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gray-600);
  position: relative;
  padding: var(--space-xs) 0;
  text-decoration: none;
  transition: all var(--transition-base);
}

.nav-menu-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-500);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.nav-menu-list a:hover {
  color: var(--color-primary-500);
}

.nav-menu-list a:hover::after {
  width: 100%;
}

.nav-cta,
.nav-menu-list a.nav-cta,
.nav-menu-list a.btn-whatsapp {
  padding: 0.625rem 1.5rem !important;
  font-size: 0.875rem !important;
  color: #FFFFFF !important;
}

.nav-cta:hover,
.nav-menu-list a.nav-cta:hover,
.nav-menu-list a.btn-whatsapp:hover {
  color: #FFFFFF !important;
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-700) 50%, var(--color-primary-500) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(30, 111, 217, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 5s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--color-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-accent), #4AE68C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.4s both;
}

.hero-image img {
  max-width: 420px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ============================================
   BRANDS BAR
   ============================================ */
.brands {
  background: var(--color-gray-50);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
  overflow: hidden;
}

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

.brands-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.brands-track img {
  height: 36px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%) brightness(0.4) contrast(1.2);
  transition: all var(--transition-base);
}

.brands-track img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1) contrast(1);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-300);
}

.service-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: var(--space-xl);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary-800);
}

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

.service-card-icon {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.service-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary-500);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--color-gray-50);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 380px;
  margin: 0 auto;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 3px solid var(--color-primary-300);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-lg);
  color: var(--color-gray-600);
  font-size: 1.05rem;
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.badge-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-base);
}

.badge-item:hover {
  border-color: var(--color-primary-300);
  box-shadow: var(--shadow-md);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary-500);
  display: block;
}

.badge-label {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  font-weight: 500;
  margin-top: var(--space-xs);
  display: block;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-700) 100%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../img/contato.jpg') center/cover no-repeat;
  opacity: 0.15;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.4), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.4), transparent);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.cta-phone a {
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.3rem;
}

.cta-phone a:hover {
  color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--color-gray-800);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--color-gray-500);
  text-align: center;
}

.footer-bottom a {
  color: var(--color-primary-400);
}

.footer-bottom a:hover {
  color: var(--color-primary-300);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: block;
  width: auto;
  max-width: 230px;
  transition: all var(--transition-base);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.22));
  animation: whatsapp-float-anim 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  filter: drop-shadow(0 8px 24px rgba(37, 211, 102, 0.45));
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes whatsapp-float-anim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    max-width: 180px;
  }
}

/* ============================================
   LEGAL PAGES (Política / Termos)
   ============================================ */
.legal-page {
  padding-top: 120px;
  padding-bottom: var(--space-4xl);
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.legal-page .legal-updated {
  color: var(--color-gray-400);
  font-size: 0.9rem;
  margin-bottom: var(--space-3xl);
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary-100);
}

.legal-page p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-600);
}

.legal-page ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page ul li {
  margin-bottom: var(--space-sm);
  color: var(--color-gray-600);
}

.legal-page a {
  color: var(--color-primary-500);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--color-primary-700);
}

/* ============================================
   WHATSAPP REDIRECT PAGE
   ============================================ */
.whatsapp-redirect {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #075E54, #128C7E);
  text-align: center;
  padding: var(--space-xl);
}

.whatsapp-redirect-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-4xl);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.whatsapp-redirect-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #25D366, #1EBE5A);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
}

.whatsapp-redirect-logo svg {
  width: 44px;
  height: 44px;
  color: var(--color-white);
}

.whatsapp-redirect h1 {
  font-size: 1.5rem;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.whatsapp-redirect p {
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
}

.whatsapp-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-gray-200);
  border-top-color: #25D366;
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
  margin: 0 auto var(--space-xl);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.whatsapp-redirect .btn-fallback {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  background: #25D366;
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-base);
  font-size: 0.95rem;
}

.whatsapp-redirect .btn-fallback:hover {
  background: #1EBE5A;
  transform: translateY(-2px);
}

.whatsapp-redirect .company-info {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-gray-200);
  font-size: 0.85rem;
  color: var(--color-gray-400);
}

.whatsapp-redirect .company-info a {
  color: var(--color-primary-500);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  .hero-image {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image {
    order: -1;
  }

  .about-image::before {
    display: none;
  }

  /* Overlay Backdrop */
  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 26, 62, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99998;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Slide-In Drawer from Left */
  .nav-links {
    display: flex !important;
    position: fixed !important;
    height: 100vh !important;
    width: 100% !important;
    max-width: 320px !important;
    top: 0 !important;
    left: -100% !important;
    background: #071A3E !important; /* Dark Navy sleek drawer */
    flex-direction: column !important;
    padding: 24px 20px 30px !important;
    overflow-y: auto !important;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.45) !important;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 99999 !important;
    gap: 0 !important;
    margin: 0 !important;
  }

  .nav-links.open {
    left: 0 !important;
  }

  /* Drawer Header */
  .nav-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-bottom: 20px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .nav-drawer-header img {
    height: 36px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
  }

  /* Close Button (X) */
  .close-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 20px !important;
    right: 18px !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    font-size: 24px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
  }

  .close-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: rotate(90deg) !important;
  }

  /* Drawer List */
  .nav-menu-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .nav-menu-list li {
    list-style: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .mobile-only {
    display: block !important;
  }

  .nav-menu-list a {
    display: flex !important;
    align-items: center !important;
    color: #F1F5F9 !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  .nav-menu-list a::after {
    display: none !important;
  }

  .nav-menu-list a:hover,
  .nav-menu-list a:active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #25D366 !important;
    border-left-color: #25D366 !important;
    padding-left: 20px !important;
  }

  .nav-cta-item {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .nav-menu-list .nav-cta {
    background: linear-gradient(135deg, #25D366, #1EBE5A) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-size: 1.05rem !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    justify-content: center !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4) !important;
    border-left: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .nav-menu-list .nav-cta:hover {
    background: linear-gradient(135deg, #1EBE5A, #179E4C) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
  }

  .mobile-toggle {
    display: flex !important;
    z-index: 1000 !important;
  }

  .mobile-toggle span {
    background: #071A3E !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --container-padding: 1rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: var(--space-2xl);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .badge-number {
    font-size: 1.25rem;
  }

  .badge-label {
    font-size: 0.7rem;
  }

  .brands-track {
    gap: var(--space-xl);
  }

  .brands-track img {
    height: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-redirect-card {
    padding: var(--space-2xl) var(--space-xl);
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
}

/* ============================================
   LEGAL PAGES (Política de Privacidade / Termos)
   ============================================ */
.legal-page {
  padding-top: calc(72px + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  background: #F8FAFC;
  min-height: 85vh;
}

.legal-page .container {
  max-width: 880px;
  background: #FFFFFF;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-gray-200);
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-gray-200);
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-900);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-page p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-gray-700);
  margin-bottom: var(--space-md);
}

.legal-page ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.legal-page li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-gray-700);
  margin-bottom: var(--space-xs);
}

.legal-page a {
  color: var(--color-primary-600);
  text-decoration: underline;
  font-weight: 500;
}

.legal-page a:hover {
  color: var(--color-primary-700);
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: calc(72px + var(--space-xl));
    padding-bottom: var(--space-2xl);
  }

  .legal-page .container {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .legal-page h1 {
    font-size: 1.75rem;
  }

  .legal-page h2 {
    font-size: 1.15rem;
  }
}
