/* Padrão Gestor, site institucional (V2)
   Estrutura visual inspirada em ebuav.com: Poppins, fundo branco, cinzas neutros.
   Destaque: verde da marca. Para trocar, mude --accent, --accent-strong e --accent-text. */

/* 1. Fontes */
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* 2. Cores e medidas */
:root {
  --bg: #ffffff;
  --panel: #f4f5f6;
  --panel-2: #eef1f3;
  --text: #212529;
  --muted: #5b636b;
  --line: #e0e3e6;
  --accent: #5cd145;        /* verde de destaque da marca */
  --accent-strong: #317830; /* verde da logo: fundos com texto branco */
  --accent-text: #317830;   /* verde para texto sobre fundo claro */
  --wa-ink: #0b0c0e;        /* texto sobre o verde de destaque */
  --dark: #1b1f23;
  --dark-text: #eef1f3;
  --dark-muted: #a9b1b9;
  --radius: 4px;
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1200px;
  --max-larga: 1760px; /* barra de topo, cabeçalho e banner */
  --fonte: "Poppins", Arial, Helvetica, sans-serif;
  color-scheme: light;
}

/* Tema escuro: só quando a pessoa escolhe no botão do cabeçalho (data-theme). O site abre sempre no claro. */
:root[data-theme="dark"] {
  --bg: #0b0c0e;
  --panel: #15171b;
  --panel-2: #1c1f24;
  --text: #f3f5f8;
  --muted: #a1a9b6;
  --line: rgba(255, 255, 255, 0.12);
  --accent-text: #5cd145;
  --dark: #070809;
  color-scheme: dark;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 116px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 1rem/1.7 var(--fonte); -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
.h3 { font-size: 1.15rem; letter-spacing: 0; }
strong, b { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--larga { max-width: var(--max-larga); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--panel { background: var(--panel); }
.section--colada { padding-top: clamp(28px, 4vw, 40px); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 42rem; }
.nota { font-size: 0.88rem; color: var(--muted); margin-top: 20px; max-width: 44rem; }
.nota a:not(.btn), .prosa a:not(.btn), .faq a:not(.btn), .texto a:not(.btn) { color: var(--accent-text); font-weight: 700; }
.mais { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.mais:hover { text-decoration: underline; text-underline-offset: 4px; }
.links-linha { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* Título das seções da Home: caixa alta, itálico, segunda parte em verde (assinatura do site de referência) */
.titulo-secao { font-style: italic; font-weight: 500; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: 0; }
.titulo-secao span { color: var(--accent-text); }
.cabeca { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.cabeca p { color: var(--muted); }
.cabeca--centro { margin-inline: auto; text-align: center; }
.rotulo { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 10px; }

/* 4. Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius); border: 2px solid transparent; font: 700 0.95rem/1 var(--fonte); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn--wa { background: var(--accent); color: var(--wa-ink); }
.btn--wa:hover { background: #4fc039; }
.btn--line { border-color: var(--text); color: var(--text); background: transparent; }
.btn--line:hover { background: var(--text); color: var(--bg); }
.btn--inverse { border-color: #fff; color: #fff; background: transparent; }
.btn--inverse:hover { background: #fff; color: var(--dark); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row--centro { justify-content: center; }

/* Ícone do WhatsApp: completo fora dos botões, só o desenho branco dentro do botão verde */
.icone-wa { width: 28px; height: 28px; flex: none; background: url("../img/whatsapp.webp") center / contain no-repeat; border-radius: 6px; }
.btn--wa .icone-wa { width: 30px; height: 30px; border-radius: 0; background-image: url("../img/whatsapp-glifo.webp"); }

/* 5. Barra de contatos e cabeçalho */
.topbar { border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--accent-text); }
.topbar__grupo { display: flex; align-items: center; gap: 22px; }
.topbar .icone-wa { width: 20px; height: 20px; border-radius: 4px; }
.ico-redondo { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-strong); color: #fff; display: inline-grid; place-items: center; }
.ico-redondo svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .topbar { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 32px; min-height: 100px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 80px; width: auto; }
.logo--escuro { display: none; }
:root[data-theme="dark"] .logo--claro { display: none; }
:root[data-theme="dark"] .logo--escuro { display: block; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(4px, 1vw, 20px); }
.nav a { display: block; padding: 8px 12px; text-decoration: none; font-size: 0.95rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent-text); }
.nav a[aria-current="page"] { color: var(--accent-text); border-bottom-color: var(--accent); font-weight: 700; }
.header-acoes { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent-text); color: var(--accent-text); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-sol { display: none; }
:root[data-theme="dark"] .icon-sol { display: block; }
:root[data-theme="dark"] .icon-lua { display: none; }
.menu-btn { display: none; }
@media (max-width: 1240px) {
  .menu-btn { display: grid; }
  .header-acoes { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 16px; display: none; }
  .js .nav.is-open { display: block; }
  .no-js .nav { position: static; display: block; padding: 0 var(--gutter) 12px; }
  .no-js .site-header__in { flex-wrap: wrap; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
}
@media (max-width: 560px) {
  .site-header__in { min-height: 70px; gap: 10px; }
  .brand img { height: 52px; }
  .header-acoes .btn { display: none; }
}

/* 6. Banner rotativo */
.slider { position: relative; background: var(--panel-2); overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__txt { align-self: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px) clamp(72px, 7vw, 88px) max(var(--gutter), calc((100vw - var(--max-larga)) / 2 + var(--gutter))); }
.slide__kicker { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.slide__titulo { font-size: clamp(1.9rem, 3.1vw, 2.8rem); margin-bottom: 0.45em; letter-spacing: -0.02em; }
.slide__titulo em { font-style: normal; color: var(--accent-text); }
.slide__txt > p:not(.slide__kicker) { color: var(--muted); max-width: 32rem; }
.slide__img { position: relative; min-height: clamp(380px, 38vw, 520px); }
.slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider__ctrl { position: absolute; z-index: 5; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.slider__dots { display: flex; }
.slider__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider__dots button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent-strong); background: rgba(255, 255, 255, 0.8); }
.slider__dots button[aria-current="true"]::before { background: var(--accent-strong); }
.slider__btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.94); color: #212529; cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); }
.slider__btn:hover { color: var(--accent-strong); }
.slider__btn svg { width: 18px; height: 18px; }
.no-js .slider__ctrl { display: none; }
.no-js .slide { opacity: 1; visibility: visible; grid-area: auto; }
@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; }
  .slide__img { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .slide__txt { padding: 28px var(--gutter) 80px; }
}

/* 7. Números */
.numeros { border-block: 1px solid var(--line); }
.numeros__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numeros__lista li { padding: clamp(22px, 3vw, 34px) clamp(12px, 2vw, 28px); }
.numeros__lista li + li { border-left: 1px solid var(--line); }
.numeros b { display: block; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.numeros small { display: block; margin-top: 8px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 640px) {
  .numeros__lista { grid-template-columns: 1fr; }
  .numeros__lista li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; }
  .numeros__lista li + li { border-left: 0; border-top: 1px solid var(--line); }
  .numeros small { margin: 0; }
}

/* 8. Layouts de duas colunas */
.duas { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.duas--meio { align-items: center; }
.duas--iguais { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .duas, .duas--iguais { grid-template-columns: 1fr; } }
.foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* 9. Faixa de serviços (painel e três blocos com foto) */
.range { display: grid; grid-template-columns: 4fr 8fr; }
.range__txt { background: var(--panel-2); padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) max(var(--gutter), calc((100vw - var(--max-larga)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.range__txt p { color: var(--muted); }
.range__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 26px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.5s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 32, 14, 0.9) 18%, rgba(12, 32, 14, 0.3) 72%); }
.tile:hover img { transform: scale(1.05); }
.tile h3 { color: #fff; margin-bottom: 6px; font-size: 1.2rem; }
.tile p { color: rgba(255, 255, 255, 0.88); font-size: 0.88rem; margin-bottom: 12px; }
.tile span { font-weight: 700; font-size: 0.88rem; color: var(--accent); }
@media (max-width: 980px) { .range { grid-template-columns: 1fr; } .tile { min-height: 280px; } }
@media (max-width: 640px) { .range__tiles { grid-template-columns: 1fr; } }

/* 10. Como contratar (Home) */
.modos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.modo { padding: clamp(24px, 3.4vw, 44px); }
.modo + .modo { border-left: 1px solid var(--line); }
.modo h3 { font-size: 1.35rem; }
.modo p { color: var(--muted); }
.modo .prazo { color: var(--text); font-weight: 700; }
@media (max-width: 760px) { .modos { grid-template-columns: 1fr; } .modo + .modo { border-left: 0; border-top: 1px solid var(--line); } }

/* 11. Órgãos */
.orgaos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.orgao { background: var(--bg); display: flex; flex-direction: column; }
.orgao__cena { background: var(--panel-2); aspect-ratio: 8 / 5; }
.orgao__cena svg { width: 100%; height: 100%; }
.orgao__corpo { padding: 18px 20px 24px; }
.orgao__cab { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.orgao__selo { flex: none; width: 46px; height: 46px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.orgao__selo img { max-width: 34px; max-height: 36px; width: auto; }
.orgao__selo--txt { background: var(--accent-strong); color: #fff; border: 0; font-weight: 700; font-size: 0.8rem; }
.orgao h3 { margin: 0; font-size: 1.1rem; line-height: 1.15; }
.orgao__cab small { display: block; font-size: 0.74rem; color: var(--muted); line-height: 1.3; margin-top: 3px; }
.orgao p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.orgao--cta { background: var(--accent-strong); color: #fff; justify-content: center; padding: 28px; }
.orgao--cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.orgao--cta p { color: rgba(255, 255, 255, 0.92); margin-bottom: 20px; }
/* 6 órgãos + a chamada: ocupa 2 colunas na grade de 4 e a linha inteira nas menores, sem sobrar célula vazia */
.orgao--cta { grid-column: span 2; }
@media (max-width: 1100px) { .orgaos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .orgao--cta { grid-column: 1 / -1; } }
@media (max-width: 800px) { .orgaos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .orgaos-grid { grid-template-columns: 1fr; } }

/* Cenas animadas. Cada animação roda uma vez quando o cartão aparece na tela e termina no quadro final.
   Sem JavaScript ou com movimento reduzido, o quadro final aparece direto. */
.cena .l { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cena .l-fino { fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; opacity: 0.32; }
.cena .f { fill: var(--accent); }
.cena .f-suave { fill: var(--accent); opacity: 0.18; }
.cena .papel { fill: var(--bg); stroke: var(--text); stroke-opacity: 0.25; stroke-width: 1.5; }
.cena .tinta { fill: #0b0c0e; }
.cena .tinta-l { fill: none; stroke: #0b0c0e; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cena .tx { font: 700 12px var(--fonte); fill: #0b0c0e; letter-spacing: 0.04em; }
.cena .tx-esc { font: 700 11px var(--fonte); fill: var(--text); opacity: 0.6; letter-spacing: 0.04em; }
.cena .tx-acc { font: 700 14px var(--fonte); fill: var(--accent-text); letter-spacing: 0.06em; }
.cena * { transform-box: fill-box; }

@keyframes voo { 0% { transform: translate(-180px, 70px); opacity: 0; } 6% { opacity: 1; } 25% { transform: translate(-142px, 32px); } 50% { transform: translate(-100px, 8px); } 75% { transform: translate(-52px, -3px); } 100% { transform: translate(0, 0); opacity: 1; } }
@keyframes rotor { 50% { transform: scaleX(0.3); } }
@keyframes pop { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes varre { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes surge { from { opacity: 0; } to { opacity: 1; } }
@keyframes anel { 0% { transform: scale(0.3); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes traco { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes sobe { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes cresce { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes carimbo { 0% { transform: scale(2); opacity: 0; } 70% { transform: scale(0.94); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes pino { 0% { transform: translateY(-26px); opacity: 0; } 70% { transform: translateY(2px); opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }

.a-drone { animation: voo 2.4s cubic-bezier(0.3, 0.6, 0.4, 1); }
.a-rotor { transform-origin: center; animation: rotor 0.16s linear 16; }
.a-pop { transform-origin: center; animation: pop 0.5s ease-out; }
.a-varre { transform-box: view-box; transform-origin: 160px 100px; animation: varre 2.4s ease-in-out; }
.a-surge { animation: surge 0.4s ease-out; }
.a-anel { transform-origin: center; opacity: 0; animation: anel 1.2s ease-out 2; }
.a-traco { stroke-dasharray: 100; animation: traco 0.7s ease-out; }
.a-sobe { transform-origin: bottom; animation: sobe 0.6s ease-out; }
.a-cresce { transform-origin: bottom center; animation: cresce 0.6s ease-out; }
.a-carimbo { transform-origin: center; animation: carimbo 0.5s ease-out; }
.a-pino { animation: pino 0.5s ease-out; }
.d1 { animation-delay: 0.2s; } .d2 { animation-delay: 0.5s; } .d3 { animation-delay: 0.8s; } .d4 { animation-delay: 1.1s; }
.d5 { animation-delay: 1.4s; } .d6 { animation-delay: 1.8s; } .d7 { animation-delay: 2.2s; } .d8 { animation-delay: 2.5s; }
/* Controle de reprodução depois dos atalhos acima, que zeram essas propriedades */
.cena [class*="a-"] { animation-fill-mode: both; animation-play-state: paused; }
.orgao.is-play .cena [class*="a-"] { animation-play-state: running; }
.orgao.reinicia .cena [class*="a-"], .no-js .cena [class*="a-"] { animation: none !important; }

/* 12. Curso CAAR */
.caar { background: var(--dark); color: var(--dark-text); }
.caar .rotulo, .caar .titulo-secao span { color: var(--accent); }
.caar h2 { color: #fff; }
.caar p { color: var(--dark-muted); }
.caar__fatos { margin: 22px 0 4px; display: grid; gap: 10px; }
.caar__fatos li { padding-left: 22px; position: relative; color: var(--dark-text); }
.caar__fatos li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; background: var(--accent); }
.caar__bonus { margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--accent); background: rgba(255, 255, 255, 0.05); }
.caar__bonus b { display: block; color: #fff; }
.caar__bonus span { color: var(--dark-muted); font-size: 0.92rem; }
.caar .mais { color: var(--accent); }
.caar__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .caar__foto { order: -1; } .caar__foto img { aspect-ratio: 16 / 10; } }

/* 13. Perguntas (acordeão) */
.faq { max-width: 52rem; }
.faq h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: clamp(32px, 5vw, 52px) 0 8px; }
.faq h2:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--accent-text); border-bottom: 2.5px solid var(--accent-text); transform: translateY(-70%) rotate(45deg); }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 46rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* 14. Vídeo institucional (YouTube carregado só após o clique) */
.video-wrap { background: #000; aspect-ratio: 9 / 16; max-width: 330px; width: 100%; border-radius: var(--radius); overflow: hidden; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.video-play { position: relative; display: block; width: 100%; height: 100%; color: #fff; text-decoration: none; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-play__icone { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--accent); color: var(--wa-ink); display: grid; place-items: center; }
.video-play__icone svg { width: 32px; height: 32px; margin-left: 4px; }
.video-play__rotulo { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; font-weight: 700; font-size: 0.88rem; text-align: center; background: rgba(0, 0, 0, 0.6); }
.duas.inst { grid-template-columns: minmax(0, 330px) 1fr; }
@media (max-width: 860px) { .duas.inst { grid-template-columns: 1fr; } }

/* 15. Faixa de chamada */
.faixa-cta { background: var(--accent-strong); color: #fff; }
.faixa-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-block: clamp(36px, 5vw, 56px); }
.faixa-cta h2 { color: #fff; margin-bottom: 6px; }
.faixa-cta p { color: rgba(255, 255, 255, 0.92); margin: 0; max-width: 40rem; }
.faixa-cta .cta-row { margin-top: 0; }

/* 16. Páginas internas */
.pagina-topo { background: var(--panel-2); padding-block: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.pagina-topo h1 { max-width: 24ch; margin-bottom: 0.35em; }
.pagina-topo .lead { margin-bottom: 0; }
.pagina-topo .cta-row { margin-top: 24px; }
.migalhas { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.migalhas a { text-decoration: none; color: var(--accent-text); font-weight: 700; }
.migalhas a:hover { text-decoration: underline; }
.faixa-img { height: clamp(180px, 26vw, 320px); overflow: hidden; margin-top: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.faixa-img img { width: 100%; height: 100%; object-fit: cover; }
.faixa-img--cafe img { object-position: 50% 40%; }
.caixa { background: var(--panel); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); }
.section--panel .caixa { background: var(--bg); }
.caixa h3 { margin-bottom: 14px; }
.lista { display: grid; gap: 8px; }
.lista li { padding-left: 20px; position: relative; }
.lista li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 8px; height: 8px; background: var(--accent); }
.lista + .rotulo { margin-top: 24px; }

/* 17. Tabela comparativa dos planos */
/* Filtro dos planos por público. Sem JavaScript o filtro some e a tabela aparece inteira. */
.filtro { display: inline-flex; flex-wrap: wrap; gap: 0; margin-bottom: 18px; border: 1.5px solid var(--accent-strong); border-radius: var(--radius); overflow: hidden; }
.filtro button { min-height: 44px; padding: 0 20px; border: 0; background: var(--bg); color: var(--text); font: 700 0.9rem/1 var(--fonte); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease; }
.filtro button + button { border-left: 1.5px solid var(--accent-strong); }
.filtro button:hover { background: var(--panel-2); }
.filtro button[aria-pressed="true"] { background: var(--accent-strong); color: #fff; }
.no-js .filtro { display: none; }
.planos[data-filtro="prestador"] .col-produtor,
.planos[data-filtro="produtor"] .col-prestador { display: none; }
.planos[data-filtro="prestador"] .tabela-planos { min-width: 520px; }
.planos[data-filtro="produtor"] .tabela-planos { min-width: 0; }
.planos[data-filtro="produtor"] .tabela-planos thead th:first-child { width: 45%; }
.planos[data-filtro="produtor"] .dica-rolagem { display: none !important; }
@media (max-width: 520px) {
  .filtro { display: flex; }
  .filtro { flex-wrap: nowrap; }
  .filtro button { flex: 1 1 auto; padding: 0 8px; font-size: 0.8rem; }
}
.dica-rolagem { display: none; font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 720px) { .dica-rolagem { display: block; } }
.tabela-rolagem { overflow-x: auto; border: 1px solid var(--line); background: var(--bg); }
.tabela-planos { width: 100%; min-width: 680px; border-collapse: collapse; table-layout: fixed; font-size: 0.92rem; }
.tabela-planos thead th:first-child { width: 25%; }
.tabela-planos th, .tabela-planos td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tabela-planos thead th { background: var(--panel-2); font-size: 1.05rem; }
.tabela-planos thead th small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.tabela-planos tbody th { font-weight: 700; }
.tabela-planos tbody tr:last-child > * { border-bottom: 0; }
.tabela-planos .sim::before { content: ""; display: inline-block; vertical-align: -3px; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0c0e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tabela-planos .nao { color: var(--muted); }
.tabela-planos th:first-child { position: sticky; left: 0; background: var(--bg); }
.tabela-planos thead th:first-child { background: var(--panel-2); }

/* 18. Equipe */
.equipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.equipe figure { margin: 0; }
.equipe img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 1000px) { .equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .equipe { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* Zoom do cartão ao passar o mouse (ou focar pelo teclado), para ler o nome e o cargo.
   Os cartões das pontas crescem para dentro, para não sair da página. No celular os cartões já ocupam a largura toda. */
@media (hover: hover) and (min-width: 521px) {
  .equipe li { position: relative; z-index: 1; }
  .equipe figure { transition: transform 0.25s ease, box-shadow 0.25s ease; transform-origin: center; border-radius: var(--radius); outline-offset: 4px; }
  .equipe li:hover, .equipe li:focus-within { z-index: 2; }
  .equipe li:hover figure, .equipe figure:focus-visible { transform: scale(1.45); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28); }
  .equipe li:nth-child(odd) figure { transform-origin: left center; }
  .equipe li:nth-child(even) figure { transform-origin: right center; }
}
@media (hover: hover) and (min-width: 1001px) {
  .equipe li:nth-child(n) figure { transform-origin: center; }
  .equipe li:first-child:nth-child(n) figure { transform-origin: left center; }
  .equipe li:last-child:nth-child(n) figure { transform-origin: right center; }
}

/* 19. Contato */
.contatos { display: grid; gap: 12px; }
.contato-item { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--accent-strong); text-decoration: none; }
.contato-item:hover { border-color: var(--accent-text); }
.contato-item .ico { width: 46px; height: 46px; display: grid; place-items: center; flex: none; }
.contato-item .ico svg { width: 26px; height: 26px; color: var(--accent-text); }
.contato-item .ico .icone-wa { width: 44px; height: 44px; border-radius: 10px; }
.contato-item small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contato-item strong { font-size: clamp(1.05rem, 2vw, 1.3rem); overflow-wrap: anywhere; }
.contato-item--wa { border-left-color: var(--accent); }
.qr { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.qr img { width: 120px; height: 120px; border: 1px solid var(--line); background: #fff; flex: none; }
.qr p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* 20. Texto corrido */
.prosa { max-width: 46rem; }
.prosa h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin: 2em 0 0.5em; }
.prosa p, .prosa li { color: var(--muted); }
.prosa ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prosa .tabela-rolagem { margin: 18px 0 20px; max-width: none; }
.prosa code { font-size: 0.9em; background: var(--panel-2); padding: 1px 6px; border-radius: 3px; }
.texto p { color: var(--muted); }
.tabela-texto { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.88rem; }
.tabela-texto th, .tabela-texto td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.tabela-texto th { background: var(--panel-2); color: var(--text); font-weight: 700; }
.tabela-texto tr:last-child td { border-bottom: 0; }
.tabela-texto td:first-child { color: var(--text); font-weight: 700; }

/* Avisos que aparecem quando a página abre com #ok ou #erro (formulários sem JavaScript) */
.aviso-alvo { display: none; padding: 16px 20px; margin-bottom: 24px; border-left: 4px solid var(--accent); background: var(--panel); }
.aviso-alvo:target { display: block; }
.aviso-alvo p { margin: 4px 0 0; }
.aviso-alvo--erro { border-left-color: #c0392b; }

/* Formulários de e-mail (cadastro no rodapé e cancelamento) */
.form-simples { margin: 8px 0 28px; }
.form-simples > label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-simples__linha { display: flex; gap: 10px; }
.form-simples input[type="email"], .inscricao input[type="email"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 500 1rem var(--fonte); }
.form-simples input[type="email"]:focus, .inscricao input[type="email"]:focus { border-color: var(--accent-strong); }
.form-aviso { margin: 10px 0 0; min-height: 1.5em; font-size: 0.9rem; font-weight: 700; }
.form-aviso[data-estado="ok"] { color: var(--accent-text); }
.form-aviso[data-estado="erro"] { color: #c0392b; }
.campo-isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .form-simples__linha { flex-direction: column; } }

/* 21. Rodapé */
.site-footer { background: var(--dark); color: var(--dark-text); padding-block: clamp(40px, 6vw, 64px) 26px; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: clamp(24px, 4vw, 64px); }
.footer__grid img { height: 92px; width: auto; margin-bottom: 18px; }
.footer__grid h2 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__grid li { margin-bottom: 8px; }
.footer__grid a { text-decoration: none; color: var(--dark-text); }
.footer__grid a:hover { color: var(--accent); }
.empresa { color: var(--dark-muted); max-width: 26rem; }
.footer__contato li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contato svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
/* No rodapé o WhatsApp segue o estilo dos outros ícones: só o traço, no verde de destaque */
.footer__contato .icone-wa { width: 20px; height: 20px; margin-top: 3px; border-radius: 0; background: var(--accent); -webkit-mask: url("../img/whatsapp-glifo.webp") center / 132% no-repeat; mask: url("../img/whatsapp-glifo.webp") center / 132% no-repeat; }
.footer__base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: var(--dark-muted); }
.footer__base a { color: var(--dark-text); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer :focus-visible { outline-color: var(--accent); }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; } }

/* Cadastro de e-mail no rodapé */
.footer__inscricao { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 56px; align-items: center; padding-bottom: clamp(28px, 4vw, 40px); margin-bottom: clamp(28px, 4vw, 40px); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer__inscricao h2 { font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.footer__inscricao p { color: var(--dark-muted); margin: 0; }
/* Ordem no código: e-mail, autorização, botão (é a ordem do teclado). Na tela, o botão fica ao lado do e-mail. */
.inscricao { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.inscricao input[type="email"] { grid-column: 1; grid-row: 1; background: #fff; color: #212529; border-color: transparent; }
.inscricao > button { grid-column: 2; grid-row: 1; }
.inscricao__aceite { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 10px; align-items: flex-start; margin-top: 2px; font-size: 0.82rem; line-height: 1.5; color: var(--dark-muted); }
.inscricao .form-aviso { grid-column: 1 / -1; grid-row: 3; margin: 0; }
@media (max-width: 480px) {
  .inscricao { grid-template-columns: 1fr; }
  .inscricao > button { grid-column: 1; grid-row: 3; }
  .inscricao .form-aviso { grid-row: 4; }
}
.inscricao__aceite input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.inscricao__aceite a { color: var(--dark-text); }
.inscricao .form-aviso[data-estado="ok"] { color: var(--accent); }
.inscricao .form-aviso[data-estado="erro"] { color: #ffb4a9; }
@media (max-width: 820px) { .footer__inscricao { grid-template-columns: 1fr; } }

/* 22. WhatsApp flutuante (desktop) e barra inferior (celular) */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
.fab-wa img { width: 100%; height: 100%; border-radius: 14px; }
.barra-mobile { display: none; }
@media (max-width: 720px) {
  .fab-wa { display: none; }
  .barra-mobile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--accent-strong); padding-bottom: env(safe-area-inset-bottom); }
  .barra-mobile a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 9px; color: #fff; text-decoration: none; font-size: 0.75rem; font-weight: 700; }
  .barra-mobile a + a { border-left: 1px solid rgba(255, 255, 255, 0.28); }
  .barra-mobile img, .barra-mobile svg { width: 26px; height: 26px; border-radius: 6px; }
  body { padding-bottom: 62px; }
}

/* 23. Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .cena * { animation: none !important; }
  .tile:hover img { transform: none; }
}
