/* LM Informática — landing page. Cores e fontes vêm do painel (variáveis em :root). */
:root {
  --primary: #307fc1; --primary-dark: #04367c; --secondary: #188ef4; --accent: #ff4f7b;
  --success: #52c33a; --dark: #0b1b33; --text: #2c3e50; --bg-soft: #f4f8fa;
  --font-heading: 'Montserrat', system-ui, sans-serif; --font-body: 'Inter', system-ui, sans-serif;
  --muted: #64748b; --line: #e3eaf2; --white: #fff;
  --radius: 18px; --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(4, 54, 124, .06);
  --shadow: 0 12px 32px -12px rgba(4, 54, 124, .18);
  --shadow-lg: 0 30px 60px -20px rgba(4, 54, 124, .35);
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary-dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { position: relative; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.icon { width: 1.25em; height: 1.25em; stroke-width: 2; flex-shrink: 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-heading); font-weight: 700; font-size: .97rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--secondary) 45%, transparent); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); color: #fff; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--secondary) 70%, transparent); }
.btn-primary:hover { box-shadow: 0 18px 30px -10px color-mix(in srgb, var(--secondary) 80%, transparent); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost { background: #fff; color: var(--primary-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-wa { background: #25d366; color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* Topbar */
.topbar { background: var(--dark); color: #cfe0f5; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-promo { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .tb-promo a { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.topbar .tb-right a { display: inline-flex; align-items: center; gap: 6px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header .container { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { flex-shrink: 0; }
.logo img { height: 46px; width: auto; max-width: none; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--text); transition: background .2s, color .2s; }
.nav a:hover, .nav a.active { color: var(--primary-dark); background: color-mix(in srgb, var(--primary) 10%, transparent); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--primary-dark); }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; background:
  radial-gradient(600px 400px at 85% 10%, color-mix(in srgb, var(--secondary) 22%, transparent), transparent 70%),
  radial-gradient(500px 380px at 5% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
  linear-gradient(180deg, #fff, var(--bg-soft)); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); opacity: .55; pointer-events: none; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 22px; }
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #ff8a5c); display: grid; place-items: center; color: #fff; }
.pill .dot .icon { width: 12px; height: 12px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--secondary), var(--primary-dark) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .92rem; font-weight: 600; color: var(--text); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .icon { color: var(--success); }
.hero-visual { position: relative; }
.hero-visual .blob { position: absolute; inset: 8% 6%; border-radius: 50%; background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 30%, transparent), color-mix(in srgb, var(--primary-dark) 20%, transparent)); filter: blur(50px); }
.hero-visual img.main { position: relative; width: 100%; max-width: 560px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(4,54,124,.18)); animation: floatY 7s ease-in-out infinite; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: var(--shadow); font-size: .85rem; animation: floatY 6s ease-in-out infinite; }
.float-card b { display: block; font-family: var(--font-heading); color: var(--dark); font-size: .92rem; }
.float-card span { color: var(--muted); }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); }
.float-card.fc-0 { top: 8%; left: -4%; }
.float-card.fc-1 { bottom: 10%; right: -2%; animation-delay: -3s; }
.float-card.fc-1 .ic { background: linear-gradient(135deg, var(--accent), #ff8a5c); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Clientes */
.clients { padding: 40px 0 56px; background: var(--bg-soft); }
.clients p { text-align: center; color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client { width: 128px; height: 84px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 10px; }
.client img { max-height: 62px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.client:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Soluções */
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--text); transition: all .2s; }
.tab:hover { border-color: var(--primary); color: var(--primary-dark); }
.tab[aria-selected="true"] { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); box-shadow: var(--shadow); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow); animation: fadeUp .45s ease; }
.panel-media { border-radius: 22px; background: linear-gradient(145deg, color-mix(in srgb, var(--secondary) 12%, #fff), color-mix(in srgb, var(--primary-dark) 10%, #fff)); min-height: 340px; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.panel-media img { max-height: 380px; object-fit: contain; }
.panel-media .big-ic { width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); box-shadow: var(--shadow-lg); }
.panel-media .big-ic .icon { width: 56px; height: 56px; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); margin-bottom: 14px; }
.panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.panel p { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.feature-list .icon { color: var(--success); margin-top: 3px; width: 18px; height: 18px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Números */
.stats { padding: 88px 0; color: #fff; background: radial-gradient(700px 300px at 15% 0%, color-mix(in srgb, var(--secondary) 45%, transparent), transparent 70%), radial-gradient(600px 300px at 90% 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%), linear-gradient(135deg, var(--primary-dark), var(--dark)); overflow: hidden; }
.stats .section-head h2 { color: #fff; }
.stats .eyebrow { color: #9fd0ff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.stat .num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1; background: linear-gradient(180deg, #fff, #b8dbff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { margin-top: 10px; color: #cfe0f5; font-weight: 500; }

/* Segmentos */
.seg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.seg { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: .93rem; text-align: left; color: var(--text); transition: all .2s; }
.seg .ic { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary-dark); transition: all .2s; }
.seg:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.seg:hover .ic, .seg.selected .ic { background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); color: #fff; }
.seg.selected { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }

/* Diferenciais */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); margin-bottom: 18px; box-shadow: 0 10px 20px -10px var(--secondary); }
.card:nth-child(4n+2) .ic { background: linear-gradient(135deg, var(--accent), #ff8a5c); box-shadow: 0 10px 20px -10px var(--accent); }
.card h3 { font-size: 1.08rem; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px); opacity: .45; }
.step { text-align: center; position: relative; }
.step .n { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); box-shadow: 0 0 0 8px #fff, var(--shadow); position: relative; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* Promo (Certificado) */
.promo-card { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; padding: 56px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; position: relative; background: radial-gradient(500px 300px at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%), linear-gradient(135deg, var(--primary-dark), var(--secondary)); box-shadow: var(--shadow-lg); }
.promo-card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.promo-card p { color: #e3efff; font-size: 1.08rem; max-width: 560px; }
.promo-card .badge { background: rgba(255,255,255,.16); color: #fff; }
.promo-card img { max-height: 340px; margin: -20px auto -56px; object-fit: contain; }

/* Serviços */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.svc { padding: 26px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; transition: all .25s; }
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--secondary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.svc:hover::after { transform: scaleX(1); }
.svc .icon { width: 30px; height: 30px; color: var(--primary); margin-bottom: 14px; }
.svc h3 { font-size: 1.05rem; }
.svc p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Equipamentos */
.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; transition: all .25s; }
.eq:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.eq .img { aspect-ratio: 1 / .9; display: grid; place-items: center; background: var(--bg-soft); border-radius: 14px; margin-bottom: 14px; padding: 14px; }
.eq img { max-height: 100%; object-fit: contain; transition: transform .4s; }
.eq:hover img { transform: scale(1.06); }
.eq h3 { font-size: 1rem; margin: 0; }
.center-cta { text-align: center; margin-top: 36px; }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; gap: 14px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.collage img:first-child { grid-row: span 2; }
.about-grid h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.about-grid p { color: var(--muted); }
.coverage { margin-top: 24px; }
.coverage b { display: block; font-family: var(--font-heading); color: var(--dark); margin-bottom: 10px; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 9%, #fff); color: var(--primary-dark); font-weight: 700; font-size: .82rem; }

/* Depoimentos */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stars { color: #f5b301; display: flex; gap: 2px; margin-bottom: 12px; }
.stars .icon { fill: currentColor; width: 18px; height: 18px; }
.testi p { font-size: 1rem; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.testi .who b { display: block; color: var(--dark); }
.testi .who span { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--font-heading); font-weight: 700; color: var(--dark); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--primary); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA final */
.cta-band { padding: 72px 0; }
.cta-box { text-align: center; padding: 64px 32px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(400px 200px at 10% 100%, rgba(255,255,255,.18), transparent 70%), linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--primary-dark))); box-shadow: var(--shadow-lg); }
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-box p { color: #fff3f6; font-size: 1.1rem; margin-bottom: 28px; }
.cta-box .cta-row { justify-content: center; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.info-list { display: grid; gap: 12px; margin: 28px 0; }
.info-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); transition: border-color .2s; }
a.info-item:hover { border-color: var(--primary); }
.info-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-sm); flex-shrink: 0; }
.info-item small { display: block; color: var(--muted); font-size: .8rem; }
.info-item b { color: var(--dark); font-size: .98rem; }
.addr { font-size: .9rem; color: var(--muted); display: grid; gap: 10px; }
.addr b { color: var(--dark); }
.addr .icon { width: 16px; height: 16px; vertical-align: -3px; color: var(--primary); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; }
.form-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--secondary), transparent 40%, transparent 60%, var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-card h3 { font-size: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .85rem; color: var(--dark); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfdff; color: var(--text); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); background: #fff; }
.field.invalid input, .field.invalid select { border-color: #e5484d; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); grid-column: 1 / -1; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); }
.consent a { color: var(--primary); text-decoration: underline; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; font-size: .9rem; color: #c62828; min-height: 0; }
.form-success { text-align: center; padding: 30px 10px; animation: fadeUp .4s ease; }
.form-success .ok { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--success) 15%, #fff); color: var(--success); }
.form-success .ok .icon { width: 38px; height: 38px; }
.form-success p { color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%,100% { box-shadow: var(--shadow-lg); } 30% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 35%, transparent), var(--shadow-lg); } }

/* Rodapé */
.footer { background: var(--dark); color: #aebfd6; padding: 72px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .logo-box { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 18px; }
.footer .logo-box img { height: 40px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }

/* Flutuantes */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; }
.wa-btn { width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); position: relative; transition: transform .2s; }
.wa-btn:hover { transform: scale(1.07); }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulse 2.2s ease-out infinite; z-index: -1; }
.wa-btn svg { width: 32px; height: 32px; }
.wa-tip { background: #fff; color: var(--dark); padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .88rem; opacity: 0; transform: translateX(10px); transition: all .4s; pointer-events: none; }
.wa-tip.show { opacity: 1; transform: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; font-size: .88rem; animation: fadeUp .4s ease; }
.cookie p { margin: 0; color: var(--muted); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .header .container { gap: 12px; }
  .header-actions { margin-left: auto; }
  .burger { margin-left: 0; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 12px 14px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .hero .container, .panel, .about-grid, .contact-grid, .promo-card { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .panel { padding: 28px; gap: 28px; }
  .panel-media { min-height: 240px; }
  .stats-grid, .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--primary) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; }
  .step .n { margin: 0; grid-row: span 2; }
  .promo-card { padding: 36px 28px; }
  .promo-card img { margin: 0 auto -36px; max-height: 260px; }
  .topbar .tb-promo { display: none; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: .82rem; }
  .header .container { height: 66px; }
  .nav.open { top: 66px; }
  .cookie { padding: 12px 14px; font-size: .8rem; }
  .logo img { height: 38px; }
  .cards, .feature-list, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .form-card { padding: 24px 18px; }
  .cta-row .btn { width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .tab { flex-shrink: 0; }
  .collage { grid-template-rows: 130px 130px; }
  .cookie { left: 12px; right: 12px; bottom: 96px; max-width: none; }
  .topbar .tb-right span.hide-sm { display: none; }
}
@media (max-width: 480px) {
  .header-actions { display: none; }
}

/* ===================================================== Páginas de segmento */
.seg.has-page { text-decoration: none; }
.seg .nm { flex: 1; }
.seg .go { color: var(--primary); opacity: 0; transform: translateX(-6px); transition: all .2s; display: inline-flex; }
.seg .go .icon { width: 18px; height: 18px; }
.seg.has-page:hover .go { opacity: 1; transform: none; }

.seg-hero { padding-top: 40px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--primary-dark); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .icon { width: 14px; height: 14px; }
.seg-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.seg-frame { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(circle at 30% 20%, #fff, color-mix(in srgb, var(--secondary) 14%, #fff)); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg); }
.seg-frame img.main { width: 100%; height: 100%; max-width: none; object-fit: contain; animation: none; filter: none; }
.seg-frame img.main.fill { object-fit: cover; }
.seg-frame .big-ic { height: 100%; display: grid; place-items: center; color: var(--primary); }
.seg-frame .big-ic .icon { width: 40%; height: 40%; stroke-width: 1.2; }
.seg-visual .float-card.fc-1 .ic { background: var(--primary-dark); }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pain .ic { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, #fff); }
.pain h3 { font-size: 1.05rem; margin-bottom: 6px; }
.pain p { color: var(--muted); font-size: .94rem; margin: 0; }

.cards.cards-3 { grid-template-columns: repeat(3, 1fr); }
.seg-clients { margin-top: 48px; text-align: center; }
.seg-clients p { color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.seg-clients .logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.seg-clients img { height: 84px; width: 132px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }

.lic-card { --lic: var(--primary); display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--lic); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.lic-media img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.lic-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.lic-tags .badge { margin: 0; }
.lic-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--lic); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.lic-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.lic-body .lic-why { color: var(--text); font-size: 1.02rem; }
.lic-body .feature-list { margin: 16px 0; }
.lic-text { color: var(--muted); font-size: .86rem; background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; }
.lic-alts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: .9rem; }
.lic-alts .alt { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--dark); }
.lic-alts .alt i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.cmp-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.cmp th, .cmp td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--dark); padding-left: 18px; }
.cmp thead th { font-family: var(--font-heading); vertical-align: bottom; padding-top: 16px; }
.cmp thead th:first-child { text-align: left; padding-left: 18px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.cmp thead th span { display: inline-block; min-width: 92px; padding: 8px 10px; border-radius: 10px; background: var(--lic); color: #fff; font-weight: 800; font-size: .85rem; }
.cmp thead th small { display: block; color: var(--lic); font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.cmp td.rec, .cmp th.rec { background: color-mix(in srgb, var(--secondary) 7%, #fff); }
.cmp .yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--success) 15%, #fff); color: var(--success); }
.cmp .yes .icon { width: 16px; height: 16px; stroke-width: 3; }
.cmp .no { color: #b8c4d2; font-weight: 700; }

.why-band .section-head { margin-bottom: 40px; }
.why-band .section-head h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { text-align: center; padding: 24px 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.why .ic { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; }
.why h3 { color: #fff; font-size: 1.02rem; }
.why p { color: #cfe0f5; font-size: .9rem; margin: 0; }

@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pain-grid, .cards.cards-3 { grid-template-columns: 1fr; }
  .lic-card { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .seg-frame { max-width: 440px; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .seg-clients img { width: 104px; height: 70px; }
  .seg .go { opacity: 1; transform: none; }
}

/* ===================================================== Integrações */
.intg-sec { padding: 72px 0 88px; overflow: hidden; }
.intg-head { text-align: center; margin-bottom: 36px; }
.intg-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--font-heading); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark); }
.intg-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.intg-track { --cols: 6; --gap: 28px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); column-gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 10px; }
.intg-track::-webkit-scrollbar { display: none; }
.intg-cell { scroll-snap-align: start; display: grid; place-items: center; }
.intg { width: 100%; max-width: 150px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 16px; border-radius: 6px; background: var(--bg); color: var(--fg); text-align: center; transition: transform .25s, box-shadow .25s; }
.intg.no-bg { background: transparent; }
.intg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.intg.no-bg:hover { box-shadow: none; }
.intg img { width: 100%; height: 100%; object-fit: contain; }
.intg-txt { display: grid; justify-items: center; gap: 10px; }
.intg-txt .icon { width: 36px; height: 36px; stroke-width: 1.8; }
.intg-txt b { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; line-height: 1.15; letter-spacing: -.01em; }
.intg-ctrl { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.intg-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--primary-dark); transition: all .2s; }
.intg-btn:hover:not(:disabled) { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.intg-btn:disabled { color: #c3cdd8; cursor: default; }
.intg-btn .icon { width: 18px; height: 18px; }
.intg-car.fits .intg-ctrl { display: none; }
.intg-car.fits .intg-track { justify-content: center; grid-auto-columns: minmax(0, 150px); }
.intg-title { text-align: center; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; max-width: 900px; margin: 56px auto 14px; line-height: 1.05; }
.intg-sub { text-align: center; color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }
@media (max-width: 1080px) { .intg-track { --cols: 4; } }
@media (max-width: 700px) { .intg-track { --cols: 3; --gap: 16px; } }
@media (max-width: 420px) { .intg-track { --cols: 2; } }

/* Celulares estreitos (360px): textos longos nos botões quebram linha em vez de alargar a página */
.panel > *, .contact-grid > *, .hero .container > *, .lic-card > * { min-width: 0; }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  .panel { padding: 22px 18px; }
}

/* Conteúdo entregue pronto pelo servidor (aparece só até o script montar a página completa) */
.ssr .section { padding: 40px 0; }
.ssr h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.ssr ul { padding-left: 20px; }
.ssr li { margin-bottom: 8px; }
.ssr h3 { font-size: 1.05rem; margin: 0 0 4px; }
.ssr p { color: var(--muted); }
.footer-segs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 22px 0 4px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-segs b { color: #fff; font-family: var(--font-heading); margin-right: 4px; }
.footer-segs a { color: inherit; opacity: .8; }
.footer-segs a:hover { opacity: 1; text-decoration: underline; }
.footer-segs + .footer-bottom { margin-top: 18px; }

/* ===================================================== Área do cliente */
.ca-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 88px;
  background: radial-gradient(700px 380px at 12% 0%, color-mix(in srgb, var(--secondary) 45%, transparent), transparent 70%),
              radial-gradient(600px 360px at 95% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              linear-gradient(135deg, var(--primary-dark), var(--dark)); }
.ca-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 75%); pointer-events: none; }
.ca-hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ca-hero .crumbs, .ca-hero .crumbs a { color: #b9d3f2; }
.ca-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; }
.grad-light { background: linear-gradient(120deg, #7cc4ff, #ffffff 55%, #ff9ab3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ca-hero .lead { color: #cfe0f5; font-size: 1.12rem; max-width: 560px; margin-bottom: 28px; }
.ca-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; backdrop-filter: blur(6px); }
.ca-pill .icon { width: 16px; height: 16px; color: #7cc4ff; }
.ca-quick { display: flex; flex-wrap: wrap; gap: 10px; }
.ca-chip { --c: var(--secondary); display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 600; font-size: .9rem; transition: all .2s; }
.ca-chip .icon { width: 18px; height: 18px; color: color-mix(in srgb, var(--c) 60%, #fff); }
.ca-chip:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 70%, #fff); }
.ca-hero-visual { position: relative; }
.ca-glow { position: absolute; inset: 10%; border-radius: 50%; background: color-mix(in srgb, var(--secondary) 55%, transparent); filter: blur(70px); opacity: .55; }
.ca-hero-visual img { position: relative; width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); animation: floatY 7s ease-in-out infinite; }
.ca-badge { position: absolute; left: 0; bottom: 8%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.92); color: var(--dark); box-shadow: var(--shadow-lg); font-size: .85rem; animation: floatY 6s ease-in-out infinite; animation-delay: -2s; }
.ca-badge .icon { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--success), #2e9b1b); }
.ca-badge b { display: block; font-family: var(--font-heading); }
.ca-badge span { color: var(--muted); }

.ca-access { margin-top: -48px; padding-top: 0; position: relative; z-index: 2; }
.ca-access .section-head { background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 40px 20px 8px; margin-bottom: 32px; max-width: none; }
.ca-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.ca-card { --c: var(--secondary); grid-column: span 2; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; overflow: hidden; scroll-margin-top: 100px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ca-card:nth-child(4), .ca-card:nth-child(5) { grid-column: span 3; }
.ca-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, #fff)); }
.ca-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: color-mix(in srgb, var(--c) 9%, transparent); pointer-events: none; }
.ca-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.ca-card:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 40%, transparent), var(--shadow); }
.ca-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; position: relative; z-index: 1; }
.ca-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--c, var(--secondary)), color-mix(in srgb, var(--c, var(--secondary)) 55%, var(--dark))); box-shadow: 0 10px 20px -10px var(--c, var(--secondary)); }
.ca-ic .icon { width: 24px; height: 24px; }
.ca-tag { padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 75%, var(--dark)); font-weight: 700; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; }
.ca-card h3 { font-size: 1.25rem; position: relative; z-index: 1; }
.ca-card p { color: var(--muted); font-size: .95rem; }
.ca-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ca-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; font-weight: 500; }
.ca-list .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--success); }
.ca-card-cta { margin-top: auto; }
.ca-card-cta .btn { width: 100%; }

.ca-upd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ca-upd { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ca-upd h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ca-upd p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

.ca-support { padding: 24px 0 96px; }
.ca-support-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(500px 260px at 0% 100%, color-mix(in srgb, var(--secondary) 40%, transparent), transparent 70%), linear-gradient(135deg, var(--primary-dark), var(--dark)); }
.ca-support-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.ca-support-box p { color: #cfe0f5; margin: 0; }
.ca-contacts { display: grid; gap: 12px; }
.ca-contact { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s, transform .2s; }
.ca-contact:hover { background: rgba(255,255,255,.15); transform: translateX(4px); }
.ca-contact .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; flex-shrink: 0; }
.ca-contact .ci.wa { background: #25d366; }
.ca-contact .ci svg { width: 22px; height: 22px; }
.ca-contact > div { min-width: 0; }
.ca-contact small { display: block; color: #b9d3f2; font-size: .78rem; }
.ca-contact b { color: #fff; font-family: var(--font-heading); overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .ca-grid { grid-template-columns: repeat(2, 1fr); }
  .ca-card, .ca-card:nth-child(4), .ca-card:nth-child(5) { grid-column: span 1; }
  .ca-card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 900px) {
  .ca-hero .container, .ca-support-box { grid-template-columns: 1fr; }
  .ca-hero .container > * { min-width: 0; }
  .ca-hero-visual { max-width: 460px; margin: 0 auto; }
  .ca-upd-grid { grid-template-columns: 1fr; }
  .ca-support-box { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .ca-grid { grid-template-columns: 1fr; }
  .ca-card:last-child:nth-child(odd) { grid-column: span 1; }
  .ca-badge { display: none; }
  .ca-access .section-head { padding-top: 28px; }
}

/* Menu: vira o botão ☰ antes de faltar espaço (menu + dois botões não cabem abaixo de ~1320px) */
.nav .nav-ca { display: none; }
@media (max-width: 1320px) {
  .nav { display: none; }
  .burger { display: inline-flex; margin-left: 0; }
  .header-actions .btn-ghost { display: none; }
  .header .container { gap: 12px; }
  .header-actions { margin-left: auto; }
  .nav.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 12px 14px; }
  .nav .nav-ca { display: flex; align-items: center; gap: 8px; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--primary-dark); font-weight: 700; }
}
@media (max-width: 600px) { .nav.open { top: 66px; } }
.seg { min-width: 0; }
.seg .nm { min-width: 0; overflow-wrap: anywhere; }

/* ===================================================== Blog */
.hidden { display: none !important; }
.bl-hero { padding: 40px 0 56px; background:
  radial-gradient(800px 380px at 85% -10%, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 70%),
  radial-gradient(600px 300px at 0% 10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%), #fff; }
.bl-head { max-width: 760px; margin-bottom: 32px; }
.bl-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; margin-top: 14px; }
.bl-head .lead { color: var(--muted); font-size: 1.12rem; margin: 0; }
.bl-top { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; align-items: stretch; }
.bl-feat { position: relative; display: block; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); isolation: isolate; }
.bl-feat-img, .bl-feat .bl-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.bl-feat:hover .bl-feat-img { transform: scale(1.05); }
.bl-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,27,51,.05) 20%, rgba(11,27,51,.65) 55%, rgba(11,27,51,.95)); }
.bl-feat-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; }
.bl-feat h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.25rem); margin: 10px 0 8px; }
.bl-feat p { color: #dbe6f5; margin: 0 0 14px; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.bl-tag .icon { width: 14px; height: 14px; }
.bl-read { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-heading); font-weight: 700; }
.bl-feat:hover .bl-read .icon { transform: translateX(4px); }
.bl-read .icon { transition: transform .2s; }
.bl-cat { display: inline-block; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 11%, #fff); color: var(--primary-dark); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bl-cat.light { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .84rem; }
.bl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bl-meta .icon { width: 15px; height: 15px; }
.bl-meta.light { color: #cfe0f5; }
.bl-most { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.bl-most h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 14px; }
.bl-most h3 .icon { color: var(--accent); }
.bl-most ol { list-style: none; margin: 0; padding: 0; display: grid; }
.bl-most li + li { border-top: 1px solid var(--line); }
.bl-most a { display: flex; gap: 14px; padding: 14px 0; align-items: flex-start; }
.bl-most .n { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; line-height: 1; background: linear-gradient(135deg, var(--secondary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 36px; }
.bl-most b { display: block; font-family: var(--font-heading); color: var(--dark); font-size: .95rem; line-height: 1.3; transition: color .2s; }
.bl-most a:hover b { color: var(--primary); }
.bl-most small { color: var(--muted); font-size: .8rem; }

.bl-bar { position: sticky; top: 76px; z-index: 30; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.bl-bar .container { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.bl-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.bl-chips::-webkit-scrollbar { display: none; }
.bl-chip { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--text); transition: all .2s; }
.bl-chip:hover { border-color: var(--primary); }
.bl-chip.on { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.bl-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); width: 260px; flex-shrink: 0; }
.bl-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.bl-search .icon { width: 18px; height: 18px; }
.bl-search input { border: 0; outline: 0; background: transparent; font: inherit; width: 100%; color: var(--text); }

.bl-list { padding-top: 48px; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.bl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.bl-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.bl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bl-card:hover .bl-img img { transform: scale(1.06); }
.bl-noimg { display: grid; place-items: center; height: 100%; color: var(--primary); background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 18%, #fff), color-mix(in srgb, var(--accent) 12%, #fff)); }
.bl-noimg .icon { width: 48px; height: 48px; }
.bl-play { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,27,51,.75); color: #fff; backdrop-filter: blur(6px); }
.bl-play .icon { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
.bl-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.bl-body .bl-cat { align-self: flex-start; }
.bl-body h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; transition: color .2s; }
.bl-card:hover h3 { color: var(--primary); }
.bl-body p { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-body .bl-meta { margin-top: auto; padding-top: 6px; }
.bl-card.big { grid-column: span 2; flex-direction: row; }
.bl-card.big .bl-img { aspect-ratio: auto; flex: 1.15; min-height: 300px; }
.bl-card.big .bl-body { flex: 1; justify-content: center; padding: 30px; }
.bl-card.big h3 { font-size: 1.45rem; }
.bl-grid.three .bl-card.big { grid-column: auto; flex-direction: column; }
.bl-none, .bl-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.bl-none .icon, .bl-empty .icon { width: 40px; height: 40px; color: var(--primary); }
.center-cta { text-align: center; margin-top: 36px; }
.bl-cta { background: radial-gradient(420px 220px at 0% 100%, rgba(255,255,255,.16), transparent 70%), linear-gradient(120deg, var(--primary-dark), var(--secondary)); }

/* Artigo */
.bl-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200; background: transparent; }
.bl-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--secondary), var(--accent)); box-shadow: 0 0 12px color-mix(in srgb, var(--secondary) 60%, transparent); transition: width .1s linear; }
.bl-draft { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: #fff7e0; color: #8a5a00; font-weight: 600; font-size: .9rem; }
.bl-post-head { padding: 40px 0 28px; }
.bl-narrow { max-width: 860px; }
.bl-post-head h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; margin: 14px 0 12px; }
.bl-post-head .lead { color: var(--muted); font-size: 1.15rem; }
.bl-byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.bl-byline b { font-family: var(--font-heading); color: var(--dark); }
.bl-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); }
.bl-cover-wrap { max-width: 1100px; }
.bl-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); cursor: zoom-in; }
.bl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; max-width: 1100px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.bl-content { font-size: 1.09rem; line-height: 1.8; color: #2a3a4c; }
.bl-content > p { margin: 0 0 1.25em; }
.bl-content > p:first-child::first-letter { float: left; font-family: var(--font-heading); font-weight: 800; font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; color: var(--primary-dark); }
.bl-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 1.8em 0 .6em; scroll-margin-top: 110px; position: relative; padding-left: 16px; }
.bl-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--secondary), var(--accent)); }
.bl-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.bl-ul { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.bl-ul li { display: flex; gap: 10px; align-items: flex-start; }
.bl-ul .icon { width: 20px; height: 20px; margin-top: 5px; padding: 3px; border-radius: 50%; color: #fff; background: var(--success); flex-shrink: 0; }
.bl-quote { position: relative; margin: 2em 0; padding: 28px 30px 24px 70px; border-radius: var(--radius); background: var(--bg-soft); border-left: 4px solid var(--primary); }
.bl-quote > .icon { position: absolute; left: 22px; top: 26px; width: 32px; height: 32px; color: var(--primary); opacity: .5; }
.bl-quote p { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: var(--dark); line-height: 1.5; margin: 0; }
.bl-quote cite { display: block; margin-top: 10px; color: var(--muted); font-style: normal; font-size: .9rem; }
.bl-callout { display: flex; gap: 14px; margin: 1.6em 0; padding: 20px 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--success) 9%, #fff); border: 1px solid color-mix(in srgb, var(--success) 30%, #fff); }
.bl-callout > .icon { width: 26px; height: 26px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.bl-callout b { display: block; font-family: var(--font-heading); color: var(--dark); margin-bottom: 4px; }
.bl-callout p { margin: 0; font-size: 1rem; }
.bl-fig { margin: 2em 0; }
.bl-fig img { width: 100%; border-radius: var(--radius); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.bl-fig.wide { margin-left: -40px; margin-right: -40px; }
.bl-fig figcaption { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted); font-size: .88rem; margin-top: 10px; }
.bl-fig figcaption .icon { width: 16px; height: 16px; color: var(--accent); }
.bl-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #000 center / cover no-repeat; cursor: pointer; box-shadow: var(--shadow); }
.bl-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); transition: opacity .3s; }
.bl-video:hover::after { opacity: .6; }
.bl-vplay { position: absolute; z-index: 1; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--accent); box-shadow: 0 0 0 10px rgba(255,255,255,.25); transition: transform .25s; }
.bl-video:hover .bl-vplay { transform: scale(1.1); }
.bl-vplay .icon { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.bl-video.on { cursor: default; }
.bl-video.on::after { display: none; }
.bl-video iframe, .bl-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bl-end { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.bl-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.bl-toc { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.bl-toc > b { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); color: var(--dark); margin-bottom: 10px; }
.bl-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 50vh; overflow: auto; }
.bl-toc a { display: block; padding: 7px 10px; border-left: 2px solid var(--line); font-size: .86rem; color: var(--muted); line-height: 1.35; transition: all .2s; }
.bl-toc a:hover { color: var(--primary); }
.bl-toc a.on { border-color: var(--primary); color: var(--primary-dark); font-weight: 700; background: color-mix(in srgb, var(--primary) 6%, #fff); }
.bl-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bl-share > span { font-weight: 700; font-size: .86rem; color: var(--dark); margin-right: 4px; }
.bl-share a, .bl-share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--primary-dark); transition: all .2s; }
.bl-share a:hover, .bl-share button:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); transform: translateY(-2px); }
.bl-share .s-wa:hover { background: #25d366; border-color: #25d366; }
.bl-share svg { width: 18px; height: 18px; }
.bl-share button.ok { background: var(--success); color: #fff; border-color: var(--success); }
.bl-mini-cta { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--primary-dark), var(--dark)); }
.bl-mini-cta > .icon { width: 28px; height: 28px; color: #7cc4ff; }
.bl-mini-cta b { font-family: var(--font-heading); line-height: 1.3; }
.bl-lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(5,12,24,.9); cursor: zoom-out; animation: fadeUp .25s ease; }
.bl-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.bl-lightbox button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }

@media (max-width: 1080px) {
  .bl-layout { grid-template-columns: 1fr; gap: 32px; }
  .bl-aside { position: static; grid-template-columns: 1fr 1fr; }
  .bl-toc { display: none; }
  .bl-fig.wide { margin-left: 0; margin-right: 0; }
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .bl-top { grid-template-columns: 1fr; }
  .bl-feat { min-height: 400px; }
  .bl-card.big { flex-direction: column; }
  .bl-card.big .bl-img { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .bl-card.big .bl-body { padding: 22px; }
  .bl-card.big h3 { font-size: 1.2rem; }
}
@media (max-width: 700px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-card.big { grid-column: auto; }
  .bl-search input { min-width: 0; }
  .bl-bar .container { flex-direction: column; align-items: stretch; gap: 10px; }
  .bl-search { width: 100%; }
  .bl-aside { grid-template-columns: 1fr; }
  .bl-feat-txt { padding: 22px; }
  .bl-content { font-size: 1.02rem; }
  .bl-quote { padding: 24px 20px 20px 56px; }
  .bl-quote > .icon { left: 16px; width: 26px; height: 26px; }
}
@media (max-width: 600px) { .bl-bar { top: 66px; } }

/* Notebooks de 1320 a 1480px: menu um pouco mais compacto para caber com os dois botões */
@media (max-width: 1480px) {
  .header .container { gap: 18px; }
  .nav a { padding: 8px 9px; font-size: .9rem; }
  .header-actions .btn-sm { padding: 10px 14px; }
}

/* ---------------------------------------------------------- mensagens automáticas */
.eng { position: fixed; right: 22px; bottom: 22px; z-index: 75; width: min(360px, calc(100vw - 24px)); animation: engIn .45s cubic-bezier(.2,.9,.3,1.2) both; }
.eng.over-wa { bottom: 100px; }
.eng.out { animation: engOut .28s ease both; }
@keyframes engIn { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@keyframes engOut { to { opacity: 0; transform: translateY(14px) scale(.96); } }
.eng-card { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 30px 70px -20px rgba(4,30,70,.45), 0 0 0 1px rgba(4,54,124,.08); overflow: hidden; }
.eng.over-wa .eng-card::after { content: ""; position: absolute; right: 26px; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 6px -3px rgba(4,30,70,.2); }
.eng-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; color: #fff; background: radial-gradient(240px 120px at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%), linear-gradient(135deg, var(--secondary), var(--primary-dark)); }
.eng-av { position: relative; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.18); box-shadow: 0 0 0 2px rgba(255,255,255,.55); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: .95rem; }
.eng-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.eng-av img.brand { background: #fff; object-fit: contain; padding: 7px; }
.eng-av i { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: #94a3b8; border: 2px solid #fff; }
.eng-av i.on { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: engPing 2s infinite; }
@keyframes engPing { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.eng-who { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.eng-who b { font-family: var(--font-heading); font-size: .98rem; }
.eng-who small { font-size: .76rem; opacity: .88; }
.eng-x { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.eng-x:hover { background: rgba(255,255,255,.28); }
.eng-x .icon { width: 18px; height: 18px; }
.eng-body { padding: 16px 16px 6px; background: linear-gradient(#f3f7fc, #fff); }
.eng-msg { display: inline-block; max-width: 100%; padding: 12px 14px; border-radius: 4px 18px 18px 18px; background: #fff; box-shadow: 0 6px 18px -10px rgba(4,54,124,.35), 0 0 0 1px rgba(4,54,124,.06); color: var(--text); font-size: .93rem; line-height: 1.55; }
.eng-msg p { margin: 0; }
.eng-msg time { display: block; margin-top: 4px; font-size: .7rem; color: var(--muted); text-align: right; }
.eng-msg.in p { animation: fadeUp .35s ease both; }
.eng-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.eng-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); opacity: .35; animation: engDot 1s infinite; }
.eng-typing i:nth-child(2) { animation-delay: .15s; } .eng-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes engDot { 30% { opacity: 1; transform: translateY(-3px); } }
.eng-replies { display: grid; gap: 8px; padding: 10px 16px 14px; }
.eng-r { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--primary) 30%, #fff); background: #fff; color: var(--primary-dark); font: 700 .9rem/1.2 var(--font-body); text-align: left; cursor: pointer; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; animation: fadeUp .35s ease both; animation-delay: var(--d, 0ms); }
.eng-r:hover { transform: translateY(-1px); border-color: var(--primary); box-shadow: 0 8px 18px -12px var(--primary); }
.eng-r .icon { width: 19px; height: 19px; flex-shrink: 0; }
.eng-r span { display: grid; gap: 2px; }
.eng-r small { font-weight: 600; font-size: .76rem; color: var(--muted); }
.eng-r.wa { background: #25d366; border-color: #25d366; color: #fff; box-shadow: 0 10px 20px -12px rgba(37,211,102,.9); }
.eng-r.wa:hover { background: #1fbd5a; border-color: #1fbd5a; }
.eng-r.primary { justify-content: center; background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); color: #fff; border: 0; }
.eng-r:disabled { opacity: .6; cursor: wait; }
.eng-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px 12px; font-size: .72rem; color: var(--muted); }
.eng-foot .icon { width: 13px; height: 13px; color: #22c55e; }
.eng-cb { display: grid; gap: 8px; animation: fadeUp .3s ease both; }
.eng-cb b { font-family: var(--font-heading); color: var(--dark); }
.eng-cb p { margin: -4px 0 2px; font-size: .84rem; color: var(--muted); }
.eng-cb input:not([type=checkbox]) { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .92rem; }
.eng-cb input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.eng-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .74rem; color: var(--muted); line-height: 1.4; }
.eng-consent input { margin-top: 2px; }
.eng-err { color: #dc2626; font-weight: 600; min-height: 1em; }
.eng-ok { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #ecfdf3; color: #166534; font-weight: 600; font-size: .9rem; animation: fadeUp .3s ease both; }
.eng-ok p { margin: 0; }
.eng-ok .icon { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float.has-msg .wa-btn::after { content: "1"; position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font: 800 .75rem/22px var(--font-body); text-align: center; border: 2px solid #fff; animation: engIn .4s ease both; }
@media (max-width: 600px) {
  .eng { right: 12px; left: 12px; width: auto; bottom: 12px; }
  .eng.over-wa { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .eng, .eng-r, .eng-msg.in p, .eng-av i.on, .eng-typing i { animation: none !important; }
}
