/* =========================================
   ESTILO FAMÍLIA AZULLAUDO
   Foco: Acessibilidade, Calma e Clareza
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

@font-face {
    font-family: 'Amsterdam Signature';
    src: url('../fontes/amsterdam-signature.regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-blue: #add2ff; /* Azul petróleo calmo */
    --primary-blue2: #003366; /* Azul petróleo calmo */
    --primary-green: #0c8133; /* Verde suave para destaque */
    --soft-blue: #ebf8ff;    /* Fundo azul muito claro */
    --accent-orange: #ed8936; /* Laranja suave para destaque */
    --text-dark: #2d3748;    /* Cinza escuro (melhor que preto puro) */
    --bg-white: #ffffff;
    --font-main: 'Verdana', 'Segoe UI', sans-serif; /* Fontes legíveis */
    --font-brand: 'Amsterdam Signature', 'Pacifico', cursive;
}

body {
    font-family: var(--font-main);
    background-color: var(--soft-blue); /* Cor de fallback */
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;

}

/* HEADER */
header {
    background-color: var(--primary-blue); /* Azul escuro com transparência */
    backdrop-filter: blur(8px); /* Efeito de vidro fosco para elegância */
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; /* Mantém o header no topo */
    top: 0;
    z-index: 1000;
}

.nomeNavBar,
.page-hero h1 {
    font-family: var(--font-brand);
}

.logoNomeNav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logoNavBar {
    height: 50px;
}

.nomeNavBar {
    font-family: var(--font-brand);
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-blue2); /* Alterado para branco para contraste */
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--primary-blue2);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background-color: #003366;
    color: white;
}

header nav {
    margin-left: auto; /* Empurra a navegação para a direita */
}

/* Estilo Botões (Apenas Index/Blog) */
.menu-botoes a {
    color: var(--primary-blue);
    background-color: #fff;
    padding: 4px 7px;
    border-radius: 9px;
    border: 1px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.menu-botoes a:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 82, 130, 0.2);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), #4299e1);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* CTA LEAD MAGNET */
.ctaLead {
    background: var(--bg-white);
    max-width: 800px;
    margin: -30px auto 40px; /* Sobrepõe o Hero */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.ctaLead h2 {
    color: var(--primary-blue);
    margin-top: 0;
}

#baixarPlanner {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    margin-top: 15px;
    transition: transform 0.2s;
}

#baixarPlanner:hover {
    transform: scale(1.05);
    background-color: #dd6b20;
}

/* POSTS GRID */
.posts, .blog-section {
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.posts h2, .blog-section h2 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
    padding-bottom: 5px;
}

.posts-container, .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.post-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card h3 {
    padding: 0 15px;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.post-card p {
    padding: 0 15px;
    font-size: 0.95rem;
    color: #666;
}

.ler-mais {
    display: block;
    padding: 15px;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 0.9rem;
}

/* CATEGORIAS */
.categorias {
    background: var(--primary-blue);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.categorias-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.categoria-card a {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    transition: background 0.3s;
}

.categoria-card a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* APP DESTAQUE */
.anuncie-exemplo {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.banner-exemplo {
    background: #fff;
    border-left: 5px solid var(--primary-blue);
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    border-radius: 8px;
}

.banner-exemplo img {
    border-radius: 15px;
}

.btn-anuncie {
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* RANKING DE POSTS (LEITURA RÁPIDA) */
.ranking-artigos {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.ranking-artigos h2 {
    color: var(--primary-blue);
    margin-top: 0;
}
.ranking-artigos ol {
    list-style: decimal inside;
    padding-left: 0;
    line-height: 2;
}
.ranking-artigos a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}
.ranking-artigos a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* POSTS EM LISTA */
.blog-lista {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}
.post.destaque {
    display: flex;
    gap: 25px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.post.destaque img {
    width: 40%;
    object-fit: cover;
    border-radius: 8px;
}
.post.destaque .info .tag {
    background: var(--accent-orange);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}
.post.destaque h2 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.post.linha {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}
.post.linha img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
}
.post.linha h3 {
    margin: 0;
    font-size: 1.1rem;
}
.post.linha .data {
    font-size: 0.85rem;
    color: #777;
}

/* DEPOIMENTOS */
.depoimentos {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}
.depoimentos h2 {
    text-align: center;
    color: var(--primary-blue);
}
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.depoimentos-grid blockquote {
    background: var(--bg-white);
    padding: 25px;
    border-left: 5px solid var(--accent-orange);
    margin: 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}
.depoimentos-grid cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: var(--primary-blue);
}

/* FORMULÁRIOS */
.seja-parceiro, .lead {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 10px;
    text-align: center;
}
.seja-parceiro h2, .lead h2 {
    color: var(--primary-blue);
}
.form-parceiro, .lead form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.form-parceiro label { text-align: left; font-weight: bold; }
.form-parceiro input, .form-parceiro textarea, .lead input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}
.form-parceiro button, .lead button {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

/* LAYOUT COM SIDEBAR (NOVO) */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Essencial para o sticky funcionar */
}

.main-content {
    flex: 3; /* Ocupa 3 partes do espaço */
    min-width: 0; /* Evita quebra de layout flex */
}

/* Ajuste para as seções dentro do novo layout */
.main-content .posts, 
.main-content .blog-section,
.main-content .ranking-artigos,
.main-content .blog-lista,
.main-content .anuncie-exemplo {
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.sidebar {
    flex: 1; /* Ocupa 1 parte do espaço */
    min-width: 300px;
    margin-top: 20px;
}

.sticky-widget {
    position: sticky;
    top: 20px; /* Distância do topo ao rolar */
    background: var(--bg-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-orange);
}

/* FOOTER */
footer {
    background: var(--text-dark);
    color: #ccc;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.page-hero {
    padding: 70px 20px 40px;
    /* background: linear-gradient(135deg, var(--primary-blue2), #0f4b80); */
    color: white;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto 12px;
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: center;
}

.page-hero p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
}

.page-content {
    max-width: 1100px;
    margin: -20px auto 0;
    padding: 0 20px 60px;
}

.page-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    padding: 32px;
    margin-bottom: 24px;
}

.page-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.page-grid img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.image-grid figure {
    margin: 0;
}

.image-grid img {
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
}

.image-grid figcaption {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-top: 8px;
    text-align: center;
}

.page-list {
    padding-left: 20px;
}

.page-list li {
    margin-bottom: 10px;
}

.terms-list {
    padding-left: 20px;
}

.terms-list li {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }
}

footer a {
    color: white;
    text-decoration: none;
}

.page-hero {
    padding: 70px 20px 40px;
    /* background: linear-gradient(135deg, var(--primary-blue2), #0f4b80); */
    color: var(--primary-blue2);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto 12px;
    font-size: clamp(5rem, 3.5vw, 3rem);
    text-align: center;
}

.page-hero p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
}

section.page-card.page-grid {
    font-size: 1.1rem;
}


section.page-card.page-grid h2 {
    color: var(--primary-blue2);
    font-size: 1.7rem;
    margin-bottom: 15px;
}

ul.page-list {
    font-size: 1.15rem;
}

.page-card h2 {
    color: var(--primary-blue2);
}

.page-content {
    max-width: 1100px;
    margin: -20px auto 0;
    padding: 0 20px 60px;
}

.page-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    padding: 32px;
    margin-bottom: 24px;
}

.page-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.page-grid img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.image-grid figure {
    margin: 0;
}

.image-grid img {
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    width: 100%;
}

.image-grid figcaption {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-top: 8px;
    text-align: center;
}

.page-list {
    padding-left: 20px;
}

.page-list li {
    margin-bottom: 10px;
}

.terms-list {
    padding-left: 20px;
}

.terms-list li {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }
}

.newsletter-section {
    background: linear-gradient(135deg, #f5fbff 0%, #eef7ff 100%);
    padding: 50px 20px;
}

.newsletter-box {
    max-width: 760px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.08);
    text-align: center;
}

.newsletter-box h3 {
    color: #003366;
    margin-bottom: 10px;
}

.newsletter-box p {
    color: #003366;
    margin-bottom: 2    0px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 240px;
    padding: 22px 14px;
    border: 1px solid #cfe6f7;
    border-radius: 999px;
    outline: none;
    background-color: #cfe6f7;
}

.newsletter-form button {
    background: #2c5282;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    cursor: pointer;
}

/* SOBRE O BLOG (FOOTER SECTION) */
.sobre-blog {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}
.sobre-blog .logo-box {
    margin-bottom: 20px;
}
.sobre-blog .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
.sobre-blog .descricao {
    max-width: 600px;
    margin: 0 auto 30px;
}
.social-container h3 {
    color: var(--primary-blue);
}

.container-social {
   justify-content: center;
    gap: 20px;
    margin-top: 10px;
    /* background-color: #BBD2E0; */
    border-radius: 17px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
.social-links img {
    width: 40px;
    transition: transform 0.2s;
}
.social-links img:hover { 
    transform: scale(1.1); 
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .banner-exemplo {
        flex-direction: column;
        text-align: center;
    }
    .post.destaque {
        flex-direction: column;
    }
    .post.destaque img {
        width: 100%;
        height: 200px;
    }
    
    /* Sidebar vai para baixo no mobile */
    .main-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        margin-top: 40px;
    }
}

/* =========================================
   ESTILOS INSTITUCIONAL (Migrado)
   ========================================= */

.container { 
    margin: 0 auto 40px; 
    background-color: #003366;
    
}

.sobre-nos { display: flex; 
    gap: 40px; 
    align-items: center; 

}
.sobre-nos img { width: 100%; 
    max-width: 540px; 
    height: 750px;
    border-radius: 10px; 
  
}

.sobre-nos { 
    color: #eeeeee; 
}

.sobre-nos div h2 { 
    font-size: 2.5rem; 
    margin-bottom: 4rem; 
}

.sobre-nos div p { 
    font-size: 1.4rem;
    margin-bottom: 3rem;
}
.sobre-nos div { 
   padding: 0 8rem;
}

.porque-fazemos {
    padding: 0 80px;
}


.missao-valores { display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    /* gap: 20px;  */
    text-align: center; 
    margin: 0 auto 40px;
    padding: 10rem 20px;
    justify-items: center;
    align-items: start;
    background-color: #BBD2E0;
}

.mv-card {
    background: white; 
    padding: 40px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    margin-bottom: 20px;
    height: 13rem;
    width: min(100%, 19rem);
}

.mv-card h3 { 
    color: #003366; 
    font-size: 1.5rem;
}

.mv-card p { 
    color: #003366; 
    font-size: 1.15rem;
}
    
.narrativa-evolucao {
    background: linear-gradient(135deg, #f8fcff 0%, #eef7ff 100%);
    padding: 70px 20px;
}

.container-narrativa {
    max-width: 980px;
    margin: 0 auto;
}

.narrativa-evolucao h2 {
    text-align: center;
    color: #2c5282;
    margin-bottom: 35px;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

.narrativa-etapa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.08);
}

.narrativa-etapa.final {
    grid-template-columns: 1fr;
    text-align: center;
}

.narrativa-texto p {
    margin: 0;
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
}

.narrativa-imagem img {
    width: 100%;
    max-width: 320px;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
}

.linha-do-tempo {
    background: #f8fbff;
}

.container-linha-do-tempo {
    max-width: 1500px;
    margin: 0 auto;
}

.linha-do-tempo h2 {
    text-align: center;
    color: #003366;
    margin-top: 95px;
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
}
.linha-do-tempo h3 {
    text-align: center;
    color: #2c5282;
    margin-bottom: 95px;
    font-size: 1.5rem;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    padding: 70px 0 10px;
    margin-bottom: 5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 20%;
    height: 4px;
    background: linear-gradient(90deg, #2c5282, #7ec8ff);
    transform: translateY(-50%);
}

.timeline-item {
    position: relative;
    justify-content: center;
    padding-top: 24px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2c5282;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2c5282;
    transform: translate(-50%, -50%);
}

.timeline-item.top {
    margin-top: -70px;
}

.timeline-card {
    width: 90%;
    max-width: 190px;
    background: #add2ff;
    border-radius: 18px;
    padding: 7px 15px;
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    /* overflow: hidden; */
}

.timeline-thumb {
    width: 225px;
    height: 262px;
    border-radius: 12px;
   
}

.timeline-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.timeline-lightbox.active {
    display: flex;
}

.timeline-lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border: none;
    color: #003366;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.timeline-media .overlap-2 {
    margin-left: -95px;
    margin-top: 18px;
    animation-delay: 0.4s;
}

.timeline-media .overlap-3 {
    margin-left: -95px;
    margin-top: 36px;
    animation-delay: 0.8s;
}

.timeline-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-year {
    font-weight: 700;
    color: #2c5282;
    font-size: 1.3rem;
}

.timeline-copy h3 {
    color: #003366;
    margin: 0;
    font-size: 1.05rem;
}

.timeline-copy p {
    margin: 0;
    color: #000000;
    line-height: 1.6;
    font-size: 1rem;
}

.timeline-item.active .timeline-card {
    border: 1px solid #9ed4ff;
    background: linear-gradient(135deg, #f5fbff 0%, #eaf7ff 100%);
}

@keyframes pulse-photo {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}

.solucoes { background: #ebf8ff; padding: 60px 0; text-align: center; }
.app-grid { display: flex; justify-content: center; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.app-card { 
    background: white; 
    padding: 20px; 
    border-radius: 
    10px; width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: var(--primary-blue2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinha conteúdo na base */
 }

.app-card-bg {
    background-color: var(--primary-blue);
    background-size: cover;
    background-position: center;
    min-height: 200px; /* Garante uma altura mínima */
}

.autoridade-section {
    background: #003366;
    padding: 60px 20px;
    text-align: center;
}

.container-autoridade {
    max-width: 960px;
    margin: 0 auto;
}

.autoridade-content h2 {
    color: #f4f6f8;
    margin-bottom: 35px;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.autoridade-content p {
    color: rgb(255, 255, 255);
    max-width: 760px;
    margin: 25px;
    line-height: 1.7;
}

.marcas-lista {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.marcas-lista span {
    background: #fff;
    border: 1px solid #d7eafe;
    color: #2c5282;
    padding: 22px 38px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(44, 82, 130, 0.08);
}

.social-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff; /* Destaque sutil */
}
.social-section h3 { 
    color: #2c5282; 
    margin-bottom: 20px; 
    font-size: 1.5rem; 
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 5px; 
    margin-top: 0; 
}

.social-links img { 
    width: 40px; 
    height: 40px; 
    transition: transform 0.2s; 
}
.social-links img:hover { 
    transform: scale(1.15); 
}

@media (max-width: 768px) {
    .sobre-nos { flex-direction: column; }
    .missao-valores { grid-template-columns: 1fr; }
}
/* =========================================
   NOVOS ESTILOS INSTITUCIONAL HERO
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Amsterdam+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');


.top-bar {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}

.inst-hero {
    background-color: #ffffff; /* Fundo branco */
    background-image: none; /* Remove a imagem de fundo */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    height: auto;
    color: #003366; /* Cor do texto padr�o para a se��o */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero-title {
    font-family: 'Amsterdam Signature', cursive; /* Usando a nova fonte */
    font-size: 8rem; /* Tamanho grande para o título */
    color: #003366;
    margin: 0;
    line-height: 1;
    text-shadow: none;
}

.heart-icon {
    color: #FFA500; /* Laranja */
    font-family: sans-serif; /* Para o cora��o n�o usar a fonte cursiva */
    margin-left: 5px;
}

.hero-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600; /* semi-bold */
    font-size: 2.6rem;
    line-height: 1.3;
    margin: 40px 0 60px;
}

.hero-manifesto {
    margin-top: 30px;
}

.hero-manifesto p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    margin: 5px 0;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    max-width: 45%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.pilares {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 40px 5%;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.pilar {
    max-width: 120px;
}

.pilar-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #BBD2E0; /* Azul claro */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.pilar-icon img,
.pilar-icon .material-symbols-outlined {
    max-width: 40px;
    max-height: 40px;
    font-size: 42px;
    color: #003366;
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 40;
}

.pilar p {
    font-family: 'Open Sans', sans-serif;
    color: #003366;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text, .hero-image {
        max-width: 100%;
    }

    .pilares {
        flex-wrap: wrap;
        gap: 20px;
    }
}
