/* =========================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #333;
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

/* =========================================
   VARIÁVEIS DE COR (IDENTIDADE VISUAL DO UNIFORME)
   ========================================= */
:root {
    /* Vermelho vibrante do uniforme e da sigla */
    --brand-primary: #c8102e;

    /* Verde bandeira das listras e do mapa */
    --brand-secondary: #007a33;

    /* Azul da borda da logo (usado apenas para acentos menores) */
    --brand-accent: #004aad;

    /* Cores Neutras */
    --text-dark: #222;
    --text-light: #fff;
    --bg-light: #f4f7f6;
    /* Um cinza um pouco mais frio para destacar o vermelho */
}

/* =========================================
   HEADER
   ========================================= */
header {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.98);
    /* Mais opaco para leitura */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 5%;
    height: 110px;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--brand-secondary);
    /* Barra verde sutil abaixo do header */
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    max-width: 250px;
}

.logo {
    width: 90px;
    height: auto;
    max-width: 100%;
}

.logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

header nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    /* Links escuros para melhor contraste */
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover dos links agora é Vermelho */
nav a:hover {
    color: var(--brand-primary);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: var(--brand-primary);
    /* Sublinhado vermelho */
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Botão do WhatsApp no Header */
.header-whatsapp-btn {
    background: linear-gradient(90deg, #25D366, #128C7E);
    /* Gradiente do próprio WhatsApp */
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.header-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 30px;
    background-color: var(--brand-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

header.open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

header.open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

header.open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    margin-top: 104px;
    /* MantÃ©m o espaÃ§amento do topo */
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 2vw;
    color: #020202;
    position: relative;
    background-image: url('background-hero.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* A MUDANÃ‡A PRINCIPAL ESTÃ AQUI */
    background-attachment: fixed;

}

.hero-background-image {
    display: flex;
    position: relative;
}

.hero-background-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* Cor para a qual o fade serÃ¡ feito (branco) */
    opacity: 0;
    /* ComeÃ§a totalmente transparente */
    /* Ajustamos o z-index para 2 para ficar na frente do fundo do ::before (que Ã© 1) */
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    z-index: 6;
    opacity: 0;
    transition: all 0.8s ease-out;
    margin-top: -42vh;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 3.3rem;
    font-weight: 900;
    color: var(--brand-primary);
    margin-bottom: 20px;
    line-height: 1;
    margin-top: -30px;
}

/* Destaque em Verde */
.hero-content .highlight {
    color: var(--brand-secondary);
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-align: justify;
}

/* =========================================
   BOTÕES (ESTILO DAS CORES DA ESCOLA)
   ========================================= */
.btn,
.btn-2,
.btn-3,
.btn-4,
.btn-email {
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    /* Gradiente Vermelho para Verde (identidade forte) */
    background-color: #007a33;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover,
.btn-2:hover,
.btn-3:hover,
.btn-4:hover,
.btn-email:hover {
    transform: translateY(-3px) scale(1.02);
    /* Inverte o gradiente no hover */
    background-color: #007a33;
}

/* =========================================
   CARROSSEL (CURSOS)
   ========================================= */
.container {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
}

.item {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0 40px;
    opacity: 0;
    transform: translateX(100vw);
    transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
    z-index: 2;
}

.item.active {
    opacity: 1;
    transform: translateX(0);
}

.product-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 450px;
}

.product-img img {
    width: 90%;
    height: auto;
    border-radius: 20px;
    /* Borda sutil nas cores da escola */
    border: 4px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 2px var(--brand-primary) inset;
    transform: translateX(200px);
    opacity: 0;
    transition: 0.6s ease;
    transition-delay: 0.3s;
}

.active .product-img img {
    transform: translateX(0);
    opacity: 1;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 580px;
}

.product-tag {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--brand-secondary);
    /* Tags em Verde */
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    transform: translateX(100px);
    opacity: 0;
    transition: 0.6s ease;
    transition-delay: 0.4s;
    background-color: rgba(0, 122, 51, 0.1);
    /* Fundo verde claro */
    padding: 5px 15px;
    border-radius: 20px;
}

.active .product-tag {
    transform: translateX(0);
    opacity: 1;
}

.product-name {
    font-size: 2.5rem;
    color: var(--brand-primary);
    /* Nomes dos cursos em Vermelho */
    font-weight: 800;
    margin-bottom: 15px;
    transform: translateX(100px);
    opacity: 0;
    transition: 0.6s ease;
    transition-delay: 0.5s;
}

.active .product-name {
    transform: translateX(0);
    opacity: 1;
}

.description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
    line-height: 1.7;
    transform: translateX(100px);
    opacity: 0;
    transition: 0.6s ease;
    transition-delay: 0.6s;
}

.active .description {
    transform: translateX(0);
    opacity: 1;
}

.active .btn-2,
.active .btn-3,
.active .btn-4 {
    transform: translateX(0);
}

/* Setas e Indicadores */
.arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.arrow-btn {
    pointer-events: auto;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    /* Fundo claro com ícone vermelho */
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--brand-primary);
    border: 2px solid rgba(200, 16, 46, 0.2);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.arrow-btn:hover {
    background-color: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background-color: var(--brand-primary);
    /* Dot ativo vermelho */
    width: 35px;
    border-radius: 10px;
}

/* =========================================
   SEÇÃO SOBRE NÓS
   ========================================= */
.sobre-nos-section {
    padding: 100px 5%;
    background-color: #fff;
    text-align: center;
}

.section-sobre-title {
    font-size: 2.8rem;
    color: var(--brand-primary);
    /* Títulos de seção em vermelho */
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-sobre-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 5px;
    background-color: var(--brand-secondary);
    margin: 15px auto 0;
    border-radius: 3px;
}

.section-sobre-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
}

.section-title {
    font-size: 2.8rem;
    color: var(--brand-primary);
    /* Títulos de seção em vermelho */
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

/* Detalhe verde abaixo dos títulos */
.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 5px;
    background-color: var(--brand-secondary);
    margin: 15px auto 0;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    margin-bottom: 60px;
    font-family: "Playfair Display", serif;
}

.sobre-nos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.imagem-sobre {
    flex: 1;
    min-width: 350px;
    position: relative;
}

/* Adiciona um efeito de moldura com as cores da escola */
.imagem-sobre::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--brand-secondary);
    border-radius: 20px;
    z-index: 0;
}

.imagem-sobre img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    border: 3px solid var(--brand-primary);
}

.texto-sobre {
    flex: 1;
    min-width: 350px;
    text-align: justify;
    line-height: 1.4;
    color: #444;
    font-size: 1.05rem;
}

.texto-sobre p {
    margin-bottom: 25px;
}

.texto-sobre strong {
    color: var(--brand-primary);
}

/* =========================================
   NOVAS SEÇÕES: DIFERENCIAIS (Features)
   ========================================= */
.features-section {
    padding: 100px 5%;
    background-color: var(--bg-light);
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 100px auto;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-text h3 {
    font-size: 2.2rem;
    color: var(--brand-primary);
    margin-bottom: 25px;
    position: relative;
    font-weight: 700;
}

/* Sublinhado verde nos diferenciais */
.feature-text h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--brand-secondary);
    margin-top: 12px;
    border-radius: 2px;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.feature-img {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    position: relative;
}

.feature-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-img img:hover {
    transform: scale(1.03) rotate(1deg);
}

/* =========================================
   PROPÓSITO (MISSÃO, VISÃO, VALORES)
   ========================================= */
.purpose-section {
    padding: 100px 5%;
    text-align: center;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Padrão de fundo sutil */
.purpose-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(var(--brand-primary) 2px, transparent 2px), radial-gradient(var(--brand-secondary) 2px, transparent 2px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 0;
}

.purpose-section h2 {
    font-size: 2.8rem;
    color: var(--brand-primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.purpose-section p {
    color: #666;
    margin-bottom: 60px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.purpose-cards-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.purpose-card {
    background: #fff;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 6px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Cores específicas para cada card */
/* Missão (Vermelho) */
.purpose-card:nth-child(1) {
    border-top-color: var(--brand-primary);
}

.purpose-card:nth-child(1) .card-icon {
    color: var(--brand-primary);
    background-color: rgba(200, 16, 46, 0.1);
}

/* Visão (Verde) */
.purpose-card:nth-child(2) {
    border-top-color: var(--brand-secondary);
}

.purpose-card:nth-child(2) .card-icon {
    color: var(--brand-secondary);
    background-color: rgba(0, 122, 51, 0.1);
}

/* Valores (Azul - Usando a cor de acento aqui) */
.purpose-card:nth-child(3) {
    border-top-color: var(--brand-accent);
}

.purpose-card:nth-child(3) .card-icon {
    color: var(--brand-accent);
    background-color: rgba(0, 74, 173, 0.1);
}

.purpose-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.purpose-card:hover .card-icon {
    transform: rotateY(360deg);
}

.purpose-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.values-list {
    text-align: left;
    width: 100%;
}

.values-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
}

/* Checkmark Verde */
.values-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brand-secondary);
}

/* =========================================
   ENDEREÇO
   ========================================= */
.address-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--bg-light);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.address-section h2 {
    font-size: 2.2rem;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.address-unit h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.address-unit a {
    font-size: 1.2rem;
    color: var(--brand-accent);
    margin-bottom: 30px;
    text-decoration: none;
    font-weight: 600;
}

.address-unit a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.map-container {
    width: 100%;
    max-width: 1100px;
    height: 450px;
    margin: 40px auto 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 5px solid #fff;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* =========================================
   CONTATO
   ========================================= */
.contact-section {
    padding: 100px 5%;
    text-align: center;
    background-color: #fff;
}

.contact-section h2 {
    font-size: 2.8rem;
    color: var(--brand-primary);
    margin-bottom: 15px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.contact-card {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    border: 2px solid #f0f0f0;
    min-width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-secondary);
    /* Borda verde ao passar o mouse */
}

.contact-icon {
    font-size: 3rem;
    color: var(--brand-primary);
    /* Ícones vermelhos */
    margin-bottom: 20px;
    background-color: rgba(200, 16, 46, 0.08);
    padding: 20px;
    border-radius: 50%;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.contact-card .btn-email {
    width: 100%;
}

.additional-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 70px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.1rem;
    background: var(--bg-light);
    padding: 20px 35px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: 0.3s;
}

.info-item:hover {
    border-color: var(--brand-secondary);
    background: #fff;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--brand-primary);
}

/* =========================================
   SOCIAL BAR & FOOTER
   ========================================= */
.social-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-bar a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border: 2px solid white;
}

.social-icon-facebook {
    background-color: #3b5998;
}

.social-icon-whatsapp {
    background-color: #25D366;
}

/* Instagram com gradiente que combina com a escola */
.social-icon-instagram {
    background: linear-gradient(45deg, var(--brand-primary), #bc1888);
}

.social-bar a:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer Verde para base sólida */
footer {
    background-color: var(--brand-secondary);
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
    position: relative;
}

/* Linha vermelha no topo do footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--brand-primary);
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

footer p {
    margin-top: 12px;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Banner de Consentimento */
#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 10px;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: var(--text-dark);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

#consent-banner:not(.hidden) {
    transform: translateY(0);
}

.consent-text {
    font-size: 1rem;
    line-height: 1.5;
}

.consent-text a {
    color: var(--brand-accent);
    /* Links do banner em vermelho */
    font-weight: 500;
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

#accept-consent-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

/* =========================================
   NOVOS ESTILOS: MINI CARROSSEL (FEATURES)
   ========================================= */
.mini-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* Mantém o tamanho original */
    height: auto;
    aspect-ratio: 4/3;
    /* Garante proporção retangular consistente */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mini-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 0;
    /* O container pai já arredonda */
    box-shadow: none;
    /* Remove sombra da img individual */
}

.mini-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Botões de Navegação do Mini Carrossel */
.mini-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--brand-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    /* Centraliza o ícone */
    align-items: center;
    justify-content: center;
}

.mini-btn:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

.mini-btn.prev {
    left: 15px;
}

.mini-btn.next {
    right: 15px;
}

/* =========================================
   GALERIA FILTRÁVEL (MASONRY GRID STYLE)
   ========================================= */
.gallery-section {
    padding: 100px 5%;
    background-color: #fff;
    text-align: center;
}

/* Estilo dos Botões de Filtro */
.gallery-filters {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--brand-secondary);
    /* Borda Verde */
    background: transparent;
    color: var(--brand-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--brand-primary);
    /* Fundo Vermelho no ativo */
    border-color: var(--brand-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 16, 46, 0.2);
}

/* Grid da Galeria */
.gallery-grid {
    display: grid;
    /* Cria colunas automáticas com largura mínima de 300px */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    height: 250px;
    /* Altura fixa para alinhar tudo */
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que a imagem preencha o quadrado sem distorcer */
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    /* Zoom suave na imagem */
}

/* Overlay com ícone de lupa */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 122, 51, 0.7);
    /* Verde transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Classe para animação de filtrar */
.gallery-item.hide {
    display: none;
}

.gallery-item.show {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================
   LIGHTBOX (MODAL DE TELA CHEIA)
   ========================================= */
.lightbox {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 3px solid #fff;
}

.close-lightbox {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--brand-primary);
    text-decoration: none;
    cursor: pointer;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    header {
        padding: 10px 5%;
        height: 70px;
        justify-content: space-between;
    }

    .logo {
        height: auto;
        width: 60px;
    }

    .header-whatsapp-btn {
        display: none;
    }

    header nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.4s ease-in-out;
        border-bottom: 3px solid var(--brand-primary);
    }

    header.open nav {
        clip-path: inset(0 0 0 0);
        display: block;
    }

    header nav a {
        padding: 20px 20px;
        border-bottom: 1px solid #eee;
    }

    header nav ul {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    header nav ul li {
        margin-bottom: 10px;
        margin-top: 5px;
    }

    header nav ul li:last-child {
        margin-bottom: 5px;
        margin-top: 10px;
    }

    nav a {
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        margin-top: 70px;
        height: auto;
        min-height: 90vh;
        padding: 80px 5%;
        text-align: center;
        background: url('background-hero-mobile.png')
    }

    .hero-section::after {
        opacity: 0.5;
    }

    .hero-content {
        margin: 0 auto;
        margin-top: -360px;
    }

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .container {
        height: auto;
        padding: 60px 0;
        height: 90vh;
    }

    .item {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
        transform: translateX(100vw);
    }

    .item.active {
        transform: translateX(0);
    }

    .product-img {
        justify-content: center;
        max-width: 100%;
    }

    .product-img img {
        width: 100%;
        transform: translateY(200px);
    }

    .active .product-img img {
        transform: translateY(0);
    }

    .content {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .product-tag {
        font-size: 1.2rem;
        margin-bottom: 10px;
        transform: translateY(100px);
    }

    .active .product-tag {
        transform: translateY(0);
    }

    .product-name {
        font-size: 2rem;
        margin-bottom: 15px;
        transform: translateY(100px);
    }

    .description {
        font-size: 1rem;
        margin-bottom: 20px;
        transform: translateY(100px);
        text-align: center;
    }

    .active .description {
        transform: translateY(0);
    }

    .active .btn-2,
    .active .btn-3,
    .active .btn-4 {
        transform: translateY(0);
    }

    /* Ajuste das setas no mobile */
    .arrows {
        width: 100%;
        padding: 0 20px;
    }

    .arrow-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .arrow-btn:hover {
        transform: none;
    }

    .indicators {
        bottom: 20px;
    }

    .dots {
        gap: 8px;
    }

    .dot.active .sobre-nos-section,
    .features-section,
    .purpose-section,
    .contact-section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .sobre-nos-container {
        flex-direction: column;
        gap: 40px;
    }

    .imagem-sobre {
        min-width: auto;
        width: 100%;
    }

    .texto-sobre {
        min-width: auto;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 35px;
        padding: 30px 20px;
    }

    .feature-img {
        order: -1;
    }

    .feature-text h3 {
        font-size: 1.8rem;
        text-align: center;
    }

    .feature-text h3::after {
        margin: 12px auto 0;
    }

    .purpose-card {
        min-width: auto;
        width: 100%;
        max-width: none;
    }

    .map-container {
        height: 300px;
    }

    .contact-cards {
        gap: 30px;
    }

    .contact-card {
        min-width: auto;
        width: 100%;
        padding: 30px 20px;
    }

    .additional-info {
        flex-direction: column;
        gap: 20px;
    }

    .info-item {
        width: 100%;
        justify-content: center;
    }

    .social-bar {
        flex-direction: row;
        bottom: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: auto;
    }

    .social-bar a:hover {
        transform: none;
    }

    #consent-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    footer {
        padding: 40px 20px 90px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        /* Menor no mobile */
        gap: 15px;
    }

    .gallery-item {
        height: 150px;
    }
}