:root {
  --red: #D8442F;
  --red-dark: #B3341F;
  --gold: #E8A33D;
  --gold-dark: #C97F1E;
  --black: #221D1A;
  --cream: #FBF5E9;
  --cream-2: #F3E9D6;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Nunito', sans-serif; color: var(--black); background: var(--cream); line-height: 1.55; }
h1, h2, h3, h4 { font-family: 'Quicksand', sans-serif; font-weight: 700; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.tag { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.placeholder-note { display: inline-block; background: #FCEFEF; border: 1.5px dashed var(--red-dark); color: var(--red-dark); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 10px; margin: 10px 0; }

/* Top utility bar */
.topbar { background: var(--black); color: #eee; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-left a { color: inherit; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.topbar-social a:hover { background: var(--gold); }

/* Header */
header.main { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 50; }
header.main .container { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 20px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 64px; width: auto; }
.brand .brand-text { font-family: 'Quicksand', sans-serif; }
.brand .brand-text strong { display: block; font-size: 15px; color: var(--red-dark); letter-spacing: .02em; }
.brand .brand-text span { display: block; font-size: 11.5px; color: #6b6259; max-width: 260px; }
nav.main-nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
nav.main-nav a { font-weight: 700; font-size: 14.5px; padding: 10px 14px; border-radius: 8px; color: var(--black); }
nav.main-nav a:hover, nav.main-nav a.active { background: var(--cream-2); color: var(--red-dark); }
.btn-filiese { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff !important; padding: 10px 20px !important; border-radius: 999px !important; box-shadow: 0 4px 12px rgba(201,127,30,.35); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--red-dark); cursor: pointer; }

/* WhatsApp floating button */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; background: var(--whatsapp); color: #fff; width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 6px 18px rgba(0,0,0,.3); z-index: 100; animation: pulse 2.4s infinite; }
.whatsapp-float:hover { background: var(--whatsapp-dark); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 6px 18px rgba(0,0,0,.3); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.3); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.3); } }

/* Hero (home) */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; background: url('../img/hero-slider.jpg') center/cover; }
.hero::before { content:''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(179,52,31,.92) 0%, rgba(216,68,47,.82) 45%, rgba(201,127,30,.65) 100%); }
.hero .container { position: relative; z-index: 2; color: #fff; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { font-size: 42px; max-width: 680px; line-height: 1.2; margin-bottom: 18px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.hero p.lead { font-size: 18px; max-width: 620px; margin-bottom: 30px; color: #fff2e6; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero (subpages) - shorter banner */
.page-hero { position: relative; min-height: 260px; display: flex; align-items: center; background-size: cover; background-position: center; }
.page-hero::before { content:''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(179,52,31,.90), rgba(201,127,30,.78)); }
.page-hero .container { position: relative; z-index: 2; color: #fff; padding-top: 40px; padding-bottom: 40px; }
.page-hero h1 { font-size: 34px; margin-bottom: 8px; }
.breadcrumb { font-size: 13.5px; color: #ffe6cf; margin-bottom: 10px; }
.breadcrumb a { color: #fff; font-weight: 700; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; padding: 15px 26px; border-radius: 999px; font-size: 15.5px; box-shadow: 0 6px 16px rgba(0,0,0,.2); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-red { background: var(--red); color: #fff; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.eyebrow { color: var(--red-dark); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.section-title { font-size: 32px; margin-bottom: 16px; }
.section-lead { max-width: 680px; color: #55493d; font-size: 16.5px; margin-bottom: 46px; }

/* Institucional overlay pattern (reused on hero-photo sections) */
.overlay-section { position: relative; }
.overlay-section .container { position: relative; z-index: 2; color: #fff; }
.overlay-section .section-lead { color: #f4e6d8; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(2px); border-radius: 18px; padding: 30px 26px; }
.card .icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.card p { font-size: 14.5px; color: #f0e2d3; margin-bottom: 14px; }
.card a.link { font-weight: 800; font-size: 13.5px; color: var(--gold); }

.institucional { background: url('https://images.unsplash.com/photo-1679000265956-3bd0f356b2b3?w=1600&q=80') center/cover; }
.institucional::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(34,29,26,.88), rgba(179,52,31,.85)); }

/* Filiação */
.filiacao { position: relative; background: url('../img/filiacao-bg.jpg') center/cover; }
.filiacao::before { content:''; position:absolute; inset:0; background: linear-gradient(120deg, rgba(201,127,30,.92), rgba(232,163,61,.78)); }
.filiacao .container { position: relative; z-index: 2; color: #fff; text-align: center; }
.filiacao h2 { font-size: 34px; margin-bottom: 14px; }
.filiacao p.lead { max-width: 620px; margin: 0 auto 30px; font-size: 17px; color: #fff3e0; }
.filiacao-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.pix-box { display: inline-flex; gap: 24px; align-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); border-radius: 18px; padding: 22px 30px; text-align: left; flex-wrap: wrap; }
.pix-box .qr { width: 96px; height: 96px; border-radius: 10px; overflow:hidden; background:#fff; }
.pix-box .qr img { width:100%; height:100%; object-fit:cover; }
.pix-box .pix-key { font-family: monospace; background: rgba(0,0,0,.2); padding: 4px 10px; border-radius: 6px; display:inline-block; margin-top:4px; }

/* Benefícios */
.beneficios { background: var(--cream-2); }
.benef-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 56px; }
.benef-card { background: #fff; border-radius: 16px; padding: 26px 22px; box-shadow: 0 4px 14px rgba(34,29,26,.06); border-top: 4px solid var(--gold); }
.benef-card .icon { font-size: 28px; margin-bottom: 12px; }
.benef-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--red-dark); }
.benef-card p { font-size: 14px; color: #55493d; }

.carousel-wrap { position: relative; max-width: 760px; margin: 0 auto; }
.carousel { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 40px rgba(34,29,26,.18); aspect-ratio: 16/9; background:#111; }
.carousel .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.carousel .slide.active { opacity: 1; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .slide .cap { position: absolute; left: 0; right:0; bottom:0; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); color: #fff; padding: 18px 22px; font-weight: 800; font-size: 15px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 18px; cursor: pointer; z-index: 5; }
.carousel-btn.prev { left: 14px; } .carousel-btn.next { right: 14px; }
.carousel-dots { display:flex; justify-content:center; gap:8px; margin-top: 16px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #d8c6a8; cursor: pointer; }
.carousel-dots button.active { background: var(--red); width: 26px; border-radius: 6px; }

/* Notícias */
.noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.noticia-card { background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 4px 14px rgba(34,29,26,.06); border-left: 5px solid var(--red); }
.noticia-card h3 { font-size: 17px; color: var(--red-dark); margin-bottom: 10px; }
.noticia-card p { font-size: 14px; color: #55493d; margin-bottom: 10px; }
.noticia-card .phone { font-weight: 800; color: var(--whatsapp-dark); }
.sub-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; }
.sub-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(34,29,26,.06); }
.sub-card .body { padding: 20px 22px; }
.sub-card h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--red-dark); }
.sub-card p { font-size: 13.5px; color: #55493d; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; background:#000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.cct-list { list-style: none; padding: 18px 22px; }
.cct-list li { margin-bottom: 10px; }
.cct-list a { font-size: 13.5px; font-weight: 700; color: var(--red-dark); display:flex; gap:8px; align-items:center; }
.empresa-promo { background: linear-gradient(135deg, #6b3fa0, #4a2c73); color: #fff; }
.empresa-promo .body h4, .empresa-promo .body p { color: #fff; }
.empresa-promo .saiba { display:inline-block; margin-top:10px; background:#fff; color:#4a2c73; font-weight:800; padding:8px 16px; border-radius:999px; font-size:12.5px; }

/* Post articles (Notícias page) */
.post-card { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 14px rgba(34,29,26,.06); margin-bottom: 26px; }
.post-card .meta { font-size: 12.5px; color: #9c8f7c; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.post-card h3 { font-size: 21px; color: var(--red-dark); margin-bottom: 14px; }
.post-card p { font-size: 15px; color: #4a4038; margin-bottom: 12px; }
.post-card .source-link { font-size: 13px; font-weight: 700; color: var(--gold-dark); }

/* Videoteca — carrossel real de vídeos (YouTube embeds) */
.video-carousel-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.video-carousel { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 40px rgba(34,29,26,.18); aspect-ratio: 16/9; background:#000; }
.video-carousel .vslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.video-carousel .vslide.active { opacity: 1; visibility: visible; }
.video-carousel .vslide iframe { width: 100%; height: 100%; border: 0; }
.video-carousel .vslide .cap { position: absolute; left:0; right:0; bottom:0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); color:#fff; padding: 16px 20px 10px; font-weight: 800; font-size: 14.5px; pointer-events:none; }
.video-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 18px; cursor: pointer; z-index: 6; }
.video-carousel-btn.prev { left: -18px; } .video-carousel-btn.next { right: -18px; }
.video-carousel-dots { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top: 18px; }
.video-carousel-dots button { min-width: 10px; height: 10px; padding:0; border-radius: 50%; border: none; background: #d8c6a8; cursor: pointer; }
.video-carousel-dots button.active { background: var(--red); width: 26px; border-radius: 6px; }
.video-carousel-title { text-align:center; margin-top:14px; font-weight:800; color: var(--red-dark); font-size: 15px; }

/* Videoteca */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 4px 14px rgba(34,29,26,.06); border-top: 4px solid var(--red); }
.video-card .play { font-size: 26px; margin-bottom: 10px; }
.video-card h4 { font-size: 15.5px; color: var(--red-dark); margin-bottom: 6px; }
.video-card p { font-size: 13px; color: #6b6259; }

/* Contato */
.contato { position: relative; background: url('../img/contato-bg.jpg') center/cover; }
.contato::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(34,29,26,.93), rgba(34,29,26,.86)); }
.contato .container { position: relative; z-index: 2; color: #fff; }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.contato-info p { margin-bottom: 14px; font-size: 15.5px; color: #e9ddcd; }
.contato-info .phone-btn { display:inline-flex; align-items:center; gap:10px; background: var(--whatsapp); color:#fff; font-weight:800; padding: 12px 20px; border-radius: 999px; margin-top: 6px; }
.map-box { border-radius: 16px; overflow: hidden; height: 260px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
form.contact-form { display: grid; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 26px; }
form.contact-form input, form.contact-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: none; font-family: inherit; font-size: 14.5px; background: rgba(255,255,255,.92); }
form.contact-form textarea { min-height: 100px; resize: vertical; }
form.contact-form button { justify-self: start; background: var(--red); color:#fff; font-weight: 800; padding: 12px 26px; border-radius: 999px; border: none; cursor: pointer; }
form.contact-form .form-msg { font-size: 13.5px; font-weight: 700; padding: 10px 14px; border-radius: 10px; display:none; }
form.contact-form .form-msg.show { display:block; }
form.contact-form .form-msg.ok { background: rgba(37,211,102,.18); color:#d9f7e4; border:1px solid rgba(37,211,102,.5); }
form.contact-form .form-msg.err { background: rgba(216,68,47,.18); color:#ffd9d0; border:1px solid rgba(216,68,47,.5); }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width:1px; height:1px; overflow:hidden; }
.badges { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; background: #fff; border-radius: 14px; padding: 18px 26px; }
.badges img { height: 40px; width: auto; }

/* Generic light section content */
.plain-section h2 { font-size: 28px; margin-bottom: 18px; color: var(--red-dark); }
.plain-section p { font-size: 15.5px; color: #4a4038; margin-bottom: 16px; max-width: 760px; }

footer.site-footer { background: var(--black); color: #cbbfae; padding: 26px 0; text-align: center; font-size: 13px; }
footer.site-footer strong { color: #fff; }
footer.site-footer a { color: #f0d9b8; font-weight: 700; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 24px 18px; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--cream-2); border-radius:0; }
  .btn-filiese { text-align:center; margin-top: 8px; }
  .cards3, .benef-grid, .noticias-grid, .sub-grid, .contato-grid, .video-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .video-carousel-btn.prev { left: 6px; } .video-carousel-btn.next { right: 6px; }
}

/* Lazy YouTube embed (facade/click-to-play) — evita erro de origem/153 e carregar vários iframes de uma vez */
.yt-embed { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; cursor: pointer; overflow: hidden; border-radius: inherit; }
.yt-embed .yt-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-embed .yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(216,68,47,.92); color: #fff; font-size: 24px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform .15s ease; }
.yt-embed .yt-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.yt-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Mini carrossel de logos/parceiros (Empresas com Responsabilidade Social) */
.mini-carousel-wrap { max-width: 220px; margin: 18px auto 0; }
.mini-carousel { position: relative; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--cream-2); }
.mini-carousel .mslide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: flex; align-items: center; justify-content: center; padding: 18px; }
.mini-carousel .mslide.active { opacity: 1; }
.mini-carousel .mslide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini-carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.mini-carousel-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; background: #d8c6a8; cursor: pointer; }
.mini-carousel-dots button.active { background: var(--red); width: 20px; border-radius: 4px; }

/* Badges / Links Úteis — agora exibidos como botões centralizados */
.badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; background: transparent; padding: 0; border-radius: 0; }

/* Parceiro único (Benefícios) */
.parceiro-box { text-align: center; margin-top: 40px; }
.parceiro-box img { max-width: 220px; margin: 0 auto 12px; border-radius: 12px; box-shadow: 0 4px 14px rgba(34,29,26,.1); }
.parceiro-box p { font-size: 13.5px; color: #6b6259; max-width: 320px; margin: 0 auto; }
