/* ========================================
   RENOVA CAMPO - STYLESHEET
   ======================================== */

/* Variables */
:root {
    --verde-principal: #004F3B;
    --verde-claro: #006B4F;
    --laranja: #E95E1D;
    --laranja-hover: #cf5015;
    --fundo: #f8f8f5;
    --branco: #ffffff;
    --texto: #333333;
    --texto-claro: #666666;
    --cinza-claro: #e0e0e0;
    --cinza-bg: #f5f5f5;
    --sombra: 0 4px 15px rgba(0, 0, 0, 0.1);
    --sombra-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --sombra-card: 0 4px 20px rgba(0, 79, 59, 0.08);
    --sombra-card-hover: 0 12px 35px rgba(0, 79, 59, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--fundo);
    color: var(--texto);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--laranja);
    color: var(--branco);
    border-color: var(--laranja);
}

.btn-primary:hover {
    background-color: var(--laranja-hover);
    border-color: var(--laranja-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 94, 29, 0.3);
}

.btn-secondary {
    background-color: var(--branco);
    color: var(--verde-principal);
    border-color: var(--branco);
}

.btn-secondary:hover {
    background-color: var(--fundo);
}

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

.btn-outline:hover {
    background-color: var(--verde-principal);
    color: var(--branco);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 79, 59, 0.3);
}

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

.btn-outline-orange:hover {
    background-color: var(--laranja);
    color: var(--branco);
}

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

.btn-outline-white:hover {
    background-color: var(--branco);
    color: var(--verde-principal);
}

.btn-white {
    background-color: var(--branco);
    color: var(--verde-principal);
    border-color: var(--branco);
}

.btn-white:hover {
    background-color: var(--fundo);
    border-color: var(--fundo);
}

.btn-outline-green {
    background-color: transparent;
    color: var(--branco);
    border-color: var(--verde-principal);
    background-color: var(--verde-principal);
}

.btn-outline-green:hover {
    background-color: var(--verde-claro);
    border-color: var(--verde-claro);
}

.btn-hero {
    background-color: var(--laranja);
    color: var(--branco);
    border-color: var(--laranja);
    padding: 14px 28px;
    font-size: 15px;
    min-width: 180px;
    text-align: center;
}

.btn-hero:hover {
    background-color: var(--laranja-hover);
    border-color: var(--laranja-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 94, 29, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--branco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 3px solid var(--laranja);
}

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

.header .container {
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--verde-principal), var(--laranja));
    color: var(--branco);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-renova {
    font-size: 18px;
    font-weight: 700;
    color: var(--verde-principal);
}

.logo-campo {
    font-size: 18px;
    font-weight: 700;
    color: var(--laranja);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

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

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list a {
    color: var(--texto);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--laranja);
}

.nav-list a.active {
    color: var(--texto);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--laranja);
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--verde-principal);
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    margin-right: 15px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: #004F3B;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

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

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 79, 59, 0.6) 0%, rgba(0, 107, 79, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicators .indicator:hover,
.carousel-indicators .indicator.active {
    background-color: var(--laranja);
}

.hero-content {
    text-align: left;
    color: var(--branco);
    max-width: 700px;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--laranja);
    font-style: italic;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-subtitle strong {
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .btn {
    padding: 10px 24px;
    font-size: 14px;
}

.hero-buttons .btn-hero {
    flex: 0 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px 50px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--branco);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--laranja);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--verde-principal);
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    color: var(--texto-claro);
    max-width: 600px;
    margin: -30px auto 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   COMO FUNCIONA
   ======================================== */
.como-funciona {
    background-color: var(--branco);
}

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

.funciona-card {
    background-color: var(--fundo);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.funciona-card .btn {
    margin-top: auto;
}

.funciona-card:hover {
    box-shadow: var(--sombra-hover);
    transform: translateY(-5px);
}

.funciona-icon {
    width: 70px;
    height: 70px;
    background-color: var(--verde-principal);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.funciona-card h3 {
    color: var(--verde-principal);
    font-size: 20px;
    margin-bottom: 10px;
}

.funciona-subtitle {
    color: var(--texto-claro);
    font-size: 14px;
    margin-bottom: 25px;
}

.funciona-steps {
    text-align: left;
    margin-bottom: 25px;
}

.funciona-steps li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--texto-claro);
}

.step-number {
    width: 24px;
    height: 24px;
    background-color: var(--laranja);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ========================================
   TERRAS DISPONÍVEIS
   ======================================== */
.terras {
    background-color: var(--fundo);
}

.terras-filters {
    display: flex;
    gap: 15px;
}

.filter-input,
.filter-select {
    padding: 10px 15px;
    border: 1px solid var(--cinza-claro);
    border-radius: 8px;
    font-size: 14px;
    background-color: var(--branco);
}

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

.terra-card {
    background-color: var(--branco);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transition);
}

.terra-card:hover {
    box-shadow: var(--sombra-hover);
    transform: translateY(-5px);
}

.terra-image {
    position: relative;
    height: 200px;
    background-color: var(--cinza-bg);
    background-image: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-claro) 100%);
}

.terra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.terra-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.terra-badge.disponivel {
    background-color: var(--verde-principal);
    color: var(--branco);
}

.terra-content {
    padding: 25px;
}

.terra-content h3 {
    color: var(--verde-principal);
    font-size: 18px;
    margin-bottom: 8px;
}

.terra-location {
    color: var(--texto-claro);
    font-size: 13px;
    margin-bottom: 12px;
}

.terra-location i {
    color: var(--laranja);
    margin-right: 5px;
}

.terra-description {
    color: var(--texto-claro);
    font-size: 14px;
    margin-bottom: 15px;
}

.terra-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background-color: var(--cinza-bg);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    color: var(--texto-claro);
}

.tag i {
    color: var(--verde-principal);
    margin-right: 4px;
}

.terra-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--cinza-claro);
}

.terra-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.terra-size,
.terra-price {
    font-size: 13px;
    color: var(--texto-claro);
}

.terra-size strong,
.terra-price strong {
    color: var(--verde-principal);
}

/* ========================================
   PROJETOS
   ======================================== */
.projetos {
    background-color: var(--branco);
}

.projetos-filters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

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

.projeto-card {
    background-color: var(--fundo);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transition);
}

.projeto-card:hover {
    box-shadow: var(--sombra-hover);
    transform: translateY(-5px);
}

.projeto-image {
    position: relative;
    height: 180px;
    background-color: var(--cinza-bg);
    background-image: linear-gradient(135deg, var(--laranja) 0%, var(--verde-principal) 100%);
}

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

.projeto-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.projeto-badge.certificado {
    background-color: var(--verde-principal);
    color: var(--branco);
}

.projeto-content {
    padding: 25px;
}

.projeto-content h3 {
    color: var(--verde-principal);
    font-size: 18px;
    margin-bottom: 10px;
}

.projeto-content > p {
    color: var(--texto-claro);
    font-size: 14px;
    margin-bottom: 20px;
}

.projeto-financeiro {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.financeiro-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.financeiro-item .label {
    font-size: 12px;
    color: var(--texto-claro);
}

.financeiro-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--verde-principal);
}

.financeiro-item .value.highlight {
    color: var(--laranja);
}

.projeto-progress {
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.progress-percent {
    font-weight: 600;
    color: var(--verde-principal);
}

.progress-bar {
    height: 8px;
    background-color: var(--cinza-claro);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--verde-principal), var(--laranja));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ========================================
   SELO
   ======================================== */
.selo {
    position: relative;
    overflow: hidden;
    background-color: var(--branco);
}

.selo-background {
    display: none;
}

.selo .container {
    position: relative;
}

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

.selo-tag {
    display: inline-block;
    background-color: transparent;
    color: var(--verde-principal);
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 10px;
}

.selo-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 20px;
}

.selo-title .titulo-renova {
    color: var(--laranja);
}

.selo-title .titulo-campo {
    color: var(--verde-principal);
}

.selo-content p {
    color: var(--texto);
    margin-bottom: 25px;
    font-size: 16px;
}

.selo-content p strong {
    color: var(--laranja);
}

.selo-content .btn-outline-orange {
    margin-bottom: 20px;
}

.selo-badge {
    margin-top: 10px;
}

.selo-badge img {
    width: 100%;
    max-width: 65%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.selo-benefits {
    display: flex;
    flex-direction: column;
}

.benefits-card {
    background-color: var(--branco);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.benefit-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--cinza-claro);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-check {
    flex-shrink: 0;
}

.benefit-check i {
    font-size: 24px;
    color: var(--verde-principal);
}

.benefit-text h4 {
    color: var(--verde-principal);
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

.benefit-text p {
    color: var(--texto-claro);
    font-size: 14px;
    line-height: 1.5;
}

.benefit-text p strong {
    color: var(--laranja);
}

/* ========================================
   DEPOIMENTOS
   ======================================== */
.depoimentos {
    background: linear-gradient(135deg, var(--verde-principal) 0%, var(--verde-claro) 100%);
    color: var(--branco);
}

.depoimentos .section-title {
    color: var(--branco);
}

.depoimentos .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.depoimento-card {
    background-color: var(--branco);
    padding: 30px;
    border-radius: var(--border-radius);
    color: var(--texto);
}

.depoimento-content {
    margin-bottom: 25px;
}

.depoimento-content p {
    font-style: italic;
    color: var(--texto-claro);
    line-height: 1.7;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.depoimento-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--cinza-bg);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--verde-principal);
}

.author-info span {
    font-size: 13px;
    color: var(--texto-claro);
}

.depoimento-rating {
    color: var(--laranja);
}

.depoimento-rating i {
    margin-right: 3px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--verde-principal);
    color: var(--branco);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-brand .logo-icon {
    background: var(--branco);
    color: var(--verde-principal);
}

.footer-brand .logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-logo {
    display: block;
    margin-bottom: 15px;
}

.footer-logo-img {
    max-width: 220px;
    height: auto;
    border-radius: 8px;
    mix-blend-mode: screen;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

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

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--laranja);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.contact-list i {
    color: var(--laranja);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--laranja);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 15px;
    background-color: var(--laranja);
    border: none;
    border-radius: 8px;
    color: var(--branco);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--laranja-hover);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--laranja);
}

/* ========================================
   RESPONSIVE
   ======================================== */
/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--branco);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 80px 15px 15px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--texto);
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 5px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px 12px;
    color: var(--texto);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu ul li a:hover {
    background-color: var(--fundo);
    color: var(--laranja);
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--cinza-claro);
}

.mobile-menu-buttons .btn {
    text-align: center;
    padding: 10px 20px;
}

@media (max-width: 1024px) {
    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .funciona-grid,
    .terras-grid,
    .projetos-grid,
    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 10px 0;
    }

    .logo-img {
        height: 35px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-card {
        padding: 20px 40px;
    }

    .funciona-grid,
    .terras-grid,
    .projetos-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .terras-filters,
    .projetos-filters {
        width: 100%;
        flex-wrap: wrap;
    }

    .selo-title {
        font-size: 48px;
    }

    .selo-badge img {
        max-width: 140px;
    }

    .selo-content {
        text-align: center;
    }

    .selo-badge {
        display: flex;
        justify-content: center;
    }

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

    .footer-brand .logo,
    .footer-logo {
        justify-content: center;
        display: flex;
    }

    .footer-logo-img {
        max-width: 180px;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .header-buttons {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* ========================================
   LOADING E EMPTY STATES
   ======================================== */

.loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem;
    color: var(--texto-claro);
    font-size: 1rem;
    grid-column: 1 / -1;
}

.loading-message i {
    font-size: 1.5rem;
    color: var(--verde-principal);
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--texto-claro);
}

.empty-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--verde-principal);
    display: block;
}

.empty-message h3 {
    color: var(--texto);
    margin-bottom: 0.5rem;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #ef4444;
}

.error-message i {
    margin-right: 0.5rem;
}

/* ========================================
   ACCESSIBILITY - Focus States
   ======================================== */
*:focus-visible {
    outline: 2px solid var(--laranja);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--laranja);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--laranja);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(233, 94, 29, 0.2);
}

.nav-list a:focus-visible {
    outline: 2px solid var(--laranja);
    outline-offset: 4px;
    border-radius: 4px;
}

.periodo-btn:focus-visible {
    outline: 2px solid var(--laranja);
    outline-offset: 2px;
}

.carousel-indicators .indicator:focus-visible {
    outline: 2px solid var(--branco);
    outline-offset: 2px;
}

.social-links a:focus-visible {
    outline: 2px solid var(--branco);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--laranja);
    color: var(--branco);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   POLIMENTO VISUAL - Fase 1
   ======================================== */

/* Paragrafos justificados globalmente */
p {
    text-align: justify;
}

/* Scroll offset para compensar header fixo (72px) */
section[id],
div[id] {
    scroll-margin-top: 80px;
}

/* Excecoes: manter center onde faz sentido */
.hero p,
.hero-subtitle,
.section-subtitle,
.section-subtitle-custom,
.section-l1-subtitle,
.stat-label,
.stat-card p,
.depoimento-content p,
.dep-text,
.footer p,
.footer-brand p,
.footer-bottom p,
.cta-section p,
.proposito-text,
.proposito-section p,
.funciona-subtitle,
.selo-tag,
.hero-tagline span,
.hero-parcerias p,
.hero-institucional .lead,
.parceiros-subtitle,
.form-container > p {
    text-align: center;
}

/* Separador decorativo nos titulos de secao */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--laranja), var(--verde-principal));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Cards com sombra verde sutil */
.terra-card,
.projeto-card,
.funciona-card {
    box-shadow: var(--sombra-card);
}

.terra-card:hover,
.projeto-card:hover,
.funciona-card:hover {
    box-shadow: var(--sombra-card-hover);
}

/* Border-top colorido nos cards ao hover */
.terra-card {
    border-top: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.terra-card:hover {
    border-top-color: var(--verde-principal);
}

.projeto-card {
    border-top: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.projeto-card:hover {
    border-top-color: var(--laranja);
}

/* Zoom na imagem dos cards terra/projeto ao hover */
.terra-image,
.projeto-image {
    overflow: hidden;
}

.terra-image img,
.projeto-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.terra-card:hover .terra-image img,
.projeto-card:hover .projeto-image img {
    transform: scale(1.05);
}

/* Depoimento cards - borda lateral ao hover */
.depoimento-card,
.depoimento-l1-card {
    border-left: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.depoimento-card:hover,
.depoimento-l1-card:hover {
    border-left-color: var(--laranja);
    transform: translateY(-4px);
}

/* Funciona cards - hover com gradiente sutil */
.funciona-card:hover {
    background: linear-gradient(180deg, var(--fundo) 0%, #edf5ef 100%);
}

/* Footer melhorado */
.footer {
    background: linear-gradient(180deg, #003d2e 0%, #00261c 100%);
    border-top: 3px solid var(--laranja);
    position: relative;
}

.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--laranja);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background-color: var(--laranja);
    transform: scale(1.15);
}

/* Separador entre secoes */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    height: 50px;
    background: transparent;
    overflow: visible;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--laranja), transparent);
}

.section-divider .divider-icon {
    color: var(--verde-principal);
    font-size: 18px;
    opacity: 0.6;
}

/* Animacao fadeInUp para cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terra-card,
.projeto-card,
.funciona-card,
.depoimento-card,
.depoimento-l1-card {
    animation: fadeInUp 0.6s ease both;
}

.terra-card:nth-child(2),
.projeto-card:nth-child(2),
.funciona-card:nth-child(2),
.depoimento-card:nth-child(2),
.depoimento-l1-card:nth-child(2) {
    animation-delay: 0.1s;
}

.terra-card:nth-child(3),
.projeto-card:nth-child(3),
.funciona-card:nth-child(3),
.depoimento-card:nth-child(3),
.depoimento-l1-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Shimmer placeholder para imagens */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.terra-image,
.projeto-image {
    background: linear-gradient(90deg, var(--cinza-bg) 25%, #e8e8e8 50%, var(--cinza-bg) 75%);
    background-size: 400px 100%;
    animation: shimmer 1.5s infinite linear;
}

.terra-image img,
.projeto-image img {
    position: relative;
    z-index: 1;
}

/* ========================================
   POLIMENTO - Responsividade
   ======================================== */
@media (max-width: 480px) {
    .section-divider {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .terra-card,
    .projeto-card,
    .funciona-card,
    .depoimento-card,
    .depoimento-l1-card {
        animation: none;
    }

    .terra-image img,
    .projeto-image img {
        transition: none;
    }

    .terra-image,
    .projeto-image {
        animation: none;
    }
}

/* Mobile: inputs com font-size >= 16px evitam o zoom automatico do iOS ao focar
   (mobile e a principal forma de uso). Aplica-se a todas as paginas que carregam este CSS. */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px;
    }
}
