/* Base comum dos sites do Grupo Milani. Cores e fontes ficam em site.css de cada site. */

:root {
  --primary: #c8102e;
  --primary-dark: #9e0c24;
  --primary-ink: #fff;
  --accent: #1d1d1f;
  --ink: #1b1d22;
  --muted: #5d6470;
  --line: #e3e6eb;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --dark: #15171c;
  --dark-2: #1f2229;
  --on-dark: #e9ebef;
  --on-dark-muted: #a3a9b5;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .18);
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body);
  --container: 1180px;
  --header-h: 76px;
  --wa: #157a40;             /* verde WhatsApp escurecido: texto branco legível (5,4:1) */
  --wa-dark: #0f6634;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.015em; color: inherit; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; top: 1rem; }
/* Texto só para leitores de tela */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.icon .fill { fill: currentColor; stroke: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .lead, .section-dark p { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head:not(.left) .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.45rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 20px -8px var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: var(--primary-ink); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f0; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-img { height: 52px; width: auto; }
.logo-text { font: 800 1.4rem/1 var(--font-head); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: .55rem .8rem; border-radius: 999px; transition: background-color .15s, color .15s; }
.nav a:hover { background: var(--bg-alt); color: var(--primary); }
.nav a[aria-current="page"], .nav a.is-section { color: var(--primary); }
.nav .btn { margin-left: .5rem; }
.nav .btn:hover { background: var(--primary-dark); color: var(--primary-ink); }
.nav-group { position: relative; }
.nav-group > a::after { content: ""; display: inline-block; width: .4em; height: .4em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); margin-left: .45em; }
.nav-sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: .45rem; display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.nav-sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { border-radius: 7px; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav a { padding: .95rem .6rem; font-size: 1.1rem; border-radius: 8px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 1.2rem 0 0; border-bottom: 0; }
  .nav-group > a::after { display: none; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .nav-sub a { font-size: 1rem; font-weight: 500; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--dark); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media .img-missing { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay, linear-gradient(100deg, rgba(10,12,16,.88) 0%, rgba(10,12,16,.6) 50%, rgba(10,12,16,.25) 100%)); }
.hero-inner { padding: clamp(5rem, 13vw, 9.5rem) 0 clamp(4.5rem, 11vw, 8rem); max-width: 720px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.85); font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 600px; margin-bottom: 2rem; }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2.2rem; color: rgba(255,255,255,.88); font-weight: 600; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges .icon { color: var(--hero-accent, var(--primary)); }

.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--dark); padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 7vw, 4.5rem); }
.page-hero .hero-media { opacity: .45; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .4rem; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }

/* Grade e cartões */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; position: relative; }
.card p { color: var(--muted); margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--primary) 11%, #fff); color: var(--primary); margin-bottom: 1.1rem; }
.card-icon .icon { width: 28px; height: 28px; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 700; color: var(--primary); font-size: .95rem; }
a.card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform .15s; }
.section-dark .card { background: var(--dark-2); border-color: rgba(255,255,255,.08); color: var(--on-dark); }
.section-dark .card p { color: var(--on-dark-muted); }

/* Bloco imagem + texto */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.media-frame { border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; background: var(--bg-alt); }
.media-frame img, .media-frame .img-missing { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--primary); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 2.6; margin-top: .12rem; }
.checklist.cols { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Números */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat strong { display: block; font: 800 2.2rem/1 var(--font-head); color: var(--primary); }
.stat span { font-size: .93rem; color: var(--muted); }

/* Depoimentos */
.testimonial { display: flex; flex-direction: column; gap: 1rem; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); }
.testimonial .stars { color: #f5a623; display: flex; gap: 2px; }
.testimonial .stars .icon { width: 18px; height: 18px; }
.testimonial footer { margin-top: auto; display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.testimonial footer small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; flex: none; }
.testimonial .quote-mark { color: color-mix(in srgb, var(--primary) 25%, #fff); width: 34px; height: 34px; }
.section-dark .testimonial blockquote { color: var(--on-dark); }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 1.1rem 2rem 1.1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Faixa de chamada */
.cta-band { background: var(--primary); color: var(--primary-ink); border-radius: calc(var(--radius) + 8px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: .3rem; color: inherit; }
.cta-band p { margin: 0; opacity: .88; font-size: 1.08rem; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.09); pointer-events: none; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Formulários */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.1rem; }
.form .full { grid-column: 1 / -1; }
.form-title { grid-column: 1 / -1; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: .6rem 0 -.2rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.form-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-weight: 600; font-size: .93rem; }
.field .req { color: var(--primary); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #cfd4dc; border-radius: var(--radius-sm); padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.field small { color: var(--muted); font-size: .85rem; }
.field-choices { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid #cfd4dc; border-radius: 999px; padding: .5rem .95rem; cursor: pointer; font-weight: 500; font-size: .95rem; transition: .15s; }
.choices input { accent-color: var(--primary); margin: 0; }
.choices label:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, #fff); color: var(--primary-dark); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .4rem; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e8f7ee; color: #146c3b; border: 1px solid #b7e4c7; }
.form-status.err { display: block; background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.form-status a { color: inherit; }
.form button[disabled] { opacity: .6; pointer-events: none; }

/* Contato */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 11%, #fff); color: var(--primary); flex: none; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--primary); }
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); display: block; background: var(--bg-alt); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }

/* Logos de marcas */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.brand { display: grid; place-items: center; height: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; font: 800 1.05rem/1 var(--font-head); color: #8a919e; letter-spacing: .02em; text-transform: uppercase; transition: .2s; }
.brand img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.brand:hover { border-color: transparent; box-shadow: var(--shadow); color: var(--ink); }
.brand:hover img { filter: none; opacity: 1; }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .8rem; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.gallery img, .gallery .img-missing { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,10,14,.92); display: grid; place-items: center; padding: 3rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 100%); width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.6rem; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Imagem ainda não enviada: mostra um bloco com o nome do arquivo esperado */
.img-missing { display: grid; place-items: center; text-align: center; padding: 1rem; background: repeating-linear-gradient(135deg, #e7eaef 0 14px, #eef0f4 14px 28px); color: #6b7280; font: 600 .85rem/1.35 var(--font-body); min-height: 120px; }
.hero .img-missing, .page-hero .img-missing { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: transparent; }

/* Rodapé */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem; font-size: .97rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 320px; }
.footer-brand .logo-img { height: 50px; }
.socials { display: flex; gap: .55rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); transition: .15s; }
.socials a:hover { background: var(--primary); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.6rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .86rem; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .2rem; color: var(--primary); }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: clamp(14px, 2.5vw, 26px); bottom: clamp(14px, 2.5vw, 26px); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.wa-button { width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(21,122,64,.6); transition: transform .2s; position: relative; }
.wa-button:hover { transform: scale(1.07); color: #fff; }
.wa-button .icon { width: 34px; height: 34px; }
.wa-button::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-bubble { background: #fff; color: var(--ink); width: min(290px, calc(100vw - 40px)); border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-lg); padding: 1.1rem 1.2rem 1.2rem; position: relative; animation: wa-in .35s ease; }
.wa-bubble strong { display: block; font-size: 1.02rem; margin-bottom: .25rem; padding-right: 1.4rem; }
.wa-bubble p { font-size: .93rem; color: var(--muted); margin-bottom: .9rem; }
.wa-bubble-close { position: absolute; top: .55rem; right: .55rem; background: none; border: 0; color: var(--muted); cursor: pointer; padding: .25rem; border-radius: 50%; }
.wa-bubble-close:hover { background: var(--bg-alt); }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Utilidades */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: .4rem; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary-dark); font-weight: 700; font-size: .82rem; padding: .3rem .75rem; border-radius: 999px; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .35rem; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.justify-center { justify-content: center; }

/* Celular: o efeito de vidro do cabeçalho prendia o menu; e o menu fechado não pode alargar a página */
html, body { overflow-x: clip; }
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .nav { visibility: hidden; }
  .nav.open { visibility: visible; }
}
