/* ====================================
   FUSION INTERNET WI-FI - DESIGN SYSTEM
   ==================================== */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --primary-dark: #0A2463;
  --primary-medium: #1E88E5;
  --primary-light: #00BCD4;
  --success: #2E7D32;
  --warning: #FF9800;
  --danger: #D32F2F;
  --bg: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-gray: #F1F5F9;
  --text: #1F2937;
  --text-light: #6B7280;
  --text-white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

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

  /* Sizes */
  --container: 1200px;
  --header-height: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-medium);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul { list-style: none; }

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

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

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--primary-medium);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: var(--text-white);
  border-color: var(--success);
}

.btn-success:hover {
  background: #1B5E20;
  border-color: #1B5E20;
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--text-white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-dark);
  text-decoration: none;
}

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

.navbar-logo:hover {
  color: var(--primary-dark);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.938rem;
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-medium);
  transition: var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links a.active {
  color: var(--primary-medium);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 1.125rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-medium);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 4px;
  min-width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.813rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.813rem;
}

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

/* --- Hero Section --- */
.hero {
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0D47A1 50%, var(--primary-medium) 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: var(--text-white);
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
}

.hero-stat-label {
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: 4px;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-white);
}

/* --- Cards --- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(30, 136, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-medium);
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.938rem;
  line-height: 1.6;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Plan Cards --- */
.plan-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.plan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-medium);
}

.plan-card.featured {
  border-color: var(--primary-medium);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-medium);
  color: var(--text-white);
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.plan-speed {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-medium);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.plan-speed span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.plan-price {
  font-size: 0.938rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.plan-price strong {
  font-size: 2rem;
  color: var(--text);
  font-weight: 800;
  font-family: var(--font-heading);
}

.plan-features {
  text-align: left;
  margin-bottom: 24px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.plan-features i {
  color: var(--success);
  margin-top: 3px;
  flex-shrink: 0;
}

.plan-card .btn {
  width: 100%;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: var(--primary-light);
  opacity: 0.2;
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-text {
  font-size: 0.938rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.813rem;
  color: var(--text-light);
}

.testimonial-stars {
  color: #FFB300;
  font-size: 0.875rem;
  margin-top: 2px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-gray);
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary-medium);
  font-size: 0.875rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.938rem;
  line-height: 1.7;
}

/* --- Contact / CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
  color: var(--text-white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .btn {
  margin: 4px;
}

/* --- Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-medium);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--text-white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* --- Page Header (internal pages) --- */
.page-header {
  padding: calc(var(--header-height) + 60px) 0 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
  color: var(--text-white);
  text-align: center;
}

.page-header h1 {
  color: var(--text-white);
  margin-bottom: 8px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--text-white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb i {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-medium);
  flex-shrink: 0;
}

.service-body h3 {
  margin-bottom: 8px;
}

.service-body p {
  color: var(--text-light);
  font-size: 0.938rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Dashboard --- */
.dashboard-container {
  padding: calc(var(--header-height) + 40px) 0 60px;
}

.dashboard-header {
  margin-bottom: 32px;
}

.dashboard-header h1 {
  font-size: 1.75rem;
}

.dashboard-header p {
  color: var(--text-light);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dashboard-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dashboard-card-header h4 {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 600;
}

.dashboard-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.dashboard-card-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.dashboard-card-change {
  font-size: 0.813rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dashboard-card-change.up {
  color: var(--success);
}

.dashboard-card-change.down {
  color: var(--danger);
}

.chart-container {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.chart-container h3 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.charts-row-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* --- Tables --- */
.table-container {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.table-container h3 {
  padding: 20px 24px;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--bg-gray);
}

th {
  text-align: left;
  padding: 12px 24px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
}

td {
  padding: 14px 24px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

tr:last-child td {
  border-bottom: none;
}

.progress-bar {
  height: 8px;
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  overflow: hidden;
  max-width: 200px;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .charts-row {
    grid-template-columns: 1fr;
  }

  .charts-row-alt {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .navbar-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

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

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero-image {
    display: none;
  }

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

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  section {
    padding: 60px 0;
  }

  .page-header {
    padding: calc(var(--header-height) + 40px) 0 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 60px) 0 60px;
  }

  .hero-content h1 {
    font-size: 1.625rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .plan-speed {
    font-size: 2rem;
  }

  .cta-section {
    padding: 60px 0;
  }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

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

/* --- AOS-like scroll animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Table Wrapper (horizontal scroll on mobile) --- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}

/* --- Accessibility: Focus visible --- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
  outline: 3px solid var(--primary-medium);
  outline-offset: 2px;
}

/* --- Skip to content (accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary-medium);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* --- Print styles (dashboard) --- */
@media print {
  .navbar,
  .footer,
  .whatsapp-float,
  .btn,
  .export-btn {
    display: none !important;
  }

  .dashboard-container {
    padding: 20px 0;
  }

  .dashboard-card,
  .chart-container,
  .table-container {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .page-header {
    padding: 20px 0;
    background: #fff !important;
    color: #000 !important;
  }

  .page-header h1 {
    color: #000 !important;
  }
}

/* --- Smooth scroll for anchor links --- */
html {
  scroll-padding-top: calc(var(--header-height) + 20px);
}

/* --- Disable animations for reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   DASHBOARD EXTENSIONS
   ============================================ */

/* --- Tabs Sidebar --- */
.dashboard-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.dashboard-tabs {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.dashboard-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.dashboard-tab:hover {
  background: var(--bg-gray);
}

.dashboard-tab.active {
  background: rgba(30, 136, 229, 0.08);
  color: var(--primary-medium);
  border-left-color: var(--primary-medium);
  font-weight: 600;
}

.dashboard-tab i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.dashboard-content {
  flex: 1;
  min-width: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* --- Status Badges --- */
.status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.status-novo { background: rgba(30, 136, 229, 0.12); color: #1E88E5; }
.status-emcontato { background: rgba(255, 152, 0, 0.12); color: #FF9800; }
.status-proposta { background: rgba(156, 39, 176, 0.12); color: #9C27B0; }
.status-convertido { background: rgba(46, 125, 50, 0.12); color: #2E7D32; }
.status-perdido { background: rgba(211, 47, 47, 0.12); color: #D32F2F; }
.status-ativa { background: rgba(46, 125, 50, 0.12); color: #2E7D32; }
.status-pausada { background: rgba(255, 152, 0, 0.12); color: #FF9800; }
.status-encerrada { background: rgba(100, 116, 139, 0.12); color: #64748B; }
.status-contato { background: rgba(30, 136, 229, 0.12); color: #1E88E5; }
.status-contratar { background: rgba(46, 125, 50, 0.12); color: #2E7D32; }

/* --- Buttons (icon) --- */
.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.813rem;
}

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

.btn-icon-danger:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.btn-icon-warning:hover {
  border-color: var(--warning);
  color: var(--warning);
}

/* --- Filter Buttons --- */
.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--primary-medium);
  color: var(--text-white);
  border-color: var(--primary-medium);
}

/* --- Lead Table --- */
.lead-table th {
  white-space: nowrap;
}

/* --- Modals --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--bg-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-light);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--danger);
  color: var(--text-white);
}

.modal h2 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

/* --- Campaign Cards --- */
.campanhas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.campanha-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.campanha-card:hover {
  box-shadow: var(--shadow-lg);
}

.campanha-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 20px 0;
}

.campanha-header h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.campanha-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.campanha-body {
  padding: 16px 20px 20px;
}

.campanha-meta {
  display: flex;
  gap: 16px;
  font-size: 0.813rem;
  color: var(--text-light);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.campanha-meta i {
  width: 14px;
  margin-right: 4px;
}

.campanha-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.camp-stat {
  text-align: center;
  padding: 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.camp-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.camp-stat-label {
  font-size: 0.688rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.camp-investimento {
  margin-top: 8px;
}

/* --- Form Items --- */
.formularios-list {
  display: grid;
  gap: 12px;
}

.form-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  transition: var(--transition);
}

.form-item-unread {
  border-left: 3px solid var(--primary-medium);
  background: rgba(30, 136, 229, 0.03);
}

.form-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.form-item-body {
  padding-left: 4px;
}

/* --- Dashboard Section Header --- */
.dashboard-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.dashboard-section-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .dashboard-layout {
    flex-direction: column;
  }

  .dashboard-tabs {
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .dashboard-tab {
    flex: 1;
    min-width: 100px;
    justify-content: center;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
    font-size: 0.813rem;
  }

  .dashboard-tab.active {
    border-left-color: transparent;
    border-bottom-color: var(--primary-medium);
  }

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

  .campanha-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-tabs {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .dashboard-tab {
    min-width: auto;
    white-space: nowrap;
    padding: 10px 14px;
  }

  .dashboard-tab span {
    display: none;
  }

  .dashboard-tab i {
    margin: 0;
  }

  .modal {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .dashboard-section-header {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- CTA Form --- */
.cta-form {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 600px;
  margin: 32px auto 0;
  text-align: left;
  box-shadow: var(--shadow-lg);
}

.cta-form h3 {
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: var(--text);
  text-align: center;
}

.cta-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-form .form-group {
  margin-bottom: 16px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  box-sizing: border-box;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--primary-medium);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.cta-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .cta-form {
    padding: 24px 20px;
  }

  .cta-form .form-row {
    grid-template-columns: 1fr;
  }
}
