/* RESET & VARIÁVEIS */
:root {
    --primary-green: #3ca34b; /* Cor verde aproximada */
    --light-green: #eaf5eb;
    --dark-green: #2c7a38;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f9f9fa;
    --white: #ffffff;
    --border-color: #eaeaea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.padding-section {
    padding: 50px 0;
}

.padding-section-sobre {
    padding: 10px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }

/* BOTÕES */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-green);
}

/* Tamanho da Logo no Cabeçalho */
.logo img {
    max-width: 180px; 
    height: auto;
    display: block;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s;
}

.btn-icon:hover { background-color: var(--dark-green); }

/* HEADER */
.top-bar {
    background-color: #f1f1f1;
    font-size: 13px;
    color: var(--text-gray);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    margin-left: 10px;
    color: var(--text-gray);
}

.social-icons a:hover { color: var(--primary-green); }

.main-nav-container {
    background: linear-gradient(to right, #80c46b, #599d45);
    padding: 15px 0;
    position: relative;
    z-index: 100; /* Alto para o submenu passar por cima do restante do site */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ========================================= */
/* MENU PRINCIPAL & SUBMENU                  */
/* ========================================= */

/* Configuração base do submenu (sempre escondido inicialmente) */
.submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Menu principal (apenas os itens de primeiro nível) */
.main-nav > ul {
    display: flex;
    gap: 30px; 
    align-items: center;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    position: relative; 
    padding: 8px 0; 
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px; 
}

.main-nav a:hover {
    opacity: 0.9;
}

/* Linha animada do menu principal */
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%; 
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease-in-out; 
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
    width: 100%;
}

.main-nav a i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* --- ESTILO DESKTOP DO SUBMENU --- */
@media (min-width: 769px) {
    .has-submenu { position: relative; }
    
    .has-submenu:hover .submenu {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #599d45;
        min-width: 220px;
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        border-radius: 0 0 8px 8px;
        padding: 10px 0;
        z-index: 1000;
    }

    .submenu li a {
        padding: 12px 20px;
        text-transform: none;
        font-size: 13px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .submenu li:last-child a { border: none; }

    .submenu li a:hover {
        background: rgba(255,255,255,0.1);
        opacity: 1;
    }

    .main-nav a:hover i {
        transform: rotate(180deg);
    }
}

/* HERO SECTION */
.hero {
    background: linear-gradient(to right, #80c46b, #599d45);
    color: var(--white);
    text-align: center;
    padding: 10px 0 120px; 
    position: relative;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

.hero .subtitle {
    position: relative;
    display: inline-block; 
    font-size: 20px;
    margin-bottom: 50px;
}

.hero-mockups {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    position: relative;
    z-index: 10; 
    margin-top: 1px;
}

.mockup-center {
    z-index: 3;
    width: 45%; 
    max-width: 600px;
    position: relative;
}

.mockup-side {
    z-index: 1;

    max-width: 450px;
    margin-top: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); 
    border-radius: 8px;
}

.mockup-side:first-child { margin-right: -10%; }
.mockup-side:last-child { margin-left: -10%; }

.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px; 
    background: var(--white);
    clip-path: ellipse(110% 100% at 50% 100%); 
    z-index: 1; 
}

/* SEÇÃO PADRÃO - TITULOS */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.seta-hero {
    position: absolute;
    top: 10px; 
    width: 80px; 
}

.seta-esq {
    right: 100%;
    margin-right: 30px; 
}

.seta-dir {
    left: 100%;
    margin-left: 30px; 
    transform: scaleX(-1);
}

.hero p strong {
    background-color: var(--dark-green); 
    color: var(--white); 
    padding: 4px 12px; 
    border-radius: 6px; 
    display: inline-block; 
    font-weight: 700;
}

.badge {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 21px;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* CASE DE SUCESSO */
.case-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.case-images img, .case-details img {
    max-width: 100%;
    border-radius: 10px;
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-box h3 {
    font-size: 28px;
    color: var(--text-dark);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-header .avatar {
    width: 60px; 
    height: 60px; 
    border-radius: 50%;
    object-fit: cover; 
    flex-shrink: 0; 
}

.stars { color: #f39c12; }
.stars-white { color: #fff; margin-top: 10px;}

/* PORTFÓLIO */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; 
    padding-bottom: 20px; 
}

.portfolio-item {
    position: relative; 
    background: transparent;
    border-radius: 15px; 
    margin-bottom: 30px; 
}

.portfolio-item img {
    width: 100%;
    height: 400px;
    display: block;
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
}

.portfolio-info {
    position: absolute;
    bottom: 10px; 
    left: 15px; 
    right: 15px; 
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); 
    z-index: 2; 
}

.portfolio-info > div { max-width: 75%; }
.portfolio-info h3 { font-size: 15px; color: var(--text-gray); margin-bottom: 3px; }
.portfolio-info p { font-size: 12px; color: #888; line-height: 1.4; }

.portfolio-info .btn-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0; 
    font-size: 18px;
}

/* CLIENTES */
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.google-rating-banner {
    background: linear-gradient(to right, #80c46b, #599d45);
    border-radius: 15px;
    padding: 30px;
    color: white;
    max-width: 900px;
    margin: 40px auto 0;
}

.banner-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.rating-card {
    background: white;
    color: var(--text-dark);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
}

.rating-score strong { font-size: 24px; color: var(--primary-green); margin-right: 10px;}

.clients img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; 
}

img[src*="banner-avaliacao"] {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

/* SOBRE */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-images img { width: 100%; border-radius: 10px;}

.experience-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.experience-box i { font-size: 40px; color: var(--primary-green); }
.experience-box .experience-number {
    font-size: 24px;
    color: var(--primary-green);
    font-weight: bold;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 14px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-transform: uppercase;
}

.feature i { font-size: 24px; }

/* BARRA DE STATS */
.stats-bar {
    background-color: #8cc63f;
    padding: 40px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item i { font-size: 30px; margin-bottom: 10px; }
.stat-item h3 { font-size: 36px; }
.stat-item p { font-size: 14px; }

/* BLOG */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-card img { width: 100%; display: block; }
.blog-content { padding: 25px; }
.blog-content .date { font-size: 12px; color: #999; margin-bottom: 10px; display: block;}
.blog-content h3 { font-size: 18px; margin-bottom: 15px;}
.blog-content p { font-size: 14px; color: var(--text-gray); margin-bottom: 15px;}
.read-more { color: var(--primary-green); font-weight: bold; font-size: 14px;}

/* FOOTER */
.searched-topics { border-bottom: 1px solid var(--border-color); }
.d-flex { display: flex; gap: 40px; }
.align-center { align-items: center; }
.text-green { color: var(--primary-green); }
.topics-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 100%;
    text-align:left;
}
.topics-list li { margin-bottom: 10px; font-size: 14px;}

.topics-title {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 15px; 
    flex-shrink: 0; 
}

.topics-title .topics-heading {
    margin: 0;
    white-space: nowrap;
    font-size: 20px;
    font-weight: bold;
}

.main-footer {
    background-color: #7cc06b;
    color: white;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr; 
    gap: 40px;
}

.footer-col img {
    max-width: 180px; 
    height: auto;
    margin-bottom: 15px;
}

.footer-col .footer-heading {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}
.footer-col ul li { margin-bottom: 10px; font-size: 14px;}
.footer-col ul li i { margin-right: 10px; }

.btn-outline-white {
    display: inline-block;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
}

.social-icons-footer a {
    display: inline-block;
    width: 35px; height: 35px;
    border: 1px solid white;
    border-radius: 50%;
    text-align: center;
    line-height: 33px;
    color: white;
    margin-right: 10px;
}

.footer-bottom {
    background-color: #6da95e;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

/* WPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .case-content, .about-grid { grid-template-columns: 1fr; flex-direction: column; }
    .hero h1 { font-size: 28px; text-transform: uppercase; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .topics-list { grid-template-columns: 1fr; text-align:left; }
    .d-flex { flex-direction: column; }
}

@media (max-width: 768px) {
    .logo img {
        max-width: 80px; 
    }

    .top-bar-content { flex-direction: column; gap: 10px; text-align: center;}
    .mobile-menu-btn { display: block; }
    
    /* --- MENU MOBILE ANIMADO COM SUBMENU --- */
    .main-nav {
        display: block; 
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(to bottom, #599d45, #4a8a38);
        padding: 0; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 99;
    }

    .main-nav.active {
        max-height: 800px; /* Altura máxima permitida quando ativo */
        padding: 10px 20px;
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 0; 
        align-items: flex-start;
    }

    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav > ul > li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 15px 0;
        width: 100%;
        justify-content: space-between; 
    }

    /* Estilo do Submenu Mobile */
    .submenu {
        display: none; 
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-bottom: 10px;
        padding-left: 15px;
    }

    .submenu.open {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .submenu li a {
        font-size: 13px;
        padding: 10px 0;
        text-transform: none; 
        color: #eaf5eb;
        border: none;
    }

    .has-submenu.active-arrow > a i {
        transform: rotate(180deg);
    }
    /* ------------------------------------- */

    .hero-mockups { flex-direction: column; align-items: center; }
    .mockup-side { display: none; }
    .mockup-center { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .top-info {
        display: none;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .hero p strong {
        font-size: 12px; 
        padding: 2px 8px; 
        white-space: nowrap; 
    }

    .stats-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 15px; 
    }

    .stat-item h3 {
        font-size: 26px; 
    }

    .stat-item p {
        font-size: 11px; 
    }

    .hero{
        padding-bottom: 30px;
    }

    .hero h1, 
    .hero .subtitle,
    .section-header h2,
    .section-header p {
        line-height: 1.2; 
    }

    .hero h1 {
        font-size: 26px; 
        margin-bottom: 10px; 
    }
    
    .hero .subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .topics-title .topics-heading {
        white-space: normal;
    }

    .seta-hero {
        display: none;
    }

    .stats-row {
        flex-direction: column;
        gap: 15px;
    }

    .features-row, 
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero p strong {
        white-space: normal;
        line-height: 2; 
    }
}

/* ========================================= */
/* ESTILOS DA SEÇÃO NOSSO PORTFÓLIO         */
/* ========================================= */

.portfolio-section {
    background-color: var(--bg-light); /* Fundo claro para destacar os itens */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee; /* Borda sutil */
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.portfolio-image {
    width: 100%;
    height: 250px; /* Altura fixa para manter a proporção na grid */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
}

.portfolio-info {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    flex-grow: 1; /* Faz com que esta parte ocupe o espaço restante */
}

.portfolio-info > div {
    max-width: 80%; /* Espaço para o botão */
}

.portfolio-category {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.portfolio-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.portfolio-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.5;
}

.btn-view-project {
    width: 45px;
    height: 45px;
    font-size: 18px;
    flex-shrink: 0; /* Impede que o botão diminua de tamanho */
    background-color: #f1f1f1; /* Cor de fundo padrão */
    color: var(--primary-green); /* Cor do ícone */
}

.portfolio-item:hover .btn-view-project {
    background-color: var(--primary-green); /* Cor de fundo no hover */
    color: var(--white); /* Cor do ícone no hover */
}

/* Responsividade */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* 1 coluna em celulares */
    }
    .portfolio-image {
        height: 200px; /* Reduzir a altura da imagem em telas pequenas */
    }
    .h2-mobile{
        font-size: 14px;
    }
    .h2-mobile-menor{
        font-size: 12px;
    }
    .h3-mobile{
        font-size: 13px;
    }

}


/* ========================================= */
/* ESTILOS DA SEÇÃO PACOTE 12 MESES         */
/* ========================================= */

.bg-light-gray {
    background-color: #f4f7f4; /* Tom de cinza levemente esverdeado como na imagem */
}

.services-package .main-title {
    font-size: 28px;
    font-weight: 700;
    margin: 15px 0;
    color: var(--text-dark);
}

.package-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.package-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); /* Sombra para dar profundidade */
}

.package-details h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-green);
    display: inline-block;
    padding-bottom: 5px;
}

.package-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.package-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.package-icon {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.package-icon i {
    color: var(--primary-green);
    font-size: 20px;
}

.package-list li span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

/* Responsividade */
@media (max-width: 992px) {
    .package-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .package-details h3 {
        margin-top: 20px;
    }

    .package-list li {
        justify-content: flex-start;
        text-align: left;
    }
}


/* ========================================= */
/* ESTILOS DA SEÇÃO DESTAQUE PORTFÓLIO       */
/* ========================================= */

.highlight-section {
    position: relative;
    background-color: var(--white);
    padding-bottom: 80px;
}

.highlight-bg-green {
    background: linear-gradient(to right, #80c46b, #599d45);
    padding: 60px 0 160px 0; /* Espaço extra embaixo para os monitores subirem */
    position: relative;
}

.highlight-header-text h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.highlight-header-text p {
    color: var(--white);
    font-size: 16px;
    opacity: 0.9;
}

/* Configuração do SVG da Onda Branca */
.highlight-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.highlight-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Grid de Conteúdo (Monitores + Texto) */
.highlight-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: -140px; /* Isso puxa o conteúdo para cima, sobrepondo o fundo verde */
    position: relative;
    z-index: 10;
}

.highlight-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.highlight-details {
    padding-top: 40px;
}

.highlight-details h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.highlight-info-list p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.highlight-info-list span {
    color: var(--text-dark);
    font-weight: 700;
}

/* Botão Verde Claro Específico dessa seção */
.btn-green-light {
    background-color: #3ca34b;
    margin-top: 20px;
    border: none;
    font-weight: 600;
}

.btn-green-light:hover {
    background-color: #2c7a38;
}

/* Responsividade */
@media (max-width: 992px) {
    .highlight-content {
        grid-template-columns: 1fr; /* Muda para uma coluna só */
        margin-top: -80px;
        text-align: center;
    }
    
    .highlight-details {
        padding-top: 10px;
    }

    .highlight-wave svg {
        height: 60px; /* Diminui a altura da onda no celular */
    }
}



/* ========================================= */
/* ESTILOS DA PÁGINA "SOBRE A VALE"          */
/* ========================================= */

/* Hero "Sobre a Vale" */
.about-hero {
    background: linear-gradient(to right, #80c46b, #599d45);
    padding: 60px 0 120px 0;
    position: relative;
    text-align: center;
}

.about-hero-2 {
    padding: 60px 0 120px 0;
    position: relative;
    text-align: center;
}

.about-hero h1 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.about-hero p {
    color: var(--white);
    font-size: 16px;
    opacity: 0.9;
}

.about-hero-2 p {
    color: var(--black);
    font-size: 16px;
    opacity: 0.9;
}

.about-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.about-hero-wave-2 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.about-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

/* Seção do CEO */
.ceo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ceo-image-wrapper {
    position: relative;
    padding-left: 40px; /* Espaço para o badge vazar */
}

.ceo-img {
    width: 100%;

    border-radius: 10px;

}

.ceo-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ceo-badge strong {
    display: block;
    color: var(--primary-green);
    font-size: 18px;
    text-transform: uppercase;
}

.ceo-badge span {
    color: var(--text-gray);
    font-size: 12px;
}

.ceo-text h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.ceo-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Decorativos */
.green-swirl {
    color: var(--primary-green);
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0;
}
.big-swirl { font-size: 40px; }

.relative-section {
    position: relative;
    overflow: hidden;
}

/* Folhas Decorativas */
.leaf {
    position: absolute;
    color: var(--primary-green);
    opacity: 0.4;
    font-size: 30px;
    z-index: 1;
}
.leaf-1 { top: 10%; left: 10%; transform: rotate(-30deg); font-size: 40px; }
.leaf-2 { bottom: 15%; left: 30%; transform: rotate(15deg); }
.leaf-3 { top: 5%; right: 15%; transform: rotate(45deg); font-size: 45px; }
.leaf-4 { bottom: 10%; right: 10%; transform: rotate(-60deg); }

/* Seção Vale do Itajaí & Primeiro Site */
.itajai-grid, .first-site-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2; /* Ficar acima das folhas */
}

.itajai-text h3, .first-site-text h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.itajai-text p, .first-site-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.itajai-map img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

.first-site-mockups {
    text-align: center;
}

/* Trajetória Cards */
.trajectory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; /* Colados um no outro como na imagem */
    margin-top: 40px;
}

.traj-card {
    padding: 40px;
}

.traj-gray {
    background-color: #f5f5f5;
    border-radius: 10px 0 0 10px; /* Bordas arredondadas só na esquerda */
}

.traj-green {
    background-color: #8cc63f; /* Verde mais claro da imagem */
    color: var(--white);
    border-radius: 0 40px 0 0; /* Borda curva acentuada no topo direito, igual ao design */
}

.traj-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.traj-gray h4 { color: var(--text-dark); }
.traj-gray p { color: var(--text-gray); font-size: 14px;}
.traj-green p { color: var(--white); font-size: 14px;}

/* Grid Estrutura Fotos */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.structure-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.structure-img:hover {
    transform: scale(1.03);
}

/* Responsividade Geral Sobre */
@media (max-width: 992px) {
    .ceo-grid, .itajai-grid, .first-site-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trajectory-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .traj-gray { border-radius: 10px 10px 0 0; }
    .traj-green { border-radius: 0 0 10px 10px; }

    .structure-grid { grid-template-columns: repeat(2, 1fr); }
    
    .ceo-badge { left: 10px; bottom: 10px; }


}

@media (max-width: 768px) {
    .structure-grid { grid-template-columns: 1fr; }
    .leaf { display: none; } /* Esconde folhas no mobile para não poluir */
    .espaco-mobile {
        padding-bottom: 10px;
    }
    .highlight-bg-green {
        background: linear-gradient(to right, #80c46b, #599d45);
        padding: 20px 0 120px 0;
        position: relative;
    }
    .about-hero {
        background: linear-gradient(to right, #80c46b, #599d45);
        padding: 20px 0 110px 0;
        position: relative;
        text-align: center;
    }
    .padding-section {
        padding: 20px 0;
    }
    .ceo-image-wrapper {
        position: relative;
    }

}


/* ========================================= */
/* ESTILOS DA PÁGINA "NOSSA EQUIPE"          */
/* ========================================= */

/* Grid da Equipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: -30px; /* Puxa levemente para cima da onda */
    position: relative;
    z-index: 10;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

/* Fundo verde das fotos (com padrão de texto simulado e gradiente) */
.team-photo-bg {
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.05) 0px,
        rgba(255,255,255,0.05) 20px,
        transparent 20px,
        transparent 40px
    );
    height: 280px; /* Altura padrão para as fotos */
    display: flex;
    align-items: flex-end; /* Alinha a foto na base */
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-photo-bg img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 100%; /* Esta é a regra mágica que impede cortar a cabeça */
    object-fit: contain; 
    object-position: bottom; /* Garante que a imagem cole na base */
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2)); 
}

.team-name {
    padding: 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* Grid do Churrasco / Agência */
.churrasco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.churrasco-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.churrasco-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.churrasco-gallery img {
    width: 100%;
    height: 220px; /* Altura para manter o mosaico uniforme */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.churrasco-gallery img:hover {
    transform: scale(1.02);
}

/* Responsividade da Equipe */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .churrasco-grid {
        grid-template-columns: 1fr;
    }
    .churrasco-main img {
        height: 300px; /* Limita altura no tablet/mobile */
    }

    .about-hero-2 {
        padding: 20px 0 40px 0;
        position: relative;
        text-align: center;
    }

    .about-hero-wave-2 {
        display:none;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr; /* 1 coluna no celular */
        margin-top: 0;
    }
    .churrasco-gallery {
        grid-template-columns: 1fr; /* 1 coluna de fotos no celular */
    }
    .churrasco-gallery img {
        height: auto; 
    }
}


/* ========================================= */
/* ESTILOS DA PÁGINA "TRABALHE CONOSCO"      */
/* ========================================= */

.worked-form-section {
    background-color: var(--white);
    margin-top: -60px; /* Faz o card subir um pouco sobre a onda */
    position: relative;
    z-index: 20;
}

.form-card {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.form-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.job-form .form-row {
    margin-bottom: 20px;
}

.job-form .two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.job-form input, 
.job-form select, 
.job-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background-color: #fafafa;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.job-form input:focus, 
.job-form select:focus, 
.job-form textarea:focus {
    border-color: var(--primary-green);
}

.job-form .full-width {
    width: 100%;
}

/* Estilização do Campo de Arquivo (CV) */
.file-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 8px 15px;
    background-color: #fafafa;
}

.file-input-wrapper input[type="file"] {
    display: none; /* Esconde o input feio padrão */
}

.btn-file {
    background-color: #eee;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: background 0.3s;
}

.btn-file:hover {
    background-color: #ddd;
}

#file-name {
    font-size: 13px;
    color: #888;
}

/* Responsividade do Formulário */
@media (max-width: 768px) {
    .form-card {
        padding: 30px 20px;
    }
    
    .job-form .two-cols {
        grid-template-columns: 1fr; /* Empilha no mobile */
        gap: 20px;
    }

    .file-input-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================= */
/* ESTILOS DA PÁGINA DE CONTATO              */
/* ========================================= */

.contact-hero {
    background: linear-gradient(to right, #80c46b, #599d45);
    padding: 60px 0 100px 0;
    position: relative;
    text-align: center;
}

.contact-hero h1 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-hero p {
    color: var(--white);
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.contact-hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Grid Principal */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 20px;
}

.contact-title {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Estilo do Formulário */
.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fcfcfc;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Coluna de Informações */
.contact-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-green);
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.info-text {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* Botão WhatsApp CTA */
.wpp-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #3ca34b;
    color: var(--white);
    padding: 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    border: none;
}

.wpp-cta-button:hover {
    background-color: #2c7a38;
}

/* Responsividade */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .contact-info-wrapper {
        grid-template-columns: 1fr;
    }
    .btn-full-mobile {
        width: 100%;
    }
}

/* ESTILO DO BADGE (O selo no topo) */
.section-header .badge-destaque {
    display: inline-block;
    background-color: var(--primary-green, #3ca34b);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* ESTILO DO H2 (Título principal do Case) */
.section-header .case-titulo {
    font-size: 1.5rem; /* Ajuste o tamanho conforme necessário */
    font-weight: 800; /* Bem negrito */
    color: #333333;
    margin: 0 0 10px 0; /* Remove a margem superior e mantém espaço embaixo */
    line-height: 1.2;
    text-transform: uppercase;
}

/* ESTILO DO PARÁGRAFO (O subtítulo do Case) */
.section-header .case-subtitulo {
    font-size: 1.1rem; /* Menor que o título */
    font-weight: 400; /* Texto normal */
    color: #666666; /* Cinza claro */
    margin: 0; /* Remove margens para ficar perto do H2 */
    line-height: 1.4;
}


.case-h3 {
    text-align: left;
    margin-bottom: 15px;
    font-size: 1.5rem; /* Ajuste o tamanho se necessário */
    font-weight: 700;  /* Deixa o texto em negrito */
    color: #333333;    /* Cor escura para combinar com o resto do texto */
}

.stat-item .stat-number {
    font-size: 1.75rem; /* Tamanho padrão aproximado de um h3, ajuste conforme o seu tema */
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    color: inherit; /* Mantém a cor que já estava sendo herdada */
}

p.experience-number {
    font-size: 25px;
    color: var(--primary-green);
    font-weight: bold;
}

.whatsapp-link {
    text-decoration: none; /* Remove o sublinhado */
    color: inherit;        /* Mantém a cor do texto ao redor */
    display: inline-flex;
    align-items: center;
    gap: 8px;              /* Espaço entre o ícone e o número */
}

.whatsapp-link:hover {
    opacity: 0.8;          /* Dá um efeito visual ao passar o mouse */
}

.stat-value {
    display: block;       /* Faz o texto ocupar a linha toda como o h3 */
    font-size: 28px;      /* Tamanho que estava no seu h3 original */
    font-weight: bold;    /* Mantém o negrito */
    color: var(--text-dark);
    margin-top: 10px;     /* Ajuste de espaçamento comum de headers */
    margin-bottom: 10px;
}


/* Estilos baseados nas imagens enviadas */
.pricing-bar {
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 30px 0;
    border-bottom: 5px solid var(--primary-green);
}
.pricing-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.price-tag h2 { color: var(--primary-green); font-size: 32px; margin: 0; }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.pillar-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}
.pillar-card i { font-size: 40px; color: var(--primary-green); margin-bottom: 20px; }
.pillar-card h3 { font-size: 18px; margin-bottom: 15px; text-transform: uppercase; }
.pillar-card p { font-size: 14px; color: var(--text-gray); }

.admin-section { background: #fff; padding: 80px 0; }
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 50px;
}
.admin-item i { font-size: 45px; color: #555; margin-bottom: 20px; }

.map-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-image img { width: 100%; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); }

.contact-page-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin-top: 50px; }
.contact-form-box { background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-form-box input, .contact-form-box textarea {
    width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px;
}
.info-tiles { display: flex; flex-direction: column; gap: 15px; }
.info-tile {
    display: flex; align-items: center; gap: 15px;
    background: #f1f1f1; padding: 20px; border-radius: 10px; transition: 0.3s;
}
.info-tile:hover { background: var(--light-green); }
.info-tile i { font-size: 24px; color: var(--primary-green); }

@media (max-width: 768px) {
    .map-section, .contact-page-grid { grid-template-columns: 1fr; }
    .pricing-bar .container { justify-content: center; text-align: center; }
}


/* Estilos baseados nas imagens enviadas */
.pricing-bar {
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 30px 0;
    border-bottom: 5px solid var(--primary-green);
}
.pricing-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.price-tag h2 { color: var(--primary-green); font-size: 32px; margin: 0; }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.pillar-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}
.pillar-card i { font-size: 40px; color: var(--primary-green); margin-bottom: 20px; }
.pillar-card h3 { font-size: 18px; margin-bottom: 15px; text-transform: uppercase; }
.pillar-card p { font-size: 14px; color: var(--text-gray); }

.admin-section { background: #fff; padding: 80px 0; }
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 50px;
}
.admin-item i { font-size: 45px; color: #555; margin-bottom: 20px; }

.map-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-image img { width: 100%; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); }

.contact-page-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin-top: 50px; }
.contact-form-box { background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-form-box input, .contact-form-box textarea {
    width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px;
}
.info-tiles { display: flex; flex-direction: column; gap: 15px; }
.info-tile {
    display: flex; align-items: center; gap: 15px;
    background: #f1f1f1; padding: 20px; border-radius: 10px; transition: 0.3s;
}
.info-tile:hover { background: var(--light-green); }
.info-tile i { font-size: 24px; color: var(--primary-green); }

@media (max-width: 768px) {
    .map-section, .contact-page-grid { grid-template-columns: 1fr; }
    .pricing-bar .container { justify-content: center; text-align: center; }
    .contact-hero {
        background: linear-gradient(to right, #80c46b, #599d45);
        padding: 20px 0 100px 0;
        position: relative;
        text-align: center;
    }
}

















/* ========================================= */
/* ESTILOS DA PÁGINA DO POST (BLOG / ARTIGO) */
/* ========================================= */

.post-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.post-title-main {
    font-size: 38px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.post-featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.content-html {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.content-html img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.content-html h2,
.content-html h3 {
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 20px;
}

.content-html a {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: bold;
}

/* Compartilhar */
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s;
    font-size: 18px;
}

.share-btn:hover {
    transform: translateY(-3px);
    color: var(--white);
}

/* Caixa do Autor */
.author-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.author-box img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.author-box p {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.author-social a {
    color: var(--text-gray);
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.3s;
}

.author-social a:hover {
    color: var(--primary-green);
}

/* Sidebar (Artigos Recentes) */
.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
    text-transform: uppercase;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-post-item .date {
    font-size: 11px;
    color: #999;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.recent-post-item h4 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.recent-post-item h4 a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.recent-post-item h4 a:hover {
    color: var(--primary-green);
}

/* Responsividade Mobile para Artigo */
@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr; /* Quebra para 1 coluna no celular e tablet */
        gap: 30px;
    }

    .post-title-main {
        font-size: 22px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .sidebar-widget {
        position: relative;
        top: 0;
    }
}


/* ========================================= */
/* CSS DOS CARROSEIS DA AMAZON EMBUTIDOS     */
/* ========================================= */
.dsc-wrapper { position: relative; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.75rem 56px; box-sizing: border-box; box-shadow: 0 2px 12px rgba(0,0,0,0.04); margin: 30px 0;}
.dsc-track { display: flex; overflow-x: auto; gap: 20px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
.dsc-track::-webkit-scrollbar { display: none; }

.btn-carousel-prev, .btn-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); cursor: pointer; display: flex; align-items: center; justify-content: center; color: #334155; z-index: 5; transition: background 0.2s, box-shadow 0.2s; padding: 0; }
.btn-carousel-prev { left: 10px; }
.btn-carousel-next { right: 10px; }
.btn-carousel-prev:hover, .btn-carousel-next:hover { background: #f1f5f9; box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.btn-carousel-prev::before { content: "\F284"; font-family: "bootstrap-icons" !important; font-size: 1.4rem; -webkit-text-stroke: 1px; }
.btn-carousel-next::before { content: "\F285"; font-family: "bootstrap-icons" !important; font-size: 1.4rem; -webkit-text-stroke: 1px; }

.dsc-item { flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start; box-sizing: border-box; background: #ffffff; border: 1px solid #e9ecef; border-radius: 0.75rem; padding: 1.25rem 1rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; transition: box-shadow 0.2s, transform 0.2s; text-decoration: none; }
.dsc-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); transform: translateY(-3px); }

.dsc-img-wrap { width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; height: 130px; overflow: hidden; }
.dsc-img-wrap img { max-width: 120px; max-height: 120px; object-fit: contain; transition: transform 0.3s ease; box-shadow: none !important;}
.dsc-item:hover .dsc-img-wrap img { transform: scale(1.07); }

.dsc-titulo { font-size: 0.85rem; font-weight: 700; color: #1e40af; line-height: 1.45; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; flex: 1; width: 100%; }
.dsc-titulo:hover { text-decoration: underline; color: #1e40af; }

.dsc-btn-amz { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 9px 14px; background: #F7CA00; border: 1.5px solid #d1d5db; border-radius: 8px; color: #0f1111; font-size: 0.875rem; font-weight: 700; text-decoration: none !important; transition: background 0.18s, border-color 0.18s, box-shadow 0.18s; white-space: nowrap; margin-top: auto; }
.dsc-btn-amz:hover { background: #fcd200; border-color: #f0a500; box-shadow: 0 2px 8px rgba(240,165,0,0.15); color: #0f1111; }
.dsc-btn-amz::before, .dsc-btn-amz::after { content: none !important; }

@media (max-width: 768px) {
    .dsc-item { flex: 0 0 calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
}
@media (max-width: 640px) {
    .dsc-wrapper { padding: 1.25rem 40px !important; }
    .dsc-item { flex: 0 0 100% !important; max-width: 100% !important; scroll-snap-align: center !important; }
    .btn-carousel-prev, .btn-carousel-next { display: flex !important; width: 32px !important; height: 32px !important; }
    .btn-carousel-prev { left: 4px !important; }
    .btn-carousel-next { right: 4px !important; }
    .btn-carousel-prev::before, .btn-carousel-next::before { font-size: 1.1rem !important; }
    .dsc-track { gap: 15px !important; padding-bottom: 10px !important; }
}

/* ==========================================================================
   COMPORTAMENTO DA BARRA LATERAL (POSTS) - ARTIGOS RECENTES E SUMÁRIO (TOC)
   ========================================================================== */

/* Garante que os widgets normais (como Artigos Recentes) rolem normalmente com a página */
.post-sidebar .sidebar-widget {
    position: static !important;
    margin-bottom: 30px;
}

/* Transforma APENAS o widget do Sumário (identificado pelo ID) em fixo (sticky) */
#toc-widget {
    position: sticky !important;
    top: 20px;
    padding-bottom: 20px;
    z-index: 10;

    /* Previne que o sumário corte se for maior que a tela */
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Deixa a barra de rolagem do sumário (se houver) fininha e elegante */
#toc-widget::-webkit-scrollbar {
    width: 4px;
}
#toc-widget::-webkit-scrollbar-thumb {
    background-color: var(--border-color, #ccc);
    border-radius: 4px;
}

/* Container do Sumário */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Estilo comum para os itens (Li) */
.toc-list li {
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Links do Sumário */
.toc-list a {
    text-decoration: none;
    color: var(--text-gray, #666);
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--primary-green, #3ca34b);
}

/* Hierarquia: H2 vs H3 */
.toc-item-h2 {
    font-size: 1em;
    font-weight: 600;
}

.toc-item-h3 {
    font-size: 0.9em;

}

/* Estilo da Setinha do H3 */
.toc-arrow {
    font-size: 0.8rem;
    color: #adb5bd;
}

/* ========================================= */
/* ESTILOS DA PÁGINA DE BLOG (LISTAGEM GERAL)*/
/* ========================================= */

.blog-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Formulário de Busca Instantânea */
.search-widget-form {
    position: relative;
    display: flex;
}

.search-widget-form input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s, background-color 0.3s;
    background-color: var(--bg-light);
}

.search-widget-form input:focus {
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(60, 163, 75, 0.1);
}

.search-widget-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.2s;
}

.search-widget-form button:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Lista de Categorias Lateral */
.category-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-sidebar-list li {
    border-bottom: 1px dashed var(--border-color);
}

.category-sidebar-list li:last-child {
    border-bottom: none;
}

.category-sidebar-list a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 15px;
}

.category-sidebar-list a i {
    font-size: 12px;
    color: var(--primary-green);
    margin-right: 10px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.category-sidebar-list a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.category-sidebar-list a:hover i {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 992px) {
    .blog-page-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        order: 2;
    }
}