/* Variables */
:root {
    --primary: #E83F8E;
    --secondary: #FF9EC6;
    --light: #FFF5F9;
    --dark: #5E2D40;
    --accent: #FF6B9E;
    --success: #4CAF50;
    --error: #F44336;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 10px;
    z-index: 1001;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

/* Navegação com efeitos */
.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(232, 63, 142, 0.05);
}

.nav-link:active {
    transform: translateY(2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(232, 63, 142, 0.8), rgba(232, 63, 142, 0.8)), 
                url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Hero Buttons - Ajustados para ficarem alinhados e com o mesmo tamanho */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons .btn {
    flex: 1;
    max-width: 250px;
    text-align: center;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background-color: var(--primary);
}

.btn:active {
    transform: translateY(1px);
}

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-box {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--dark);
}

/* Section Pages - Para controle de visibilidade */
.section-page {
    display: none;
    padding: 80px 0;
}

.section-page.active {
    display: block;
}

/* About Section */
.about-section {
    background-color: white;
}

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

.section-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 32px;
}

.about-story {
    margin-bottom: 50px;
}

.about-story p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-box {
    background-color: var(--light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
}

.value-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.value-box p {
    margin-bottom: 10px;
}

/* Calculator Section */
.calculator-section {
    background-color: var(--light);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(232, 63, 142, 0.2);
}

.calculator-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 32px;
}

.calculator-subtitle {
    text-align: center;
    color: var(--dark);
    margin-bottom: 40px;
    font-size: 18px;
}

/* Benefit Section */
.benefit-section {
    padding: 60px 0;
    background-color: white;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(232, 63, 142, 0.2);
}

.contact-subtitle {
    text-align: center;
    color: var(--dark);
    margin-bottom: 40px;
    font-size: 18px;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 63, 142, 0.1);
}

.form-note {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.error-message {
    color: var(--error);
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: var(--success);
}

/* Results */
.result-container {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(232, 63, 142, 0.1);
    border-radius: 8px;
    border-left: 5px solid var(--primary);
    display: none;
}

.result-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.result-details {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* Benefit Highlight */
.benefit-highlight {
    background-color: var(--secondary);
    padding: 15px;
    border-radius: 8px;
    margin: 30px 0;
    font-weight: 600;
    color: var(--dark);
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.benefit-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-highlight ul {
    margin-top: 10px;
    margin-left: 20px;
}

.benefit-highlight li {
    margin-bottom: 5px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalopen 0.5s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px)}
    to {opacity: 1; transform: translateY(0)}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-title {
    color: var(--primary);
    margin-top: 0;
}

.modal-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.modal-content li {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-column h3 {
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .hero {
        padding: 120px 0 80px;
        background-position: 60% center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .calculator-container,
    .contact-container {
        padding: 30px 20px;
    }
    
    .modal-content {
        margin: 20% auto;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
}
