/* CSS Reset & Font Setup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-color: #0f2d59;        /* Azul institucional do CONASEMS */
  --primary-light: #1c4d94;        /* Azul mais claro para hovers/detalhes */
  --primary-dark: #071933;         /* Azul escuro para textos de títulos */
  --accent-color: #2c8a4b;         /* Verde institucional (Atenção Primária / Sucesso) */
  --accent-light: #effaf1;         /* Verde ultra claro para fundos de cards */
  --accent-hover: #216a38;         /* Verde para hover em CTAs */
  --warning-color: #f4b400;        /* Amarelo institucional (Atenção / Detalhes) */
  --warning-light: #fef8e7;        /* Amarelo ultra claro */
  
  /* Neutral Palette */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --focus-ring: #0b57d0;
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Accessibility: Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Visually Hidden Class */
.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

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

.section-padding {
  padding: 6.5rem 0;
}

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

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

/* Badge styling */
.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(44, 138, 75, 0.15);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 138, 75, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background-color: rgba(15, 45, 89, 0.05);
  transform: translateY(-2px);
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition-fast);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 45, 89, 0.08);
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%), 
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M30,50 L70,50 M50,30 L50,70' stroke='%230f2d59' stroke-width='1.5' stroke-opacity='0.02' stroke-linecap='round'/%3E%3C/svg%3E");
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.hero-description:last-of-type {
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Dashboard Mockup (Pure HTML/CSS) */
.dashboard-mockup {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(15, 45, 89, 0.12);
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  grid-template-columns: 60px 1fr;
  font-size: 12px;
}

.mock-sidebar {
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0;
  gap: 1rem;
}

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--warning-color);
  margin-bottom: 1rem;
}

.mock-menu-item {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
}

.mock-menu-item.active {
  background-color: var(--accent-color);
}

.mock-main {
  background-color: var(--bg-light);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.mock-status {
  padding: 3px 8px;
  border-radius: 12px;
  background-color: #d1fae5;
  color: #065f46;
  font-weight: 500;
  font-size: 10px;
}

.mock-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mock-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
}

.mock-card-label {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

.mock-card-val {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 2px 0;
}

.mock-card-change {
  font-size: 8px;
  font-weight: 600;
  color: var(--accent-color);
}

.mock-chart-container {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-chart-title {
  font-weight: 600;
  font-size: 10px;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100%;
  padding-top: 0.5rem;
}

.mock-chart-bar {
  width: 14%;
  background-color: var(--primary-light);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease-in-out;
}

.mock-chart-bar:nth-child(even) {
  background-color: var(--accent-color);
}

.mock-chart-label {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  color: var(--text-muted);
}

.mock-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(15, 45, 89, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}

.mock-fb-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.mock-fb-text h4 {
  font-size: 11px;
  margin: 0;
}

.mock-fb-text p {
  font-size: 9px;
  color: var(--text-muted);
}

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

/* Brazil Map Vector Background */
.map-bg-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* Section Common Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Section "O que é" */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin-top: 2rem;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-list-icon {
  flex-shrink: 0;
  color: var(--accent-color);
  display: flex;
  align-items: center;
}

.about-badge-card {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 30px rgba(15, 45, 89, 0.15);
  position: relative;
  overflow: hidden;
}

.about-badge-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.about-badge-title {
  color: var(--bg-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-badge-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.features-grid > *:nth-child(4),
.features-grid > *:nth-child(5) {
  grid-column: span 1;
}

/* For symmetric look when 5 cards, let's offset on desktop if needed, or keep it standard grid */
.features-grid {
  grid-template-rows: auto;
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(15, 45, 89, 0.08);
  border-color: rgba(15, 45, 89, 0.15);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(15, 45, 89, 0.06);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* How It Works Section */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 3rem 2.5rem 3rem;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg-light);
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -20px;
}

.timeline-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast);
}

.timeline-panel:hover {
  transform: translateY(-2px);
}

.timeline-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-panel p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin: 0;
}

/* Security and Reliability Section */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.security-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  gap: 1.25rem;
}

.security-icon {
  flex-shrink: 0;
  color: var(--accent-color);
}

.security-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.security-card-content p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin: 0;
}

.security-notice-box {
  background-color: #f1f5f9;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.security-notice-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.security-notice-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

/* Who Can Participate Section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.audience-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transition: border-color var(--transition-fast);
}

.audience-card:hover {
  border-color: var(--accent-color);
}

.audience-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(44, 138, 75, 0.08);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-card h3 {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 600;
}

/* Lead Capture Form Section */
.form-section {
  position: relative;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(44, 138, 75, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.form-intro h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.form-intro p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.form-benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.form-benefit-icon {
  color: var(--warning-color);
  flex-shrink: 0;
  display: flex;
}

.form-card {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: var(--border-radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-card-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

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

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  background-color: var(--bg-white);
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.15);
  outline: none;
}

/* User-invalid CSS selector for non-intrusive error highlights */
.form-control:invalid:user-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.form-control:invalid:user-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.4;
  user-select: none;
}

/* Accessible hidden input pattern */
.checkbox-input {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.custom-checkbox {
  flex-shrink: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-light);
  position: relative;
  transition: all var(--transition-fast);
}

.checkbox-input:checked + .custom-checkbox {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.checkbox-input:checked + .custom-checkbox::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--bg-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-input:focus-visible + .custom-checkbox {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1.5rem;
  min-height: 52px;
  font-size: 1.05rem;
}

.form-submit-btn:disabled {
  background-color: var(--text-muted);
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-success-message {
  display: none;
  background-color: var(--accent-light);
  border: 1px solid rgba(44, 138, 75, 0.2);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  color: var(--primary-dark);
  animation: fadeIn 0.4s ease forwards;
}

.form-success-message h3 {
  color: var(--accent-hover);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-success-message p {
  color: var(--text-dark);
  font-size: 0.95rem;
}

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

/* Footer */
.footer {
  background-color: var(--primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .security-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .form-intro {
    text-align: center;
  }
  
  .form-benefit-item {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section-padding {
    padding: 4.5rem 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  /* Mobile Navigation Menu */
  .hamburger {
    display: block;
    color: var(--primary-color);
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    transition: left var(--transition-normal);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 1.15rem;
    display: block;
    padding: 0.5rem 0;
    width: 100%;
  }
  
  .nav-cta-btn {
    width: 100%;
    margin-top: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  /* Timeline Mobile Layout */
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 3.5rem;
    padding-right: 0;
    text-align: left !important;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-badge {
    left: 0 !important;
    right: auto !important;
  }
  
  .form-card {
    padding: 2.5rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

/* Modal de Sucesso Moderno */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
  animation: fadeInModal 0.3s ease-out forwards;
}

.modal-card {
  background-color: var(--bg-white);
  color: var(--text-dark);
  max-width: 500px;
  width: 100%;
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transform: scale(0.95);
  animation: scaleInCard 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--bg-light);
  color: var(--text-dark);
  transform: rotate(90deg);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(11, 87, 208, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.modal-text {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-text:last-of-type {
  margin-bottom: 0;
}

.modal-ok-btn {
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

@keyframes scaleInCard {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Compartilhamento Social */
.social-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-share-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
}

.social-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-white);
  transition: all var(--transition-fast);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
}

.share-btn svg {
  transition: transform var(--transition-fast);
}

.share-btn:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn:hover svg {
  transform: scale(1.1);
}

/* Cores de Hover para Redes Sociais */
.share-btn.whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
}

.share-btn.facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
}

.share-btn.linkedin:hover {
  border-color: #0077b5;
  color: #0077b5;
}
