:root {
    --primary: #0d6efd;
    --primary-soft: #eaf3ff;
    --primary-soft-2: #f4f8ff;
    --secondary: #6c757d;
    --dark: #1f2937;
    --gray: #6b7280;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e5e7eb;
    --section-beige: #fcfaf7;
    --section-blue: #f3f7ff;
    --section-gray: #f7f8fa;
}

/* =========================
   BASE
========================= */
body {
    background: #ffffff;
    color: var(--dark);
}

/* =========================
   HERO
========================= */
.hero-portfolio {
    background: linear-gradient(135deg, #f7fbff 0%, #eaf3ff 100%);
    padding-top: 90px;
    padding-bottom: 90px;
    position: relative;
}

.hero-portfolio::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.10) 0%, rgba(13, 110, 253, 0) 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

.hero-text {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 720px;
}

.btn-hero {
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
}

.hero-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    padding: 2rem;
}

.hero-card-content h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-card-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-list li {
    margin-bottom: 0.7rem;
    color: var(--dark);
    font-weight: 500;
}

/* =========================
   SEÇÕES
========================= */
.section-soft-blue {
    background: var(--section-blue);
}

.section-soft-gray {
    background: var(--section-gray);
}

.section-soft-beige {
    background: var(--section-beige);
}

.section-header h1, .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

/* =========================
   INDICADORES
========================= */
.portfolio-indicadores {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.indicador-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 1.8rem 1rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.indicador-card:hover {
    transform: translateY(-6px);
    border-color: #cfe2ff;
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.08);
}

.indicador-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef5ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.indicador-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.indicador-card p {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* =========================
   PÁGINA INTERNA DO SERVIÇO
========================= */
.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.servico-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.servico-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.servico-resumo {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 760px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

.servico-imagem {
    width: 100%;
    max-width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.servico-conteudo {
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1rem;
    color: #334155;
}

.servico-conteudo h2,
.servico-conteudo h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.servico-conteudo p {
    margin-bottom: 1.2rem;
}

.servico-conteudo ul,
.servico-conteudo ol {
    margin-bottom: 1.5rem;
    padding-left: 1.3rem;
}

.servico-conteudo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.servico-beneficios {
    max-width: 820px;
    margin: 40px auto 0;
    padding: 30px;
    background: #f8fbff;
    border: 1px solid #e3eefc;
    border-radius: 12px;
}

.servico-beneficios h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.servico-beneficios ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.servico-beneficios li {
    margin-bottom: 8px;
    color: #334155;
}

.servico-cta {
    max-width: 820px;
    margin: 50px auto 0;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #eef4ff, #f7faff);
    border: 1px solid #d9e8ff;
    border-radius: 14px;
}

.servico-cta h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.servico-cta p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.servico-voltar {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .servico-header h1 {
        font-size: 1.6rem;
    }

    .servico-resumo {
        font-size: 1rem;
    }

    .servico-cta {
        padding: 28px 20px;
    }
}

/* =========================
   LISTAGEM DE SERVIÇOS
========================= */
.servicos-header h1, .servicos-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.servicos-header p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.card-servico {
    background: #ffffff;
    border: 1px solid #e7eef8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-servico:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(13, 110, 253, 0.12);
    border-color: #cfe2ff;
}

.card-servico-img {
    height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #eaf1fb;
    position: relative;
}

.card-servico-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.02));
}

.card-servico-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-servico-categoria {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.9rem;
    background: #eef5ff;
    color: var(--primary);
    border: 1px solid #d7e8ff;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.card-servico-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #163152;
    margin-bottom: 0.85rem;
    line-height: 1.35;
    min-height: 3.2rem;
}

.card-servico-body p {
    color: #5f6f82;
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    flex: 1;
}

.card-servico-body .btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.20);
}

.card-servico-body .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.28);
    color: #fff;
}

.card-servico-body .btn::after {
    content: "→";
    font-size: 1rem;
    line-height: 1;
}

.card-servico-sem-imagem {
    background:
        linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.03)),
        linear-gradient(180deg, #eef4fb 0%, #e6eef9 100%);
}

.servicos-vazio {
    background: #fff;
    border: 1px solid #e7eef8;
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px) {
    .servicos-header h2 {
        font-size: 1.8rem;
    }

    .card-servico-img {
        height: 190px;
    }

    .card-servico-body h3 {
        min-height: auto;
    }
}

/* NOVO STILO */

.servico-beneficios{
margin-top:40px;
padding:30px;
background:#f8fbff;
border-radius:12px;
}

.servico-beneficios h3{
color:var(--primary);
margin-bottom:15px;
}

.servico-beneficios ul{
padding-left:20px;
}

.servico-beneficios li{
margin-bottom:8px;
}

.servico-cta{
margin-top:50px;
text-align:center;
padding:40px;
background:linear-gradient(135deg,#eef4ff,#f7faff);
border-radius:14px;
}

.servico-cta h4{
font-size:1.5rem;
margin-bottom:10px;
color:var(--primary);
}

.servico-cta p{
color:var(--gray);
margin-bottom:20px;
}

/* =========================
   PRODUTOS DIGITAIS
========================= */
.product-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.product-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-content .btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.45rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}

.product-content .btn:hover {
    background: #0b5ed7;
    color: #fff;
}

/* =========================
   NOTÍCIAS
========================= */
.container .row .col-md-4 .card {
    background: var(--white);
    border: 1px solid #e8edf5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.container .row .col-md-4 .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(13, 110, 253, 0.08);
    border-color: #cfe2ff;
}

.container .row .col-md-4 .card-img-top {
    height: 180px; /* igual aos cards da home */
    object-fit: cover;
    background-color: #edf2f7;
    border-bottom: 1px solid #e8edf5;
}

.container .row .col-md-4 .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.container .row .col-md-4 .card-body h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.container .row .col-md-4 .card-body p.card-text {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.container .row .col-md-4 .card-body .btn-primary {
    align-self: flex-start;
    background: #f1f7ff;
    border: 1px solid #cfe2ff;
    color: var(--primary);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
}

.container .row .col-md-4 .card-body .btn-primary:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Data da notícia */
.container .row .col-md-4 .card-body p.text-muted {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* =========================
   DIFERENCIAIS
========================= */
.feature-box {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 1.8rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #cfe2ff;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.08);
}

.feature-box i {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef5ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--primary);
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================
   CTA
========================= */
.cta-section {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -60px;
    left: -60px;
}

.cta-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    bottom: -80px;
    right: -50px;
}

.cta-box {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 2rem;
}

.cta-box h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   BANNER / CARROSSEL
========================= */
#bannerCarousel {
    position: relative;
    overflow: hidden;
}

#bannerCarousel .carousel-inner {
    overflow: hidden;
}

#bannerCarousel .carousel-item {
    position: relative;
    height: 420px;
    overflow: hidden;
}

#bannerCarousel .carousel-item img,
#bannerCarousel .carousel-item .banner-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#bannerCarousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
}

#bannerCarousel .carousel-caption {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(90%, 820px);
    text-align: center;
    padding: 0;
}

#bannerCarousel .carousel-caption h2 {
    color: #fff;
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

#bannerCarousel .carousel-caption p {
    color: #f3f4f6;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#bannerCarousel .carousel-caption .btn {
    display: inline-block;
    margin-top: 0.25rem;
    font-weight: 600;
    padding: 10px 20px;
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    z-index: 3;
}

#bannerCarousel .carousel-indicators {
    z-index: 3;
}

@media (max-width: 991px) {
    #bannerCarousel .carousel-item {
        height: 380px;
    }

    #bannerCarousel .carousel-caption h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    #bannerCarousel .carousel-item {
        height: 340px;
    }

    #bannerCarousel .carousel-caption {
        width: min(92%, 92%);
    }

    #bannerCarousel .carousel-caption h2 {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    #bannerCarousel .carousel-caption p {
        font-size: 0.95rem;
        line-height: 1.45;
        margin-bottom: 0.85rem;
    }

    #bannerCarousel .carousel-caption .btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}

/* =========================
   RESPONSIVO DO BANNER
========================= */
@media (max-width: 991px) {
    .carousel-caption h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-item img {
        min-height: 380px;
    }

    .carousel-caption {
        width: min(92%, 92%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .carousel-caption h2 {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
        line-height: 1.45;
        margin-bottom: 0.85rem;
    }

    .carousel-caption .btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        min-height: 340px;
    }
}

.carousel-caption {
    animation: fadeBanner 0.8s ease;
}

@keyframes fadeBanner {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Indicadores - mobile melhor alinhado */
@media (max-width: 767.98px) {
    .portfolio-indicadores .row {
        justify-content: center;
    }

    .portfolio-indicadores .col-md-3,
    .portfolio-indicadores .col-sm-6,
    .portfolio-indicadores .col-6 {
        display: flex;
        justify-content: center;
    }

    .indicador-card {
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================
   PÁGINA DE NOTÍCIA
========================= */

.noticia-wrapper{
    max-width: 820px;
    margin: auto;
}

/* Cabeçalho da matéria */

.noticia-header{
    margin-bottom: 2rem;
}

.noticia-titulo{
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.noticia-meta{
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Imagem destaque */

.noticia-imagem{
    border-radius: 14px;
    margin: 1.5rem 0 2rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Conteúdo */

.noticia-conteudo{
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--dark);
}

/* Parágrafos */

.noticia-conteudo p{
    margin-bottom: 1.4rem;
}

/* Subtítulos */

.noticia-conteudo h2{
    font-size: 1.6rem;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.noticia-conteudo h3{
    font-size: 1.35rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* Listas */

.noticia-conteudo ul,
.noticia-conteudo ol{
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

/* Citações */

.noticia-conteudo blockquote{
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1.6rem 0;
    color: var(--gray);
    font-style: italic;
}

/* Imagens dentro do conteúdo */

.noticia-conteudo img{
    max-width: 100%;
    border-radius: 10px;
    margin: 1.8rem 0;
}

/* Separador final */

.noticia-footer{
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Responsivo */

@media (max-width:768px){

    .noticia-titulo{
        font-size: 1.7rem;
    }

    .noticia-conteudo{
        font-size: 1rem;
        line-height: 1.75;
    }

}

/* =========================
   Cards de Últimas Notícias - Home
========================= */
.home-bloco-gray .row .col-md-4 .news-card {
    background: var(--white);
    border: 1px solid #e8edf5;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.home-bloco-gray .row .col-md-4 .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(13, 110, 253, 0.08);
    border-color: #cfe2ff;
}

.home-bloco-gray .row .col-md-4 .news-img {
    height: 180px; /* altura igual aos cards da home */
    background-size: cover;
    background-position: center;
    background-color: #edf2f7;
    position: relative;
    border-bottom: 1px solid #e8edf5;
}

.home-bloco-gray .row .col-md-4 .news-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.02));
}

.home-bloco-gray .row .col-md-4 .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.home-bloco-gray .row .col-md-4 .news-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.home-bloco-gray .row .col-md-4 .news-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.home-bloco-gray .row .col-md-4 .news-content .btn-link {
    align-self: flex-start;
    background: #f1f7ff;
    border: 1px solid #cfe2ff;
    color: var(--primary);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.home-bloco-gray .row .col-md-4 .news-content .btn-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Data da notícia */
.home-bloco-gray .row .col-md-4 .news-content .news-date {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}


/* =========================================================
   Etapa 2 — experiência institucional, conversão e acessibilidade
   ========================================================= */
:root {
    --brand-ink: #10243d;
    --brand-muted: #4b6078;
    --brand-border: #dce7f4;
}

html {
    scroll-padding-top: 5.5rem;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

a, button {
    touch-action: manipulation;
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid #f7ae48;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: -90px;
    left: 1rem;
    background: #fff;
    color: var(--brand-ink);
    padding: .65rem 1rem;
    border: 2px solid #0b63cf;
    border-radius: 0 0 .7rem .7rem;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, .97) !important;
    border-bottom: 1px solid var(--brand-border);
    backdrop-filter: blur(12px);
}

.site-brand-logo {
    height: 44px;
    max-width: 148px;
    width: auto;
    object-fit: contain;
}

.site-brand-name {
    color: var(--brand-ink);
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: -.025em;
}

.site-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #eaf3ff;
    color: #0b63cf;
}

.site-navbar .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #344d68;
    border-radius: 8px;
    padding-inline: .7rem !important;
}

.site-navbar .nav-link:hover {
    color: #0954b6;
    background: #eef6ff;
}

.site-external-icon {
    margin-left: .35rem;
    font-size: .65em;
    opacity: .7;
}

.site-nav-cta {
    font-size: .92rem;
    font-weight: 700;
    padding: .7rem 1.05rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(13, 110, 253, .14);
}

.institutional-intro {
    position: relative;
    background: radial-gradient(circle at 90% 20%, #e6f0ff 0, transparent 35%),
                linear-gradient(145deg, #f8fbff 0, #fff 65%);
    border-bottom: 1px solid #e9f0f9;
}

.intro-eyebrow {
    display: inline-block;
    color: #0757b0;
    background: #e9f3ff;
    border: 1px solid #d3e7ff;
    border-radius: 999px;
    padding: .35rem .85rem;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
}

.institutional-intro h1 {
    max-width: 880px;
    color: var(--brand-ink);
    font-weight: 780;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.13;
    letter-spacing: -.045em;
    margin-bottom: 1.25rem;
}

.institutional-intro p {
    max-width: 720px;
    color: var(--brand-muted);
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.75;
}

.intro-primary,
.intro-secondary {
    border-radius: 999px;
    padding: .8rem 1.45rem;
    font-weight: 700;
    min-height: 48px;
}

.intro-side-note {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(17, 53, 91, .09);
}

.intro-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    color: #0d63ce;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.intro-side-note h2 {
    color: var(--brand-ink);
    font-size: 1.3rem;
    font-weight: 750;
    line-height: 1.3;
}

.intro-side-note p {
    font-size: 1rem;
}

.intro-side-note a {
    color: #0756b7;
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* Imagens dos cards carregadas sob demanda, sem perder o recorte visual. */
.product-img,
.card-servico-img,
.news-img {
    overflow: hidden;
}

.product-img picture,
.card-servico-img picture,
.news-img picture {
    display: block;
    width: 100%;
    height: 100%;
}

#bannerCarousel picture,
.card > picture {
    display: block;
    width: 100%;
}

#bannerCarousel picture {
    height: 100%;
}

.card > picture .card-img-top {
    width: 100%;
}

.product-img img,
.card-servico-img img,
.news-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-placeholder,
#bannerCarousel .banner-fallback {
    background: linear-gradient(135deg, #0c2f5b, #0e71cb);
}
.media-placeholder {
    position: relative;
    overflow: hidden;
}

.media-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 76% 30%, rgba(255, 255, 255, .20), transparent 28%);
}

#bannerCarousel .carousel-item img {
    min-height: 0;
}

.servico-cta h2 {
    color: #0b57b0;
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 750;
    margin-bottom: .8rem;
}

.servico-conteudo,
.noticia-conteudo {
    overflow-wrap: anywhere;
}

.share-actions {
    background: #f9fbff;
    border-color: var(--brand-border) !important;
}

.share-actions .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

@media (max-width: 1199.98px) {
    .site-navbar .navbar-collapse {
        padding: .7rem 0 1rem;
    }
    .site-navbar .nav-link,
    .site-navbar .site-nav-cta {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .site-brand-name {
        font-size: 1rem;
    }

    .site-brand-logo {
        max-width: 116px;
        height: 38px;
    }

    .institutional-intro {
        padding-block: 2.8rem !important;
    }

    .intro-primary,
    .intro-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    #bannerCarousel .carousel-item img {
        min-height: 0;
    }

    .share-actions .btn {
        flex: 1 1 140px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
