/* Custom Properties */
:root {
    /* Colors requested */
    --color-primary: #0B5FFF; /* Azul Oceano */
    --color-primary-hover: #084bcc;
    --color-secondary: #2BB673; /* Verde Natureza */
    --color-accent: #FF8A00; /* Laranja Pôr do Sol */
    --color-light: #FFFFFF; /* Branco */
    --color-bg: #F5F7FA; /* Cinza Claro */
    --color-dark: #293241; /* Cinza Escuro */
    
    --color-text: #4A5568;
    
    --font-main: 'Poppins', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(11, 95, 255, 0.5);
    
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-main);
    color: var(--color-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.btn-secondary:hover {
    background-color: #239b61;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-light);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
    border-color: var(--color-light);
}

.btn-glow {
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(11, 95, 255, 0.8);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 24px 0;
    background: transparent;
}

.header.scrolled {
    background: rgba(41, 50, 65, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-light);
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--color-accent);
    font-size: 2rem;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--color-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-light);
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 95, 255, 0.5) 0%, rgba(41, 50, 65, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--color-light);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--color-light);
    margin-bottom: 24px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-message {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-message p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.hero-message .highlight-text {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-light);
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
}

/* Diferenciais Section */
.features {
    background: linear-gradient(180deg, var(--color-bg) 0%, #FFFFFF 100%);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 40px 40px 0 0;
    padding-top: 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: #FFFFFF;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 88px;
    height: 88px;
    background: rgba(11, 95, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-primary);
    font-size: 2.8rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: var(--color-light);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(11, 95, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--color-text);
}

/* Why Choose Section */
.why-choose {
    background-color: #FFFFFF;
}

.why-choose-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.why-choose-content {
    flex: 1;
}

.section-desc {
    font-size: 1.15rem;
    margin-bottom: 32px;
    color: var(--color-text);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-dark);
}

.check-list i {
    color: var(--color-secondary);
    font-size: 1.6rem;
}

.why-choose-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-img {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

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

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
    color: var(--color-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stat-text {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--color-bg);
    text-align: center;
}

.newsletter-container {
    background: #FFFFFF;
    padding: 80px 40px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.newsletter-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(11, 95, 255, 0.04) 0%, transparent 60%);
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content p {
    margin-bottom: 32px;
    font-size: 1.15rem;
    color: var(--color-text);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 550px;
    margin: 0 auto;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0AEC0;
    font-size: 1.4rem;
}

.input-group input {
    width: 100%;
    padding: 18px 24px 18px 60px;
    border-radius: 50px;
    border: 2px solid #E2E8F0;
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
    background-color: #F8FAFC;
}

.input-group input:focus {
    border-color: var(--color-primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(11, 95, 255, 0.1);
}

.form-message {
    font-size: 1rem;
    font-weight: 500;
    min-height: 24px;
}

.form-message.success { color: var(--color-secondary); }
.form-message.error { color: #E53E3E; }

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    opacity: 0.7;
    max-width: 400px;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-primary);
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(11, 95, 255, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .why-choose-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-dark);
        flex-direction: column;
        align-items: center;
        padding: 24px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .nav-list.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .menu-toggle {
        display: block;
    }

    .header .btn-outline {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
