/*
Theme Name: ADERES Sorocaba
Theme URI: https://aderes.com.br
Author: INNSITE Agência Web
Author URI: https://innsite.com.br
Description: Tema institucional para a ADERES - Associação dos Deficientes da Região de Sorocaba. Apoio social e reabilitação. Layout próprio com header diagonal, hero, stats animados, tratamentos, FAQ, blog e contato.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aderes
*/

:root {
    --green: #005a4b;
    --green-light: #007a65;
    --yellow: #facc15;
    --yellow-soft: #fef9c3;
    --dark: #111827;
    --gray: #4b5563;
    --light-gray: #f1f5f9;
    --bg: #fdfbf7;
    --white: #ffffff;
    --border: #e5e7eb;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 800;
}

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

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

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 10px 0;
    transition: all 0.3s ease;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left, .topbar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}
.topbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.topbar a:hover { color: var(--yellow); }
.topbar i { font-size: 0.95rem; }

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    transition: background .3s, box-shadow .3s;
	    background: rgba(253,251,247,.96);
}
header.scrolled {
    background: rgba(253,251,247,.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 30px rgba(0,0,0,.07);
}
header.scrolled .topbar { display: none; }

nav.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo img { width: 120px; display: block; }

.custom-logo-link img { width: 120px; }

.logo .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--green);
    letter-spacing: .02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: .95rem;
    transition: color .2s;
}
.nav-links a:hover,
.nav-links li.current-menu-item > a { color: var(--green); }

.btn-yellow {
    background: var(--yellow);
    color: var(--dark) !important;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(250,204,21,.35);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(250,204,21,.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px; height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: .3s;
}

/* ===== STATS BAR ===== */
.stats-section { position: relative; z-index: 5; }
.stats-bar {
    background: var(--white);
    border-radius: 28px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.08);
    margin-top: -50px;
    gap: 20px;
}
.stat-item { text-align: center; flex: 1; }
.stat-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }
.stat-item h3 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item p {
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray);
}

/* ===== SECTION COMMONS ===== */
.section { padding: 110px 0; }
.section-bg-alt { background: var(--light-gray); }
.section-tag {
    display: inline-block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    line-height: 1.18;
    margin-bottom: 20px;
}
.section-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray);
    max-width: 560px;
}

/* ===== PAGE HERO (subpáginas) ===== */
.page-hero {
    position: relative;
    background: var(--green);
    padding: 180px 0 90px;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background: var(--green-light);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: .5;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .breadcrumb {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--yellow); text-decoration: none; }
.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--white);
    line-height: 1.1;
    max-width: 760px;
}
.page-hero p {
    color: rgba(255,255,255,.8);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 620px;
    margin-top: 16px;
}

/* ===== SOBRE ===== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sobre-img-wrap img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 24px 24px 0 var(--yellow);
    display: block;
}
.sobre-text p {
    font-size: 1.06rem;
    line-height: 1.78;
    margin-bottom: 16px;
}
.sobre-text p:first-of-type { font-size: 1.18rem; font-weight: 500; color: var(--dark); }
.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}
.highlight-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 22px 20px;
    transition: border-color .2s, box-shadow .2s;
}
.highlight-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 28px rgba(0,90,75,.1);
}
.highlight-card h5 { color: var(--green); font-size: 1rem; margin-bottom: 6px; }
.highlight-card p { font-size: .88rem; line-height: 1.55; }

/* ===== MISSÃO ===== */
.missao-band { background: var(--green); padding: 80px 0; text-align: center; }
.missao-band h2 { font-size: 2.2rem; color: var(--yellow); margin-bottom: 20px; }
.missao-band p {
    font-size: 1.6rem; font-weight: 400; font-style: italic;
    color: var(--white); max-width: 800px; margin: 0 auto; line-height: 1.5;
}

/* ===== VOLUNTEER BAND ===== */
.volunteer-band { background: var(--dark); padding: 70px 0; }
.volunteer-band-inner { display: flex; gap: 30px; align-items: stretch; }
.vol-card {
    flex: 1;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 24px;
    padding: 40px 36px;
    transition: background .3s;
}
.vol-card:hover { background: rgba(255,255,255,.1); }
.vol-card h4 { font-size: 1.4rem; color: var(--white); margin-bottom: 14px; }
.vol-card p { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; }
.vol-card a {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--yellow); color: var(--dark);
    font-weight: 700; font-size: .9rem;
    padding: 11px 22px; border-radius: 50px;
    text-decoration: none; transition: transform .2s;
}
.vol-card a:hover { transform: translateY(-2px); }

/* ===== TRATAMENTOS ===== */
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-sub { margin: 0 auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
    border: 1.5px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 56px rgba(0,90,75,.15);
}
.service-img { height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-body { padding: 32px 30px 36px; }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; color: var(--green); }
.service-body h4 { font-size: 1.18rem; margin-bottom: 10px; }
.service-body p { font-size: .93rem; line-height: 1.68; color: var(--gray); }
.service-tag {
    display: inline-block;
    background: #e6f4f1; color: var(--green);
    font-size: .75rem; font-weight: 700;
    padding: 5px 14px; border-radius: 50px; margin-top: 16px;
}

/* ===== TRATAMENTO DETALHADO (lista alternada) ===== */
.treatment-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}
.treatment-detail:last-child { margin-bottom: 0; }
.treatment-detail.reverse .treatment-detail-media { order: 2; }
.treatment-detail-media img {
    width: 100%; border-radius: 24px;
    box-shadow: 0 24px 56px rgba(0,90,75,.12);
}
.treatment-detail-media .icon-box {
    width: 100%; aspect-ratio: 16/10;
    border-radius: 24px;
    background: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--yellow);
    box-shadow: 0 24px 56px rgba(0,90,75,.18);
}
.treatment-detail-text .section-tag { margin-bottom: 10px; }
.treatment-detail-text h3 { font-size: 1.8rem; margin-bottom: 16px; }
.treatment-detail-text p { font-size: 1rem; line-height: 1.78; margin-bottom: 12px; }

/* ===== IMPACT BAND ===== */
.impact-band { position: relative; overflow: hidden; background: var(--dark); padding: 100px 0; }
.impact-band-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?w=1600&q=70') center/cover;
    opacity: .1;
}
.impact-band-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 80px; }
.impact-text { flex: 1; }
.impact-text h2 { font-size: clamp(2rem,3.5vw,3rem); color: var(--white); line-height: 1.18; margin-bottom: 16px; }
.impact-text p { color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.75; margin-bottom: 32px; }
.impact-nums { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.impact-num-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: 28px 24px;
}
.impact-num-card h3 { color: var(--yellow); font-size: 2.4rem; margin-bottom: 6px; }
.impact-num-card p { color: rgba(255,255,255,.65); font-size: .85rem; font-weight: 600; }

/* ===== FAQ ===== */
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 56px; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion-item {
    background: var(--white);
    border-radius: 20px;
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.accordion-item.open { border-color: var(--green); box-shadow: 0 6px 24px rgba(0,90,75,.1); }
.accordion-btn {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem; font-weight: 700; color: var(--dark); text-align: left; gap: 16px;
}
.accordion-btn:hover { color: var(--green); }
.acc-icon {
    width: 32px; height: 32px; flex-shrink: 0;
    border-radius: 50%; background: var(--light-gray);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 700;
    color: var(--green); line-height: 1;
    transition: background .25s, transform .3s, color .2s;
}
.accordion-item.open .acc-icon { background: var(--green); color: var(--white); transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.accordion-body-inner { padding: 0 28px 24px; font-size: .97rem; line-height: 1.78; color: var(--gray); }

/* ===== CONTATO & LOCALIZAÇÃO ===== */
.contato-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contato-info h3 { font-size: 2rem; margin-bottom: 20px; }
.contato-info p { font-size: 1rem; line-height: 1.8; margin-bottom: 15px; color: var(--gray); }
.contato-detalhes { margin-top: 30px; }
.contato-item { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; font-weight: 600; color: var(--dark); }
.contato-item span {
    background: var(--light-gray);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--green); font-size: 1.1rem; flex-shrink: 0;
}
.contato-form {
    background: var(--white);
    padding: 40px;
    border-radius: 28px;
    border: 1.5px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; color: var(--dark); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 130px; }
.map-wrap { margin-top: 60px; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.06); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.post-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: transform .3s, box-shadow .3s;
    display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,90,75,.12); }
.post-card-img { height: 210px; overflow: hidden; background: var(--light-gray); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-body { padding: 28px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .8rem; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.post-card-body h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.post-card-body h3 a { color: var(--dark); text-decoration: none; transition: color .2s; }
.post-card-body h3 a:hover { color: var(--green); }
.post-card-body p { font-size: .93rem; line-height: 1.65; margin-bottom: 18px; flex: 1; }
.post-readmore {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--green); font-weight: 700; font-size: .9rem; text-decoration: none;
}
.post-readmore:hover { gap: 10px; }

/* ===== SINGLE POST ===== */
.single-wrap { max-width: 820px; margin: 0 auto; }
.single-wrap .post-feature { width: 100%; border-radius: 24px; margin-bottom: 36px; box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.single-content { font-size: 1.06rem; line-height: 1.85; color: var(--gray); }
.single-content h2, .single-content h3 { margin: 32px 0 14px; }
.single-content p { margin-bottom: 18px; }
.single-content a { color: var(--green); }
.single-content ul, .single-content ol { margin: 0 0 18px 22px; }
.single-content img { border-radius: 16px; margin: 20px 0; }
.single-content blockquote {
    border-left: 4px solid var(--yellow);
    padding: 8px 24px; margin: 24px 0;
    font-style: italic; color: var(--dark); background: var(--yellow-soft); border-radius: 0 12px 12px 0;
}

/* ===== PAGE CONTENT (genérico) ===== */
.page-content { font-size: 1.06rem; line-height: 1.85; color: var(--gray); max-width: 860px; }
.page-content h2, .page-content h3 { margin: 30px 0 14px; }
.page-content p { margin-bottom: 18px; }
.page-content ul, .page-content ol { margin: 0 0 18px 22px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; flex-wrap: wrap; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 14px;
    border-radius: 12px; background: var(--white); border: 1.5px solid var(--border);
    color: var(--dark); font-weight: 700; text-decoration: none; transition: all .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { background: var(--green); color: var(--white); border-color: var(--green); }

/* ===== FOOTER ===== */
footer.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 90px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo img { filter: brightness(0) invert(1); height: 45px; margin-bottom: 16px; }
.footer-brand .logo .logo-text { color: var(--white); }
.footer-brand p { font-size: .92rem; line-height: 1.72; margin-bottom: 10px; }
.footer-brand .cnpj { font-size: .78rem; color: rgba(255,255,255,.35); margin-top: 8px; }
.footer-col h5 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; font-family: 'Outfit', sans-serif; }
.footer-col p, .footer-col a {
    display: flex; align-items: center; gap: 8px;
    font-size: .9rem; line-height: 2; color: rgba(255,255,255,.55); text-decoration: none;
}
.footer-col a:hover { color: var(--yellow); }
.footer-col i { font-size: 1rem; color: var(--yellow); width: 16px; text-align: center; }
.footer-menu { list-style: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; text-align: center; font-size: .83rem; color: rgba(255,255,255,.3); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.up { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .65s ease, transform .65s ease; }
.reveal-left.up { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .65s ease, transform .65s ease; }
.reveal-right.up { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .topbar { display: none; }
    .sobre-grid { grid-template-columns: 1fr; gap: 50px; }
    .services-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .impact-band-inner { flex-direction: column; }
    .volunteer-band-inner { flex-direction: column; }
    .contato-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .stats-bar { flex-wrap: wrap; padding: 36px; }
    .stat-divider { display: none; }
    .stat-item { flex: 1 1 40%; }
    .treatment-detail { grid-template-columns: 1fr; gap: 30px; }
    .treatment-detail.reverse .treatment-detail-media { order: 0; }
    .page-hero { padding: 150px 0 70px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: fixed; inset: 0; top: 70px;
        background: var(--bg); padding: 36px 24px; gap: 24px; z-index: 199;
    }
    .hamburger { display: flex; }
    .highlights { grid-template-columns: 1fr; }
    .impact-nums { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* ===== COMMENTS ===== */
.comments-area { margin-top: 60px; padding-top: 50px; border-top: 1.5px solid var(--border); }
.comments-title { font-size: 1.5rem; margin-bottom: 28px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list ol.children { list-style: none; margin: 20px 0 0 40px; padding: 0; }
.aderes-comment { margin-bottom: 24px; }
.comment-body {
    display: flex; gap: 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 22px 24px;
}
.comment-avatar img { border-radius: 50%; display: block; }
.comment-content-wrap { flex: 1; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.comment-author a, .comment-author { font-weight: 700; color: var(--dark); text-decoration: none; }
.comment-date { font-size: .82rem; color: var(--gray); }
.comment-text { font-size: .96rem; line-height: 1.7; color: var(--gray); }
.comment-text p { margin-bottom: 10px; }
.comment-awaiting-moderation { font-size: .85rem; color: var(--green); font-style: italic; margin-bottom: 8px; }
.comment-reply { margin-top: 10px; }
.comment-reply a {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .85rem; font-weight: 700; color: var(--green); text-decoration: none;
}
.comment-reply a:hover { color: var(--green-light); }
.no-comments { color: var(--gray); font-style: italic; margin-bottom: 30px; }

/* Formulário de comentário */
.comment-respond { background: var(--light-gray); border-radius: 24px; padding: 36px; }
.comment-reply-title { font-size: 1.3rem; margin-bottom: 8px; }
.comment-reply-title small { font-weight: 500; font-size: .9rem; margin-left: 10px; }
.comment-reply-title small a { color: var(--green); }
.comment-form { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .9rem; color: var(--dark); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    background: var(--white);
    transition: border-color .3s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--green); }
.comment-form textarea { resize: vertical; min-height: 130px; }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 10px; }
.comment-form .comment-form-cookies-consent input { width: auto; }
.comment-form .form-submit { margin: 0; }
.comment-form .comment-submit {
    background: var(--yellow); color: var(--dark);
    padding: 13px 30px; border-radius: 50px; border: none; cursor: pointer;
    font-weight: 700; font-size: 1rem;
    box-shadow: 0 4px 16px rgba(250,204,21,.35);
    transition: transform .2s, box-shadow .2s;
}
.comment-form .comment-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(250,204,21,.5); }

/* ===== HERO SLIDER (full-width, imagem de fundo) — fiel ao PDF ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 860px;
    overflow: hidden;
    background: var(--light-gray);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
/* Overlay claro à esquerda para legibilidade do texto escuro (como no PDF) */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(253,251,247,.92) 0%,
        rgba(253,251,247,.75) 28%,
        rgba(253,251,247,.30) 52%,
        rgba(253,251,247,0) 72%);
}
.hero-slide .container { position: relative; z-index: 2; width: 100%; margin-top: 70px; }
.hero-slide-content { max-width: 560px; }
.hero-slide-content h1 {
    font-size: 3.4em;
    line-height: 1.08;
    margin-bottom: 22px;
    color: var(--dark);
}
.hero-slide-content h1 .accent { color: var(--green); }
.hero-slide-content .hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
    color: var(--dark);
    font-weight: 500;
}
/* Bolinhas de navegação */
.hero-dots {
    position: absolute;
    bottom: 34px;
    left: 0; right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0,90,75,.3);
    cursor: pointer;
    padding: 0;
    transition: background .3s, transform .3s;
}
.hero-dot.active { background: var(--yellow); transform: scale(1.15); }
.hero-dot:hover { background: var(--green); }

@media (max-width: 768px) {
    .hero-slider { height: auto; min-height: 88vh; max-height: none; }
    .hero-slide { padding: 120px 0 90px; position: relative; }
    .hero-slide:not(.active) { display: none; }
    .hero-slide.active { position: relative; }
    .hero-slides { position: relative; }
    .hero-slide-overlay {
        background: linear-gradient(180deg,
            rgba(253,251,247,.85) 0%,
            rgba(253,251,247,.6) 50%,
            rgba(253,251,247,.35) 100%);
    }
    .hero-slide-content { text-align: center; margin: 0 auto; }
    .hero-slide-content .hero-desc { margin-left: auto; margin-right: auto; }
}

/* ===== GALERIA ===== */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.galeria-item {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.galeria-item:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,90,75,.16); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.galeria-item:hover img { transform: scale(1.06); }
.galeria-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 28px 16px 12px;
    color: #fff; font-size: .9rem; font-weight: 600;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
    opacity: 0; transition: opacity .3s;
}
.galeria-item:hover .galeria-caption { opacity: 1; }

/* Lightbox */
.galeria-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(17,24,39,.92);
    display: none; align-items: center; justify-content: center;
    flex-direction: column; padding: 40px;
}
.galeria-lightbox.open { display: flex; }
.galeria-lightbox img { max-width: 90%; max-height: 80vh; border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.galeria-lb-caption { color: #fff; margin-top: 18px; font-size: 1rem; font-weight: 600; text-align: center; }
.galeria-close {
    position: absolute; top: 24px; right: 34px;
    color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1;
    transition: color .2s;
}
.galeria-close:hover { color: var(--yellow); }

/* Formulário de envio: input file */
.galeria-form input[type="file"] {
    width: 100%; padding: 12px; border: 1.5px dashed var(--border);
    border-radius: 12px; background: var(--light-gray); cursor: pointer; font-family: inherit;
}
.galeria-form input[type="file"]:hover { border-color: var(--green); }
