:root {
    --primary: #cb2525;
    --dark: #333333;
    --light: #FFFFFF;
    --gray-light: #f5f5f5;
    --border-radius: 12px;
    --transition: 0.2s ease-in-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}


/* Layout base */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 8px;
    text-align: center;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: #555;
}


/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--dark);
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 0.8rem;
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-list a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.nav-list a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: var(--primary);
    transition: width var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}


/* Hero */

.hero {
    padding: 100px 0 80px 0;
    background: linear-gradient( 135deg, rgba(203, 37, 37, 0.06), rgba(203, 37, 37, 0));
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.hero-text p {
    color: #555;
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* Botões */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 8px 18px rgba(203, 37, 37, 0.25);
}

.btn-primary:hover {
    background-color: #a51e1e;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(203, 37, 37, 0.08);
}

.full-width {
    width: 100%;
}

.hero-image {
    position: relative;
    min-height: 220px;
}

.hero-card {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    max-width: 260px;
}

.hero-card h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.hero-card.secondary {
    top: auto;
    bottom: 0;
    left: 10%;
    background-color: var(--primary);
    color: var(--light);
}


/* Grids */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: flex-start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background-color: var(--light);
    padding: 18px 18px 20px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}


/* Destaques */

.highlight {
    position: relative;
    padding: 20px 20px 20px 56px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    border: 1px solid #eee;
}

.highlight-number {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}


/* Depoimentos */

.testimonial {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    font-size: 0.95rem;
}

.testimonial p {
    margin-bottom: 14px;
}

.testimonial-name {
    display: block;
    font-weight: 600;
}

.testimonial-role {
    display: block;
    font-size: 0.85rem;
    color: #777;
}


/* Contato / Formulário */

.contact-list {
    list-style: none;
    margin-top: 16px;
}

.contact-list li+li {
    margin-top: 6px;
}

.form {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(203, 37, 37, 0.15);
    border-color: var(--primary);
}


/* Footer */

.footer {
    padding: 20px 0 24px 0;
    background-color: var(--dark);
    color: var(--light);
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-small {
    opacity: 0.8;
}


/* Responsivo */

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .hero-image {
        min-height: 180px;
    }
    .hero-card {
        position: relative;
        top: 0;
        left: 0;
        right: auto;
        margin-bottom: 16px;
    }
    .hero-card.secondary {
        left: 0;
    }
}

@media (max-width: 720px) {
    .nav {
        display: none;
    }
    .nav.open {
        position: absolute;
        top: 60px;
        right: 16px;
        background-color: var(--light);
        border-radius: 10px;
        border: 1px solid #eee;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        padding: 10px 14px;
    }
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    .nav-toggle {
        display: block;
    }
}


/* Documentos */

.docs-header {
    background-color: rgba(203, 37, 37, 0.05);
    border: 1px solid rgba(203, 37, 37, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1rem;
    color: var(--dark);
}

.docs-header strong {
    color: var(--primary);
}

.docs-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.doc-card {
    background-color: var(--light);
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.doc-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.doc-icon {
    width: 74px;
    height: 74px;
    background-color: rgba(203, 37, 37, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-icon img {
    width: 40px;
    opacity: 0.8;
}

.doc-info h3 {
    font-size: 1.3rem;
    color: var(--dark);
    display: flex;
    gap: 10px;
    align-items: center;
}

.doc-tag {
    background-color: #f1f4f9;
    color: #707b8a;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.doc-info p {
    color: #6c7180;
    font-size: 0.95rem;
    margin: 3px 0 6px;
}

.doc-size {
    font-size: 0.8rem;
    color: #7d8695;
}


/* Botão PDF */

.btn-doc {
    background-color: var(--primary);
    color: #fff;
    padding: 12px 22px;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(203, 37, 37, 0.25);
    transition: 0.2s;
}

.btn-doc:hover {
    background-color: #a81e1e;
}


/* Responsivo */

@media (max-width: 780px) {
    .doc-card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .doc-left {
        flex-direction: column;
        text-align: center;
    }
    .btn-doc {
        width: 100%;
    }
}


/* Carrossel - Nossa Equipe */

.equipeSwiper {
    height: max-content;
}

.swiper-slide.team-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}


/* Card da equipe */

.team-card {
    min-width: 280px;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.team-info {
    padding: 18px;
    text-align: center;
}

.team-info h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-info p {
    color: #3164e0;
    font-weight: 600;
    font-size: 0.95rem;
}


/* Botões do carrossel */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    border: 1px solid #ddd;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #f3f3f3;
}

.prev {
    left: -10px;
}

.next {
    right: -10px;
}


/* Responsivo */

@media (max-width: 768px) {
    .prev {
        left: 4px;
    }
    .next {
        right: 4px;
    }
}


/* FOOTER */

.footer {
    background-color: #333333;
    /* CINZA ESCURO DA PALETA */
    color: #ffffff;
    padding: 70px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
}


/* Logo + caixa */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    mix-blend-mode: lighten;
}

.footer-logo img {
    width: 120px;
    height: 120px;
}

.footer-icon {
    background-color: #cb2525;
    /* VERMELHO PRINCIPAL */
    color: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-col p {
    line-height: 1.6;
    opacity: 0.9;
}


/* Links */

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ffffff;
    opacity: 0.85;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a:hover {
    opacity: 1;
    color: #cb2525;
    /* vermelho no hover */
}


/* Contato */

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Ícones sociais */

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.footer-social a {
    background-color: #444;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    transition: 0.2s;
}

.footer-social a:hover {
    background-color: #cb2525;
    /* vermelho ao passar o mouse */
}


/* Linha + direitos */

.footer-copy {
    text-align: center;
    padding-top: 24px;
    opacity: 0.7;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
}


/* SEÇÃO QUEM SOMOS */

.about-section {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}


/* ----------------- QUEM SOMOS ----------------- */

.quem-somos-section {
    padding: 100px 0;
    background: #f5f8fc;
}

.quem-somos-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.quem-somos-content {
    max-width: 50%;
}

.quem-somos-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333333;
}

.quem-somos-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555555;
}

.btn-saiba-mais {
    display: inline-block;
    margin-top: 20px;
    background: #cb2525;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-saiba-mais:hover {
    background: #a51e1e;
}


/* imagem */

.quem-somos-image img {
    width: 500px;
    border-radius: 20px;
}


/* ----------------- NOSSOS VALORES ----------------- */

.valores-section {
    padding: 80px 0;
    background: #f5f8fc;
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: #333333;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #7a7a7a;
    margin-bottom: 60px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valor-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    transition: 0.3s;
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 65px;
    height: 65px;
    background: #e7f0ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #cb2525;
    margin-bottom: 20px;
}

.valor-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333333;
}

.valor-card p {
    font-size: 17px;
    color: #666666;
}


/* RESPONSIVO */

@media (max-width: 900px) {
    .quem-somos-section .container {
        flex-direction: column;
        text-align: center;
    }
    .quem-somos-content {
        max-width: 100%;
    }
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

.icon-box i {
    font-size: 32px;
    color: #cb2525;
}


/* Textos */

.about-text h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #333333;
    /* cinza escuro */
    margin-bottom: 22px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}


/* Botão */

.btn-primary {
    display: inline-block;
    background-color: #cb2525;
    /* vermelho da paleta */
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.2s;
}

.btn-primary:hover {
    background-color: #a91f1f;
}


/* Imagem */

.about-image img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    object-fit: cover;
}


/* Responsivo */

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .about-image {
        order: -1;
    }
}


/* Seção Estatísticas */

.stats-section {
    background-color: #cb2525;
    /* vermelho principal */
    padding: 70px 0;
    text-align: center;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 12px 0 4px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* Ícones */

.stat-icon{
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 1, 1, 0.24);
  color: #fffcfc;
}

.stat-icon i{
  font-size: 22px;
  line-height: 1;
}


@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }
}

@media (max-width: 540px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ======== SLIDER CONTAINER ======== */

.hero-slider {
    width: 100%;
    height: 92vh;
    /* mesmo tamanho do Blink */
    position: relative;
    overflow: hidden;
}


/* ======== SLIDE ======== */

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transition: opacity .7s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}


/* ======== OVERLAY IGUAL AO BLINK ======== */

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    /* exatamente o tom usado */
}


/* ======== TEXTO ======== */

.slide-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 45%;
    color: #fff;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.slide-content h1 {
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.slide-content p {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.95;
}


/* ======== SETAS IDÊNTICAS AO BLINK ======== */

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
    transition: 0.2s ease;
    z-index: 3;
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.38);
}

.prev {
    left: 28px;
}

.next {
    right: 28px;
}


/* Ícones idênticos ao Blink */

.slide-btn i {
    font-size: 32px;
    font-family: "Material Icons";
    line-height: 0;
}


/* ======== DOTS REAIS DO BLINK ======== */

.slide-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slide-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: 0.3s ease;
}

.slide-dots span.active {
    background: #fff;
    transform: scale(1.15);
}


/* ======== MOBILE ======== */

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
    }
    .slide-content {
        width: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    .slide-content h1 {
        font-size: 2.4rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
    .prev {
        left: 12px;
    }
    .next {
        right: 12px;
    }
    .slide-btn {
        width: 40px;
        height: 40px;
    }
}

.projetos-carousel-section {
    padding: 80px 0;
    background: #f5f8fc;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

.section-subtitle {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    color: #777;
    margin-bottom: 50px;
}

.projeto-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: .3s;
}

.projeto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.projeto-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.projeto-content {
    padding: 20px;
}

.projeto-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.projeto-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.btn-projeto {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    background: #cb2525;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

.btn-projeto:hover {
    background: #a81e1e;
}

.projetos-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projeto-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: .3s;
}

.projeto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

.projeto-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.projeto-content {
    padding: 20px;
}

.projeto-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.projeto-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.btn-projeto {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    background: #cb2525;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-projeto:hover {
    background: #a81e1e;
}

@media (max-width: 900px) {
    .projetos-group {
        grid-template-columns: 1fr;
    }
}


/* ---- CARD GERAL ---- */

.projeto-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.projeto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}


/* ---- IMAGEM ---- */

.projeto-img {
    position: relative;
}

.projeto-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


/* ---- TAG DA CATEGORIA ---- */

.projeto-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e6f0ff;
    color: #1e5eff;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
}


/* ---- CONTEÚDO ---- */

.projeto-body {
    padding: 25px 25px 20px;
}


/* ÍCONE + TÍTULO */

.projeto-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.projeto-icon {
    background: #e7f0ff;
    color: #1e5eff;
    padding: 12px;
    border-radius: 12px;
    font-size: 20px;
}

.projeto-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.projeto-body p {
    color: #596178;
    font-size: 15px;
    line-height: 1.55;
    margin: 10px 0 20px;
}


/* ---- LINHA ---- */

.projeto-body hr {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 18px;
}


/* ---- FOOTER ---- */

.projeto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 14px;
}

.status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #2ecc71;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
}


/* ---- BOTÃO ---- */

.projeto-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #cb2525;
    color: #fff;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

.projeto-btn:hover {
    background: #a81e1e;
}


/* =============================
   SESSÃO - NOSSO IMPACTO
============================= */

.impacto-section {
    padding: 100px 0;
    text-align: center;
}

.impacto-title {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
}

.impacto-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 60px;
}

.impacto-cards {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.impacto-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 70px;
    width: 260px;
    min-height: 190px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.impacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.12);
}

.impacto-numero {
    font-size: 50px;
    font-weight: 800;
    color: #cb2525;
    margin-bottom: 10px;
}

.impacto-texto {
    font-size: 20px;
    color: #6b7280;
}

#missao-visao-valores {
    padding: 80px 0;
    background: #f5f7f6;
}


/* Wrapper igual ao layout da imagem */

.mvv-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    justify-content: center;
}


/* Card com bordas super arredondadas */

.mvv-card {
    background: #ffffff;
    border-radius: 32px;
    /* igual ao modelo */
    padding: 2rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.25s ease;
}

.mvv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}


/* Ícone no topo direito, igual a seta da imagem */

.mvv-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 1.6rem;
    color: #1b3d36;
    /* cor discreta */
}


/* Hierarquia visual igual ao modelo */

.mvv-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #000;
}

.mvv-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

#linhas-de-atuacao {
    padding: 80px 0;
    background-color: #f5f7f6;
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}


/* Defina altura mínima para todos os cards */

.atuacao-card {
    background-color: #ffffff;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 360px;
    /* altura igual para todos */
}


/* Card de imagem */

.image-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 32px;
}


/* Imagem dentro do card */

.image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.atuacao-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.atuacao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.atuacao-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.atuacao-header i {
    font-size: 1.5rem;
    color: #d72638;
}

.atuacao-card ul {
    padding-left: 1.2rem;
    list-style-type: disc;
}

.atuacao-card ul li {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}


/* Card de imagem – ocupa o mesmo tamanho que os outros */

.image-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: stretch;
}


/* Imagem preenche completamente o card */

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
}


.nav-search {
    position: relative;
}

#resultadoBusca {
    position: absolute;
    top: 100%;
    left: 0;
    width: 380px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.resultado-card {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

.resultado-info h4 {
    margin: 0;
    font-size: 1rem;
}

.resultado-secao {
    font-size: 0.75rem;
    color: #d72638;
    font-weight: bold;
    display: block;
    margin: 4px 0;
}

.resultado-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.btn.btn-outline {
    font-size: 0.8rem;
}

.search-form {
    display: flex;
    align-items: stretch;
    /* Garante que o botão e o input tenham mesma altura */
    max-width: 400px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-form input[type="text"] {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    outline: none;
    background-color: transparent;
    border-radius: 50px 0 0 50px;
}

.search-form button {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 0 22px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 50px 50px 0;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #b71c1c;
}

.search-form i {
    font-size: 1.2rem;
    line-height: 1;
}

.result-card h4 {
    margin: 10px 0 5px;
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
}

.result-card h3 {
    color: #d32f2f;
    margin-top: 0;
}

.doc-icon{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(44,79,203,.10);
  color: #2c4fcb;
  flex: 0 0 44px;
  padding: 30px;
}

.doc-icon i{
  font-size: 20px;
  line-height: 1;
}

/* Acessibilidade: texto só para leitores de tela */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==============================
   INSTITUCIONAL: grid em colunas
   ícone em cima (esquerda) + responsivo
   ============================== */

/* INSTITUCIONAL — GRID 2x2 (2 em cima / 2 em baixo) */
.institucional-section .container{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Responsivo */
@media (max-width: 1100px){
  .institucional-section .container{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .institucional-section .container{
    grid-template-columns: 1fr;
  }
}


/* Card */
.institucional-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  padding: 40px;

  display: flex;
  flex-direction: column; /* <- ícone em cima */
  align-items: flex-start; /* <- tudo alinhado à esquerda */
  gap: 12px;

  min-height: 260px;
}

/* Se você tiver .reverse no HTML, neutraliza */
.institucional-card.reverse{
  flex-direction: column;
}

/* Ícone no topo */
.institucional-icon{
  width: 56px;
  height: 56px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(59,91,191,.10);
  color: #3b5bbf;
}

.institucional-icon i{
  font-size: 26px;
  line-height: 1;
}

/* Texto */
.institucional-text{
  width: 100%;
}

.institucional-text h3{
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.institucional-text p{
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.institucional-text ul{
  margin: 0;
  padding-left: 18px;
  color: #333;
  line-height: 1.6;
}

.institucional-text li{
  margin: 4px 0;
}


/* =============================
   FAQ (Perguntas Frequentes)
============================= */

.faq-accordion{
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  overflow: hidden;
}

/* Pergunta (summary) */
.faq-question{
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  color: #111;
}

.faq-question::-webkit-details-marker{ display:none; }

/* Ícone (não rotaciona o fundo) */
.faq-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(203, 37, 37, 0.10);
  color: var(--primary);
  flex: 0 0 40px;
}

/* Desenha o símbolo via pseudo-elemento */
.faq-icon::before{
  content: "+";
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

/* Resposta */
.faq-answer{
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(0,0,0,.08); /* separador leve (não “estoura” em vermelho) */
  color: #333;
  line-height: 1.7;
}

/* Estado aberto: troca + por × (sem girar o fundo) */
.faq-item[open] .faq-icon::before{
  content: "×";
}

/* Destaque aberto */
.faq-item[open]{
  border-color: rgba(203, 37, 37, 0.22);
  box-shadow: 0 10px 28px rgba(203, 37, 37, 0.10);
}

/* Foco acessível */
.faq-question:focus{
  outline: 2px solid rgba(203, 37, 37, 0.25);
  outline-offset: 2px;
}

