/* Reset e Base */
:root {
  --primary-color: #001B5E;
  --secondary-color: #004AAD;
  --accent-color: #00d8ff;
  --text-color: #333;
  --light-text-color: #6c757d;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --error-color: #e74c3c;
  --font-family-inter: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-inter);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  font-display: swap; /* Melhoria para carregamento de fonte */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem; /* 20px */
}

/* Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  z-index: 9999;
  font-size: 0.9rem;
  display: none; /* Esconde por padrão, JS mostra com 'show' */
  animation: slideUp 0.5s ease forwards;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner a {
  color: var(--accent-color);
  text-decoration: underline;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Elementos de imagem com tamanho explícito */
img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Removido opacity: 0; para loading="lazy" - O navegador cuida da visibilidade */
/* img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
  opacity: 1;
} */

/* Acessibilidade e performance */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease; /* Transições mais específicas */
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Menu - ativação */
.nav-menu.active {
    display: flex; /* ou block/flex-column, dependendo do design */
    position: absolute; /* Ajuste para sobrepor o conteúdo */
    top: 100%; /* Abaixo do header */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-menu.active .nav-link {
    padding: 0.8rem 0;
    width: 100%;
    text-align: center;
}


/* Buttons */
.btn {
    padding: 0.75rem 1.5rem; /* 12px 24px */
    border: none;
    border-radius: 0.5rem; /* 8px */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* 8px */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.btn-large {
    padding: 1rem 2rem; /* 16px 32px */
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 7.5rem 0 5rem; /* 120px 0 80px */
    background: linear-gradient(135deg, var(--background-light) 0%, var(--border-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2c3e50; /* Hardcoded porque é um cinza específico para títulos */
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    color: #495057; /* Hardcoded cinza */
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

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

.hero-video-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    border-radius: 1rem; /* 16px */
    overflow: hidden;
    box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.1); /* 20px 60px */
}

.hero-video-container iframe {
    width: 100%;
    height: 100%;
}

/* Problem/Solution Section */
.problem-solution {
    padding: 5rem 0; /* 80px */
    background: var(--background-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 1rem; /* 16px */
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-icon {
    width: 5rem; /* 80px */
    height: 5rem; /* 80px */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.problem-icon i {
    font-size: 2rem;
    color: white;
}

.problem-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.solution {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 1rem; /* 16px */
    text-align: center;
}

.solution h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.solution p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--background-light);
}

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--background-white);
    padding: 3rem;
    border-radius: 1.25rem; /* 20px */
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.05); /* 10px 40px */
}

.feature-item-large.reverse {
    direction: rtl; /* Inverte a ordem visual */
}

.feature-item-large.reverse > * {
    direction: ltr; /* Restaura a direção do texto dentro dos elementos filhos */
}

.feature-icon {
    width: 3.75rem; /* 60px */
    height: 3.75rem; /* 60px */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0.75rem; /* 12px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--light-text-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    margin-bottom: 0.8rem;
    color: #495057;
}

.feature-list i {
    color: var(--success-color);
    font-size: 1rem;
}

.feature-image {
    border-radius: 0.75rem; /* 12px */
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--background-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 1rem; /* 16px */
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.1); /* 15px 40px */
}

.benefit-icon {
    width: 5rem; /* 80px */
    height: 5rem; /* 80px */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.benefit-card p {
    color: var(--light-text-color);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--background-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-white);
    border-radius: 0.75rem; /* 12px */
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05); /* 2px 10px */
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

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

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px; /* Um valor maior que o conteúdo, ou JS para altura automática */
}

.faq-answer p {
    color: var(--light-text-color);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--background-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 1rem; /* 16px */
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem; /* 12px 16px */
    border: 2px solid var(--border-color);
    border-radius: 0.5rem; /* 8px */
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a2639, #2c3e50);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
	filter: brightness(0) invert(1); /* Deixa o logo branco para fundo escuro */
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-section h4 {
    font-size: 1.15rem;
    font-weight: 700;
	text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .feature-item-large {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-item-large.reverse { /* Reseta a direção para mobile */
        direction: ltr;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem; /* 14px 24px */
        font-size: 1rem;
    }
    
    .feature-item-large {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

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

/* .hero-content e .hero-image já são animados via IntersectionObserver no JS,
   mas essas classes de animação podem ser mantidas para fallback ou outros elementos. */
.hero-content {
    /* animation: fadeInUp 0.8s ease-out; Removido para usar JS IntersectionObserver */
}

.hero-image {
    /* animation: fadeInUp 0.8s ease-out 0.2s both; Removido para usar JS IntersectionObserver */
}

/* Smooth scrolling for anchor links - já definido no html */

/* Loading states - já definido */

/* Focus states for accessibility - já definido */