/*
Theme Name: Eco Ambiental
Theme URI: https://ecoambiental.com.br
Author: AgroTec
Author URI: https://ecoambiental.com.br
Description: Tema personalizado para o site Eco Ambiental — AgroTec.
Version: 1.0.0
License: Proprietary
Text Domain: ecoambiental
*/

/* =========================
RESET
========================= */

html {
    scroll-behavior: smooth;
}

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

body{
    font-family:'Poppins', sans-serif;
    overflow-x:hidden;
}

/* =========================
BACK TO TOP BUTTON
========================= */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #c26a1b;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

#backToTop:hover {
    background-color: #d97b26;
    transform: translateY(-3px);
}

/* =========================
HEADER
========================= */

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    z-index: 9999;
    
    /* Estado Inicial: Transparente */
    background: rgba(255, 255, 255, 0);
    transition: all 0.4s ease;
}

.top-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 8%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Header fixo para páginas internas (sem slider) */
.top-header.internal-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Logo */

.logo{
    font-size:1.8rem;
    font-weight:800;
    color:#2f7d32;
    letter-spacing:1px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo span{
    color:#c26a1b;
}

/* Navbar */

.navbar{
    display:flex;
    align-items:center;
    gap:40px;
}

.navbar a{
    text-decoration:none;
    color:#222;
    font-size:0.95rem;
    font-weight:500;
    transition:0.3s;
}

.navbar a:hover{
    color:#2f7d32;
}

/* Link ativo na nav */
.nav-active {
    color: #c26a1b !important;
}

/* =========================
DROPDOWN
========================= */

.dropdown{
    position:relative;
}

/* Menu */

.dropdown-menu{
    position:absolute;
    top:140%;
    left:0;
    min-width:240px;
    background:#fff;
    border-radius:14px;
    padding:14px 0;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:0.35s ease;
    z-index:999;
}

/* Links */

.dropdown-menu a{
    display:block;
    padding:14px 24px;
    color:#1f2d29;
    font-size:0.92rem;
    transition:0.3s ease;
}

/* Hover links */

.dropdown-menu a:hover{
    background:#f6f6f2;
    color:#c26a1b;
    padding-left:30px;
}

/* Mostrar dropdown */

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* Botão destaque */

.contact-btn{
    background:#c26a1b;
    color:#fff !important;
    padding:14px 22px;
    border-radius:4px;
    font-weight:700;
}

/* Espaço para o slider não ficar atrás */

.hero-slider{
    margin-top:90px;
}

/* =========================
RESPONSIVO
========================= */

@media(max-width:900px){

    .top-header{
        flex-direction:column;
        gap:20px;
    }

    .navbar{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

    .logo{
        font-size:1.5rem;
    }
}

@media(max-width:600px){

    .top-header{
        padding:18px 5%;
    }

    .navbar a{
        font-size:0.85rem;
    }

    .contact-btn{
        padding:12px 18px;
    }
}

/* =========================
HERO SLIDER
========================= */

.hero-slider{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    background:#10221c;
}

/* Overlay geral */

.hero-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:
    linear-gradient(
        90deg,
        rgba(10,20,18,0.88) 20%,
        rgba(10,20,18,0.55) 55%,
        rgba(10,20,18,0.25) 100%
    );
    z-index:2;
}

/* Slides */

.slide{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    opacity:0;
    visibility:hidden;
    transition:1s ease-in-out;
    overflow: hidden;
}

/* Imagem do slide cobre o container inteiro como um background-image */
.slide > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.slide.active{
    opacity:1;
    visibility:visible;
}

/* Overlay individual */

.overlay{
    position:absolute;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    background:
    linear-gradient(
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.45)
    );
    z-index: 1;
}

/* Garante que o conteúdo fique acima da imagem e do overlay */
.slide-content{
    z-index: 3;
}

/* Conteúdo */

.slide-content{
    position:absolute;
    top:50%;
    left:8%;
    transform:translateY(-50%);
    color:#fff;
    max-width:760px;
    z-index:5;
}

/* Tag superior */

.hero-tag{
    display:inline-block;
    color:#9dc5b8;
    font-size:0.9rem;
    font-weight:600;
    letter-spacing:3px;
    margin-bottom:28px;
    text-transform:uppercase;
    opacity:0;
}

/* Headline */

.slide-content h1{
    font-size:3.2rem;
    line-height:1.05;
    font-weight:700;
    margin-bottom:30px;
    color:#f5f5f2;
    opacity:0;
}

.slide-content h1 span{
    color:#c26a1b;
}

/* Texto */

.slide-content p{
    font-size:1.15rem;
    line-height:1.9;
    color:rgba(255,255,255,0.78);
    max-width:620px;
    margin-bottom:40px;
    opacity:0;
}

/* Botões */

.hero-buttons{
    display:flex;
    gap:18px;
    opacity:0;
}

/* Botão base */

.hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:17px 34px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Botão principal */

.primary-btn{
    background:#c26a1b;
    color:#fff;
}

.primary-btn:hover{
    background:#d97b26;
    transform:translateY(-2px);
}

/* Botão secundário */

.secondary-btn{
    border:1px solid rgba(255,255,255,0.18);
    background:rgba(255,255,255,0.06);
    backdrop-filter:blur(6px);
    color:#fff;
}

.secondary-btn:hover{
    background:rgba(255,255,255,0.12);
}

/* Navegação */

.nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(12px);
    color:#fff;
    font-size:1.8rem;
    cursor:pointer;
    z-index:10;
    transition:0.35s ease;
}

.nav:hover{
    background:#c26a1b;
}

.prev{
    left:25px;
}

.next{
    right:25px;
}

/* Dots */

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

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,0.4);
    cursor:pointer;
    transition:0.35s ease;
}

.dot.active{
    background:#c26a1b;
    transform:scale(1.15);
}

/* =========================
ANIMAÇÕES
========================= */

.slide.active .hero-tag{
    animation:fadeUp 0.7s ease forwards;
}

.slide.active h1{
    animation:fadeUp 1s ease forwards;
}

.slide.active p{
    animation:fadeUp 1.2s ease forwards;
}

.slide.active .hero-buttons{
    animation:fadeUp 1.4s ease forwards;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(35px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
RESPONSIVO
========================= */

@media(max-width:1200px){

    .slide-content h1{
        font-size:4.2rem;
    }
}

@media(max-width:992px){

    .slide-content{
        max-width:90%;
    }

    .slide-content h1{
        font-size:3.5rem;
    }
}

@media(max-width:768px){

    .hero-slider{
        height:92vh;
    }

    .slide-content{
        left:6%;
        right:6%;
    }

    .slide-content h1{
        font-size:2.7rem;
    }

    .slide-content p{
        font-size:1rem;
        line-height:1.8;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-btn{
        width:100%;
    }

    .nav{
        width:48px;
        height:48px;
    }
}

@media(max-width:480px){

    .slide-content h1{
        font-size:2.2rem;
    }

    .hero-tag{
        font-size:0.75rem;
    }
}

/* =========================
NÚCLEOS ESTRATÉGICOS (ESTILO IMAGEM)
========================= */

.strategic-section {
    padding: 100px 8%;
    background: #fff;
}

.section-header {
    text-align: left;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 600;
}

.strategic-horizontal {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* Card */
.strategic-card {
    position: relative;
    min-width: 300px;
    height: 520px;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform 0.4s ease;
}

/* Imagem do card cobre todo o espaço como background */
.strategic-card > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
}

.strategic-card:hover > img {
    transform: scale(1.05);
}

.strategic-card:hover {
    transform: scale(1.02);
}

/* Overlay Escuro para leitura do texto */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    transition: background 0.5s ease;
    z-index: 1;
}

.strategic-card:hover .card-overlay {
    background: rgba(0, 30, 60, 0.75);
}

/* Conteúdo Interno */
.card-content {
    position: relative;
    padding: 40px 30px;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.card-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.strategic-card:hover h3 {
    transform: translateY(-10px);
}

.hover-reveal {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    overflow: hidden;
}

.strategic-card:hover .hover-reveal {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.hover-reveal p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.card-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 90%;
}

.card-link {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.card-link:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.btn-saber-mais {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-saber-mais:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* Botão de Seta Circular */
.arrow-btn {
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.arrow-btn svg {
    width: 24px;
    height: 24px;
}

.arrow-btn:hover {
    background: #fff;
    color: #2f7d32;
    border-color: #fff;
}

/* Responsivo */
@media(max-width: 1024px) {
    .strategic-horizontal {
        gap: 10px;
    }
    .strategic-card {
        min-width: 250px;
        height: 450px;
    }
}

@media(max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    .strategic-horizontal {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }
    .strategic-card {
        scroll-snap-align: start;
        min-width: 85%;
    }
}

/* PARCEIROS */
.partners-section {
    padding: 120px 8%;
    display: flex;
    align-items: center;
    gap: 80px;
    background: #fff;
}

.partners-info {
    flex: 1;
    max-width: 480px;
}

.partners-info h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 25px;
}

.partners-info p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
}

.btn-all-partners {
    display: inline-block;
    background: #c26a1b;
    color: #fff;
    padding: 18px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s ease;
}

.btn-all-partners:hover {
    background: #d97b26;
    transform: translateY(-3px);
}

.partners-divider {
    width: 1px;
    align-self: stretch;
    background: #f0f0f0;
}

.partners-slider {
    flex: 2;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 40px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card {
    min-width: calc(50% - 20px);
    background: transparent;
    height: 350px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
    border: none;
}

.partner-card:hover {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transform: none;
}

.partner-card img {
    max-width: 100%;
    max-height: 220px; 
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .partners-section {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    .partners-divider {
        display: none;
    }
    .partners-info {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .partners-section {
        flex-direction: column;
        text-align: left;
        gap: 40px;
    }
    .partners-info {
        max-width: 100%;
    }
    .partners-divider {
        display: none;
    }
    .partners-grid {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .partner-card {
        min-width: 100%;
        height: 250px;
    }
    
    .partner-card img {
        max-height: 160px;
    }
}

/*SOBRE*/
.about-section {
    padding: 140px 8%;
    background: #9dc5b8;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: block;
    object-fit: contain;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #c26a1b;
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(194, 106, 27, 0.3);
}

.experience-badge span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    flex: 1.2;
}

.about-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #1f2d29;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.feature-item strong {
    display: block;
    font-size: 1.1rem;
    color: #1f2d29;
    margin-bottom: 8px;
}

.feature-item span {
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 1100px) {
    .about-container {
        flex-direction: column;
        gap: 60px;
    }

    .about-image {
        max-width: 500px;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 6%;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    padding: 120px 8%;
    background: #f9f9f9;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 2.6rem;
    color: #1f2d29;
    margin-top: 15px;
}

.contact-form {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2d29;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s ease;
    background: #fdfdfd;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #c26a1b;
    background: #fff;
}

.full-width {
    grid-column: span 2;
    margin-top: 10px;
}

.form-footer {
    margin-top: 40px;
    text-align: center;
}

.form-footer button {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 6%;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .contact-header h2 {
        font-size: 2rem;
    }
}

.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 100px 8% 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: #c26a1b;
    transform: translateY(-3px);
}

.footer-grid h3 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c26a1b;
}

.footer-nav ul, 
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li, 
.footer-services ul li {
    margin-bottom: 15px;
}

.footer-nav ul li a, 
.footer-services ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.footer-nav ul li a:hover {
    color: #c26a1b;
    padding-left: 5px;
}

.footer-contact-info p {
    color: #aaa;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom .divider {
    height: 1px;
    background: #2a2a2a;
    margin-bottom: 40px;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #aaa;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 80px 6% 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =========================
IMPACT STATS
========================= */
.impact-stats {
    background: #1f2d29;
    padding: 80px 8%;
    color: #fff;
}

.impact-stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #c26a1b;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 1rem;
    color: #aaa;
    font-weight: 500;
}

/* =========================
TESTIMONIALS
========================= */
.testimonials {
    padding: 100px 8%;
    background: #fdfdfd;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1f2d29;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4rem;
    color: #c26a1b;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-details strong {
    display: block;
    color: #1f2d29;
    font-size: 1rem;
}

.client-details span {
    color: #888;
    font-size: 0.85rem;
}

/* =========================
INSIGHTS & BLOG
========================= */
.insights-section {
    padding: 100px 8%;
    background: #fff;
}

.insights-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
    gap: 40px;
}

/* Lead Magnet Styling */
.lead-magnet-box {
    background: #f4f1ea;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-left: 5px solid #c26a1b;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}

.lead-content h4 {
    color: #1f2d29;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.lead-content p {
    font-size: 0.9rem;
    color: #6b7470;
}

.download-btn {
    background: #c26a1b;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.download-btn:hover {
    background: #a05614;
    transform: translateY(-2px);
}

/* Blog List — layout horizontal compacto */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
}

.blog-list-card {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}

.blog-list-img {
    position: relative;
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-list-card:hover .blog-list-img img {
    transform: scale(1.06);
}

.blog-list-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #c26a1b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-list-body {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.blog-list-body h3 {
    font-size: 1.15rem;
    color: #1f2d29;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.blog-list-body p {
    font-size: 0.92rem;
    color: #6b7470;
    line-height: 1.65;
    margin: 0;
}

/* Mantém os estilos antigos para blog-grid (usado no portfolio.html) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-info {
    padding: 30px;
}

.blog-date {
    font-size: 0.85rem;
    color: #c26a1b;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.blog-info h3 {
    font-size: 1.4rem;
    color: #1f2d29;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-info p {
    color: #6b7470;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.read-more {
    text-decoration: none;
    color: #c26a1b;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
    margin-top: auto;
}

.read-more:hover {
    color: #1f2d29;
}

@media (max-width: 640px) {
    .blog-list-card {
        flex-direction: column;
    }
    .blog-list-img {
        width: 100%;
        min-width: unset;
        height: 180px;
    }
    .blog-list-body {
        padding: 22px 20px;
    }
}

.service-card, .partner-card, .blog-card, .feature-item {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.3s ease;
    will-change: transform;
}

.service-card:hover, .partner-card:hover, .blog-card:hover, .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 480px) {
    .lead-magnet-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* =========================
SOBRE NÓS — PAGE STYLES
========================= */

/* Hero */
.sobre-hero {
    background: linear-gradient(rgba(31, 45, 41, 0.88), rgba(31, 45, 41, 0.88)),
                url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 180px 8% 100px;
    color: #fff;
}

.sobre-hero-content {
    max-width: 850px;
}

.sobre-hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 800;
}

.sobre-hero-content h1 span {
    color: #c26a1b;
}

.sobre-hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
}

/* Stats bar (sobre-nos) */
.stats-bar {
    background: #1f2d29;
    padding: 60px 8%;
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stat-item-sobre {
    padding: 0 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item-sobre:last-child {
    border-right: none;
}

.stat-item-sobre strong {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #c26a1b;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item-sobre span {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    font-weight: 500;
}

/* Manifesto Section */
.manifesto-section {
    padding: 100px 8%;
    background: #fff;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.manifesto-text .section-tag {
    display: inline-block;
    color: #2f7d32;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.manifesto-text h2 {
    font-size: 2.8rem;
    color: #1f2d29;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.manifesto-text h2 span {
    color: #c26a1b;
}

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

.manifesto-visual {
    position: relative;
}

.manifesto-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    height: 480px;
    position: relative;
}

.manifesto-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manifesto-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #c26a1b;
    color: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(194, 106, 27, 0.35);
}

.manifesto-badge strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.manifesto-badge span {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Pilares Section */
.pilares-section {
    padding: 100px 8%;
    background: #f9fbf9;
    border-top: 1px solid #eee;
}

.pilares-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pilar-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 45px 40px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pilar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2f7d32, #c26a1b);
    opacity: 0;
    transition: 0.3s;
}

.pilar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}

.pilar-card:hover::before {
    opacity: 1;
}

.pilar-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: block;
}

.pilar-card h3 {
    font-size: 1.3rem;
    color: #1f2d29;
    font-weight: 700;
    margin-bottom: 15px;
}

.pilar-card h3 span {
    color: #c26a1b;
}

.pilar-card p {
    color: #666;
    line-height: 1.75;
    font-size: 0.98rem;
}

/* Trajetória / Timeline Section */
.trajetoria-section {
    padding: 100px 8%;
    background: #1f2d29;
    color: #fff;
}

.trajetoria-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.trajetoria-section .section-header h2 {
    font-size: 2.8rem;
    color: #fff;
    font-weight: 800;
}

.trajetoria-tag {
    color: #c26a1b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
}

.trajetoria-desc {
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.75;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: rgba(255,255,255,0.15);
}

.timeline-item {
    text-align: center;
    padding: 0 30px;
    position: relative;
}

.timeline-dot {
    width: 72px;
    height: 72px;
    background: rgba(194, 106, 27, 0.15);
    border: 2px solid #c26a1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.timeline-item h3 {
    font-size: 1.25rem;
    color: #c26a1b;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-item p {
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    font-size: 0.97rem;
}

/* Diferenciais Section */
.diferenciais-section {
    padding: 100px 8%;
    background: #fff;
}

.diferenciais-layout {
    display: flex;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.diferenciais-content {
    flex: 1;
    min-width: 320px;
}

.diferenciais-content .section-tag {
    display: inline-block;
    color: #2f7d32;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.diferenciais-content h2 {
    font-size: 2.6rem;
    color: #1f2d29;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
}

.diferencial-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.diferencial-num {
    min-width: 48px;
    height: 48px;
    background: #1f2d29;
    color: #c26a1b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.diferencial-text h4 {
    font-size: 1.1rem;
    color: #1f2d29;
    font-weight: 700;
    margin-bottom: 8px;
}

.diferencial-text p {
    color: #666;
    line-height: 1.7;
    font-size: 0.97rem;
}

.diferenciais-cta-box {
    flex: 1;
    min-width: 320px;
    background: #f9fbf9;
    border: 1px solid #eee;
    border-radius: 28px;
    padding: 55px 50px;
    text-align: center;
}

.diferenciais-cta-box h3 {
    font-size: 1.6rem;
    color: #1f2d29;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.diferenciais-cta-box p {
    color: #666;
    line-height: 1.75;
    margin-bottom: 35px;
    font-size: 1rem;
}

.diferenciais-btn-full {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.diferenciais-link-cases {
    display: block;
    text-align: center;
    color: #1f2d29;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.diferenciais-link-cases:hover {
    color: #c26a1b;
}

/* =========================
SOBRE NÓS — RESPONSIVO
========================= */

@media (max-width: 1024px) {
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .manifesto-img-wrapper {
        height: 350px;
    }
    .pilares-grid {
        grid-template-columns: 1fr 1fr;
    }
    .timeline {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .timeline::before { display: none; }
    .stats-bar-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .stat-item-sobre {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .sobre-hero { padding: 140px 6% 80px; }
    .sobre-hero-content h1 { font-size: 2.6rem; }
    .manifesto-section,
    .pilares-section,
    .trajetoria-section,
    .diferenciais-section { padding: 70px 6%; }
    .manifesto-text h2 { font-size: 2.1rem; }
    .pilares-grid { grid-template-columns: 1fr; }
    .trajetoria-section .section-header h2 { font-size: 2rem; }
    .diferenciais-content h2 { font-size: 2rem; }
    .diferenciais-cta-box { padding: 40px 30px; }
    .stats-bar-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .sobre-hero-content h1 { font-size: 2rem; }
    .stats-bar-inner {
        grid-template-columns: 1fr;
    }
    .stat-item-sobre strong { font-size: 2.2rem; }
}

/* =========================
WHATSAPP FLOAT BUTTON
========================= */

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ESG Grid responsive */
@media (max-width: 768px) {
    .esg-solutions-grid {
        grid-template-columns: 1fr !important;
    }
    .esg-solutions-grid .detail-card[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
}

/* =========================
INTERNAL HERO — páginas internas (carbono, esg, consultoria)
========================= */

/* Base: funciona tanto com background-image (inline style) quanto com <img> filho */
.internal-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-end;
    padding: 180px 8% 100px;
    color: #fff;
    overflow: hidden;
    background-color: #1f2d29;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Quando há um <img> como filho direto (carbono.html), ele age como background */
.internal-hero > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Overlay escuro automático por cima da imagem */
.internal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(31, 45, 41, 0.85),
        rgba(31, 45, 41, 0.85)
    );
    z-index: 1;
}

/* O conteúdo (div com texto) fica acima do overlay */
.internal-hero > div {
    position: relative;
    z-index: 2;
}

/* Cor do span dentro dos títulos internos */
.internal-hero h1 span {
    color: #c26a1b;
}

/* Responsivo */
@media (max-width: 768px) {
    .internal-hero {
        padding: 140px 6% 80px;
        min-height: auto;
    }
    .internal-hero h1 {
        font-size: 2.6rem !important;
    }
}

@media (max-width: 480px) {
    .internal-hero h1 {
        font-size: 2rem !important;
    }
}

/* =========================
FIX WORDPRESS GLOBAL STYLES
O WordPress injeta estilos globais que aplicam backgrounds
pretos em imagens PNG transparentes. Este bloco corrige isso.
========================= */

img,
.about-image img,
.footer-logo,
.logo img,
.manifesto-img-wrapper img,
.strategic-card > img,
.slide > img,
figure img,
.wp-block-image img,
.wp-post-image {
    background: transparent !important;
    background-color: transparent !important;
}

/* Remove backgrounds injetados pelo WP em containers */
.has-background,
.wp-block-group,
.entry-content img {
    background: transparent !important;
}

/* Garante que o body do WP não injete cor de fundo global */
body {
    background-color: #fff !important;
}
