/* Variáveis Globais de CSS (Design Token System) */
:root {
    --primary: #102447;
    --primary-hover: #102447;
    --primary-light: #102447;
    --text-dark: #0F172A;
    --text-body: #FFFFFF;
    --text-light: #000000;
    --bg-main: #102447;
    --bg-alt: #F8FAFC;
    --bg-destaque: #D3AF37;
    --border-color: #E2E8F0;

    --header-height: 80px;
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial;
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilitários */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px 0 5px;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

/* =========================================
   HEADER & NAVBAR (Sticky)
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #102447;
    backdrop-filter: blur(12px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: left;
}

.logo-link img {
    height: 50px;
    /* Ajuste conforme necessário */
    width: auto;
}

/* Links Centrais */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-body);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Campo de Pesquisa */
.right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.search-box input {
    padding: 10px 16px 10px 42px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    /* Arredondado estilo pílula */
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all var(--transition-normal);
    width: 220px;
    background-color: var(--bg-alt);
}

.search-box input::placeholder {
    color: var(--text-light);
}

.search-box input:focus {
    width: 260px;
    border-color: var(--primary);
    background-color: var(--bg-main);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Menu Mobile Toggle */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.mobile-menu-btn:hover {
    color: #FFFFFF;
}

/* =========================================
   CARROSSEL DE IMAGENS HERO
   ========================================= */
.hero-carousel {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 500px;
    width: 100%;
    overflow: hidden;
    background-color: #111;
}

.carousel-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide.current-slide {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 42, 84, 0.8);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 30%;
    left: 28%;
    right: 28%;
    text-align: center;
    transform: translateY(-50%);
    color: white;
    max-width: 650px;
    z-index: 3;
    animation: fadeIn 1s ease 0.3s both;
    font-family: 'Poppins', sans-serif;
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.slide-content-destaque-bold {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.slide-content-destaque {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 36px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Botões de Direção */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10%;
    width: 56px;
    height: 56px;
    cursor: pointer;
    z-index: 10;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    transition: background var(--transition-normal), transform 0.2s;
    backdrop-filter: blur(8px);
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.carousel-button--left {
    left: 32px;
}

.carousel-button--right {
    right: 32px;
}

/* Indicadores */
.carousel-nav {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 40px;
    width: 100%;
    z-index: 10;
    gap: 16px;
}

.carousel-indicator {
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.current-indicator {
    background: white;
    width: 32px;
    border-radius: 8px;
    /* Anima bolinha para um traço */
}

/* =========================================
   DIV MODELO/TEMPLATE PARA CONTEÚDOS
   ========================================= */
.content-template {
    padding: 120px 0;
    background-color: var(--bg-alt);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.75rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.content-card {
    background: var(--bg-main);
    padding: 48px 36px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 28px;
    background: var(--primary-light);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: transform 0.3s;
}

.content-card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.card-text {
    color: var(--text-body);
    font-size: 1rem;
    margin-bottom: 32px;
    flex-grow: 1;
    /* Garante que o botão fique na base se os textos tiverem tamanhos diferentes */
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: 12px;
    color: var(--primary-hover);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVIDADE MÓVEL)
   ========================================= */

@media screen and (max-width: 1024px) {
    .slide-content h2 {
        font-size: 3.5rem;
    }

    .search-box input {
        width: 180px;
    }

    .search-box input:focus {
        width: 200px;
    }
}

@media screen and (max-width: 768px) {

    /* Header Mobile */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    .nav-links-parceiro {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-destaque);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    body.menu-open .nav-links {
        max-height: 1000px;
        padding: 12px 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

    .search-box {
        display: none;
        /* Esconder pesquisa no mobile por simplicidade, ou mover para o menu */
    }

    .mobile-menu-btn {
        display: flex;
        color: #FFFFFF;
    }

    /* Carousel Mobile */
    .hero-carousel {
        min-height: 60vh;
    }

    .slide-content {
        left: 5%;
        right: 5%;
        text-align: center;
        max-width: 100%;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .carousel-button {
        display: none;
        /* Remove setas no mobile, fica só o auto-play e bolinhas */
    }

    /* Template Mobile */
    .section-header h2 {
        font-size: 2rem;
    }

    .content-template {
        padding: 80px 0;
    }

    .content-card {
        padding: 32px 24px;
        align-items: center;
        text-align: center;
    }
}


/* =========================================
   SEÇÃO: SOBRE NÓS COM RECORTES GEOMÉTRICOS
   ========================================= */

.sobre-nos-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('./imagens/sobre-nos.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-family: 'Poppins';
}

.bg-forma-branca {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.72);
    clip-path: polygon(0 0, 60% 0, 90% 100%, 0 100%);
    z-index: 1;
}

.bg-forma-azul {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 350px;
    height: 150px;
    background-color: var(--primary);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.container-sobre {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: 10%;
    padding: 30px 20px;
}

.container-sobre p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.titulo-sobre {
    font-family: 'Poppins';
    font-size: 4.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    line-height: 1;
}

.titulo-sobre::before {
    content: '';
    position: absolute;
    left: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--text-dark);
}

@media screen and (max-width: 900px) {
    .bg-forma-branca {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        background-color: rgba(255, 255, 255, 0.95);
    }

    .bg-forma-azul {
        width: 150px;
        height: 150px;
        clip-path: polygon(100% 0, 100% 100%, 0 100%);
    }

    .container-sobre {
        margin-left: max(5%, calc((100% - 100vw) / 2));
        padding: 40px 24px;
        max-width: 100%;
    }

    .titulo-sobre {
        font-size: 3rem;
    }

    .titulo-sobre::before {
        display: none;
    }
}

/* Animações Básicas */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   SEÇÃO: SERVIÇOS
   ========================================= */

.servicos {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-image: url('./imagens/servicos.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    padding: 80px 24px;
    font-family: 'Poppins', sans-serif;
    color: white;
}

/* Overlay sutil escurecido para caso a imagem mude ou tenha trechos claros (opcional) */
.servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 42, 84, 0.8);
    /* Azul escuro semi-transparente estilo da marca */
    z-index: 1;
}

.container-servicos {
    position: relative;
    z-index: 2;
    /* Fica acima do overlay da imagem */
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Coluna da Esquerda (Lista) */
.servicos-lista {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
}

.servico-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icone-servico {
    font-size: 2.5rem;
    color: white;
    margin-top: -5px;
    /* Alinhar opticamente com o título */
}

.servico-texto h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.servico-texto p {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    /* Branco levemente transparente */
    line-height: 1.4;
}

/* Coluna da Direita (Moldura) */
.servicos-destaque {
    position: relative;
    width: 400px;
    height: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/* A linha em formato de "C" ou quina que envolve a direita */
.moldura-linha {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    /* Largura da linha inferior */
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.btn-eu-quero {
    background-color: var(--bg-destaque);
    /* Amarelo ouro */
    color: var(--text-dark);
    /* Texto preenchido mas com contraste */
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    z-index: 3;
    color: white;
    /* Alinha visualmente ao final da linha inferior */
    margin-bottom: -22px;
    margin-right: -20px;
}

.btn-eu-quero:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Mobile Responsivo */
@media screen and (max-width: 900px) {
    .container-servicos {
        flex-direction: column;
        gap: 60px;
    }

    .servicos-destaque {
        width: 100%;
        max-width: 300px;
        height: auto;
        justify-content: flex-start;
        align-items: center;
        margin-top: 20px;
    }

    .moldura-linha {
        display: none;
        /* Em mobile removemos a linha decorativa para não quebrar */
    }

    .btn-eu-quero {
        margin: 0;
        width: 100%;
    }
}

/* =========================================
   SEÇÃO: DIFERENCIAIS (2 Colunas)
   ========================================= */

.diferenciais {
    width: 100%;
    background-color: #F8FAFC;
    /* Fundo claro/cinza puxado ao branco */
    /* Fundo com as "ondas/círculos" estilo a imagem (pode ser uma imagem também se você tiver exportada) */
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 40%);
    font-family: 'Poppins';
}

.diferenciais-container {
    display: flex;
    flex-wrap: wrap;
    /* Para mobile quebrar linha */
    align-items: stretch;
    /* Ambas colunas mesma altura */
    min-height: 600px;
}

/* Coluna da Esquerda (Textos e Grid) */
.diferenciais-conteudo {
    flex: 1;
    /* Pega 50% de espaço ou mais */
    padding: 80px 5% 80px 10%;
    /* Espaçamento: 10% à esquerda alinhando com resto do site */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 50vw;
    /* Garante no mínimo metade da tela no Desktop */
}

/* Coluna da Direita (Imagem Inteira) */
.diferenciais-imagem {
    flex: 1;
    /* Pega restante do espaço (cerca de 50%) */
    background-image: url('./imagens/diferenciais.png');
    background-size: cover;
    background-position: center left;
    min-height: 400px;
    /* Para mobile forçar uma altura mínima na imagem */
}

/* Título Azul */
.diferenciais-titulo {
    font-size: 3.5rem;
    color: var(--primary);
    /* O azul #102447 */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Linha Preta Simples */
.diferenciais-linha {
    width: 60px;
    height: 2px;
    background-color: var(--text-dark);
    margin-bottom: 24px;
}

/* Descrição Central */
.diferenciais-desc {
    font-size: 1.15rem;
    color: var(--primary);
    /* Azul escuro também no texto introdutório */
    font-weight: 500;
    margin-bottom: 50px;
    line-height: 1.5;
}

/* Grid 2x2 com os itens de diferencial */
.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 colunas */
    gap: 40px 30px;
    /* Espaço entre linhas(40px) e colunas(30px) */
    max-width: 700px;
}

.diferencial-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.diferencial-item p {
    color: var(--primary);
    /* Azul na cópia do design original */
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.85;
    /* Deixa o texto do parágrafo um pouquinho mais claro que o título */
}

/* Responsividade Mobile Diferenciais */
@media screen and (max-width: 1024px) {
    .diferenciais-conteudo {
        padding: 60px 5%;
        min-width: 100%;
        order: 1;
        /* Força o texto para cima */
    }

    .diferenciais-imagem {
        min-width: 100%;
        height: 350px;
        order: 2;
        /* Força a imagem para baixo */
    }

    .diferenciais-titulo {
        font-size: 2.8rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
        /* Vira 1 coluna só empilhada no celular */
        gap: 30px;
    }
}

/* =========================================
   SEÇÃO: PLANILHA
   ========================================= */

.planilha {
    position: relative;
    width: 100%;
    min-height: 500px;
    /* Altura ideal baseada na imagem */
    background-image: url('./imagens/planilha.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: center;
}

/* Fundo azul escuro translúcido para o texto destacar (overlay) */
.planilha-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 45, 80, 0.75);
    /* Azul marinho Ageucard semi-transparente */
    z-index: 1;
}

.planilha-container {
    position: relative;
    z-index: 2;
    /* Para o texto ficar em cima do overlay e imagem */
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.planilha-titulo {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.planilha-texto {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.planilha-subtitulo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-planilha {
    background-color: #DEB835;
    /* Ouro/Amarelo do print */
    color: white;
    /* Texto em branco como original do print e não preto */
    border: none;
    padding: 14px 48px;
    border-radius: 8px;
    /* Arredondado suave das pontas */
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.btn-planilha:hover {
    background-color: #cfab30;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsividade Mobile - Planilha */
@media screen and (max-width: 768px) {
    .planilha-titulo {
        font-size: 2.2rem;
    }

    .planilha-texto {
        font-size: 1rem;
    }

    .planilha-subtitulo {
        font-size: 1.4rem;
    }

    .btn-planilha {
        padding: 12px 32px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background-color: var(--primary);
    /* Azul escuro principal */
    color: white;
    /* Texto em branco */
    font-family: Arial, sans-serif;
    /* Usando Arial conforme solicitado */
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Coluna Logo */
.col-logo {
    max-width: 300px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    /* Fina linha de divisão vertical */
    padding-right: 40px;
}

.col-logo img.footer-logo {
    height: 50px;
    /* Ajuste conforme necessário */
    width: auto;
    margin-bottom: 24px;
}

.col-logo p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    /* Branco levemente suave */
}

/* Títulos das colunas */
.footer-col h3 {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: white;
}

/* Lista de Serviços */
.col-servicos ul {
    list-style: none;
    padding: 0;
}

.col-servicos li {
    margin-bottom: 16px;
}

.col-servicos a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.col-servicos a:hover {
    color: white;
    text-decoration: underline;
}

/* Lista de Contatos */
.contato-lista {
    list-style: none;
    padding: 0;
}

.contato-lista li {
    display: flex;
    align-items: flex-start;
    /* Alinha o ícone no topo do texto caso haja mais de uma linha */
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contato-lista i {
    font-size: 1.3rem;
    color: white;
    /* Ícones mais brilhantes e evidentes em branco sólido */
    margin-top: 2px;
    /* Ajuste sutil no vertical-align do ícone em relação ao texto */
}

.contato-lista a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.contato-lista a:hover {
    color: white;
    text-decoration: none;
}

/* Barra inferior (Copyright) */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Fina linha de divisão horizontal */
    padding: 24px 0;
    text-align: center;

}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Responsividade do Footer */
@media screen and (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 24px;
    }

    .footer-col {
        min-width: 100%;
        margin-bottom: 10px;
    }

    .col-logo {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 0;
        padding-bottom: 30px;
        max-width: 100%;
        text-align: center;
    }

    .col-servicos,
    .col-contatos {
        padding-top: 10px;
    }
}

/* =========================================
   MODAL DE CONTATO
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-body);
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--bg-destaque);
}

.modal-title {
    color: var(--bg-destaque);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-body);
    font-weight: 500;
}

.form-group input:not([type="checkbox"]) {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-alt);
    color: var(--text-dark);
}

.form-group input:focus {
    outline: none;
    border-color: var(--bg-destaque);
    box-shadow: 0 0 0 2px rgba(211, 175, 55, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    background-color: var(--bg-destaque);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-submit:hover {
    background-color: #e5c350;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-submit:disabled {
    background-color: #888;
    color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-bottom: 1rem;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid #22c55e;
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid #ef4444;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 15px;
    transition: all var(--transition-normal);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp i {
    font-size: 1.4rem;
}

/* =========================================
   SEÇÃO: QUEM SOMOS (PÁGINA QUEM SOMOS)
   ========================================= */

.quem-somos-ageucard-section {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
}

.container-quem-somos {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

/* Esquerda */
.quem-somos-col-img {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.img-wrapper {
    position: relative;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.img-socios {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 3;
    object-fit: cover;
}

.bg-forma-azul-img {
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -10px;
    background-color: var(--primary);
    z-index: 2;
}

/* Recorte no meio-esquerdo para o fundo branco */
.bg-forma-azul-img::after {
    content: '';
    position: absolute;
    top: 30%;
    bottom: 0%;
    left: -10px;
    right: -10px;
    z-index: 1;
    background-color: var(--primary);
}

.legenda-img {
    font-size: 0.65rem;
    line-height: 1.4;
    color: var(--text-dark);
    text-align: justify;
    margin-top: 10px;
    font-weight: 500;
}

/* Direita */
.quem-somos-col-texto {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quemsomos-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    text-align: left;
}

.quem-somos-col-texto p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: justify;
}

/* Responsividade */
@media screen and (max-width: 900px) {
    .container-quem-somos {
        flex-direction: column;
        gap: 40px;
    }

    .quem-somos-col-img,
    .quem-somos-col-texto {
        max-width: 100%;
    }

    .quemsomos-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   SEÇÃO: QUEM SOMOS SOCIOS (PÁGINA QUEM SOMOS)
   ========================================= */

.quem-somos-socios-section {
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 100%;
}

.socios-top {
    background-color: #FFFFFF;
    padding: 80px 0 160px 0;
    text-align: center;
}

.socios-title {
    color: var(--primary);
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.socios-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.socios-bottom {
    background-color: var(#FFFFFF);
    padding: 0 0 80px 0;
    color: #FFFFFF;
}

.socios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: -120px;
    /* pull cards up into the white section */
}

.socio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.socio-img-wrapper {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1/1.1;
    /* slightly taller than square */
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.socio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.socio-info {
    text-align: center;
    width: 100%;
}

.socio-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.socio-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: justify;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 900px) {
    .socios-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: -80px;
    }

    .socios-top {
        padding: 60px 0 120px 0;
    }

    .socio-img-wrapper {
        max-width: 320px;
    }
}

/* =========================================
   SEÇÃO: DOCUMENTOS
   ========================================= */

.documentos-section {
    padding: 80px 20px;
    background-color: var(--bg-alt, #F8FAFC);
    min-height: calc(100vh - 400px);
}

.container-documentos {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.documentos-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 800;
}

.documentos-desc {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
    max-width: 650px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    justify-content: center;
    max-width: 900px;
}

.doc-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color, #E2E8F0);
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.doc-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.doc-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
}

.btn-download {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--text-body, #ffffff);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-download:hover {
    background-color: #0b1933;
    color: #ffffff;
}

/* Responsividade Mobile Documentos */
@media screen and (max-width: 768px) {
    .documentos-section {
        padding: 60px 15px;
    }

    .documentos-title {
        font-size: 2.2rem;
    }

    .documentos-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SEÇÃO: MANUTENÇÃO
   ========================================= */

.manutencao-section {
    min-height: 100vh;
    background-color: var(--bg-main, #102447);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: var(--text-body, #FFFFFF);
}

.manutencao-logo {
    width: 100%;
    max-width: 280px;
    margin-bottom: 50px;
}

.manutencao-icon {
    font-size: 6rem;
    color: var(--bg-destaque, #D3AF37);
    margin-bottom: 30px;
    animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
    100% {
        transform: rotate(360deg);
    }
}

.manutencao-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-body, #FFFFFF);
}

.manutencao-text {
    font-size: 1.5rem;
    font-family: 'Arial', sans-serif;
    max-width: 600px;
    line-height: 1.5;
    color: var(--bg-destaque, #D3AF37);
}

@media screen and (max-width: 768px) {
    .manutencao-icon {
        font-size: 4.5rem;
    }

    .manutencao-title {
        font-size: 2.2rem;
    }

    .manutencao-text {
        font-size: 1.2rem;
    }
}