/* Variáveis e Configurações Globais */
:root {
    --primary-dark: #1a1a1a;
    --accent-red: #d90429;
    --text-main: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --primary-blue: #0066cc;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5 {
    color: #ffffff;
}

body.dark-mode .bg-light {
    background-color: #2a2a2a !important;
}

body.dark-mode .card {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .text-secondary {
    color: #b0b0b0 !important;
}

body.dark-mode .accordion-button {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .accordion-button:not(.collapsed) {
    background-color: #333333;
    color: #ffffff;
}

body.dark-mode .form-control {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #444444;
}

body.dark-mode .form-control:focus {
    background-color: #333333;
    color: #e0e0e0;
    border-color: var(--accent-red);
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.mb-100 {
    margin-bottom: 100px;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1050;
}

#darkModeBtn {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
}

#darkModeBtn:hover {
    background-color: rgba(0, 0, 0, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    position: relative;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.hero-image-container {
    position: relative;
    padding: 20px;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-red);
    opacity: 0.1;
    border-radius: 2rem;
    z-index: -1;
    transform: rotate(3deg);
}

/* Floating Alert */
.floating-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1040;
    max-width: 300px;
    animation: slideInRight 1s ease-out;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1035;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* Step Icons */
.step-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

body.dark-mode .step-icon {
    background: #2a2a2a;
}

.step-icon:hover {
    transform: translateY(-10px);
}

/* Cards & Shadows */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

/* Buttons */
.btn-danger {
    background-color: var(--accent-red);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #ef233c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 4, 41, 0.3);
}

.btn-outline-dark {
    border-width: 2px;
    font-weight: 600;
}

.btn-light {
    color: #003366;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-light:hover {
    color: #003366;
    background-color: #e2e6ea;
    border-color: #e2e6ea;
}

/* Stats */
.stats h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Accordion */
.accordion-item {
    border: none;
    background-color: #fff;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
}

body.dark-mode .accordion-item {
    background-color: #2a2a2a;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    background-color: #fff;
    color: var(--text-main);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.25rem rgba(217, 4, 41, 0.25);
}

.accordion-body {
    padding: 1.5rem;
}

/* Form */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.25rem rgba(217, 4, 41, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* AOS Custom */
[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
}
