/* =========================================================
   🔤 FONTS
========================================================= */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* títulos e menus */
h1, h2, h3, h4, h5, h6,
.navbar,
.navbar nav a,
.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 100;
}


/* =========================================================
   🎨 PALETA MM
========================================================= */
:root {
    --green-1: #226836;
    --green-2: #317e47;

    --orange-1: #f5e3b6;
    --orange-2: #9e7133;

    --brown-1: #996b1e;
    --brown-2: #916800;

    --bg: #0b0f1a;
    --card: rgba(255,255,255,0.06);
    --text: #ffffff;

    --nav-height: 55px;


}
/* =========================================================
   ♻️ RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* 🔥 SCROLL SUAVE ONEPAGE */
    
    
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
}


section[id] {
    scroll-margin-top: var(--nav-height);
    
}


/* =========================================================
   📊 SCROLL BAR TOP
========================================================= */
.scroll-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--orange-2);
    z-index: 9999;
}
/* =========================================================
   🧭 NAVBAR
========================================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 28px 40px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(24, 26, 24, 0.14);
    backdrop-filter: blur(12px);
    transition: all 0.6s ease;

}
.navbar.scrolled {
    background: rgb(3, 15, 5);
    box-shadow: 0 10px 30px lab(0% 0 0 / 0.11);
    padding: 18px 40px;

}

/* menu desktop */
.navbar nav {
    display: flex;
    gap: 15px;
}

/* 🔥 CORREÇÃO PRINCIPAL */
.navbar nav a {
    position: relative; /* ESSENCIAL */
    text-decoration: none;
    color: #fff;
    opacity: 0.85;
    transition: 0.2s;
    padding-bottom: 5px; /* espaço pro underline */
    
    

}

.navbar nav a:hover {
    opacity: 1;
}

/* botão menu mobile */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* =========================
   LINK ATIVO
========================= */
.navbar nav a.active {
    color: var(--green-2);
    opacity: 1;
}
/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;
    align-items: center;
}

.logo img {

    height: 50px;

    transition: all 0.4s ease;
}
/* logo menor ao rolar */

.navbar.scrolled .logo img {

    height: 30px;
}

/* =========================
   UNDERLINE CONTROLADO (SEM BUG)
========================= */

/* base escondida */
.navbar nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0%;
    height: 2px;

    background: var(--green-2);
    border-radius: 2px;

    transition: width 0.3s ease;
}

/* hover = só no item atual */
.navbar nav a:hover::after {
    width: 100%;
}

/* ativo = fixo */
.navbar nav a.active::after {
    width: 100%;
}

/* =========================================================
   HERO SLIDER PREMIUM — VITRINE DO SITE
========================================================= */

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    background: #05080d;
}

/* brilho de fundo */
.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(34, 104, 54, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 25%,
            rgba(194, 139, 56, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 85%,
            rgba(255, 255, 255, 0.03),
            transparent 40%
        );
    z-index: 1;
    pointer-events: none;
}

/* linhas sutis */
.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* SLIDES */
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    transition:
        opacity 1.4s ease,
        transform 8s ease,
        visibility 1.4s ease;
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 3;
}

/* overlay extra */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.45)
        );
    z-index: 1;
}

/* CONTEÚDO */
.slide-content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding: 0 8%;
    color: #fff;
}

/* badge superior */
.slide-content::before {
    content: "REDE MM COMBUSTÍVEIS";
    display: inline-block;
    margin-bottom: 28px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            rgba(34,104,54,0.85),
            rgba(194,139,56,0.85)
        );
    box-shadow:
        0 8px 30px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
}

/* TITULO */
.slide-content h1 {
    font-size: clamp(42px, 6vw, 85px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -2px;
    margin-bottom: 24px;
    text-shadow:
        0 8px 30px rgba(0,0,0,0.45);
    animation: heroTitleIn 1.2s ease both;
}

/* efeito degradê em parte do texto */
.slide-content h1 .highlight {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #c28b38
        );
    
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    
}

/* SUBTÍTULO */
.slide-content p {
    max-width: 640px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    margin-bottom: 40px;
    animation: heroTextIn 1.5s ease both;
}

/* CTA opcional */
.slide-content .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: heroTextIn 1.8s ease both;
}

/* ESTATÍSTICAS */
.hero-stats {
    position: absolute;
    right: 6%;
    bottom: 8%;
    display: flex;
    gap: 18px;
    z-index: 5;
}

.hero-stat {
    min-width: 130px;
    padding: 18px 20px;
    border-radius: 20px;
    background:
        rgba(255,255,255,0.06);
    border:
        1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.22);
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.hero-stat span {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
}

/* INDICADOR DE SCROLL */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll::before {
    content: "";
    width: 24px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    position: relative;
}

.hero-scroll::after {
    content: "";
    position: absolute;
    top: 9px;
    width: 4px;
    height: 8px;
    border-radius: 10px;
    background: #fff;
    animation: scrollWheel 2s infinite;
}

/* DOTS */
.slider-dots {
    position: absolute;
    left: 8%;
    bottom: 8%;
    display: flex;
    gap: 12px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    background: rgba(255,255,255,0.28);
    transition: 0.4s;
}

.dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: 0.4s;
}

.dot.active {
    background: #c28b38;
    transform: scale(1.2);
    box-shadow:
        0 0 20px rgba(194,139,56,0.55);
}

.dot.active::after {
    border-color: rgba(194,139,56,0.35);
}

/* BARRA DE PROGRESSO */
.hero-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.06);
    z-index: 10;
}

.hero-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background:
        linear-gradient(
            90deg,
            #226836,
            #c28b38
        );
    animation: heroProgress 5s linear infinite;
}

/* ANIMAÇÕES */
.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .hero-actions {
    animation-play-state: running;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes heroProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .hero-slider {
        min-height: 680px;
    }

    .slide-content {
        padding: 0 6%;
        max-width: 100%;
    }

    .hero-stats {
        right: 6%;
        left: 6%;
        bottom: 100px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 100svh;
        min-height: 620px;
    }

    .slide-content::before {
        margin-bottom: 20px;
        font-size: 10px;
        padding: 8px 14px;
    }

    .slide-content h1 {
        letter-spacing: -1px;
        margin-bottom: 18px;
    }

    .slide-content p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-stat {
        min-width: 100px;
        padding: 14px 12px;
    }

    .hero-stat strong {
        font-size: 22px;
    }

    .hero-stat span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 10px;
        bottom: 90px;
    }

    .hero-stat {
        flex: 1 1 calc(33.333% - 10px);
        min-width: 90px;
    }

    .slide-content {
        padding: 0 24px;
    }
}


/* =========================================================
   📦 SEÇÕES / GRID
========================================================= */
.section {
    padding: 40px 40px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
     
}

.section.dark {
    background: rgba(255, 255, 255, 0.03); 
}
.section.black {
    background: rgba(1, 56, 22, 0.281); 
}

.container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.container h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.container p {
    opacity: 0.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 14px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* =========================================================
   🧩 SECTION HEADER (FAIXA DE TÍTULO)
========================================================= */

.section-header {
    width: 100%;
    padding: 20px 20px;
    
    background: linear-gradient(
        90deg,
        rgba(34,104,54,0.95),
        rgba(49,126,71,0.95)
    );

    text-align: center;
    
    position: relative;
    overflow: hidden;
}

/* título */
.section-header h2 {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* linha decorativa abaixo */
.section-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--orange-2);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* efeito leve de brilho (opcional - premium) */
.section-header::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.15),
        transparent 70%
    );

    opacity: 0.4;
}

/* =========================================================
   🔘 BOTÕES
========================================================= */
.btn {
    padding: 14px 26px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s;
}

.primary {
    background: var(--green-1);
    color: #fff;
}

.primary:hover {
    background: var(--green-2);
}

.secondary {
    border: 1px solid var(--orange-2);
    color: var(--orange-2);
}

.secondary:hover {
    background: var(--orange-2);
    color: #000;
}


/* =========================================================
   🧾 FOOTER
========================================================= */
.footer {
    text-align: center;
    padding: 30px;
    opacity: 0.6;
}


/* =========================================================
   🎞️ ANIMAÇÕES SCROLL
========================================================= */
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal h2,
.reveal p,
.reveal .card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible h2,
.reveal.visible p,
.reveal.visible .card {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   🔄 TRANSIÇÃO DE PÁGINA
========================================================= */
.page-transition {
    position: fixed;
    inset: 0;
    background: #0b0f1a;
    z-index: 99999;
    transform: translateY(0%);
    transition: transform 0.6s ease;
}

.page-transition.hide {
    transform: translateY(-100%);
}

/* =========================================================
   UNIDADES PREMIUM
========================================================= */

.units-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px,1fr));

    gap: 28px;

    margin-top: 50px;
}
/* =========================================================
   SUBTÍTULO
========================================================= */

.units-subtitle {

    max-width: 700px;

    margin:
        0 auto 45px;

    text-align: center;

    font-size: 18px;

    line-height: 1.8;

    color:
        rgba(255,255,255,0.72);

    letter-spacing: 0.4px;
}

/* =========================================================
   FILTROS PREMIUM
========================================================= */

.units-filter {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;

    margin-bottom: 60px;
}

/* BOTÃO */
.filter-btn {

    position: relative;

    border: none;

    padding:
        14px 28px;

    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color:
        rgba(255,255,255,0.82);

    cursor: pointer;
    overflow: hidden;
    transition: 0.35s;
    background:
        rgba(255,255,255,0.05);
    border:
        1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);
    box-shadow:
        0 8px 25px rgba(0,0,0,0.18);
}

/* brilho interno */
.filter-btn::before {

    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.12),
            transparent
        );
    opacity: 0;
    transition: 0.35s;
}

/* hover */
.filter-btn:hover {

    transform:
        translateY(-3px);

    color: #fff;

    border:
        1px solid rgba(255,255,255,0.16);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.30);
}

.filter-btn:hover::before {

    opacity: 1;
}

/* ATIVO */
.filter-btn.active {

    background:
        linear-gradient(
            135deg,
            #226836,
            #317e47
        );

    color: #fff;

    border:
        1px solid rgba(255,255,255,0.10);

    box-shadow:
        0 15px 40px rgba(34,104,54,0.35);
}

/* efeito glow */
.filter-btn.active::after {

    content: "";

    position: absolute;

    inset: -2px;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(34,104,54,0.45),
            rgba(49,126,71,0.10)
        );

    z-index: -1;

    filter: blur(10px);
}
/* final parte 1*/


/* CARD */
.unit-card {

    position: relative;

    min-height: 500px;

    border-radius: 24px;

    overflow: hidden;

    background:
        rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(14px);

    transition: 0.4s;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.20);
}

.unit-card:hover {

    transform:
        translateY(-10px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35);
}

/* IMAGEM */
.unit-image {

    position: relative;

    height: 220px;

    overflow: hidden;
}

.unit-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.6s;
}

.unit-card:hover img {

    transform: scale(1.08);
}

.unit-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5,8,13,0.95),
            rgba(5,8,13,0.10)
        );
}

/* BADGE */
.unit-brand {

    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 14px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    z-index: 2;
}

.unit-brand.br {

    background: #1d7f3f;
    color: #fff;
}

.unit-brand.branca {

    background: #c28b38;
    color: #fff;
}

/* CONTEÚDO */
.unit-content {

    padding: 25px;
}

.unit-content h3 {

    font-size: 20px;
    margin-bottom: 22px;

    color: #fff;
}

.unit-address {

    color:
        rgba(255,255,255,0.70);

    line-height: 1.7;

    margin-bottom: 22px;
}

/* TAGS */
.unit-tags {

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 15px;
}

.unit-tags span {

    background:
        rgba(255,255,255,0.06);

    border:
        1px solid rgba(255,255,255,0.08);

    padding: 10px 14px;

    border-radius: 50px;

    font-size: 13px;

    color: rgba(255,255,255,0.85);
}

/* BOTÃO */
.unit-map-btn {

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #226836,
            #317e47
        );

    color: #fff;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.unit-map-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(34,104,54,0.35);
}

/* MAPA VIEW */
.unit-map-view {

    position: absolute;
    inset: 0;

    background: #081018;

    padding: 15px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: 0.4s;

    z-index: 10;
}

.unit-card.active-map .unit-map-view {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* iframe */
.unit-map-view iframe {

    width: 100%;
    height: 100%;

    border: none;

    border-radius: 18px;
}

/* voltar */
.close-map {

    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 20;

    border: none;

    background:
        rgba(0,0,0,0.6);

    color: #fff;

    padding: 10px 16px;

    border-radius: 50px;

    cursor: pointer;

    backdrop-filter: blur(10px);
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .units-grid {

        grid-template-columns: 1fr;
    }

    .unit-card {

        min-height: 460px;
    }
    .units-filter {

        gap: 12px;
    }

    .filter-btn {

        width: 100%;

        max-width: 260px;
    }

    .units-subtitle {

        font-size: 16px;

        margin-bottom: 35px;
    }

}
/* =========================================================
   📱 MENU MOBILE (AGORA FUNCIONA)
========================================================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .navbar nav {
        position: absolute;
        top: 55px; /*altura do navbar no mobile*/
        right: 0;
        width: 220px;

        background: rgba(11,15,26,0.95);
        backdrop-filter: blur(10px);

        flex-direction: column;
        align-items: flex-start;
        padding: 15px;

        transform: translateX(100%);
        transition: 0.3s;
    }

    .navbar nav.active {
        transform: translateX(0);
    }

    .navbar nav a {
        padding: 10px 0;
        width: 100%;
    }

    .slide-content h1 {
        font-size: 32px;
    }
}

/* =========================================================
   SOBRE PREMIUM
========================================================= */

.sobre-premium {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 70px;
    align-items: start;
}

/* =========================================
   COLUNA VISUAL
========================================= */

.sobre-visual {
    position: sticky;
    top: 110px;
}

.sobre-image-box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    box-shadow:
        0 25px 80px rgba(0,0,0,0.35);
}

.sobre-image-box img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.sobre-image-box:hover img {
    transform: scale(1.04);
}

.sobre-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(5,8,13,0.92),
            rgba(5,8,13,0.15) 55%,
            rgba(5,8,13,0.35)
        );
}

.sobre-image-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top left,
            rgba(34,104,54,0.20),
            transparent 45%
        );
    z-index: 1;
    pointer-events: none;
}

.sobre-badge {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 22px;
    border-radius: 20px;
    background: rgba(5,8,13,0.65);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.25);
}

.badge-year {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c28b38;
}

/* =========================================
   STATS
========================================= */

.sobre-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-item {
    text-align: center;
    padding: 22px 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    box-shadow:
        0 12px 35px rgba(0,0,0,0.18);
    transition: 0.35s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow:
        0 18px 45px rgba(0,0,0,0.25);
}

.stat-item strong {
    display: block;
    font-size: 34px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
}

/* =========================================
   CONTEÚDO
========================================= */

.sobre-content {
    position: relative;
}

.sobre-tag {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(194,139,56,0.10);
    border: 1px solid rgba(194,139,56,0.25);
    color: #c28b38;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.sobre-content h3 {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.12;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.sobre-content .intro {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255,255,255,0.78);
    margin-bottom: 34px;
}

/* =========================================================
   NOSSA ESSÊNCIA - TYPEWRITER
========================================================= */

.sobre-essencia {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* centraliza horizontalmente */
    gap: 8px;
    margin-bottom: 46px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.essencia-label {
    color: #ffffff; /* verde MM */

}

.essencia-word {
    color: #c28b38; /* marrom/dourado MM */
    min-width: 70px;
    display: inline-block;
}

.essencia-cursor {
    color: #c28b38;
    font-weight: 400;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .sobre-essencia {
        font-size: 18px;
        margin-bottom: 36px;
    }

    .essencia-word {
        min-width: 70px;
        
    }
}
/* =========================================================
   SECTION HEADER - ANIMAÇÃO PREMIUM
========================================================= */

/* estado inicial */
.section-header h2 {
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateX(-80px);
    transition:
        transform 0.9s ease,
        opacity 0.9s ease;
}

/* traço abaixo */
.section-header h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 12px auto 0;
    border-radius: 50px;
    background: linear-gradient(
        90deg,
        #226836,
        #c28b38
    );

    opacity: 0;
    transform: translateX(80px);
    transition:
        transform 0.9s ease 0.2s,
        opacity 0.9s ease 0.2s;
}

/* quando a seção entra na tela */
.section-header.visible h2 {
    opacity: 1;
    transform: translateX(0);
}

.section-header.visible h2::after {
    opacity: 1;
    transform: translateX(0);
}
/* =========================================
   TIMELINE PREMIUM
========================================= */

.timeline-premium {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: 36px;
}

.timeline-premium::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background:
        linear-gradient(
            180deg,
            rgba(194,139,56,0.9),
            rgba(34,104,54,0.9)
        );
    box-shadow:
        0 0 20px rgba(194,139,56,0.25);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    align-items: start;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffffff 0%, #c28b38 45%, #226836 100%);
    box-shadow:
        0 0 0 6px rgba(255,255,255,0.03),
        0 0 25px rgba(194,139,56,0.35);
}

.timeline-year {
    display: inline-block;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #c28b38;
}

.timeline-card {
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    transition: 0.35s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 45px rgba(0,0,0,0.20);
    border-color: rgba(255,255,255,0.12);
}

.timeline-card h4 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
}

.timeline-card p {
    margin: 0;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
    font-size: 15px;
}
/* =========================================================
   COUNTER ANIMADO
========================================================= */

.counter {
    display: inline-block;
    transition: 0.4s ease;
}

.counter-finished {
    color: #c28b38;
    text-shadow:
        0 0 12px rgba(194,139,56,0.45),
        0 0 24px rgba(194,139,56,0.25);
    transform: scale(1.08);
}

/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 1100px) {
    .sobre-premium {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sobre-visual {
        position: relative;
        top: auto;
    }

    .sobre-image-box img {
        height: 520px;
    }
}

@media (max-width: 768px) {
    .sobre-content h3 {
        font-size: 30px;
    }

    .sobre-content .intro {
        font-size: 16px;
        line-height: 1.8;
    }

    .sobre-image-box img {
        height: 420px;
    }

    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .timeline-premium {
        padding-left: 28px;
        gap: 22px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .timeline-item::before {
        left: -22px;
        width: 18px;
        height: 18px;
    }

    .timeline-premium::before {
        left: 6px;
    }

    .timeline-year {
        margin-top: 0;
        font-size: 12px;
    }

    .timeline-card {
        padding: 20px;
    }

    .sobre-values {
        gap: 10px;
    }

    .sobre-values span {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .sobre-image-box img {
        height: 320px;
    }

    .badge-year {
        font-size: 22px;
    }

    .badge-text {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .sobre-badge {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 16px 18px;
    }

    .stat-item strong {
        font-size: 28px;
    }

    .timeline-card h4 {
        font-size: 17px;
    }

    .timeline-card p {
        font-size: 14px;
    }
}
/* =========================================================
   🛠️ SERVIÇOS
========================================================= */

.services-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.services-slider::-webkit-scrollbar {
    height: 6px;
}

.services-slider::-webkit-scrollbar-thumb {
    background: var(--green-2);
    border-radius: 10px;
}

/* CARD */
.service-card {
    min-width: 340px;
    max-width: 340px;
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.35s ease;
    scroll-snap-align: start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* EFEITO HOVER */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);

    box-shadow:
        0 20px 40px rgba(0,0,0,0.45),
        0 0 20px rgba(49,126,71,0.15);
}

/* IMAGEM */
.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

/* BODY */
.service-body {
    padding: 25px;
    text-align: left;
}

/* TÍTULO */
.service-body h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

/* TEXTO */
.service-body p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* TEXTO EXTRA */
.service-extra {
    display: block;
    margin-bottom: 20px;

    color: var(--orange-2);
    font-size: 14px;
    font-weight: 500;
}

/* SOCIAIS */
.service-socials {
    display: flex;
    gap: 12px;
}

.service-socials a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.06);

    color: #fff;
    text-decoration: none;

    transition: 0.3s ease;
}

.service-socials a:hover {
    background: var(--green-2);
    transform: translateY(-3px);
}



/* =========================
   FIX OVERLAY HERO CLICK BUG
========================= */

.hero-slider {
    position: relative;
    z-index: 10;
}

.section {
    position: relative;
    z-index: 1;
}

.section.dark {
    position: relative;
    z-index: 1;
}
/* =========================
   FIX DEFINITIVO HERO OVERLAY
========================= */

.hero-slider {
    position: relative;
    z-index: 1;
}

.section {
    position: relative;
    z-index: 2;
    background: var(--bg);
}

/* garante que hero fique SEMPRE acima de qualquer section inicial */
#home {
    z-index: 3;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .services-slider {
        padding-left: 10px;
    }

    .service-card {
        min-width: 85%;
    }

}
/* =========================================================
   STATS ANIMADOS - CORES DINÂMICAS
========================================================= */

/* animação alternando entre verde e marrom */
@keyframes statGlow {
    0%,
    100% {
        background: rgba(34, 104, 54, 0.18);   /* verde */
        border-color: rgba(34, 104, 54, 0.35);
        box-shadow:
            0 0 0 rgba(34, 104, 54, 0),
            0 10px 30px rgba(34, 104, 54, 0.12);
    }

    50% {
        background: rgba(194, 139, 56, 0.18);  /* marrom/dourado */
        border-color: rgba(194, 139, 56, 0.35);
        box-shadow:
            0 0 0 rgba(194, 139, 56, 0),
            0 10px 30px rgba(194, 139, 56, 0.12);
    }
}

/* cards das estatísticas */
.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.stat-item {
    padding: 26px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    transition: 0.4s;
    animation: statGlow 6s ease-in-out infinite;
}

/* cada card começa em um momento diferente */
.stat-item:nth-child(1) {
    animation-delay: 0s;
}

.stat-item:nth-child(2) {
    animation-delay: 4s;
}

.stat-item:nth-child(3) {
    animation-delay: 6s;
}

/* efeito hover */
.stat-item:hover {
    transform: translateY(-6px) scale(1.03);
}

/* número */
.stat-item strong {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* descrição */
.stat-item span {
    font-size: 14px;
    color: rgba(255,255,255,0.80);
    letter-spacing: 0.4px;
}

/* responsivo */
@media (max-width: 768px) {
    .sobre-stats {
        grid-template-columns: 1fr;
    }

    .stat-item strong {
        font-size: 34px;
    }
}
/*final parte 2*/
/* =========================================================
   📱 RESPONSIVO SOBRE
========================================================= */
@media (max-width: 768px) {

    .sobre-grid {
        grid-template-columns: 1fr;
    }

    .sobre-content {
        text-align: center;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        text-align: center;
    }

    .timeline-item::before {
        left: 50%;
        transform: translateX(-50%);
    }
}
/* =========================================================
   📱 TIMELINE RESPONSIVA
========================================================= */

@media (max-width: 900px) {

    .timeline {
        position: relative;
        padding-left: 40px;
    }

    /* linha vertical */
    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 30px;
        padding-right: 0;
        text-align: left !important;
    }

    /* remove alternância */
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        left: 0;
    }

    /* bolinha */
    .timeline-item::before {
        left: -4px !important;
        right: auto !important;
    }
}
/* =========================================================
   📱 SERVIÇOS RESPONSIVO
========================================================= */

@media (max-width: 900px) {

    .services-slider {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .service-card {
    border-radius: 18px;
    overflow: hidden;
    }
    .service-card:hover {
    transform: none;
    }

    .service-image img {
        height: 220px;
        object-fit: cover;
    }

    .service-body {
        padding: 20px;
    }

    .service-body h3 {
        font-size: 22px;
    }

    .service-body p {
        font-size: 15px;
        line-height: 1.6;
    }

    .service-socials {
        justify-content: center;
        margin-top: 15px;
    }
}

/* =========================================================
   FOOTER PREMIUM
========================================================= */

.footer {

    background:
        linear-gradient(
            180deg,
            #081018,
            #05080d
        );

    padding: 70px 40px 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* brilho sutil */
.footer::before {

    content: "";

    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top left,
            rgba(34,104,54,0.18),
            transparent 40%
        );
    pointer-events: none;
}

/* container */
.footer-container {

    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns:
        1.3fr
        1fr
        1fr
        1fr;

    gap: 50px;
    position: relative;
    z-index: 2;
}

/* colunas */
.footer-col h3 {

    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    text-align: center;
}

.footer-col h3::after {

    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--orange-2);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* listas */
.footer-col ul {

    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {

    margin-bottom: 14px;
    color: rgba(255,255,255,0.75);
    transition: 0.3s;
}

.footer-col ul li a {

    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {

    color: #fff;
    padding-left: 5px;
}

/* logo */
.footer-brand img {

    width: 130px;
    margin-bottom: 18px;
}

.footer-brand p {

    color: rgba(255,255,255,0.70);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* redes sociais */
.footer-social {

    display: flex;
    gap: 14px;
}

.footer-social a {

    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover {

    background: #226836;
    transform: translateY(-4px);
}

/* contato */
.footer-contact li {

    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.6;
}

.footer-contact i {

    color: #c28b38;
    width: 18px;
}

/* linha */
.footer-divider {

    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.15),
            transparent
        );
    margin: 50px 0 25px;
}

/* copyright */
.footer-bottom {

    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 991px) {

    .footer-container {

        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .footer {

        padding: 60px 25px 25px;
    }

    .footer-container {

        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {

        justify-content: center;
    }

    .footer-contact li {

        justify-content: center;
    }

    .footer-col h3::after {

        margin-left: auto;
        margin-right: auto;
    }
}
/* =========================================================
   PROMOÇÕES PREMIUM
========================================================= */

.promo-section {

    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #070b12,
            #0b111a
        );
}

/* glow */
.promo-glow {

    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    pointer-events: none;
}

.glow-1 {

    width: 400px;
    height: 400px;
    background: #226836;
    top: -120px;
    left: -120px;
}

.glow-2 {

    width: 350px;
    height: 350px;
    background: #c28b38;
    bottom: -120px;
    right: -120px;
}

/* hero */
.promo-hero {

    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.promo-badge {

    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background:
        rgba(255,255,255,0.05);
    border:
        1px solid rgba(255,255,255,0.08);
    color: #c28b38;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.promo-hero h3 {

    font-size: 30px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 30px;
}

.promo-hero p {

    font-size: 18px;
    line-height: 1.9;
    color:
        rgba(255,255,255,0.70);
}

/* grid */
.promo-grid {

    display: grid;
    grid-template-columns:
        1.3fr
        1fr
        1fr;

    gap: 25px;
    position: relative;
    z-index: 2;
}

/* card base */
.promo-card {

    position: relative;
    background:
        rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,255,255,0.06);

    border-radius: 30px;
    padding: 35px;
    overflow: hidden;
    transition: 0.4s;
}

.promo-card:hover {

    transform:
        translateY(-8px);
    border-color:
        rgba(194,139,56,0.30);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.35);
}

/* destaque */
.featured {

    grid-row: span 2;
    background:
        linear-gradient(
            180deg,
            rgba(34,104,54,0.20),
            rgba(255,255,255,0.04)
        );
}

/* topo */
.promo-top {

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.promo-tag {

    padding: 8px 18px;
    border-radius: 50px;
    background:
        rgba(255,255,255,0.08);

    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
}

.promo-percent {

    font-size: 52px;
    font-weight: 700;
    color: #c28b38;
}

/* conteúdo */
.promo-content h4,
.promo-card h4 {

    font-size: 30px;
    color: #fff;
    margin-bottom: 20px;
}

.promo-content p,
.promo-card p {

    color:
        rgba(255,255,255,0.72);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* lista */
.promo-content ul {

    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-content ul li {

    margin-bottom: 15px;
    color:
        rgba(255,255,255,0.85);
}

/* botão */
.promo-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            #226836,
            #317e47
        );
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.promo-btn:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 30px rgba(34,104,54,0.35);
}

/* icones */
.promo-icon {

    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background:
        linear-gradient(
            135deg,
            #226836,
            #317e47
        );

    color: #fff;
    font-size: 28px;
}

/* linha */
.promo-line {

    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.20),
            transparent
        );
    margin: 30px 0;
}

/* pequeno */
.promo-small {

    color:
        rgba(255,255,255,0.50);
    font-size: 13px;
    letter-spacing: 1px;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1100px) {

    .promo-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .featured {

        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 768px) {

    .promo-hero h3 {
        font-size: 36px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .featured {
        grid-column: auto;
    }

    .promo-card {
        padding: 28px;
    }

    .promo-percent {
        font-size: 40px;
    }
}
/* =========================================================
   CONTATO PREMIUM
========================================================= */

.contato-section {

    position: relative;
    overflow: hidden;
}

/* topo */
.contact-hero {

    max-width: 750px;
    margin: 0 auto 70px;
    text-align: center;
}

.contact-mini {

    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #c28b38;
    margin-bottom: 25px;
}

.contact-hero h3 {

    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
}

.contact-hero p {

    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.70);
}

/* grid */
.contact-grid {

    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    align-items: start;
}

/* info esquerda */
.contact-info {

    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* cards */
.contact-card {

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;

    transition: 0.4s;
}

.contact-card:hover {

    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
}

/* ícone */
.contact-icon {

    min-width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #226836,
            #317e47
        );

    font-size: 22px;
    color: #fff;
}

.contact-card span {

    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.50);
    margin-bottom: 6px;
}

.contact-card h4 {

    font-size: 18px;
    color: #fff;
}

/* redes */
.contact-social {

    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.contact-social a {

    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    color: #fff;
    transition: 0.3s;
}

.contact-social a:hover {

    background: #226836;
    transform: translateY(-5px);
}

/* form */
.contact-form-box {

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 30px;
    padding: 40px;
}

/* grupos */
.form-group {

    position: relative;
    margin-bottom: 30px;
}

/* inputs */
.form-group input,
.form-group textarea {

    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 14px 0;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.form-group textarea {

    min-height: 120px;
    resize: none;
}

/* labels */
.form-group label {

    position: absolute;
    left: 0;
    top: 14px;
    color: rgba(255,255,255,0.50);
    transition: 0.3s;
    pointer-events: none;
}

/* efeito */
.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {

    top: -10px;
    font-size: 12px;
    color: #c28b38;
}

/* botão */
.contact-btn {

    width: 100%;
    border: none;
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #226836,
            #317e47
        );

    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {

    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(34,104,54,0.35);
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 991px) {

    .contact-grid {

        grid-template-columns: 1fr;
    }

    .contact-hero h3 {

        font-size: 38px;
    }
}

@media (max-width: 768px) {

    .contact-form-box {

        padding: 30px 25px;
    }

    .contact-hero h3 {

        font-size: 32px;
    }

    .contact-card {

        padding: 20px;
    }
}
/* =========================================================
   COOKIE BANNER - FOOTER
========================================================= */

.cookie-banner {

    position: fixed;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 1100px;

    background:
        rgba(10,15,25,0.92);

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    padding: 22px 28px;

    z-index: 99999;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.45);

    animation:
        cookieUp 0.8s ease;
}

/* animação */
@keyframes cookieUp {

    from {

        opacity: 0;
        transform:
            translateX(-50%)
            translateY(40px);
    }

    to {

        opacity: 1;
        transform:
            translateX(-50%)
            translateY(0);
    }
}

/* conteúdo */
.cookie-content {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* texto */
.cookie-text h4 {

    color: #fff;

    font-size: 20px;

    margin-bottom: 10px;
}

.cookie-text p {

    color:
        rgba(255,255,255,0.72);

    line-height: 1.7;

    font-size: 15px;
}

.cookie-text a {

    color: #c28b38;
    text-decoration: none;
}

/* botão */
.cookie-btn {

    border: none;
    cursor: pointer;

    padding: 15px 28px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #226836,
            #317e47
        );

    color: #fff;

    font-weight: 600;

    transition: 0.3s;

    white-space: nowrap;
}

.cookie-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px rgba(34,104,54,0.35);
}

/* esconder */
.cookie-banner.hide {

    opacity: 0;
    visibility: hidden;

    transition: 0.4s;
}
 /* =========================================================
   RESPONSIVO - COOKIE BANNER - FOOTER
========================================================= */
@media (max-width: 768px) {

    .cookie-banner {

        width: calc(100% - 20px);

        left: 10px;
        right: 10px;

        bottom: 15px;

        transform: none;

        padding: 20px;
        border-radius: 20px;
    }

    .cookie-content {

        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .cookie-text h4 {

        font-size: 18px;
    }

    .cookie-text p {

        font-size: 14px;
        line-height: 1.6;
    }

    .cookie-btn {

        width: 100%;
        padding: 14px;
    }
}
/* =========================================================
   RESPONSIVIDADE - UNIDADES E CONTATO
   (Adicionar ao final do seu style.css)
========================================================= */

/* =========================
   TABLETS E CELULARES
========================= */
@media (max-width: 768px) {

    /* =====================================================
       UNIDADES
    ===================================================== */

    /* Garante que a seção apareça corretamente */
    #unidades {
        display: block !important;
        visibility: visible !important;
        overflow: visible !important;
    }

    /* IMPORTANTE:
       NÃO force .units-grid como display:block.
       Isso quebra o comportamento do CSS Grid e pode
       gerar espaços em branco ao filtrar os cards.
    */
    #unidades .section-content,
    #unidades .container {
        display: block;
        width: 100%;
        visibility: visible !important;
    }

    /* Grid em uma coluna */
    #unidades .units-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px;
        margin-top: 35px;
        width: 100%;
        visibility: visible !important;
        align-items: start;
    }

    /* Cards mais compactos */
    .unit-card {
        display: block !important;
        width: 100%;
        min-height: auto !important;
        height: auto !important;
        border-radius: 22px;
        margin: 0 !important;
    }

    /* Imagem */
    .unit-image {
        height: 200px;
    }

    /* Conteúdo */
    .unit-content {
        padding: 20px;
    }

    .unit-content h3 {
        font-size: 22px;
        line-height: 1.2;
    }

    .unit-address {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Tags */
    .unit-tags {
        gap: 8px;
        margin-bottom: 20px;
    }

    .unit-tags span {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* Botão */
    .unit-map-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 14px;
    }

    /* Mapa embutido */
    .unit-map-view {
        padding: 10px;
    }

    .unit-map-view iframe {
        min-height: 100%;
        border-radius: 16px;
    }

    .close-map {
        top: 15px;
        left: 15px;
        padding: 8px 14px;
        font-size: 13px;
    }
}


    /* =====================================================
       CONTATO
    ===================================================== */

    #contato {
        overflow: hidden;
    }

    /* Grid em uma coluna */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* Cards */
    .contact-info,
    .contact-form-box {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        border-radius: 24px;
        box-sizing: border-box;
    }

    /* Inputs e textarea */
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* evita zoom automático no iPhone */
    }

    .contact-form textarea {
        min-height: 140px;
    }

    /* Botão */
    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }

    /* Itens de contato */
    .contact-item {
        gap: 14px;
        align-items: flex-start;
    }

    .contact-item i {
        flex-shrink: 0;
        margin-top: 2px;
    }

    /* Redes sociais */
    .contact-social {
        justify-content: center;
        flex-wrap: wrap;
    }



/* =========================
   CELULARES PEQUENOS
========================= */
@media (max-width: 480px) {

    /* UNIDADES */
    .unit-image {
        height: 180px;
    }

    .unit-content {
        padding: 18px;
    }

    .unit-content h3 {
        font-size: 20px;
    }

    .unit-tags span {
        font-size: 11px;
        padding: 7px 10px;
    }

    /* CONTATO */
    .contact-info,
    .contact-form-box {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-btn {
        font-size: 14px;
        padding: 14px 18px;
    }
}
/* =========================================================
   CORREÇÃO 1: UNIDADES NO MOBILE
   ---------------------------------------------------------
   PROBLEMA:
   - A seção "Unidades" demorava para aparecer.
   - Alguns celulares exibem alerta de privacidade por causa
     do carregamento automático dos iframes do Google Maps.
   - O iframe pesado pode atrasar o render da seção.

   SOLUÇÃO:
   - No mobile, esconder o iframe inicialmente.
   - O mapa só aparece quando o usuário clicar no botão.
========================================================= */
@media (max-width: 768px) {

    /* Não renderiza o iframe automaticamente */
    .unit-map-view {
        display: none;
    }

    /* Quando seu JavaScript adicionar a classe .active,
       o mapa será exibido normalmente */
    .unit-map-view.active {
        display: block;
    }

    /* Evita qualquer atraso causado pelo iframe */
    .unit-map-view iframe {
        width: 100%;
        min-height: 320px;
        border: 0;
        border-radius: 16px;
    }
}



/* =========================================================
   CORREÇÃO 2: CONTATO RESPONSIVO NO MOBILE
   ---------------------------------------------------------
   PROBLEMA:
   - Cards de telefone, e-mail e endereço cortando à direita.
   - Formulário ultrapassando a largura da tela.
   - Conteúdo não centralizado.

   SOLUÇÃO:
   - Força largura máxima de 100%.
   - Corrige box-sizing.
   - Centraliza todo o conteúdo.
========================================================= */
@media (max-width: 768px) {

    /* Seção contato */
    #contato,
    #contato .container,
    #contato .contact-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* Grid em uma coluna */
    .contact-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px;
        width: 100%;
    }

    /* Colunas */
    .contact-info,
    .contact-form-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto;
    }

    /* Centralização visual */
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Cards de contato */
    .contact-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 20px;
        border-radius: 22px;
        margin: 0 auto;
        text-align: left;
    }

    /* Conteúdo interno */
    .contact-card > div {
        flex: 1;
        min-width: 0;
    }

    .contact-card h4 {
        font-size: 16px;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .contact-card span {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Ícone */
    .contact-icon {
        flex-shrink: 0;
    }

    /* Redes sociais */
    .contact-social {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    /* Formulário */
    .contact-form-box {
        padding: 25px 20px;
        border-radius: 24px;
    }

    /* Form e grupos */
    .contact-form,
    .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Inputs */
    .form-group input,
    .form-group textarea,
    .contact-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Evita zoom automático no iPhone */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    /* Textarea */
    .form-group textarea {
        min-height: 140px;
    }

    /* Botão */
    .contact-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 16px 20px;
    }

    /* Título */
    .contact-hero {
        padding: 0 10px;
    }

    .contact-hero h3 {
        font-size: 32px;
        line-height: 1.2;
    }

    .contact-hero p {
        font-size: 15px;
        line-height: 1.7;
    }
}



/* =========================================================
   CORREÇÃO 3: CELULARES PEQUENOS
========================================================= */
@media (max-width: 480px) {

    /* Cards de contato */
    .contact-card {
        padding: 18px;
        gap: 15px;
    }

    .contact-icon {
        min-width: 52px;
        height: 52px;
        font-size: 20px;
        border-radius: 16px;
    }

    .contact-card h4 {
        font-size: 15px;
    }

    /* Formulário */
    .contact-form-box {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .contact-btn {
        font-size: 14px;
        padding: 14px 18px;
    }

    /* Unidades */
    .unit-map-view iframe {
        min-height: 280px;
    }
}
/* =========================================================
   BOTÃO "VOLTAR" DO MAPA
========================================================= */

.close-map {
    position: absolute;

    /* antes ficava no topo; agora fica embaixo à esquerda */
    left: 15px;
    bottom: 15px;
    top: auto;

    z-index: 20;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 18px;

    border: none;
    border-radius: 12px;

    cursor: pointer;

    /* verde padrão do site */
    background: linear-gradient(
        135deg,
        #226836,
        #317e47
    );

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 8px 20px rgba(34, 104, 54, 0.35);

    transition: all 0.3s ease;
}

/* Hover: marrom/dourado do site */
.close-map:hover {
    background: linear-gradient(
        135deg,
        #c28b38,
        #d39a43
    );

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(194, 139, 56, 0.35);
}

/* Clique */
.close-map:active {
    transform: translateY(0);
}

/* Responsivo */
@media (max-width: 768px) {
    .close-map {
        left: 12px;
        bottom: 12px;
        padding: 9px 16px;
        font-size: 13px;
        border-radius: 10px;
    }
}
