/* ================= RESET & VARIABLES ================= */
:root {
    --primary-color: #003190;
    /* Teal - Cor principal */
    --secondary-color: #003190;
    /* Azul escuro */
    --dark-color: #000000;
    /* Preto */
    --light-color: #ffffff;
    /* Branco */
    --accent-color: #fae9bd;
    /* Bege claro/Creme */
    --gray-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    --container-width: 1280px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    /* 1rem = 10px */
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

a:hover {
    color: var(--primary-color);
}

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

h1,
h2,
h3 {
    font-family: var(--heading-font);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h4,
h5,
h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

p {
    font-weight: 300;
}

strong {
    font-weight: 700;
}

/* ================= UTILITIES ================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3.6rem;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 1px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.8rem;
    color: var(--gray-color);
    font-weight: 300;
}

section {
    padding: 8rem 0;
}

/* ================= HEADER & NAVIGATION ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 0 20px;
    height: auto;
}

.header.scrolled {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.header.scrolled .logo-img {
    height: 90px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    padding: 0 2rem 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-left: -10px;
    /* Move o logo mais para a esquerda */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 90px;
    width: auto;
    transition: height 0.3s ease;
}

.logo span {
    display: none;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

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

.header-cta {
    margin-left: 2rem;
}

.btn-cotacao {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 49, 144, 0.3);
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-cotacao:hover {
    background-color: #002570;
    /* Versão mais escura do azul */
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 49, 144, 0.4);
}

/* Esconde o CTA do menu em telas grandes */
.nav-menu-cta-item {
    display: none;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .header .container {
        height: 130px;
        /* Aumentado para acomodar a logo maior */
        align-items: center;
    }

    .nav-menu {
        gap: 2rem;
    }

    .menu-toggle {
        margin-right: 1.5rem;
    }

    .header-cta {
        display: none;
        /* Esconde o botão CTA original do header em mobile */
        margin-left: 0;
    }

    .btn-cotacao {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }

    /* Estilos para o item CTA dentro do menu mobile */
    .nav-menu-cta-item {
        display: list-item;
        /* Ou block, para torná-lo visível */
        margin-top: 2rem;
        /* Espaçamento acima do botão no menu */
        width: 100%;
    }

    .nav-menu-cta-item .nav-menu-btn {
        display: block;
        /* Faz o link ocupar toda a largura do li */
        width: 100%;
        /* Garante que o botão ocupe toda a largura */
        text-align: center;
        /* Centraliza o texto do botão */
        padding: 1.2rem 1rem;
        /* Ajuste no padding para o contexto do menu */
        font-size: 1.5rem;
        /* Ajuste no tamanho da fonte */
        margin-left: 0;
        /* Remove qualquer margem esquerda da classe .btn-cotacao */
        /* A classe .btn e .btn-cotacao já devem fornecer a maior parte do estilo de botão */
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0 1rem;
        height: 120px;
        /* Aumentado para acomodar a logo maior */
    }

    .logo img {
        height: 110px;
        /* Logo ainda maior para telas muito pequenas */
    }

    .header.scrolled .logo img {
        height: 85px;
        /* Mantém proporção quando scrolled */
    }

    .btn-cotacao {
        padding: 0.7rem 1.2rem;
        font-size: 1.1rem;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ================= HERO SECTION ================= */
.hero {
    height: 100vh;
    /* background: linear-gradient(135deg, rgba(0, 48, 100, 0.4) 0%, rgba(0, 95, 182, 0.5) 100%), url('../img/logistics-background.jpg'); */
    /* Removido background estático */
    /* background-size: cover; */
    /* Removido - será por slide */
    /* background-position: center; */
    /* Removido - será por slide */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    padding: 0;
    overflow: hidden;
    /* Mantém para cortar conteúdo dos slides */
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* Gradiente sobre cada slide para melhor legibilidade do texto */
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 48, 100, 0.5) 0%, rgba(0, 95, 182, 0.6) 100%);
    z-index: 0;
    /* Fica atrás do conteúdo do slide se houver, mas aqui é a imagem de fundo */
}

.hero-slide.active {
    opacity: 1;
}

@keyframes heroFade {
    from {
        opacity: .6
    }

    to {
        opacity: 1
    }
}

/* Indicadores de slide */
.slide-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    /* Acima dos slides */
}

.dot {
    cursor: pointer;
    height: 13px;
    width: 13px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.5s ease, transform 0.3s ease;
}

.dot.active-dot,
.dot:hover {
    background-color: var(--light-color);
    transform: scale(1.2);
}

.hero::before {
    /* Mantém o padrão de pontos, mas ajusta o z-index e remove o gradiente escuro */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/dots-pattern.png');
    /* Apenas o padrão de pontos */
    background-size: 5px 5px;
    opacity: 0.1;
    z-index: 1;
    /* Entre o slide e o hero-content */
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Conteúdo principal acima do overlay do slide e dos pontos */
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 2rem;
    margin-top: 15vh;
    /* Aumentado para mover ainda mais para baixo */
}

.hero-content h1 {
    font-size: 5.6rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 2.4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content .slogan {
    font-size: 2.2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 1.6rem;
    padding: 1.5rem 3rem;
    font-weight: 600;
}

/* ================= ABOUT SECTION ================= */
.about {
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.about-content h3 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.mission,
.vision {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mission:hover,
.vision:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission h4,
.vision h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.mission i,
.vision i {
    color: var(--secondary-color);
}

.about-values h3 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.values-list {
    display: grid;
    gap: 2rem;
}

.values-list li {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.values-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.values-list i {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-list h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Slogan Card */
.slogan-card {
    margin: 4rem auto;
    text-align: center;
    max-width: 800px;
}

.slogan-content {
    background: transparent;
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}



.slogan-content:hover {
    transform: translateY(-5px);
}

.slogan-text {
    position: relative;
    z-index: 2;
}

.slogan-typed {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    display: inline-block;
    text-shadow: none;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}



/* Media queries for slogan card */
@media (max-width: 768px) {
    .slogan-card {
        margin: 3rem auto;
        max-width: 90%;
    }

    .slogan-content {
        padding: 2.5rem 1.5rem;
        min-height: 100px;
        text-align: center;
    }

    .slogan-typed {
        font-size: 2.2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slogan-card {
        margin: 2rem auto;
    }

    .slogan-content {
        padding: 2rem 1rem;
        min-height: 80px;
        text-align: center;
    }

    .slogan-typed {
        font-size: 1.8rem;
        line-height: 1.4;
        text-align: center;
    }
}

/* ================= SERVICES SECTION ================= */
.services.national {
    background-color: var(--primary-color);
    /* Mantém uma cor de fallback, mas será sobreposta */
    color: var(--light-color);
    position: relative;
    /* Necessário para o posicionamento do pseudo-elemento */
    overflow: hidden;
    /* Para conter o pseudo-elemento */
}

.services.national::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bandeira-brasil-min.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    /* Aumentado de 0.3 para 0.6 para máximo impacto visual */
    z-index: 0;
    /* Coloca a bandeira atrás do conteúdo */
}

/* Garante que o conteúdo da seção fique acima da bandeira */
.services.national .container {
    position: relative;
    z-index: 1;
}

.services.national .section-title h2,
.services.national .section-title p {
    color: var(--light-color);
}

.services.national .section-title h2::after {
    background-color: var(--accent-color);
}

.services.national .service-card {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.services.international {
    background-color: var(--primary-color);
    /* Alterado para azul */
    color: var(--light-color);
    /* Cor de texto padrão para a seção */
    position: relative;
    /* Necessário para o pseudo-elemento */
    overflow: hidden;
    /* Para conter o pseudo-elemento */
}

.services.international::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/mundi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    /* Aumentado de 0.15 para 0.3 para maior visibilidade do mapa */
    z-index: 0;
    /* Atrás do conteúdo */
}

/* Garante que o conteúdo da seção fique acima do fundo */
.services.international .container {
    position: relative;
    z-index: 1;
}

/* Ajusta cores do título da seção para Serviços Internacionais */
.services.international .section-title h2,
.services.international .section-title p {
    color: var(--light-color);
}

.services.international .section-title h2::after {
    background-color: var(--accent-color);
    /* Mantém o destaque */
}

/* Ajusta cores dos cards de serviço em Serviços Internacionais */
/* Os cards em si permanecem claros, mas o texto dentro deles precisa ser legível no contexto da seção */
.services.international .service-card {
    background-color: var(--light-color);
    /* Fundo do card claro */
    color: var(--dark-color);
    /* Texto principal do card escuro */
    /* Potencialmente adicionar uma leve sombra ou borda se necessário para destaque */
}

.services.international .service-card .service-icon i {
    color: var(--primary-color);
    /* Ícone do card mantém a cor primária */
}

.services.international .service-card h3 {
    color: var(--primary-color);
    /* Título do card mantém a cor primária */
}

.services.international .service-card ul li::before {
    color: var(--primary-color);
    /* Cor dos bullets */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 6rem;
    height: 6rem;
    background-color: rgba(244, 244, 244, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.8rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.1;
}

.service-card h3 .highlight {
    font-weight: 700;
}

.service-card ul {
    margin-top: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.7rem;
    font-weight: 300;
    line-height: 1.5;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
    line-height: 1;
}

/* Ajuste específico para o card de Desembaraço Aduaneiro */
.service-card .service-icon i.fa-clipboard-check {
    position: relative;
    top: -1px;
}

/* ================= CONTACT SECTION ================= */
.contact {
    position: relative;
    background-color: var(--accent-color);
    /* #fae9bd */
    overflow: hidden;
}

/* Remover estes efeitos visuais desnecessários */
.contact::before,
.contact::after {
    display: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-title h2 {
    color: var(--primary-color);
}

.contact .section-title p {
    color: var(--dark-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 2.6rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-info {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--light-color);
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(71, 139, 153, 0.3);
}

.info-item:hover i {
    transform: scale(1.1);
}

.social-media {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icon {
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(71, 139, 153, 0.3);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(71, 139, 153, 0.2);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: var(--transition);
    font-weight: 300;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(71, 139, 153, 0.2);
    background-color: var(--light-color);
}

.contact-form .btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 1.3rem 3.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(71, 139, 153, 0.4);
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

/* ================= FOOTER ================= */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 120px;
}

.footer-logo span {
    display: none;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--light-color);
    font-weight: 600;
}

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

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
    font-weight: 300;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #bbb;
    font-weight: 300;
}

.footer-contact p i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: #999;
    font-weight: 300;
}

.footer-bottom p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ================= TIMELINE SECTION - NOVO DESIGN ================= */
.timeline-section {
    padding: 50px 0 40px;
    background-color: #f7f7f7;
    position: relative;
}

.timeline-section .section-title {
    margin-bottom: 10px;
}

.timeline-content {
    position: relative;
    padding-top: 0;
    margin-top: 0;
}

/* Barra de progresso */
.progress-container {
    position: relative;
    width: 100%;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    margin-top: 40px;
    /* Espaçamento maior para desktop */
}

.timeline-progress {
    position: relative;
    width: 80%;
    height: 4px;
    background-color: rgba(71, 139, 153, 0.2);
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
    --progress-width: 16.66%;
    --progress-width-webkit: 16.66%;
}

.timeline-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress-width, 16.66%);
    background-color: var(--primary-color);
    transition: width 0.5s ease;
    border-radius: 2px;
}

/* Container das etapas */
.steps-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

/* Item de etapa */
.step-item {
    position: absolute;
    width: 85%;
    max-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateX(100px);
}

.step-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 10;
}

.step-number {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 100%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.step-content {
    flex: 1;
    padding: 20px 25px;
    position: relative;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 50px;
}

.step-icon {
    position: absolute;
    bottom: 15px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Controles */
.timeline-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    position: relative;
    z-index: 20;
}

.timeline-controls .control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.timeline-controls .control-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.timeline-controls .step-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 15px;
}

.timeline-controls .step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-controls .step-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.timeline-controls .step-dot:hover {
    background-color: var(--secondary-color);
}

/* Rodapé da timeline */
.timeline-footer {
    text-align: center;
    max-width: 800px;
    margin: 15px auto 0;
}

.timeline-footer p {
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

/* Animações */
@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100px);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

/* Responsividade para tablets */
@media (max-width: 992px) {
    .timeline-container {
        width: 90%;
    }

    .step-item {
        width: 90%;
    }

    .step-content h3 {
        font-size: 22px;
    }

    .timeline-controls {
        margin-top: 15px;
    }

    .timeline-controls .control-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .timeline-section {
        padding: 50px 0 40px;
    }

    .timeline-container {
        margin: 30px 0 20px;
    }

    .timeline-progress {
        width: 90%;
    }

    .steps-container {
        min-height: 350px;
    }

    .step-item {
        width: 92%;
        flex-direction: column;
    }

    .step-number {
        width: 100%;
        min-height: auto;
        padding: 10px;
        font-size: 28px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .step-number::after {
        content: attr(data-title);
        font-size: 18px;
        font-weight: 500;
    }

    .step-content {
        padding: 20px;
    }

    .step-content h3 {
        display: none;
        /* Título já está no número da etapa */
    }

    .step-content p {
        margin-bottom: 50px;
        font-size: 15px;
    }

    .step-icon {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .step-controls {
        margin-top: 15px;
    }

    .step-prev,
    .step-next {
        width: 38px;
        height: 38px;
    }

    .step-indicators {
        gap: 6px;
    }

    .step-dot {
        width: 10px;
        height: 10px;
    }

    .timeline-footer {
        margin-top: 20px;
    }

    .timeline-footer p {
        font-size: 15px;
    }

    .timeline-controls {
        margin-top: 15px;
    }

    .timeline-controls .control-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .timeline-controls .step-indicators {
        gap: 6px;
    }

    .timeline-controls .step-dot {
        width: 10px;
        height: 10px;
    }

    .progress-container {
        margin-top: 0;
        /* Remove o espaçamento adicional em mobile */
        height: 20px;
    }

    .hero-content h1 {
        font-size: 4.2rem;
        letter-spacing: -0.5px;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .hero-content h2 {
        font-size: 2.2rem;
        letter-spacing: -0.3px;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 1.8rem;
        letter-spacing: -0.3px;
        max-width: 90%;
        margin-bottom: 2.5rem;
        line-height: 1.3;
    }

    .hero-content .btn {
        font-size: 1.8rem;
        padding: 1.5rem 3.5rem;
        font-weight: 700;
        min-width: 250px;
    }

    .hero-content .slogan {
        font-size: 2.2rem;
        padding: 1.2rem 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        margin-top: 12vh;
        /* Ligeiramente reduzido para telas médias */
    }

    .logo-img {
        height: 85px;
        /* Aumentado proporcionalmente */
    }

    .logo img {
        height: 85px;
        /* Aumentado proporcionalmente */
    }
}

/* Responsividade para mobile pequeno */
@media (max-width: 480px) {
    .timeline-section {
        padding: 40px 0 30px;
    }

    .steps-container {
        min-height: 320px;
    }

    .step-item {
        width: 95%;
    }

    .step-number {
        padding: 8px 15px;
        font-size: 24px;
    }

    .step-number::after {
        font-size: 16px;
    }

    .step-content {
        padding: 15px;
    }

    .step-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 45px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .step-controls {
        margin-top: 10px;
    }

    .step-prev,
    .step-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .step-indicators {
        gap: 5px;
    }

    .step-dot {
        width: 8px;
        height: 8px;
    }

    .timeline-footer p {
        font-size: 14px;
        padding: 0 15px;
    }

    .timeline-controls {
        margin-top: 10px;
    }

    .timeline-controls .control-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .timeline-controls .step-indicators {
        gap: 5px;
    }

    .timeline-controls .step-dot {
        width: 8px;
        height: 8px;
    }

    .progress-container {
        margin-top: 0;
    }

    .hero-content {
        margin-top: 8vh;
        /* Valor reduzido para telas muito pequenas */
    }

    .hero-content h1 {
        font-size: 3.2rem;
        letter-spacing: -0.6px;
        line-height: 1.05;
        margin-bottom: 0.8rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

    .hero-content h2 {
        font-size: 1.8rem;
        letter-spacing: -0.4px;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }

    .hero-content p {
        font-size: 1.6rem;
        letter-spacing: -0.4px;
        line-height: 1.2;
        margin-bottom: 1.8rem;
        max-width: 95%;
    }

    .hero-content .btn {
        font-size: 1.7rem;
        padding: 1.3rem 3rem;
        min-width: 220px;
        letter-spacing: 0.5px;
    }

    .hero-content .slogan {
        font-size: 2rem;
        padding: 1.1rem 2.2rem;
        margin: 0 auto 1.5rem;
        max-width: 90%;
    }

    .logo-img {
        height: 80px;
        /* Aumentado proporcionalmente */
    }

    .logo img {
        height: 80px;
        /* Aumentado proporcionalmente */
    }
}

/* Animation for menu toggle on mobile */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Animation for scroll header */
.header.scrolled {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Menu responsivo */
@media (max-width: 991px) {
    .nav-menu {
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 80px;
        /* Ajustado para o novo tamanho do header em tela pequena */
        height: calc(100vh - 80px);
    }
}

/* Media queries para responsividade */
@media (max-width: 992px) {
    /* Removed counter styles - replaced with slogan card */
}

@media (max-width: 768px) {
    .header {
        padding: 0 15px;
    }

    .logo img {
        height: 80px;
        /* Mesmo tamanho da logo quando rola */
    }

    .header.scrolled .logo img {
        height: 85px;
        /* Mesmo tamanho - sem mudança */
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: #fff;
        height: 100vh;
        width: 70%;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .hero-content h1 {
        font-size: 4.2rem;
        letter-spacing: -0.5px;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .hero-content h2 {
        font-size: 2.2rem;
        letter-spacing: -0.3px;
        margin-bottom: 0.8rem;
    }

    /* Cards de missão e visão em uma coluna no mobile */
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-values {
        order: 2;
    }

    .about-content {
        order: 1;
    }

    .hero-content p {
        font-size: 1.8rem;
        letter-spacing: -0.3px;
        max-width: 90%;
        margin-bottom: 2.5rem;
        line-height: 1.3;
    }

    .hero-content .btn {
        font-size: 1.8rem;
        padding: 1.5rem 3.5rem;
        font-weight: 700;
        min-width: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Removed counter styles - replaced with slogan card */

    .footer-logo {
        justify-content: center;
    }

    .hero-content .slogan {
        font-size: 2.2rem;
        padding: 1.2rem 2.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.6rem;
        letter-spacing: -0.5px;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .hero-content h2 {
        font-size: 2.5rem;
        letter-spacing: -0.4px;
        margin-bottom: 0.7rem;
    }

    .hero-content p {
        font-size: 2.2rem;
        line-height: 1.2;
        letter-spacing: -0.4px;
        margin-bottom: 2rem;
    }

    .hero-content .btn {
        font-size: 1.8rem;
        padding: 1.4rem 3.2rem;
        min-width: 240px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        gap: 30px;
    }

    .service-card {
        max-width: 100%;
    }

    .timeline-item {
        padding: 15px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .hero-content .slogan {
        font-size: 2rem;
        padding: 1.1rem 2.2rem;
        margin: 0 auto 1.5rem;
        max-width: 90%;
    }

    .hero-content {
        margin-top: 10vh;
        /* Ajustado para telas menores */
    }
}

@media (max-width: 480px) {
    section {
        padding: 6rem 0;
    }

    .header .container {
        height: 90px;
        /* Aumentado para 90px */
    }

    .logo-img {
        height: 90px;
        /* Aumentado proporcionalmente */
    }

    .logo img {
        height: 90px;
        /* Aumentado proporcionalmente */
    }

    .footer-logo-img {
        height: 75px;
        /* Aumentado para 75px */
    }

    .hero-content h1 {
        font-size: 3.2rem;
        letter-spacing: -0.6px;
        line-height: 1.05;
        margin-bottom: 0.8rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

    .hero-content h2 {
        font-size: 1.8rem;
        letter-spacing: -0.4px;
        line-height: 1.2;
        margin-bottom: 0.6rem;
    }

    .hero-content p {
        font-size: 1.6rem;
        letter-spacing: -0.4px;
        line-height: 1.2;
        margin-bottom: 1.8rem;
        max-width: 95%;
    }

    /* Cards de missão e visão em uma coluna no mobile */
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .mission,
    .vision {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Valores em uma coluna no mobile */
    .values-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .values-list li {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content .btn {
        font-size: 1.7rem;
        padding: 1.3rem 3rem;
        min-width: 220px;
        letter-spacing: 0.5px;
    }

    .about-content h3,
    .about-values h3,
    .contact-info h3,
    .contact-form h3 {
        font-size: 2.4rem;
    }

    .mission,
    .vision,
    .values-list li {
        padding: 2rem;
    }

    .hero-content .slogan {
        font-size: 1.8rem;
        padding: 1rem 2rem;
        max-width: 95%;
        margin-bottom: 1.8rem;
    }

    .hero-content {
        margin-top: 8vh;
        /* Valor reduzido para telas muito pequenas */
    }
}

/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.language-switcher:hover {
    transform: translateY(-5px);
}

.lang-flag {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: all 0.3s ease;
    opacity: 0.7;
    filter: grayscale(80%);
    background: transparent;
}

.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lang-flag:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.lang-flag.active {
    opacity: 1;
    filter: grayscale(0%);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    border: 2px solid #0056b3;
    transform: scale(1.2);
    z-index: 2;
}

@media (max-width: 768px) {
    .language-switcher {
        bottom: 20px;
        right: 20px;
        flex-direction: column;
        padding: 8px 12px;
    }

    .lang-flag {
        width: 32px;
        height: 32px;
    }
}

/* Spanish Navigation Adjustments */
html[lang="es-ES"] .nav-menu {
    gap: 1.5rem;
}

html[lang="es-ES"] .nav-link {
    font-size: 1.4rem;
}