@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-UltraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-UltraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-SemiBoldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-HeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aileron';
    src: url('../assets/aileron/Aileron-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root {
    /* --- ÁREA DE CORES DA LOGO (IMPORTANTE!) --- */
    --brand-primary: #001466;   /* Azul marinho solicitado */
    --brand-primary-rgb: 0, 20, 102;
    --brand-secondary: #00A859; /* Verde */
    --brand-accent: #FFC107;    /* Amarelo */
    
    /* Cores Neutras */
    --text-dark: #222222;
    --text-medium: #001466;
    --text-light: #FFFFFF;
    --bg-light: #F4F7F6;
    --bg-white: #FFFFFF;
    
    /* Configurações Globais */
    --header-height: 90px;
    --border-radius-lg: 15px;
    --border-radius-sm: 8px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-deep: 0 15px 40px rgba(0, 35, 102, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Resets e Tipografia Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Aileron', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--bg-light);
    padding-top: var(--header-height);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Aileron', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- HEADER & NAV --- */
.main-header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo-img {
    max-height: 60px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Forçando a cor azul escuro com seletores mais específicos */
.nav-link, 
.main-nav ul li a,
.main-nav ul li a.nav-link {
    font-weight: 600;
    color: #001466 !important; /* Azul Marinho Escuro #001466 */
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px; /* Espaço para o underline */
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #D63384; /* Linha rosa */
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-primary); /* Mantém azul no hover */
}

.nav-link:hover::after {
    width: 100%; /* Efeito de underline animado */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-primary);
    cursor: pointer;
}

/* --- BUTTONS MODERNIZADOS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Aileron', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--brand-secondary);
    color: var(--text-light);
}
.btn-primary:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

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

.btn-outline-white {
    background: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}
.btn-outline-white:hover {
    background: var(--text-light);
    color: var(--brand-primary);
    transform: translateY(-3px);
}

.btn-accent {
    background-color: var(--brand-accent);
    color: var(--brand-primary);
}
.btn-accent:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

/* --- HERO CAROUSEL --- */
.hero-carousel {
    position: relative;
    height: 600px;
    background: #000;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: top center; /* Ajustado para pegar parte superior */
    display: none;
    align-items: center;
}

.carousel-slide.active { display: flex; }

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 51, 102, 0.95) 0%, 
        rgba(0, 51, 102, 0.6) 50%, 
        rgba(0, 51, 102, 0.2) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    max-width: 700px;
    padding: 0 20px;
    animation: slideUpFade 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.slide-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.9;
}

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

.carousel-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
    color: var(--text-light);
    font-size: 1.2rem;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.carousel-controls button:hover { background: #D63384; color: #fff; border-color: #D63384; /* Rosa solicitado */ }
.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }

/* --- FEATURES SECTION --- */
.features-section {
    position: relative;
    margin-top: -100px; 
    z-index: 20;
    padding-bottom: 80px;
}

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

.feature-card {
    background: var(--bg-white);
    padding: 50px 30px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-deep);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-bottom-color: #D63384; /* Rosa solicitado */
}

.feature-icon-box {
    width: 80px; height: 80px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: -90px auto 20px;
    font-size: 2rem;
    color: var(--brand-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card h3 { margin-bottom: 15px; }
.feature-card p { margin-bottom: 20px; color: var(--text-medium); }
.feature-link { color: var(--brand-secondary); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.feature-link:hover { gap: 10px; }

/* --- FOOTER --- */
.main-footer {
    background: var(--brand-primary);
    color: var(--text-light);
    padding: 80px 0 0;
    position: relative;
    /* Gradiente solicitado anteriormente */
    background: linear-gradient(135deg, #003366 0%, #D63384 100%);
}

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

.footer-col h3 {
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0; width: 50px; height: 3px;
    background-color: var(--brand-accent);
}

.footer-col p { margin-bottom: 15px; opacity: 0.9; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-light); opacity: 0.8; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; padding-left: 5px; color: var(--brand-accent); }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.social-links a:hover { background: var(--brand-accent); color: var(--brand-primary); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    text-align: center;
}
.footer-bottom .container {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}

.acessibilidade span { display: flex; align-items: center; gap: 8px; cursor: pointer; opacity: 0.8; }
.acessibilidade span:hover { opacity: 1; }

@media (max-width: 768px) {
    .main-header { padding: 0 20px; }
    .mobile-menu-btn { display: block; z-index: 1001; }
    
    .main-nav { 
        display: none; 
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 15px; align-items: flex-start; }
    
    .hero-carousel { height: 400px; }
    .slide-content h2 { font-size: 2rem; margin-bottom: 15px; }
    .slide-content p { font-size: 1rem; margin-bottom: 20px; }
    
    .features-section { margin-top: -30px; }
    
    .footer-grid { text-align: center; gap: 30px; padding-bottom: 40px; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 10px; }
}

/* --- WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
.main-nav .nav-link[style*="background:#ffc107"]:hover {
    background: #e0a800 !important;
    transform: translateY(-1px);
}