/* Declaração da fonte Poppins localmente */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --azul-marinho: #0a2342;
    --amarelo-forte: #ffd700;
    --preto: #000;
    --cinza-escuro: #333;
    --cinza-claro: #f0f0f0;
    --branco: #fff;
    --cor-destaque: #e63946;
    --cor-texto-principal: #1d3557;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

.header {
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 2rem;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
}

.navbar {
    display: flex;
    gap: 1rem;
}

.navbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--preto);
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar a i {
    font-size: 1.2rem;
}

.navbar a span {
    font-size: 0.8rem;
}

.navbar a:hover {
    color: var(--amarelo-forte);
    transform: translateY(-2px);
}

.header-right .btn-favoritos {
    background-color: var(--azul-marinho);
    color: var(--branco);
    padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 10px;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 1rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.header-right .btn-favoritos:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(10, 35, 66, 0.2);
    background-color: var(--amarelo-forte);
    color: var(--preto);
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--amarelo-forte);
}

/* =================================
   NOVO MENU DROPDOWN (HAMBÚRGUER)
   ================================= */
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Container principal do menu dropdown */
.mobile-dropdown-menu {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(233, 231, 231, 0.95);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

/* Estado ativo do menu */
.mobile-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Cabeçalho do menu (logo e botão de fechar) */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-logo {
    height: 80px;
    width: auto;
}

.close-menu-icon {
    font-size: 1.8rem;
    color: var(--cinza-escuro);
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

.close-menu-icon:hover {
    color: var(--cor-destaque);
    transform: rotate(90deg);
}

/* Navegação dentro do menu */
.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--cor-texto-principal);
    transition: background-color 0.3s, padding-left 0.3s, color 0.3s;
}

.menu-nav a:hover {
    background-color: var(--azul-marinho);
    color: var(--amarelo-forte);
    padding-left: 1.5rem;
}

.menu-nav a:hover i {
    color: var(--amarelo-forte);
}

.menu-nav a i {
    font-size: 1.2rem;
    color: var(--azul-marinho);
    width: 20px;
    text-align: center;
    transition: color 0.3s;
}

@media (max-width: 990px) {

    .navbar,
    .header-right {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .sidebar {
        width: 70%;
        height: 80vh;
    }
}

@media (max-width: 405px) {
    .menu-footer {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .social-links-menu a {
        margin-left: 0.8rem;
    }
}

/* Rodapé do menu (localização e redes sociais) */
.menu-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.mobile-dropdown-menu .menu-footer .btn-agendar-reuniao-mobile {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--azul-marinho);
    /* Cor de texto escura */
    border-radius: 10px;
    border: 2px solid var(--azul-marinho);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.mobile-dropdown-menu .menu-footer .btn-agendar-reuniao-mobile:hover {
    background-color: var(--azul-marinho);
    color: var(--branco);
    /* Muda a cor do texto para branco ao passar o mouse */
}

.mobile-dropdown-menu .menu-footer .btn-agendar-reuniao-mobile i {
    margin-right: 8px;
    font-size: 1.2rem;
    color: #25D366;
    /* Cor do WhatsApp */
}

.social-links-menu a {
    font-size: 1.5rem;
    color: var(--cor-texto-principal);
    background-color: #e9ecef;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--cor-texto-principal);
    margin: 0 0.3rem;
    box-shadow: 0 4px 0 #adb5bd;
    position: relative;
    top: 0;
    transition: top 0.15s ease, box-shadow 0.15s ease, background-color 0.3s, color 0.3s;
}

.social-links-menu {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.social-links-menu a:hover {
    color: var(--amarelo-forte);
    background-color: var(--azul-marinho);
    top: 2px;
    box-shadow: 0 2px 0 #adb5bd;
    border: 2px solid var(--amarelo-forte);
}

.servico-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    /* Alinha o conteúdo na parte inferior */
    justify-content: space-between;
    /* Espaça as caixas */
    padding: 4rem;
    overflow: hidden;
    color: var(--branco);
}

.servico-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.servico-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.servico-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.servico-caixa-principal {
    max-width: 40%;
    display: flex;
    flex-direction: column-reverse;
    /* Mantém o botão acima do h1 */
    align-items: flex-start;
    gap: 1rem;
    /* Adiciona um espaço de 1rem entre o botão e o h1 */
}

.servico-caixa-principal h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-top: 0;
    /* Removi a margem anterior para usar o gap */
}

.servico-caixa-principal p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-whatsapp {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    color: var(--branco);
    padding: 12px 25px;
    border-radius: 50px;
    border: 2px solid var(--branco);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    background-color: #000000;
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

.servico-caixas-secundarias {
    display: flex;
    flex-direction: row;
    /* Lado a lado */
    gap: 1.5rem;
    max-width: 40%;
}

.servico-caixas-secundarias .glass-effect {
    padding: 1.5rem;
    width: 220px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.servico-caixas-secundarias p {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .servico-hero {
        padding: 3rem 2rem;
        align-items: center;
        /* Centraliza verticalmente o conteúdo */
        justify-content: center;
        /* Adicionado para garantir a centralização */
    }

    .servico-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .servico-caixa-principal {
        max-width: 80%;
        margin-bottom: 2.5rem;
        align-items: center;
        /* Garante que o botão e o h1 fiquem centralizados */
    }

    /* ... */
}

/* --- BREAKPOINTS PARA RESPONSIVIDADE --- */

@media (max-width: 1024px) {
    .servico-hero {
        padding: 3rem 2rem;
        align-items: center;
        /* Centraliza verticalmente o conteúdo */
    }

    .servico-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .servico-caixa-principal {
        max-width: 80%;
        margin-bottom: 2.5rem;
    }

    .servico-caixas-secundarias {
        max-width: 90%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .servico-caixa-principal h1 {
        font-size: 1.8rem;
    }

    .servico-caixa-principal p {
        font-size: 0.9rem;
    }

    .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-whatsapp i {
        font-size: 1.2rem;
    }

    .servico-caixas-secundarias {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .servico-caixas-secundarias .glass-effect {
        width: 100%;
        max-width: 280px;
        height: auto;
        padding: 1rem;
    }

    .servico-caixas-secundarias p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .servico-hero {
        padding: 2rem 1rem;
    }

    .servico-caixa-principal {
        max-width: 95%;
    }

    .servico-caixa-principal h1 {
        font-size: 1.6rem;
    }
}




/* ABOUT SECTION REFACTORED */
.about-refactored-section {
    padding: 12vh 5vw;
    background-color: #fff;
    /* Fundo branco para a seção */
    color: #111;
}

.about-block {
    margin-bottom: 10vh;
    /* Espaço entre os blocos */
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-block-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.about-block-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    /* Impede que o título quebre a linha */
}

.about-block-header .line {
    width: 100%;
    height: 1px;
    background-color: #000;
}

.about-block-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #f4f4f4;
    /* Fundo para a área de conteúdo */
    padding: 30px;
    border-radius: 10px;
    align-items: center;
}

/* Modificador para inverter a ordem */
.about-block-content.reverse {
    flex-direction: row-reverse;
}

.about-video-wrapper,
.about-text-wrapper {
    flex: 1 1 400px;
    /* Base flexível para os itens */
}

.about-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.about-text-wrapper h4 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.about-text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-left: 0;
    /* Reset do estilo anterior */
}

/* Responsividade */
@media (max-width: 900px) {
    .about-block {
        margin-bottom: 10vh !important;
        /* Reduz a margem entre os blocos em telas pequenas */
    }

}

/* ABOUT SECTION - CTA BLOCKS */
.about-cta-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 10vh;
}

.about-cta-block {
    background-color: #f4f4f4;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #797979;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-cta-block:hover {
    transform: translateY(-8px);
    border-color: var(--bottom-color--);
}

.about-cta-block h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--azul-marinho);
}

.about-cta-block p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--cinza-escuro);
    max-width: 450px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-cta {
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    color: #000000;
    border: 2px solid var(--preto);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
    background-color: var(--preto);
    border-color: var(--bottom-color--);
    color: var(--bottom-color--);
}


.blog-section {
    padding: 12vh 5vw;
    background-color: #fff;
}

.blog-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 6vh auto;
}

.blog-header h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
}

.blog-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background-color: var(--bottom-color--);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.blog-card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    margin-left: 0;
}

.btn-read-more {
    text-decoration: none;
    color: var(--bottom-color--);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-read-more:hover {
    gap: 12px;
}



/* --- Seção Foco na Dor do Cliente --- */
.foco-cliente {
    padding: 6rem 2rem;
    text-align: center;
    background-color: var(--branco);
}

.foco-titulo h2 {
    font-size: 3.5rem;
    color: var(--cor-texto-principal);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.foco-video-wrapper {
    max-width: 1500px;
    margin: 0 auto 4rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.foco-video-wrapper video {
    width: 100%;
    display: block;
}

.foco-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.foco-card {
    border: 2px solid var(--cinza-escuro);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foco-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.foco-card i {
    font-size: 3rem;
    color: var(--amarelo-forte);
    margin-bottom: 1.5rem;
}

.foco-card h3 {
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--cor-texto-principal);
    margin-bottom: 1rem;
}

.foco-card p {
    font-size: 1rem;
    color: var(--cinza-escuro);
}

/* --- Responsividade para as novas seções --- */
@media (max-width: 992px) {
    .servicos-detalhados {
        padding: 4rem 2rem;
    }

    .servico-item-content {
        flex-direction: column;
        gap: 2rem;
    }

    .servico-item-content.reverso {
        flex-direction: column;
    }

    .servico-item-content img {
        width: 100%;
        max-width: 100%;
    }

    .foco-titulo h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .servico-titulo-wrapper h2 {
        font-size: 1.8rem;
    }

    .foco-titulo h2 {
        font-size: 2rem;
    }
}


/*
=================================
    FOOTER INSTITUCIONAL
=================================
*/
.footer-main {
    background: linear-gradient(135deg, #0a2342, #0d2c54);
    color: var(--cinza-claro);
    padding: 3rem 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-col .logo-footer-img {
    max-width: 100px;
}

.footer-col .tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--branco);
    margin-top: 0;
    margin-bottom: 1.5rem;
    cursor: default;
}

.footer-col-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 180px;
    /* Ajuste o tamanho conforme necessário */
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    color: var(--branco);
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--amarelo-forte);
}

.footer-col p,
.footer-col ul li {
    color: #ccc;
    line-height: 1.8;
    font-size: 0.95rem;
    cursor: pointer;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
    color: var(--amarelo-forte);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    width: 15px;
    text-align: center;
    color: var(--amarelo-forte);
}

.footer-col .contact-info li {
    transition: color 0.3s, padding-left 0.3s;
}

/* Aplica o efeito ao passar o mouse */
.footer-col .contact-info li:hover {
    color: var(--amarelo-forte);
    padding-left: 5px;
}


.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: var(--amarelo-forte);
    color: var(--azul-marinho);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    /* Aumenta um pouco o padding superior */
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
}