/* Definição das cores principais do tema */
:root {
    --bossanova: #123f7a;
    --gold-sand: #d1008c;
    --snuff: #f4f8fd;
    --sandrift: #5f86bb;
    --opium: #b85aa6;
    --mamba: #89a8cc;
    --rum: #2d5f9d;
}

/* Estilos básicos e reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(180deg, #f7faff 0%, var(--snuff) 100%);
    color: var(--bossanova);
    padding-top: 98px;
}

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

/* Cabeçalho e navegação */
header {
    background-color: rgba(255, 255, 255, 0.96);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
}

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

.logo {
    height: 74px;
    width: auto;
    display: block;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}

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

nav a {
    color: var(--bossanova);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--gold-sand);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-sand);
}

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

/* Page Banner comum */
.page-banner {
    position: relative;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&h=600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
}

.page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--gold-sand);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs > span {
    margin: 0 0.5rem;
}

/* Botões comuns */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.secondary-btn {
    background-color: var(--gold-sand);
    color: var(--bossanova);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn i {
    margin-right: 0.5rem;
}

/* Estilos de seção comuns */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--bossanova);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--gold-sand);
    margin: 0 auto 1.5rem;
}

.divider.center {
    margin: 0 auto 1.5rem;
}

/* Call to Action comum */
.cta-section {
    background: linear-gradient(135deg, #2e5c96 0%, #3a6dad 100%);
    color: white;
    padding: 4.25rem 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(9, 31, 58, 0.12);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer comum */
footer {
    background: #121826;
    color: #f5f7fb;
    padding: 4rem 0 0;
    width: 100%;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 74, 156, 0.20);
    box-shadow: none;
}

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.4rem 0 1.2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-column h3 {
    color: #ff4a9c;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 48px;
    height: 3px;
    background-color: #ff4a9c;
}

.footer-column p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #d7dcea;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    color: #ff4a9c;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 74, 156, 0.12);
    color: #ff78b7;
    border-color: rgba(255, 74, 156, 0.32);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-links li {
    color: #e7ebf5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a {
    display: inline-block;
}

.footer-links a:hover {
    color: #ff78b7;
    transform: translateX(3px);
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.8rem;
    color: #ff4a9c;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal a {
    color: #e7ebf5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ff78b7;
}

/* Media Queries para responsividade */
@media (max-width: 992px) {
    .experience-content {
        flex-direction: column;
    }
    
    .carousel-content h1 {
        font-size: 2.2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .page-banner {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 200px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
}

/* Navigation */
.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav .nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav .nav-link:hover {
    color: var(--gold-sand, #d5008f);
}

.header-nav .nav-link.active {
    color: #fff;
    position: relative;
}

.header-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--gold-sand, #d5008f);
    border-radius: 2px;
}

/* Fade-in animation on scroll */
.fade-in-element {
    opacity: 1;
    transform: none;
}

.fade-in-element.visible {
    opacity: 1;
    transform: none;
}

/* Add staggered effect for child elements */
.fade-in-element.visible > *:not(.fade-in-element) {
    opacity: 1;
    transform: none;
}

/* Remove all animation delays */
.fade-in-element.visible > *:nth-child(1):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(2):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(3):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(4):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(5):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(6):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(7):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(8):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(9):not(.fade-in-element) { animation-delay: 0s; }
.fade-in-element.visible > *:nth-child(10):not(.fade-in-element) { animation-delay: 0s; }

/* --- MOBILE MENU FINAL STYLE: Project colors --- */
@media (max-width: 768px) {
    .main-nav .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--bossanova);
    font-size: 1.5rem;
    cursor: pointer;
}
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bossanova);
        border: none;
        flex-direction: column;
        padding: 1.5rem 1rem 1rem 1.5rem;
        gap: 1.2rem;
        box-shadow: 0 8px 24px rgba(84, 52, 107, 0.12);
        z-index: 9999;
        border-radius: 0 0 18px 18px;
        animation: slideDownMenu 0.25s ease;
    }
    .main-nav ul.active {
        display: flex;
    }
    .main-nav ul li a {
        color: var(--gold-sand);
        font-size: 1.3rem;
        font-weight: 600;
        padding: 0.7rem 0.5rem;
        border-radius: 8px;
        transition: background 0.2s, color 0.2s;
        display: block;
    }
    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        background: var(--snuff);
        color: var(--bossanova);
    }
    .section-title {
        font-size: 1.8rem;
    }
    .page-banner h1 {
        font-size: 2rem;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-legal {
        justify-content: center;
    }
}

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

/* Soft blue depth added for EIA refresh */
main section:nth-of-type(even) {
    position: relative;
}


.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.10), transparent 35%), radial-gradient(circle at bottom left, rgba(255,255,255,0.07), transparent 30%);
    pointer-events: none;
}

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


/* === 2026 visual refresh: pink + blue + white only === */
:root {
    --bossanova: #153d7a;
    --gold-sand: #ff3f9b;
    --snuff: #f7f9ff;
    --sandrift: #79a2dc;
    --opium: #ff76b9;
    --mamba: #c7daf7;
    --rum: #2559a8;
}

body {
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fd 100%);
}

.page-banner {
    position: relative;
    overflow: hidden;
}

.page-banner .overlay {
    background: linear-gradient(120deg, rgba(13, 47, 99, 0.82), rgba(255, 63, 155, 0.40)) !important;
}

.page-banner h1 {
    color: #ffffff !important;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

.breadcrumbs,
.breadcrumbs span {
    color: #ffffff !important;
}

.breadcrumbs a {
    color: #ff69b6 !important;
    font-weight: 700;
}

.divider {
    background: linear-gradient(90deg, #ff3f9b 0%, #7aa7e6 100%) !important;
}

.primary-btn,
.btn-primary,
.secondary-btn {
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 28px rgba(21, 61, 122, 0.16);
}

.primary-btn,
.btn-primary {
    background: linear-gradient(135deg, #153d7a 0%, #ff3f9b 100%) !important;
}

.secondary-btn {
    background: linear-gradient(135deg, #ff3f9b 0%, #ff5fb1 100%) !important;
}

.outline-btn {
    border-radius: 999px !important;
    border: 2px solid rgba(21, 61, 122, 0.18) !important;
    background: #ffffff !important;
    color: var(--bossanova) !important;
}

.btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.outline-btn:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(21, 61, 122, 0.18) !important;
}

.cta-section {
    background: linear-gradient(135deg, #173f80 0%, #315fa7 48%, #ff3f9b 100%) !important;
}

.cta-content h2 {
    color: #ffffff !important;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.92) !important;
}


/* === Responsive hamburger menu fix === */
.logo-link {
    display: inline-flex;
    align-items: center;
}

.main-nav {
    position: relative;
}

.main-nav ul {
    align-items: center;
}

.main-nav .mobile-menu-btn {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(21, 61, 122, 0.18);
    border-radius: 12px;
    color: var(--bossanova);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.main-nav .mobile-menu-btn:hover {
    background: rgba(21, 61, 122, 0.05);
    border-color: rgba(21, 61, 122, 0.28);
}

.main-nav .mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.main-nav .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.main-nav .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.main-nav .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .header-content {
        gap: 1rem;
    }

    .logo {
        height: 58px;
    }

    .main-nav .mobile-menu-btn {
        display: inline-flex;
    }

    .main-nav ul {
        display: none;
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        left: auto;
        min-width: 260px;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(21, 61, 122, 0.1);
        border-radius: 18px;
        box-shadow: 0 16px 32px rgba(18, 63, 122, 0.16);
        z-index: 1200;
        animation: slideDownMenu 0.2s ease;
    }

    .main-nav ul.active {
        display: flex;
    }

    .main-nav ul li {
        width: 100%;
    }

    .main-nav ul li a {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        color: var(--bossanova);
        border-radius: 12px;
        font-size: 1rem;
    }

    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        background: var(--snuff);
        color: var(--gold-sand);
    }

    nav a.active::after {
        display: none;
    }
}
