/* assets/css/theme.css - VERSÃO OTIMIZADA E CORRIGIDA */
:root {
    --primary-dark: #0a0e17;
    --primary-light: #1a243f;
    --accent-color: #241b75;
    --primary-color: #0c6918;
    --text-dark: #f8f9fa;
    --text-light: #e9ecef;
    --text-white: #ffffff;
    --bg-light: #0f1217;
    --bg-white: #1a1f2b;
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.7);
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 25px;
    --header-height: 70px;
    --transition-normal: 0.3s ease;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: var(--header-height);
    overflow-x: hidden; /* CORREÇÃO: Prevenir scroll horizontal */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Inteligente - Esconde/Mostra */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(22, 26, 33, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2f3a;
    box-shadow: var(--shadow-medium);
    z-index: 1000; /* CORREÇÃO: Z-index consistente */
    height: var(--header-height);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.hidden {
    transform: translateY(-100%);
}

/* Mostra header quando mouse vai pro topo */
body:hover .site-header.hidden {
    transform: translateY(0);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.logo-image {
    height: 90px;
    width: auto;
    margin-right: 10px;
}

.logo:hover {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text-white);
    background: var(--primary-light);
}

/* Menu Mobile - CORRIGIDO */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002; /* CORREÇÃO: Z-index mais alto */
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999; /* CORREÇÃO: Z-index abaixo do menu */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background-image: url('../img/m4a1-wallpaper-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    color: var(--text-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Services Grid */
.services {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid #2a2f3a;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Formulários */
.form-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid #2a2f3a;
}

.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group label.required::after {
    content: " *";
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #2a2f3a;
    border-radius: var(--radius-md);
    font-size: 16px;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.3);
}

.form-group.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn,
.cta-button {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--accent-color);
}

.submit-btn:hover,
.cta-button:hover {
    background: #3002ff21;
    border-color: #181717;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-color);
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2f3a;
}

.contact-info h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.atendimento-humano {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    border: 1px solid #2a2f3a;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    border: 1px solid #2a2f3a;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--text-white);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-date {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    flex: 1;
    border: 1px solid #2a2f3a;
}

.timeline-title {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-text {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.timeline-tip {
    background: rgba(255, 107, 107, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-color);
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--text-white);
    margin-top: 3rem;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Newsletter */
.newsletter {
    background: var(--bg-light);
    padding: 5rem 0;
    border-top: 1px solid #2a2f3a;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #2a2f3a;
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all var(--transition-normal);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.3);
}

.newsletter-button-group {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.newsletter-select {
    flex: 1;
    padding: 15px;
    border: 2px solid #2a2f3a;
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
}

.newsletter-submit-btn {
    background: var(--accent-color);
    color: var(--text-white);
    border: 2px solid var(--accent-color);
    padding: 15px 30px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    min-width: 150px;
}

.newsletter-submit-btn:hover {
    background: #ff5252;
    border-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #2a2f3a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-white);
    border: 1px solid #2a2f3a;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    z-index: 1001;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    gap: 1rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    flex: 1;
}

.cookie-text i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--accent-color);
    color: var(--text-white);
}

.cookie-decline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid #2a2f3a;
}

.cookie-accept:hover {
    background: #ff5252;
}

.cookie-decline:hover {
    background: #2a2f3a;
    color: var(--text-white);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-white);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.page-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== LAYOUT DE CONTATO PERFEITAMENTE ALINHADO ===== */

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin: 2rem 0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Header do Formulário */
.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #2a2f3a;
}

.form-title {
    color: var(--text-white);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Estrutura do Formulário */
.structured-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid #2a2f3a;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2a2f3a;
}

.section-number {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.section-header h3 {
    color: var(--text-white);
    margin: 0;
    font-size: 1.3rem;
}

/* Grid do Formulário */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #2a2f3a;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-item label {
    margin: 0;
    font-weight: normal;
}

/* Ações do Formulário */
.form-actions {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid #2a2f3a;
}

.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 107, 107, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-color);
}

.terms-agreement input[type="checkbox"] {
    margin-top: 0.2rem;
}

.terms-agreement label {
    margin: 0;
    line-height: 1.5;
}

.submit-btn.full-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.back-link:hover {
    color: var(--accent-color);
}

/* Sidebar de Informações */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid #2a2f3a;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2a2f3a;
}

.card-header i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.card-header h3 {
    color: var(--text-white);
    margin: 0;
    font-size: 1.3rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.contact-line i {
    width: 20px;
    text-align: center;
    color: var(--accent-color);
}

.contact-line a,
.contact-line div {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-line a:hover {
    color: var(--accent-color);
}

/* Botões Especiais */
.whatsapp-btn.full-width,
.help-btn.full-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.whatsapp-btn.full-width {
    background: #25D366;
    color: white;
}

.whatsapp-btn.full-width:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.help-btn.full-width {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.help-btn.full-width:hover {
    background: var(--accent-color);
    color: var(--text-white);
}

.schedule-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.schedule-info i {
    color: var(--accent-color);
}

/* Utilitários */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.highlight {
    background: rgba(255, 107, 107, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-light);
}

.link-button {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.link-button:hover {
    text-decoration: underline;
}

/* Efeito de tiro */
.shot-hit {
    position: relative;
    overflow: visible;
    animation: shotFlash 160ms ease-out, shotShake 240ms ease-in-out;
}

@keyframes shotFlash {
    0% { box-shadow: 0 0 0 rgba(255,0,0,0); filter: brightness(1); }
    30% { box-shadow: 0 0 22px rgba(255, 0, 0, 0.459); filter: brightness(1.25); }
    100% { box-shadow: 0 0 0 rgba(255,0,0,0); filter: brightness(1); }
}

@keyframes shotShake {
    0% { transform: translate(0,0); }
    25% { transform: translate(-1px, 0.5px); }
    50% { transform: translate(1px, -0.5px); }
    75% { transform: translate(-0.5px, 1px); }
    100% { transform: translate(0,0); }
}

/* RESPONSIVIDADE - CORRIGIDO */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001; /* CORREÇÃO: Z-index consistente */
        gap: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin-bottom: 1rem;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: left;
    }

    .menu-toggle {
        display: flex !important; /* CORREÇÃO: Forçar display */
        z-index: 1002;
    }

    .hero {
        padding: 120px 0 60px;
        height: auto;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .newsletter-input-group,
    .newsletter-button-group {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-select,
    .newsletter-submit-btn {
        width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .form-group.checkbox-grid {
        grid-template-columns: 1fr;
    }

    /* CORREÇÃO: Prevenir scroll quando menu aberto */
    body.no-scroll {
        overflow: hidden;
    }

    /* Responsividade para o novo layout de contato */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-section-card,
    .form-actions,
    .info-card {
        padding: 1.5rem;
    }
    
    .contact-info-section {
        position: static;
    }

    .form-header {
        margin-bottom: 2rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .terms-agreement {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .faq-categories {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 100%;
        max-width: 200px;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
/* ===== BOTÃO LOGIN / SISTEMA ===== */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--accent-color);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* BOTÃO VOLTAR AO TOPO */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 999;
}