/* ======================================================
   VARIÁVEIS DA MARCA
====================================================== */

:root {
    --cor-grafite: #4e4d4d;
    --cor-roxo: #8489c2;
    --cor-verde: #36b6b4;
    --cor-amarelo: #ffc152;
    --texto-principal: #4e4d4d;
    --fundo-claro: #f8f9fa;
    --verde-principal: #36b6b4;

}


/* ======================================================
   CONFIGURAÇÃO GLOBAL
====================================================== */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'Outfit', sans-serif;
    color: var(--texto-principal);
    background-color: #ffffff;
}

/* Transições suaves padrão agência */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

p {
    font-weight: 400;
}


/* ======================================================
   BOTÕES E FOCUS (IDENTIDADE)
====================================================== */

.btn:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(54, 182, 180, 0.35);
}

.btn {
    border-radius: 10px;
}


/* ======================================================
   TÍTULOS DE SEÇÃO (PADRÃO VISUAL)
====================================================== */

.section-title {
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--cor-verde);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

    .section-title::after {
        content: "";
        width: 60px;
        height: 3px;
        background: var(--cor-amarelo);
        display: block;
        margin: 15px auto 0;
        border-radius: 10px;
    }


/* ======================================================
   MODAL MISSÕES
====================================================== */

.modal-xl {
    max-width: 1200px;
}

.modal-content {
    padding: 10px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
}

.modal-footer {
    border-top: 1px solid #f0f0f0;
}

.form-label {
    font-size: 0.85rem;
    color: #666;
}

.form-control {
    height: 44px;
    font-size: 0.95rem;
    border-radius: 10px;
}

textarea.form-control {
    height: auto;
}

.modal-title {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    color: var(--cor-grafite);
}

/* Preview imagem */
#previewImagem {
    border-radius: 12px;
}

/* Card imagem */
.image-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background: var(--fundo-claro);
}

    .image-card img {
        aspect-ratio: 16/9;
        object-fit: cover;
        width: 100%;
        display: block;
    }

input[type="file"] {
    border-radius: 12px;
}

/* Tabela */
.table {
    border-radius: 12px;
    overflow: hidden;
}


/* ======================================================
   HERO BANNER FULL WIDTH
====================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 350px;
    max-height: 550px;
    overflow: hidden;
}

/* Slides */
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

    .hero-slide.active {
        opacity: 1;
        z-index: 1;
    }

/* Overlay com degradê institucional */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(255, 193, 82, 0.75) 100% );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

    .hero-content h1 {
        font-weight: 600;
        letter-spacing: -0.5px;
        line-height: 1.3;
        text-wrap: balance;
    }

    .hero-content p {
        line-height: 1.4;
    }

/* Animação suave troca de frase */
#heroText {
    transition: opacity 0.7s ease-in-out;
}


/* ======================================================
   FUNDOS PADRÃO
====================================================== */

.bg-light {
    background-color: var(--fundo-claro) !important;
}

/* ======================================================
   HEADER
====================================================== */

/* Faixa amarela superior */
.top-bar {
    background-color: var(--cor-amarelo);
    height: 42px;
    display: flex;
    align-items: center;
}

.top-icon {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

    .top-icon:hover {
        color: var(--cor-roxo);
    }


/* ========================= */
/* NAVBAR PRINCIPAL */
/* ========================= */

.navbar-main {
    background: #ffffff;
    padding: 22px 0; /* um pouco mais respiro */
    border-bottom: 1px solid #f2f2f2;
}

    /* Container mais alinhado com o conteúdo da página */
    .navbar-main .container {
        max-width: 1200px;
    }

/* Logo maior e proporcional */
.logo-main {
    height: 115px;
    width: auto;
    transition: transform 0.3s ease;
}

    /* Pequena interação elegante */
    .logo-main:hover {
        transform: scale(1.03);
    }

/* ========================= */
/* MENU PRINCIPAL */
/* ========================= */

.menu-principal {
    gap: 45px; /* mais espaçamento premium */
}

    .menu-principal .nav-link {
        font-weight: 500;
        font-size: 15.5px;
        letter-spacing: 0.3px;
        color: var(--cor-verde);
        position: relative;
        transition: all 0.3s ease;
    }

        /* Hover roxo da marca */
        .menu-principal .nav-link:hover {
            color: var(--cor-roxo);
        }

        /* Linha animada estilo agência */
        .menu-principal .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0%;
            height: 2px;
            background: var(--cor-roxo);
            transition: width 0.3s ease;
        }

        .menu-principal .nav-link:hover::after {
            width: 100%;
        }

/* Melhor alinhamento vertical */
.navbar-main .navbar-nav {
    align-items: center;
}



/* ===========================
   SEÇÃO MISSÕES
=========================== */

.nm-missoes {
    padding: 40px 0 40px 0;
    background: #f4f6f6;
}

.nm-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.nm-titulo {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--verde-principal);
    margin-bottom: 10px;
}

.nm-subtitulo {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: #777;
}

/* GRID */

.nm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARD */

.nm-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #36b6b4;
    transition: all 0.3s ease;
}

    .nm-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    }

/* IMAGEM */

.nm-card-img {
    height: 220px;
    overflow: hidden;
}

    .nm-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.nm-card:hover img {
    transform: scale(1.05);
}

/* BODY */

.nm-card-body {
    padding: 20px;
    text-align: center;
}

.nm-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.nm-card-location {
    font-size: 14px;
    color: #777;
}

/* PROGRESS */

.nm-progress {
    height: 8px;
    background: #e0e0e0;
    border-radius: 8px;
    margin: 15px 0 10px;
    overflow: hidden;
}

.nm-progress-bar {
    height: 100%;
    background: #2cb34a;
    transition: width 0.5s ease;
}

/* VALORES */

.nm-valores {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* BOTÕES */

.nm-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-doar {
    background: #36b6b4;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.btn-participar {
    border: 2px solid #36b6b4;
    color: #36b6b4;
    padding: 6px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

    .btn-participar:hover {
        background: #2cb34a;
        color: #fff;
    }

/* RESPONSIVO */

@media (max-width: 1200px) {
    .nm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nm-grid {
        grid-template-columns: 1fr;
    }
}



/* ===========================
   PROJETOS MÉDIO PRAZO
=========================== */

.nm-projetos-medio {
    padding: 20px 0;
    background: #f4f6f6;
}

.nm-grid-medio {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.nm-card-medio {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--verde-oficial);
    transition: all 0.3s ease;
    text-align: center;
}

    .nm-card-medio:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

.nm-card-medio-img {
    height: 220px;
    overflow: hidden;
}

    .nm-card-medio-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.nm-card-medio-body {
    padding: 20px;
}

/* RESPONSIVO */

@media (max-width: 1200px) {
    .nm-grid-medio {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nm-grid-medio {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {

    /* Navbar menor */
    .navbar-main {
        padding: 15px 0;
    }

    /* Logo menor */
    .logo-main {
        height: 40px;
    }

    /* Botão hambúrguer limpo */
    .navbar-toggler {
        border: none;
        box-shadow: none !important;
    }

        .navbar-toggler:focus {
            outline: none;
            box-shadow: none;
        }

    /* Menu aberto */
    .menu-principal {
        gap: 0;
        padding-top: 15px;
        text-align: center;
    }

        .menu-principal .nav-link {
            padding: 12px 0;
            font-size: 16px;
        }

            .menu-principal .nav-link::after {
                display: none;
            }

    /* ========================= */
    /* HERO MOBILE AJUSTES */
    /* ========================= */

    .hero-section {
        height: 40vh;
        min-height: 300px;
        max-height: 420px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
        line-height: 1.3;
        padding: 0 15px;
    }
}


/* ======================================================
   PÁGINA FORMAÇÃO
====================================================== */

.formacao-hero {
    background: var(--cor-roxo);
    padding: 35px 0; /* mais fina */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

    .formacao-hero h1 {
        color: #fff;
        font-size: 2rem;
        font-weight: 600;
        margin: 0;
    }

.formacao-descricao {
    max-width: 900px;
    margin: 0 auto;
    color: var(--cor-verde);
    font-size: 1.1rem;
}

.formacao-destaque {
    color: var(--cor-roxo);
    font-weight: 600;
}

.formacao-card {
    background: #e9eaf7;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.formacao-card-title {
    color: var(--cor-verde);
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-formacao {
    background: var(--cor-roxo);
    color: #fff;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
}

    .btn-formacao:hover {
        background: #6f75b0;
        color: #fff;
    }

/* ======================================================
   PÁGINA CONHEÇA
====================================================== */

.conheca-hero {
    position: relative;
    height: 620px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: url('/images/BGPPT-NUCLEO-AP-07-1.jpg') right center / cover no-repeat, url('/images/criancas-fundo.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.conheca-overlay {
    background: linear-gradient( to bottom, rgba(0,0,0,0.6), rgba(132,137,194,0.85) );
    height: 100%;
}

.text-roxo {
    color: var(--cor-roxo);
}

.text-verde {
    color: var(--cor-verde);
}

.text-amarelo {
    color: var(--cor-amarelo);
}

.bloco-missao {
    border: 1px solid var(--cor-roxo);
    padding: 30px;
    font-weight: 600;
    border-radius: 12px;
}

.fase-card {
    border: 1px solid var(--cor-amarelo);
    padding: 25px;
    border-radius: 14px;
    transition: 0.3s ease;
}

    .fase-card:hover {
        background: rgba(54,182,180,0.08);
        transform: translateY(-4px);
    }

.fase-titulo {
    background: var(--cor-amarelo);
    padding: 10px;
    font-weight: 600;
    margin-bottom: 15px;
}

.conheca-banner {
    background: url('/images/bg-banner.jpg') center/cover no-repeat;
    min-height: 300px;
    position: relative;
}

    .conheca-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(45deg, var(--cor-roxo), var(--cor-verde));
        opacity: 0.85;
    }

    .conheca-banner .container {
        position: relative;
        z-index: 2;
    }

/* ======================================================
   HERO CONHEÇA COM SOBREPOSIÇÃO REAL
====================================================== */

.conheca-hero {
    position: relative;
    height: 500px; /* AUMENTAMOS A ALTURA */

    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: url('/images/criancas-fundo.jpg') center center / cover no-repeat;
    overflow: hidden;
}

/* Imagem sobreposta */
.conheca-overlay-img {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(255, 193, 82, 0.75), rgba(255, 193, 82, 0.75) );
    pointer-events: none;
}

/* ======================================================
   VÍDEO FLUTUANTE
====================================================== */

.video-flutuante {
    margin-top: -420px;
    position: relative;
    z-index: 5;
}

.video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid var(--cor-roxo);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    background: #000 
    max-width: 950px;
    margin: 0 auto;
}



/* ======================================================
   PADRÃO GLOBAL DE LARGURA DO SITE
====================================================== */

@media (min-width: 1400px) {
    .container {
        max-width: 1240px;
    }
}

/* ======================================================
   BANNER INSTITUCIONAL CONHEÇA
====================================================== */

.conheca-banner {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    background: url('/images/BGPPT-NUCLEO-AP-02.jpg') center center / cover no-repeat;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

    /* Overlay gradiente */
    .conheca-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to right, rgba(132, 137, 194, 0.85), rgba(54, 182, 180, 0.85) );
        z-index: 1;
    }

    /* Texto acima do overlay */
    .conheca-banner .container {
        position: relative;
        z-index: 2;
    }

/* ======================================================
   FLUXO MISSÃO
====================================================== */

.fluxo-missao {
    padding: 60px 0;
}

.fluxo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.fluxo-item {
    min-width: 220px;
    padding: 22px 40px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid var(--cor-roxo);
    border-radius: 14px;
    background: #ffffff;
    color: var(--cor-grafite);
    transition: all 0.3s ease;
}

    .fluxo-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

.fluxo-seta {
    font-size: 22px;
    color: var(--cor-verde);
    font-weight: 600;
}

/* ======================================================
   FASES DESENVOLVIMENTO MISSIONÁRIO
====================================================== */

.fases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.fase-card {
    background: transparent;
    border: none;
    border-radius: 0;
    width: 100%;
}

.fase-card-inner {
    border: 2px solid var(--cor-amarelo);
    border-radius: 0; /* 👈 sem arredondado */
    background: #ffffff;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .fase-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

.fase-titulo {
    background: var(--cor-amarelo);
    padding: 18px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.fase-conteudo {
    padding: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* ======================================================
   FOOTER NÚCLEO
====================================================== */

.footer-nucleo {
    background: #7E83B6; /* roxo igual ao site */
    padding: 45px 0; /* altura equilibrada */
    color: #ffffff;
}

/* CONTATOS */
.footer-contatos {
    display: flex;
    flex-direction: column;
    gap: 12px; /* 👈 mais juntinho */
}

/* ITEM */
.footer-item {
    display: flex;
    align-items: center;
    gap: 10px; /* menos espaço entre ícone e texto */

    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2; /* 👈 evita espaço vertical feio */
}

    /* ÍCONE */
    .footer-item i {
        color: #FFC152;
        font-size: 18px;
        flex-shrink: 0;
    }

    /* HOVER */
    .footer-item:hover {
        opacity: 0.85;
    }

/* LOGO */
.footer-logo img {
    max-height: 100px; /* proporcional ao original */
}


.footer-item,
.footer-item:visited,
.footer-item:active {
    color: #ffffff !important;
}

    .footer-item:hover {
        color: #ffffff !important;
    }

/* ===============================
   FOOTER GRUDADO NO FINAL
================================ */

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===============================
   HERO ROXO (igual Formação)
================================ */
.hero-roxo {
    background: #7E83B6;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-roxo h1 {
        color: #fff;
        font-weight: 600;
    }

/* ===============================
   INTRO
================================ */
.destaque-texto {
    color: #7E83B6;
}

.lista-missoes {
    list-style: none;
    padding-left: 0;
}

    .lista-missoes li {
        margin-bottom: 12px;
    }

/* ===============================
   CHAMADO
================================ */
.chamado-destaque h2 {
    color: #7E83B6;
    font-weight: 600;
}

/* ===============================
   CARDS PROJETOS
================================ */
.card-projeto {
    border: 1px solid #36B6B4;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .card-projeto h5 {
        font-weight: 600;
        margin-top: 15px;
    }

.btn-projeto {
    margin-top: 15px;
    padding: 8px 20px;
    background: #fff;
    border: 2px solid #2ABB1D;
    color: #2ABB1D;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: 0.3s ease;
}

    .btn-projeto:hover {
        background: #2ABB1D;
        color: #fff;
    }


/* ======================================
   INTRO PROJETOS - VERSÃO MAIS COMPACTA
====================================== */

.sessao-projetos-intro {
    padding: 40px 0 70px 0; /* 🔥 reduz topo */
    background: #ffffff;
}

/* IMAGEM menor */
.intro-img {
    width: 100%;
    height: 520px;
    object-fit: contain; /* 🔥 não corta */
    background-color: #fff; /* opcional */
}

/* Alinhamento topo */
.sessao-projetos-intro .row {
    align-items: flex-start;
}

/* Caixa texto */
.intro-box {
    border-right: 9px solid #f4b942; /* 🔥 borda mais grossa ainda */
    padding-left: 35px;
    padding-right: 25px;
}

/* Texto principal */
.intro-texto-principal {
    color: #1e9e88;
    font-size: 15.5px;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 18px;
}

/* Verso */
.intro-texto-verso {
    color: #7c84c7;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

/* Subtítulo */
.intro-subtitulo {
    color: #1e9e88;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Lista */
.intro-lista li {
    font-size: 13.8px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.sessao-projetos-intro .col-lg-6:last-child {
    display: flex;
    align-items: center;
}

.intro-box {
    width: 100%;
}

.nm-missoes,
.nm-projetos-medio {
    background: #ffffff;
}

.sessao-doacao-intro {
    padding: 60px 0;
}

    .sessao-doacao-intro .intro-box-left {
        border-left: 6px solid #f4b63d; /* borda agora à esquerda */
        padding-left: 35px;
        padding-right: 10px;
    }

    .sessao-doacao-intro .col-lg-6:first-child {
        display: flex;
        align-items: center; /* centraliza vertical */
    }

/* ================================
   SESSÃO TESTEMUNHO INTRO
================================ */

.sessao-testemunho-intro {
    padding: 70px 0 50px 0;
}

.testemunho-texto {
    font-size: 17px;
    line-height: 1.8;
    color: #2aa39a; /* verde padrão do site */
    font-weight: 500;
    margin-bottom: 0;
}

.card-testemunho {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .card-testemunho:hover {
        transform: translateY(-5px);
    }

    .card-testemunho img {
        height: 220px;
        object-fit: cover;
    }

.link-testemunho {
    color: #6b5cff;
    font-weight: 600;
    text-decoration: none;
}

/* link no card */

.nm-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* =========================
   MISSÃO SINGLE
========================= */

.nm-missao-hero {
    background: #7f84b8;
    color: white;
    padding: 40px;
}

.nm-missao-img {
    border-radius: 12px;
}

.nm-doacao-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.nm-progress {
    height: 10px;
    margin-bottom: 10px;
}

.nm-meta {
    font-size: 14px;
    margin-bottom: 20px;
}

.nm-input-doacao {
    margin-bottom: 15px;
}

.nm-botoes {
    display: flex;
    gap: 10px;
}

.nm-info-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

    .nm-info-box i {
        font-size: 20px;
        color: #28a745;
        margin-bottom: 10px;
    }

.card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .card-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }



/* HERO */
.testemunho-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTEÚDO */
.testemunho-conteudo {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

    .testemunho-conteudo p {
        margin-bottom: 1.2rem;
    }

/* RESPONSIVO */
@media (max-width: 768px) {
    .testemunho-hero {
        height: 280px;
    }
}

/* 🎥 VÍDEO RESPONSIVO CORRETO */
.testemunho-conteudo iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ❌ REMOVIDO height fixo (causava vídeo achatado) */
/* ❌ NÃO PRECISA do video-wrapper aqui */

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.share-buttons a {
    margin-right: 8px;
}

.sidebar-card {
    transition: all 0.2s ease;
}

    .sidebar-card:hover {
        transform: translateX(4px);
    }

.share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

    /* CORES OFICIAIS */
    .share-icon.whatsapp {
        background: #25D366;
    }

    .share-icon.linkedin {
        background: #0077B5;
    }

    .share-icon.twitter {
        background: #000000;
    }

    .share-icon.threads {
        background: #000000;
    }

    .share-icon.facebook {
        background: #3b5998;
    }

    /* HOVER */
    .share-icon:hover {
        transform: translateY(-3px);
        opacity: 0.9;
    }

/* WRAPPER DE VÍDEO RESPONSIVO */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px 0;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* LINHA DIVISÓRIA */
.sidebar-right {
    border-left: 1px solid #e5e5e5;
    padding-left: 25px;
}

/* ÍCONES */
.share-icons {
    display: flex;
    gap: 10px;
}

.share-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .share-icon.whatsapp {
        background: #25D366;
    }

    .share-icon.linkedin {
        background: #0077B5;
    }

    .share-icon.twitter {
        background: #000000;
    }

    .share-icon.facebook {
        background: #3b5998;
    }

    .share-icon:hover {
        transform: translateY(-3px);
        opacity: 0.9;
    }

/* SIDEBAR HOVER */
.sidebar-card {
    transition: all 0.2s ease;
}

    .sidebar-card:hover {
        transform: translateX(4px);
    }


/* HERO NOVO */
.testemunho-hero-novo {
    position: relative;
    height: 420px;
    background: url('/images/hero-testemunho.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    /* 🔥 ADICIONE ISSO */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

    /* CONTEÚDO */
    .testemunho-hero-novo .container {
        position: relative;
        z-index: 2;
    }


    /* OVERLAY ESCURO */
    .testemunho-hero-novo .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.8);
        z-index: 1; /* 👈 atrás do conteúdo */
    }

   

/* IMAGEM DO TESTEMUNHO */
.img-destaque {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* TEXTO */
.testemunho-hero-novo h1 {
    line-height: 1.2;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .testemunho-hero-novo {
        height: auto;
        padding: 40px 0;
        text-align: center;
    }

    .img-destaque {
        margin-bottom: 20px;
    }
}


/* MOBILE - AJUSTE DO HERO */
@media (max-width: 768px) {

    .testemunho-hero-novo h1 {
        font-size: 22px; /* 👈 diminui o título */
        padding: 0 15px; /* 👈 margem lateral */
        line-height: 1.3;
    }

    .testemunho-hero-novo p {
        font-size: 14px;
    }
}

/* MOBILE AJUSTES SIDEBAR */
@media (max-width: 768px) {

    /* 🔽 ESPAÇAMENTO + CENTRALIZAÇÃO COMPARTILHAR */
    .sidebar-right {
        margin-top: 30px;
        text-align: center;
    }

        .sidebar-right h6 {
            text-align: center;
            margin-top: 20px;
        }

    .share-icons {
        justify-content: center;
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    /* 🔽 OUTROS TESTEMUNHOS CENTRALIZADO */
    .sidebar-right h5 {
        text-align: center;
        margin-top: 25px;
    }

    /* 🔲 CARD DOS TESTEMUNHOS */
    .sidebar-card {
        border: 1px solid #eee;
        border-radius: 5px;
        padding: 10px;
        transition: all 0.2s ease;
    }

        .sidebar-card:hover {
            transform: translateY(-2px);
        }

        /* 🔽 AJUSTE INTERNO DO CARD */
        .sidebar-card .d-flex {
            align-items: center;
        }

        .sidebar-card img {
            border-radius: 6px;
        }
}

border: 1px solid rgba(0,0,0,0.08);
box-shadow: 0 4px 12px rgba(0,0,0,0.05);