/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header img {
    max-width: 180px; /* <-- Aumente este valor (ex: 180px, 200px, etc.) */
    height: auto;     /* Mantenha 'auto' para a altura não distorcer */
}
:root {
    /* Colors */
    --primary: hsl(217, 91%, 60%);
    --primary-dark: hsl(217, 91%, 50%);
    --accent: hsl(351, 95%, 71%);
    --destructive: hsl(0, 84%, 60%);
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222, 47%, 11%);
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215, 16%, 47%);
    --border: hsl(214, 32%, 91%);
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Montserrat', system-ui, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius: 0.75rem;
    --radius-lg: 1rem;
    
    /* Shadows */
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* height: 5rem;  <-- REMOVA essa linha */
    min-height: 6.5rem;           /* mais espaço para o logo */
    padding-block: 0.25rem;       /* respiro vertical */
}

/* LOGO: tamanho responsivo (sem !important) e transição suave */
.logo img {
    height: 10rem !important; /* TESTE */
    width: auto; 
}

/* Encolher quando a navbar ganhar a classe 'scrolled' (JS já faz isso) */
nav.scrolled .logo img {
    height: clamp(2.25rem, 5vw, 3.5rem);
}

@media (min-width: 1024px) {
    .nav-content { min-height: 7.25rem; }
    .logo img { height: clamp(3.75rem, 5vw, 7rem); } /* até ~112px */
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    opacity: 0.8;
    transition: all 0.2s;
    cursor: pointer;
}

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

.desktop-nav {
    display: none;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s;
}

.hamburger::before {
    top: -0.5rem;
}

.hamburger::after {
    bottom: -0.5rem;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

.mobile-nav.active {
    display: flex;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--destructive) 100%);
    color: white;
}

.btn-gradient:hover {
    opacity: 0.9;
}

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

.btn-outline:hover {
    background: var(--muted);
}

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

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

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

.btn-white:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        hsla(217, 91%, 60%, 0.95) 0%, 
        hsla(217, 91%, 60%, 0.85) 50%, 
        hsla(217, 91%, 60%, 0.75) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 2rem 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.carousel {
    position: relative;
    height: 200px;
    margin-bottom: 2rem;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.indicator {
    height: 4px;
    width: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    width: 3rem;
    background: white;
}

.hero-card {
    animation: fadeIn 0.8s ease;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.card-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.card-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.button-group-responsive {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.chevron {
    width: 2rem;
    height: 2rem;
    color: white;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-gradient {
    background: linear-gradient(135deg, 
        hsl(217, 91%, 60%) 0%, 
        hsla(217, 91%, 60%, 0.95) 50%, 
        hsla(217, 91%, 60%, 0.9) 100%);
}

.section-cta {
    background: linear-gradient(135deg, 
        hsla(351, 95%, 71%, 0.1) 0%, 
        hsl(0, 0%, 100%) 50%, 
        hsla(217, 91%, 60%, 0.05) 100%);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--muted-foreground);
}

.text-white {
    color: white;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.9);
}

.text-accent {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

.mb-large {
    margin-bottom: 2rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Cards */
.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.stat-primary {
    background: linear-gradient(135deg, 
        hsla(217, 91%, 60%, 0.05) 0%, 
        hsla(217, 91%, 60%, 0.1) 100%);
}

.stat-accent {
    background: linear-gradient(135deg, 
        hsla(351, 95%, 71%, 0.05) 0%, 
        hsla(351, 95%, 71%, 0.1) 100%);
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: hsla(217, 91%, 60%, 0.1);
    margin-bottom: 1rem;
}

.stat-icon .icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted-foreground);
}

.feature-card {
    padding: 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    background: hsla(217, 91%, 60%, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: hsla(217, 91%, 60%, 0.2);
}

.feature-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--muted-foreground);
}

/* Benefits */
.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-large {
    display: flex;
    gap: 1rem;
}

.benefit-icon-large {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    background: hsla(217, 91%, 60%, 0.1);
}

.benefit-icon-large .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.benefit-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-text {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.icon-check {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Images */
.img-rounded {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, 
        hsl(217, 91%, 60%) 0%, 
        hsl(217, 91%, 55%) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-link .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.fade-in,
.fade-in-up,
.slide-in-right {
    animation: fadeIn 0.8s ease;
}

/* Responsive Design */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-reverse {
        direction: rtl;
    }
    
    .grid-reverse > * {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .button-group-responsive {
        flex-direction: row;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}