/* Plena Clean — estilos do site. Decisões de design: Specs/design.md */

:root {
  --navy: #04246C;
  --navy-dark: #0B1F40;
  --navy-mid: #12274A;
  --green-brand: #3C9B20;
  --green-light: #59B13A;
  --green-cta: #16A34A;
  --green-cta-hover: #12873D;
  --blue: #027BC5;
  --cyan: #00A2EA;
  --bg: #FFFFFF;
  --bg-alt: #F3F7FB;
  --text: #1B2A41;
  --text-2: #5B6B82;
  --border: #E1E8F0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(4, 36, 108, .06), 0 8px 24px rgba(4, 36, 108, .06);
  --shadow-lg: 0 20px 50px rgba(4, 36, 108, .18);
  --font-title: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 800; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon-sm { width: 1em; height: 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.muted { color: var(--text-2); }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font: 600 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-cta); color: #fff; }
.btn-primary:hover { background: var(--green-cta-hover); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn-sm { padding: 10px 18px; font-size: .95rem; border-radius: 999px; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 44px; width: auto; }
.menu-toggle { display: inline-flex; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; border-radius: 8px; }
.menu-toggle .icon { width: 28px; height: 28px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px 20px; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.main-nav.is-open { display: block; }
.nav-list > li > a, .sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 4px; font: 500 1.05rem var(--font-body); color: var(--text); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.nav-list a[aria-current="page"], .sub-toggle.is-current { color: var(--navy); font-weight: 600; }
.sub-toggle .icon { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu { display: none; padding: 4px 0 8px; }
.has-sub.is-open .sub-menu { display: block; }
.sub-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; color: var(--text); text-decoration: none; border-radius: 8px; }
.sub-menu a .icon { color: var(--green-brand); }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--bg-alt); color: var(--navy); }
.sub-menu li:first-child a { font-weight: 600; }
.nav-cta { margin-top: 16px; width: 100%; }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; align-items: center; gap: 28px; position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
  .nav-list { display: flex; align-items: center; gap: 28px; }
  .nav-list > li > a, .sub-toggle { width: auto; padding: 8px 0; border: 0; font-size: 1rem; gap: 6px; }
  .nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--navy); }
  .has-sub { position: relative; }
  .sub-menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 270px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; }
  .has-sub:hover .sub-menu, .has-sub.is-open .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
  .has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
  .nav-cta { margin: 0; width: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background-color: var(--navy-dark); background-size: cover; background-position: center; color: #fff; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 31, 64, .96) 0%, rgba(18, 39, 74, .88) 50%, rgba(18, 39, 74, .62) 100%); }
.hero-content { padding: 56px 20px 48px; max-width: 1180px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6.5vw, 3.6rem); max-width: 15ch; margin-bottom: 20px; }
.hero-page h1 { max-width: 18ch; font-size: clamp(2rem, 5.5vw, 3.1rem); }
.hero-sub { font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: #D5DFEE; max-width: 58ch; margin-bottom: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(0, 162, 234, .55); background: rgba(0, 162, 234, .12); color: #E3F2FD; border-radius: 999px; font-size: .9rem; font-weight: 500; margin-bottom: 22px; }
.badge .icon { color: var(--cyan); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-actions .btn { width: 100%; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; color: #D5DFEE; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--green-light); }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 960px) {
  .hero-content { padding: 110px 20px 96px; }
  .hero-page .hero-content { padding: 90px 20px 80px; }
}

/* ---------- Seções ---------- */
.section { padding: 64px 0; }
.section-sm { padding: 44px 0; }
.section-alt { background: var(--bg-alt); }
.section-top-0 { padding-top: 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } .section-sm { padding: 64px 0; } }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.kicker { display: inline-block; color: var(--green-brand); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.lead { font-size: 1.1rem; color: var(--text-2); }
.prose { color: var(--text-2); font-size: 1.05rem; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .split-reverse { grid-template-columns: .9fr 1.1fr; }
}
.split-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 620px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Lista com ícones de verificação */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--green-brand); width: 24px; height: 24px; margin-top: 1px; }
.check-list strong { display: block; color: var(--navy); font-weight: 600; }
.check-list span { color: var(--text); }
.check-list strong + span { color: var(--text-2); font-size: .95rem; }
.included-grid .check-list { gap: 18px; }
@media (min-width: 760px) { .included-grid .check-list { grid-template-columns: 1fr 1fr; gap: 22px 40px; } }

/* Antes e depois */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.ba-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba-tag { position: absolute; top: 12px; left: 12px; background: rgba(11, 31, 64, .85); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.ba-tag-after { background: var(--green-cta); }
.before-after figcaption { grid-column: 1 / -1; font-size: .85rem; color: var(--text-2); text-align: center; }

/* Diferenciais */
.grid-features { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-features { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .grid-features { grid-template-columns: repeat(5, 1fr); } }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.feature h3 { margin-top: 16px; }
.feature p { color: var(--text-2); font-size: .95rem; margin: 0; }
.feature-icon, .service-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(60, 155, 32, .1); color: var(--green-brand); }
.feature-icon .icon, .service-icon .icon { width: 26px; height: 26px; }

/* Como funciona */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.section-alt .step { box-shadow: var(--shadow); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1.1rem var(--font-title); margin-bottom: 14px; }
.step p { color: var(--text-2); margin: 0; font-size: .95rem; }

/* Cards de serviço */
.grid-services { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(3, 1fr); } }
.service-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-body { position: relative; padding: 0 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-body .service-icon { margin-top: -24px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.service-body h3 { margin-top: 14px; color: var(--navy); }
.service-body p { color: var(--text-2); font-size: .95rem; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--green-cta); font-weight: 600; }

.pill-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 500; background: #fff; }
.pill-links a:hover { border-color: var(--navy); }
.pill-links .icon { color: var(--green-brand); }

/* Para quem é */
.grid-audience { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-audience { grid-template-columns: repeat(4, 1fr); } }
.audience { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); }
.audience > .icon { width: 30px; height: 30px; color: var(--navy); }
.audience h3 { margin: 14px 0 6px; color: var(--navy); }
.audience p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* Cidades */
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-weight: 500; color: var(--navy); }
.cities .icon { color: var(--green-brand); width: 18px; height: 18px; }

/* Perguntas frequentes */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s; color: var(--green-brand); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--text-2); }

/* Chamada final */
.cta-band { background: var(--navy-dark); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 8px; }
.cta-band p { color: #D5DFEE; margin: 0; font-size: 1.1rem; }
@media (min-width: 860px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Conheça também */
.also-card { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: var(--radius); border: 2px solid var(--green-brand); text-decoration: none; color: inherit; background: #fff; transition: box-shadow .2s; }
.also-card:hover { box-shadow: var(--shadow-lg); }
.also-card h2 { font-size: 1.4rem; margin: 0 0 4px; }
.also-card p { margin: 0; color: var(--text-2); }
.also-card .kicker { margin-bottom: 4px; color: var(--green-brand); }
.also-card > .icon { margin-left: auto; color: var(--green-cta); width: 28px; height: 28px; }

/* Contato */
.page-title { padding: 56px 0 24px; }
.page-title h1 { font-size: clamp(2rem, 5vw, 3rem); }
.grid-contact { display: grid; gap: 20px; }
@media (min-width: 860px) { .grid-contact { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.contact-card h2 { font-size: 1.35rem; margin: 16px 0 4px; }
.contact-card p { color: var(--text-2); margin-bottom: 8px; }
.contact-value { font-weight: 600; color: var(--navy); word-break: break-word; margin-bottom: 18px; text-decoration: none; }
a.contact-value:hover { text-decoration: underline; }
.contact-card-main { border: 2px solid var(--green-cta); }

/* Texto legal */
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal li { margin-bottom: .3em; }

/* ---------- Rodapé ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding-top: 56px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr 1fr; } }
.footer-brand img { width: 180px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-2); }
.footer-title { font: 600 1rem var(--font-body); color: var(--navy); margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; word-break: break-word; }
.footer-links a:hover { color: var(--navy); }
.footer-links .icon { color: var(--green-brand); }
.footer-cities { display: flex; gap: 8px; color: var(--text-2); }
.footer-cities .icon { color: var(--green-brand); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 24px 20px 96px; margin-top: 40px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-2); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-2); }

/* ---------- Botão flutuante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--green-cta); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(22, 163, 74, .45); transition: transform .2s, background .2s; }
.wa-float:hover { transform: scale(1.06); background: var(--green-cta-hover); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--text-2); }
.cookie-banner a { white-space: nowrap; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; }
@media (min-width: 760px) {
  .cookie-banner { left: 50%; right: auto; transform: translateX(-50%); width: min(760px, calc(100% - 24px)); flex-direction: row; align-items: center; }
  .cookie-actions .btn { flex: none; }
}
body.cookie-open .wa-float { display: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); text-decoration: underline; cursor: pointer; }
