/* === Arte em Pneus — identidade: branco, verde folha, cinza e preto === */
:root {
    --verde: #2E9A3E;
    --verde-escuro: #1F7A2E;
    --verde-claro: #EAF5EC;
    --preto: #1B1B1B;
    --cinza: #5E6662;
    --cinza-claro: #F3F4F3;
    --cinza-borda: #E2E5E3;
    --branco: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--preto);
    background: var(--branco);
}
img { max-width: 100%; height: auto; display: block; }

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

/* === HEADER === */
.header {
    background: var(--preto);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-content { display: flex; justify-content: center; align-items: center; position: relative; }
.mobile-menu-btn {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; color: var(--branco); cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 5px; z-index: 101;
}
.logo img { height: 52px; width: auto; }
.nav { display: none; }
.nav.active {
    display: flex; flex-direction: column; position: absolute; top: 100%;
    left: -20px; width: calc(100% + 40px); background: var(--preto);
    padding: 20px; align-items: center; gap: 15px; z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.nav a { color: var(--branco); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav a:hover { color: #7FD08A; }
.btn-header { display: none !important; }
.btn-header-mobile { margin-top: 10px; font-size: 14px; padding: 10px 20px; display: inline-block; }

/* === BUTTONS === */
.btn {
    display: inline-block; padding: 14px 28px; border-radius: 30px; text-decoration: none;
    font-weight: 600; text-align: center; transition: all 0.3s; cursor: pointer; border: none; font-size: 16px;
}
.btn-primary { background: var(--verde); color: var(--branco); }
.btn-primary:hover { background: var(--verde-escuro); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(46,154,62,0.35); }
.btn-secondary { background: transparent; color: var(--preto); border: 2px solid var(--preto); }
.btn-secondary:hover { background: var(--preto); color: var(--branco); }
.btn-whatsapp { background: #25D366; color: var(--branco); }
.btn-whatsapp:hover { background: #1EBE57; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
.btn-large { padding: 18px 36px; font-size: 18px; }

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #2A2F2C 0%, var(--preto) 100%);
    color: var(--branco);
    padding: 60px 0;
}
.hero .container { display: flex; flex-direction: column; gap: 40px; }
.hero-content { text-align: center; }
.hero-kicker {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: #7FD08A; margin-bottom: 14px;
}
.hero h1 { font-size: 32px; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero h1 span { color: #7FD08A; }
.hero-subtitle { font-size: 18px; margin-bottom: 30px; opacity: 0.92; }
.hero-ctas { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.hero-micro { font-size: 14px; opacity: 0.75; }
.hero .btn-secondary { color: var(--branco); border-color: var(--branco); }
.hero .btn-secondary:hover { background: var(--branco); color: var(--preto); }

.hero-slider { width: 100%; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.35); }
.slider-track { position: relative; width: 100%; aspect-ratio: 3 / 2; background: #222; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.dot {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--branco);
    background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; padding: 0;
}
.dot.active { background: var(--branco); transform: scale(1.2); }

/* === SECTIONS === */
.section { padding: 60px 0; }
.section h2 { font-size: 28px; color: var(--preto); margin-bottom: 16px; text-align: center; line-height: 1.3; }
.section-intro { text-align: center; font-size: 18px; color: var(--cinza); margin: 0 auto 40px; max-width: 800px; }
.section-cta { text-align: center; margin-top: 40px; }
.section-badge {
    text-align: center; font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--verde); margin-bottom: 12px;
}

.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

/* === CARDS === */
.card {
    background: var(--branco); border-radius: 20px; padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.card-icon {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
    background: var(--verde-claro); color: var(--verde); display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 20px; color: var(--preto); margin-bottom: 12px; text-align: center; }
.card p { color: var(--cinza); text-align: center; }

.para-quem { background: var(--cinza-claro); }

.beneficios { background: var(--branco); }
.card-beneficio { background: linear-gradient(135deg, var(--verde) 0%, var(--verde-escuro) 100%); color: var(--branco); }
.card-beneficio h3, .card-beneficio p { color: var(--branco); }
.card-beneficio .card-icon { background: rgba(255,255,255,0.18); color: var(--branco); }

/* === NÚMEROS / ECONOMIA CIRCULAR === */
.numeros { background: var(--preto); color: var(--branco); }
.numeros h2, .numeros .section-intro { color: var(--branco); }
.numeros .section-intro { opacity: 0.85; }
.numeros-grid { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
.numero-item {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    padding: 28px 20px; border-radius: 16px; text-align: center;
}
.numero-item strong { display: block; font-size: 40px; line-height: 1.1; color: #7FD08A; margin-bottom: 8px; }
.numero-item span { font-size: 16px; opacity: 0.9; }

/* === COLEÇÃO === */
.colecao { background: var(--cinza-claro); }
.catalogo-filtros { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.filtro-btn {
    background: var(--branco); border: 2px solid var(--cinza-borda); padding: 10px 24px; border-radius: 30px;
    font-size: 14px; font-weight: 600; color: var(--cinza); cursor: pointer; transition: all 0.3s;
}
.filtro-btn:hover { border-color: var(--verde); color: var(--verde); }
.filtro-btn.active { background: var(--verde); border-color: var(--verde); color: var(--branco); }

.card-produto { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.card-produto.card-hidden { display: none; }
.produto-image { position: relative; height: 240px; overflow: hidden; background: #ddd; }
.produto-image img { width: 100%; height: 100%; object-fit: cover; }
.produto-tag {
    position: absolute; top: 12px; right: 12px; padding: 5px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; z-index: 2;
    background: var(--preto); color: var(--branco);
}
.card-content { flex-grow: 1; display: flex; flex-direction: column; padding: 0 20px 20px; }
.product-sku {
    display: inline-block; font-size: 13px; font-weight: 700; color: var(--verde-escuro); background: var(--verde-claro);
    padding: 4px 10px; border-radius: 4px; margin-top: 16px; margin-bottom: 8px; align-self: flex-start; letter-spacing: 0.5px;
}
.card-produto h3 { margin-top: 4px; text-align: left; }
.card-produto p { flex-grow: 1; margin-bottom: 20px; text-align: left; }
.btn-add-budget {
    width: 100%; background: var(--verde); color: var(--branco); border: none; padding: 12px; border-radius: 8px;
    font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-add-budget:hover { background: var(--verde-escuro); transform: translateY(-2px); }
.btn-add-budget.added { background: var(--preto); }

.zoom-overlay {
    position: absolute; bottom: 12px; right: 12px; width: 44px; height: 44px; background: rgba(27,27,27,0.85);
    color: var(--branco); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transition: all 0.3s; z-index: 3;
}
.card-produto:hover .zoom-overlay, .galeria-item:hover .zoom-overlay { opacity: 1; }
@media (hover: none) { .zoom-overlay { opacity: 1; } }

/* === AMBIENTES / GALERIA === */
.ambientes { background: var(--branco); }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.galeria-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: #ddd; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.galeria-item:hover img { transform: scale(1.05); }

/* === COMO FUNCIONA === */
.como-funciona { background: var(--cinza-claro); }
.passos { display: grid; gap: 30px; margin-top: 40px; }
.passo {
    background: var(--branco); padding: 30px; border-radius: 20px; border-left: 5px solid var(--verde);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.passo-numero {
    width: 50px; height: 50px; background: var(--verde); color: var(--branco); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin-bottom: 16px;
}
.passo h3 { color: var(--preto); font-size: 20px; margin-bottom: 12px; }
.passo p { color: var(--cinza); }

/* === SOBRE === */
.sobre { background: var(--branco); }
.sobre-grid { display: grid; gap: 40px; align-items: center; }
.sobre-img { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.sobre-texto h2 { text-align: left; }
.sobre-texto p { color: var(--cinza); margin-bottom: 16px; font-size: 17px; }
.sobre-texto blockquote {
    border-left: 4px solid var(--verde); padding: 8px 0 8px 18px; margin: 24px 0;
    font-size: 18px; color: var(--preto); font-style: italic;
}

/* === PARQUE EM PNEUS (link) === */
.parque-link { background: var(--verde-claro); padding: 40px 0; }
.parque-link .container { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.parque-link p { font-size: 18px; color: var(--preto); }

/* === FAQ === */
.faq { background: var(--branco); }
.accordion { max-width: 900px; margin: 0 auto; }
.accordion-item { border: 2px solid var(--cinza-borda); border-radius: 15px; margin-bottom: 16px; overflow: hidden; transition: border-color 0.3s; }
.accordion-item:hover { border-color: var(--verde); }
.accordion-header {
    padding: 20px; font-size: 18px; font-weight: 600; color: var(--preto); cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header::after { content: '+'; font-size: 28px; color: var(--verde); transition: transform 0.3s; flex-shrink: 0; }
.accordion-item[open] .accordion-header::after { transform: rotate(45deg); }
.accordion-content { padding: 0 20px 20px; color: var(--cinza); }

/* === CTA FINAL === */
.cta-final { background: linear-gradient(135deg, var(--verde) 0%, var(--verde-escuro) 100%); color: var(--branco); }
.cta-final h2, .cta-final .section-intro { color: var(--branco); }
.cta-buttons { display: flex; flex-direction: column; gap: 16px; max-width: 600px; margin: 0 auto; }
.cta-final .btn-whatsapp { background: var(--preto); }
.cta-final .btn-whatsapp:hover { background: #000; }
.cta-final .btn-secondary { border-color: var(--branco); color: var(--branco); }
.cta-final .btn-secondary:hover { background: var(--branco); color: var(--verde-escuro); }

/* === FOOTER === */
.footer { background: var(--preto); color: var(--branco); padding: 50px 0 20px; }
.footer-content { display: grid; gap: 30px; margin-bottom: 40px; }
.footer-col h3 { font-size: 18px; margin-bottom: 16px; }
.footer-logo img { max-width: 240px; height: auto; margin-bottom: 16px; }
.footer-col p { color: rgba(255,255,255,0.8); line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: #7FD08A; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); font-size: 14px; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background: #25D366; color: var(--branco);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 1000; transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* === BUDGET BAR === */
.budget-bar {
    position: fixed; bottom: 0; left: 0; width: 100%; background: var(--preto); color: var(--branco);
    padding: 16px 20px; box-shadow: 0 -5px 20px rgba(0,0,0,0.2); z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.budget-bar.hidden { transform: translateY(100%); }
.budget-bar-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.budget-info { font-size: 16px; font-weight: 500; }
#budget-count { font-weight: 800; font-size: 20px; color: #7FD08A; }
.btn-whatsapp-bar {
    background: #25D366; color: var(--branco); padding: 10px 24px; border-radius: 30px; text-decoration: none;
    font-weight: 700; display: flex; align-items: center; gap: 8px; transition: all 0.3s; font-size: 14px;
}
.btn-whatsapp-bar:hover { background: #1EBE57; }

/* === MODAL === */
.image-modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 5000;
    align-items: center; justify-content: center; padding: 20px;
}
.image-modal.active { display: flex; }
.modal-content { position: relative; max-width: 1000px; width: 100%; }
.modal-content img { width: 100%; max-height: 85vh; object-fit: contain; border-radius: 16px; }
.modal-close {
    position: absolute; top: -16px; right: -16px; width: 44px; height: 44px; background: var(--branco); color: var(--preto);
    border: none; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; z-index: 5001;
}

/* === TABLET === */
@media (min-width: 768px) {
    .hero h1 { font-size: 42px; }
    .hero-subtitle { font-size: 20px; }
    .hero-ctas, .cta-buttons { flex-direction: row; justify-content: center; }
    .section h2 { font-size: 36px; }
    .grid-2, .grid-3, .grid-4, .passos { grid-template-columns: repeat(2, 1fr); }
    .numeros-grid { grid-template-columns: repeat(3, 1fr); }
    .galeria { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: repeat(3, 1fr); }
    .parque-link .container { flex-direction: row; justify-content: center; gap: 24px; }
    .budget-bar { padding: 20px 40px; }
}

/* === DESKTOP === */
@media (min-width: 1024px) {
    .header-content { justify-content: space-between; }
    .mobile-menu-btn { display: none !important; }
    .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 24px; }
    .btn-header { display: inline-block !important; padding: 10px 20px; font-size: 14px; }
    .btn-header-mobile { display: none !important; }
    .hero { padding: 80px 0; }
    .hero .container { flex-direction: row; align-items: center; }
    .hero-content { flex: 1; text-align: left; }
    .hero-slider { flex: 1; }
    .hero h1 { font-size: 48px; }
    .hero-ctas { justify-content: flex-start; }
    .section { padding: 80px 0; }
    .section h2 { font-size: 42px; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4, .passos { grid-template-columns: repeat(4, 1fr); }
    .galeria { grid-template-columns: repeat(4, 1fr); }
    .sobre-grid { grid-template-columns: 1fr 1fr; }
    .whatsapp-float { width: 70px; height: 70px; }
    .whatsapp-float svg { width: 38px; height: 38px; }
}

/* === MOBILE === */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .logo img { height: 42px; }
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 26px; }
    .hero-subtitle { font-size: 15px; }
    .section { padding: 44px 0; }
    .section h2 { font-size: 24px; }
    .section-intro { font-size: 15px; margin-bottom: 24px; }
    .card { padding: 20px; border-radius: 16px; }
    .filtro-btn { padding: 8px 16px; font-size: 13px; }
    .numero-item strong { font-size: 34px; }
    .budget-bar-content { flex-direction: column; text-align: center; gap: 12px; }
    .btn-whatsapp-bar { width: 100%; justify-content: center; }
    .accordion-header { font-size: 16px; padding: 16px; }
}

/* === PREÇO === */
.produto-price { font-size: 22px; font-weight: 800; color: var(--verde-escuro); margin-bottom: 16px; }
.produto-price.consulta { font-size: 16px; font-weight: 600; color: var(--cinza); }
a.btn-add-budget { display: block; text-align: center; text-decoration: none; }

/* === PARQUINHOS === */
.parquinhos { background: var(--verde-claro); }
.produto-price small { font-size: 13px; font-weight: 500; color: var(--cinza); }

/* Jardim: mostra o vaso/canteiro, que fica na parte de baixo da foto */
.card-produto[data-categorias~="jardim"] .produto-image img { object-position: center 80%; }
