/* =========================================================
   Future Generation — Inteligência de Media e Auditoria
   Folha de estilos principal
   ========================================================= */

:root {
  --navy: #0b1d33;
  --navy-2: #12294a;
  --ink: #1b2b55;            /* texto principal */
  --muted: #5b6b85;          /* texto secundário */
  --primary: #1ccf9f;        /* verde-menta (botões, destaques) */
  --primary-dark: #12b58a;
  --green: #0c9a7f;          /* eyebrows, ícones */
  --blue: #1a6fd1;           /* links */
  --yellow: #f4b81c;
  --mint: #3cc596;
  --border: #e1e8f1;
  --soft: #f3f7fb;           /* fundo secção tecnologia */
  --hero-text: #fbfdff;
  --hero-muted: #c9d3df;
  --ribbon: linear-gradient(90deg, #6cbd2b 0%, #c8cf3b 22%, #10a58a 38%, #1d63c8 60%, #3fb1e3 78%, #f2c641 100%);
  --shadow: 0 10px 30px rgba(18, 41, 74, .08);
  --radius: 8px;
  --container: 1160px;
  --font: "Manrope", Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: min(var(--container), 100% - 64px); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.18; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--ink); }

.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.eyebrow span { margin-inline: 10px; opacity: .7; }
.eyebrow-light { color: var(--primary); }
.hero .eyebrow-light { color: var(--hero-muted); }

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .92rem; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { font-size: 1.05em; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: var(--navy); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 22px rgba(28, 207, 159, .28); }
.btn-outline { border-color: var(--green); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 4px 18px rgba(18,41,74,.06); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 84px; }

.brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.brand-tag { font-size: .72rem; line-height: 1.45; color: var(--ink); padding-left: 18px; border-left: 1px solid #c9d3df; }

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a:not(.btn) { position: relative; font-size: .9rem; font-weight: 700; color: var(--ink); padding: 6px 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .25s; }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }
.header-cta { margin-left: 8px; padding: 11px 22px; }

.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--hero-text); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,22,40,.92) 0%, rgba(8,22,40,.7) 38%, rgba(8,22,40,.1) 72%, transparent 100%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 560px; }
.hero-copy { max-width: 620px; padding: 72px 0; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-description { max-width: 470px; margin-top: 22px; color: var(--hero-muted); font-size: 1rem; line-height: 1.75; }
.hero-description strong { color: var(--hero-text); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: .9rem; }
.play-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); transition: background .2s, border-color .2s; }
.play-icon svg { fill: #fff; stroke: none; font-size: 15px; margin-left: 2px; }
.play-link:hover .play-icon { background: var(--primary); border-color: var(--primary); }
.play-link:hover .play-icon svg { fill: var(--navy); }
.hero-caption { position: absolute; right: 0; bottom: 96px; font-size: .9rem; line-height: 1.6; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-caption span { display: block; width: 32px; height: 2px; margin-top: 12px; background: var(--primary); }
.brand-ribbon { position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--ribbon); }

/* ---------- Números ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, transform .25s, border-color .25s; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--ribbon); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; margin-bottom: 20px; transition: transform .3s; }
.service-icon svg { width: 27px; height: 27px; stroke-width: 1.7; }
.service-card:hover .service-icon { transform: scale(1.06); }
.service-icon.green { background: var(--green); }
.service-icon.blue { background: var(--blue); }
.service-icon.navy { background: var(--navy); }
.service-icon.yellow { background: var(--yellow); }
.service-icon.mint { background: var(--mint); }
.service-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.service-card p { flex: 1; color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }

/* ---------- Tecnologia ---------- */
.technology { background: var(--soft); }
.tech-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.tech-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; line-height: 1.75; }
.check-list { margin: 26px 0 32px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-size: .95rem; font-weight: 600; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 5px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
/* Composição: parede de ecrãs (mosaico) + portátil com painel + etiquetas */
.tech-media { position: relative; padding: 8px 0 40px; }
.tech-glow { position: absolute; inset: 18% 4% 6% 10%; z-index: 0; border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; background: var(--ribbon); filter: blur(50px); opacity: .35; animation: blob-morph 18s ease-in-out infinite alternate-reverse; }
.tech-wall { position: relative; z-index: 1; width: 92%; margin-left: auto; border-radius: 12px; overflow: hidden; background: #000; padding: 6px; box-shadow: 0 24px 50px rgba(18, 41, 74, .25); transform: perspective(1400px) rotateY(-10deg) rotateX(2deg); transform-origin: right center; }
.tech-wall img { width: 100%; border-radius: 6px; opacity: .92; }
.tech-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,29,51,0) 40%, rgba(11,29,51,.55) 100%); pointer-events: none; }

.laptop { position: relative; z-index: 2; width: 80%; margin: -18% 0 0 2%; filter: drop-shadow(0 28px 36px rgba(18, 41, 74, .28)); }
.laptop-screen { container-type: inline-size; background: #14171c; border-radius: 14px 14px 0 0; padding: 2.4% 2.4% 3%; border: 1px solid #2a2f37; }
.laptop-base { position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -7%; background: linear-gradient(180deg, #e9ecf0 0%, #c4c9d0 55%, #9aa0a8 100%); border-radius: 0 0 14px 14px / 0 0 60% 60%; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; transform: translateX(-50%); background: #b3b8c0; border-radius: 0 0 8px 8px; }

.dash { background: #f4f7fb; border-radius: 4px; aspect-ratio: 16 / 10; padding: 3cqw; display: grid; grid-template-rows: auto auto 1fr; gap: 2.4cqw; font-size: 2.1cqw; color: var(--ink); overflow: hidden; }
.dash small { display: block; font-size: 1.9cqw; color: var(--muted); font-weight: 600; }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-brand { display: inline-flex; align-items: center; gap: 1.4cqw; font-weight: 800; font-size: 2.3cqw; }
.dash-brand img { width: 3.4cqw; height: 3.4cqw; }
.dash-live { display: inline-flex; align-items: center; gap: 1.2cqw; font-size: 1.8cqw; font-weight: 700; color: var(--green); background: #e3f7f0; padding: .8cqw 2cqw; border-radius: 99px; }
.dash-live .pulse { width: 1.4cqw; height: 1.4cqw; }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 2cqw; }
.kpi, .panel { background: #fff; border-radius: 1.6cqw; padding: 2.2cqw 2.4cqw; box-shadow: 0 .4cqw 1.6cqw rgba(18,41,74,.06); }
.kpi b { display: block; font-size: 4.2cqw; font-weight: 800; line-height: 1.15; margin-top: .4cqw; }
.kpi em { font-style: normal; font-size: 1.7cqw; font-weight: 700; color: var(--green); }
.kpi-donut { display: flex; align-items: center; gap: 2cqw; }
.kpi-donut svg { width: 9cqw; height: 9cqw; transform: rotate(-90deg); flex-shrink: 0; fill: none; stroke-width: 4.5; }
.kpi-donut .d-bg { stroke: #e6edf5; }
.kpi-donut .d-val { stroke: var(--green); stroke-linecap: round; }
.dash-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2cqw; min-height: 0; }
.panel { display: flex; flex-direction: column; min-height: 0; }
.spark { width: 100%; height: auto; flex: 1; margin-top: 1.4cqw; min-height: 0; }
.spark path:first-of-type { stroke: none; }
.bars { display: grid; gap: 1.25cqw; margin-top: 1.6cqw; }
.bars li { display: grid; grid-template-columns: 15cqw 1fr; align-items: center; gap: 1.4cqw; font-size: 1.85cqw; font-weight: 600; }
.bars i { display: block; height: 1.5cqw; border-radius: 99px; background: linear-gradient(90deg, #1a6fd1 var(--w), #e6edf5 var(--w)); }
.bars li.hot span { color: var(--green); font-weight: 800; }
.bars li.hot i { background: linear-gradient(90deg, var(--green) var(--w), #e6edf5 var(--w)); }

.tech-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 14px 34px rgba(18, 41, 74, .18); font-size: .86rem; font-weight: 700; color: var(--ink); backdrop-filter: blur(6px); animation: chip-float 6s ease-in-out infinite; }
.tech-chip > svg { width: 18px; height: 18px; color: var(--green); }
.tech-chip strong { color: var(--green); font-weight: 800; }
.chip-boletim { top: 4%; left: -2%; }
.chip-alerta { top: 66%; left: -8%; animation-delay: -2s; }
.chip-media { right: -3%; bottom: 2%; flex-direction: column; align-items: flex-start; gap: 4px; border-radius: 16px; padding: 12px 18px; animation-delay: -4s; }
.cm-line { display: block; white-space: nowrap; }
.chip-media .hl { display: inline-block; background: var(--green); color: #fff; padding: 2px 10px; border-radius: 99px; font-weight: 800; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--primary); opacity: 0; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes blob-morph {
  0%   { border-radius: 58% 42% 46% 54% / 50% 46% 54% 50%; }
  50%  { border-radius: 46% 54% 58% 42% / 56% 52% 48% 44%; }
  100% { border-radius: 52% 48% 40% 60% / 44% 58% 42% 56%; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--navy); color: var(--hero-text); }
.about-media { position: relative; padding: 72px 72px 104px max(32px, calc((100vw - var(--container)) / 2)); }
.photo-main, .photo-inset { margin: 0; overflow: hidden; }
.photo-main { border-radius: 14px; aspect-ratio: 16 / 11; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.photo-main img, .photo-inset img { width: 100%; height: 100%; object-fit: cover; }
.photo-main img { object-position: 30% 40%; }
.photo-inset { position: absolute; right: 16px; bottom: 36px; width: 36%; aspect-ratio: 4 / 3; border-radius: 12px; border: 5px solid var(--navy); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.photo-tag { position: absolute; left: max(48px, calc((100vw - var(--container)) / 2 + 16px)); bottom: 60px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(11,29,51,.85); border: 1px solid rgba(255,255,255,.15); font-size: .78rem; font-weight: 700; backdrop-filter: blur(6px); }
.about-copy { padding: 72px max(32px, calc((100vw - var(--container)) / 2)) 72px 40px; }
.about-copy h2 { color: var(--hero-text); }
.about-copy > p:not(.eyebrow) { color: var(--hero-muted); margin-top: 16px; max-width: 660px; line-height: 1.75; }
.about-copy > p.about-promise { color: var(--hero-text); font-weight: 600; padding-left: 16px; border-left: 3px solid var(--primary); }
.link-light { color: var(--primary); margin-top: 32px; }
.pillars { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin-top: 38px; }
.pillar { display: flex; align-items: center; gap: 12px; padding-right: 26px; margin-right: 26px; border-right: 1px solid rgba(255,255,255,.18); }
.pillar:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.pillar svg { width: 38px; height: 38px; padding: 8px; border: 1.5px solid var(--primary); border-radius: 50%; color: var(--primary); stroke-width: 1.7; }
.pillar p { font-size: .82rem; line-height: 1.4; }

/* ---------- Notícias ---------- */
.news { border-bottom: 1px solid var(--border); }
.news-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: center; padding: 40px 0; }
.news h2 { font-size: 1.35rem; }
.news-inner > p { color: var(--muted); font-size: .92rem; max-width: 320px; }

/* ---------- Contacto ---------- */
.contact { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-info h2 { max-width: 500px; }
.contact-list { margin-top: 34px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.contact-list svg { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
.contact-list a { color: var(--ink); font-weight: 700; }
.contact-list a:hover { color: var(--blue); }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 34px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.contact-form h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd9e5; border-radius: 6px; background: #fff; font-size: .93rem; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(12,154,127,.15); }
.contact-form .is-invalid { border-color: #d64545; }
.form-status { font-size: .88rem; font-weight: 600; padding: 12px 14px; border-radius: 6px; }
.form-status.is-error { color: #a12d2d; background: #fdecec; }
.form-status.is-ok { color: #0b6b55; background: #e3f7f0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .65; cursor: progress; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .ok-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #e3f7f0; color: var(--green); }
.form-success .ok-icon svg { width: 32px; height: 32px; stroke-width: 2.4; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: var(--hero-muted); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 36px 0; }
.brand-footer img { width: 170px; }
.brand-footer .brand-tag { color: var(--hero-muted); border-color: rgba(255,255,255,.25); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .82rem; }
.footer-nav a:hover { color: var(--primary); }
.footer-side { text-align: right; }
.socials { display: flex; justify-content: flex-end; gap: 14px; margin-bottom: 10px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); transition: background .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--navy); }
.socials svg { font-size: 16px; }
.footer-side p { font-size: .75rem; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; stroke: none; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tech-glow, .pulse::after, .tech-chip, .video-cta { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1120px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
  .main-nav { gap: 24px; }
  .pillars { grid-template-columns: repeat(2, auto); row-gap: 20px; }
  .pillar:nth-child(2) { border-right: 0; }
}

@media (max-width: 960px) {
  .header-inner { height: 72px; }
  html { scroll-padding-top: 72px; }
  .brand-tag { display: none; }
  .menu-toggle { display: flex; }
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(18,41,74,.1); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 18px; }

  .hero-caption { display: none; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,22,40,.94), rgba(8,22,40,.7)); }
  .hero-image { object-position: 68% center; }

  .tech-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about { grid-template-columns: 1fr; }
  .about-media { padding: 48px 32px 88px; }
  .photo-tag { left: 48px; }
  .chip-boletim { left: 0; }
  .chip-alerta { left: 0; }
  .about-copy { padding: 56px 32px; }
  .news-inner { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 24px; }
  .footer-side { text-align: center; }
  .socials { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 56px 0 64px; }
  .hero .eyebrow { font-size: .62rem; letter-spacing: .18em; }
  .hero .eyebrow span { margin-inline: 5px; }
  .hero-description { font-size: .95rem; }
  .services-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .about-copy { padding: 40px 16px 56px; }
  .about-media { padding: 40px 16px 72px; }
  .photo-inset { right: 4px; width: 44%; bottom: 24px; border-width: 4px; }
  .photo-tag { left: 24px; bottom: 36px; font-size: .7rem; padding: 7px 12px; }
  .tech-chip { font-size: .72rem; padding: 8px 12px; gap: 7px; }
  .tech-chip > svg { width: 14px; height: 14px; }
  .tech-media { padding-bottom: 0; }
  .laptop { width: 90%; margin-top: -14%; }
  .chip-boletim { top: -4%; left: 0; }
  .chip-alerta { top: 70%; left: -2%; }
  .chip-media { position: relative; right: auto; bottom: auto; margin: 18px auto 0; display: flex; width: fit-content; animation: none; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .pillar { border-right: 0; margin-right: 0; padding-right: 12px; }
  .stat { padding: 22px 10px; }
  .brand img { width: 130px; }
  .whatsapp-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}


/* =========================================================
   Landing pages (demonstração e carreiras)
   ========================================================= */
.lp-header { background: #fff; border-bottom: 1px solid var(--border); }
.lp-header .header-inner { height: 76px; }
.lp-header .brand img { width: 140px; }
.lp-header-contact { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: .9rem; font-weight: 700; }
.lp-header-contact a { display: inline-flex; align-items: center; gap: 8px; }
.lp-header-contact svg { color: var(--green); }
.lp-back { color: var(--muted); font-weight: 600; }
.lp-back:hover { color: var(--ink); }

.lp-hero { position: relative; background: var(--navy); color: var(--hero-text); overflow: hidden; }
.lp-hero .hero-image { opacity: .35; }
.lp-hero .hero-shade { background: linear-gradient(90deg, rgba(8,22,40,.97) 0%, rgba(8,22,40,.85) 50%, rgba(8,22,40,.55) 100%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 0 88px; }
.lp-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.14; }
.lp-hero h1 em { font-style: normal; color: var(--primary); }
.lp-lead { margin-top: 20px; color: var(--hero-muted); font-size: 1.05rem; line-height: 1.75; max-width: 540px; }
.lp-bullets { margin-top: 28px; display: grid; gap: 14px; }
.lp-bullets li { position: relative; padding-left: 34px; color: var(--hero-text); font-weight: 600; }
.lp-bullets li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1d33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.lp-mini-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.lp-mini-stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.lp-mini-stats span { font-size: .8rem; color: var(--hero-muted); }
.lp-form { color: var(--ink); }
.lp-form .form-sub { color: var(--muted); font-size: .9rem; margin-top: -8px; }
.lp-hero .brand-ribbon { z-index: 1; }

.optional { font-weight: 500; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; background: var(--soft); color: var(--green); font-weight: 800; }
.step h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.area-card .service-icon { flex-shrink: 0; width: 48px; height: 48px; margin: 0; }
.area-card .service-icon svg { width: 22px; height: 22px; }
.area-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.area-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk { padding: 24px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.perk svg { width: 28px; height: 28px; color: var(--primary); stroke-width: 1.7; margin-bottom: 14px; }
.perk h3 { font-size: 1rem; color: #fff; margin-bottom: 6px; }
.perk p { color: var(--hero-muted); font-size: .88rem; }
.dark-band { background: var(--navy); color: var(--hero-text); }
.dark-band h2 { color: #fff; }
.dark-band .section-head p:not(.eyebrow) { color: var(--hero-muted); }

.contact-form .file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed #b9c7d8; border-radius: 8px; background: var(--soft); cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop.has-file { border-color: var(--green); background: #eefaf6; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop svg { width: 28px; height: 28px; color: var(--green); }
.file-drop strong { display: block; font-size: .9rem; }
.file-drop span { font-size: .8rem; color: var(--muted); font-weight: 500; }
.check-label { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 500 !important; color: var(--muted) !important; line-height: 1.5; }
.check-label input { width: 18px !important; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--green); padding: 0 !important; }

.lp-footer { background: var(--navy); color: var(--hero-muted); font-size: .82rem; }
.lp-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; }
.lp-footer img { width: 140px; }
.lp-footer a:hover { color: var(--primary); }

@media (max-width: 960px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
  .steps, .areas-grid { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .lp-header-contact .lp-hide-m { display: none; }
}
@media (max-width: 600px) {
  .steps, .areas-grid, .perks { grid-template-columns: 1fr; }
  .lp-header .brand img { width: 120px; }
  .lp-mini-stats { gap: 24px; }
  .lp-footer .container { flex-direction: column; text-align: center; }
}

/* ---------- Vídeo de apresentação (janela) ---------- */
.video-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.video-modal[hidden] { display: none; }
.video-backdrop { position: absolute; inset: 0; background: rgba(5, 14, 28, .88); backdrop-filter: blur(4px); }
.video-box { position: relative; width: min(1100px, 100%, calc((100vh - 210px) * 16 / 9)); background: #0b1d33; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: vm-in .25s ease; }

.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px 12px 0 0; overflow: hidden; }
.video-box video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.video-close { z-index: 5; }
.video-tap { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.video-tap-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(11,29,51,.55); backdrop-filter: blur(4px); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; }
.video-tap-icon svg { width: 34px; height: 34px; fill: #fff; stroke: none; }
.video-tap .i-pause, .video-modal.is-paused .video-tap .i-play { display: block; }
.video-tap .i-play, .video-modal.is-paused .video-tap .i-pause { display: none; }
.video-modal.is-paused .video-tap-icon, .video-tap.flash .video-tap-icon { opacity: 1; transform: none; }
.video-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #0b1d33; border-top: 1px solid rgba(255,255,255,.08); border-radius: 0 0 12px 12px; }
.video-sound { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(11,29,51,.5); color: #fff; cursor: pointer; transition: background .2s; }
.video-sound:hover { background: rgba(255,255,255,.2); }
.video-sound svg { width: 20px; height: 20px; }
.video-sound .i-off, .video-sound[aria-pressed="true"] .i-on { display: none; }
.video-sound[aria-pressed="true"] .i-off { display: block; }
.video-cta { box-shadow: 0 10px 30px rgba(28, 207, 159, .35); animation: cta-pulse 2.6s ease-in-out infinite; }
@keyframes cta-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(28,207,159,.3); } 50% { box-shadow: 0 10px 40px rgba(28,207,159,.65); } }
.video-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.video-progress span { display: block; height: 100%; width: 0; background: var(--ribbon); transition: width .25s linear; }
.video-end { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 24px; background: rgba(8,22,40,.88); backdrop-filter: blur(6px); color: #fff; animation: vm-in .3s ease; }
.video-end[hidden] { display: none; }
.video-end h3 { font-size: clamp(1.15rem, 2.6vw, 1.9rem); font-weight: 800; max-width: 680px; margin-bottom: 4px; }
.video-end-sub { color: var(--hero-muted); font-size: clamp(.85rem, 1.5vw, 1.05rem); max-width: 560px; margin-bottom: 20px; }
.video-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.video-end-actions svg { width: 18px; height: 18px; }
.video-close { position: absolute; top: -48px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s; }
.video-close:hover { background: var(--primary); color: var(--navy); }
.video-close svg { width: 22px; height: 22px; }
@keyframes vm-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
body.no-scroll { overflow: hidden; }

/* ---------- LP leads: formulário em destaque ---------- */
.lp-lead-grid { grid-template-areas: "intro form" "details form"; row-gap: 0; align-items: stretch; }
.lp-intro { grid-area: intro; align-self: end; }
.lp-lead-grid .lp-form { grid-area: form; align-self: center; scroll-margin-top: 92px; }
.lp-details { grid-area: details; align-self: start; }
.lp-cta { padding: 11px 20px; font-size: .88rem; }
@media (max-width: 960px) {
  .lp-lead-grid { grid-template-areas: "intro" "form" "details"; row-gap: 28px; padding-top: 32px; }
  .lp-intro h1 { font-size: 1.7rem; }
  .lp-details .lp-lead { margin-top: 0; }
}
@media (max-width: 600px) {
  .lp-header { position: sticky; top: 0; z-index: 50; }
  .lp-cta { padding: 9px 14px; font-size: .8rem; }
  .lp-cta svg { display: none; }
}

/* ---------- Carreiras: escolha de perfil ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { position: relative; display: flex; flex-direction: column; padding: 34px 32px 30px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: box-shadow .25s, transform .25s; overflow: hidden; }
.path-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ribbon); }
.path-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.path-card .service-icon { margin-bottom: 18px; }
.path-card .tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.path-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.path-card > p { color: var(--muted); margin-bottom: 18px; }
.path-card .check-list { margin: 0 0 26px; gap: 10px; }
.path-card .check-list li { font-weight: 500; font-size: .92rem; }
.path-card .btn { margin-top: auto; align-self: flex-start; }

.profile-pick { border: 0; display: grid; gap: 10px; }
.profile-pick legend { font-size: .8rem; font-weight: 700; margin-bottom: 8px; }
.profile-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-option { position: relative; display: flex !important; gap: 12px !important; align-items: center; padding: 16px; border: 1.5px solid #cfd9e5; border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.profile-option input { position: absolute; opacity: 0; pointer-events: none; }
.profile-option .service-icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; }
.profile-option .service-icon svg { width: 20px; height: 20px; }
.profile-option strong { display: block; font-size: .95rem; color: var(--ink); }
.profile-option small { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); line-height: 1.35; }
.profile-option:hover { border-color: var(--green); }
.profile-option:has(input:checked) { border-color: var(--green); background: #eefaf6; box-shadow: 0 0 0 3px rgba(12,154,127,.14); }
.profile-option:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.profile-pick.is-invalid .profile-option { border-color: #d64545; }
.perfil-fields { border: 0; display: grid; gap: 16px; }
.perfil-fields legend { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.js-steps .form-rest[hidden], .perfil-fields[hidden] { display: none; }
.pick-hint { font-size: .85rem; color: var(--muted); text-align: center; padding: 6px 0 2px; }
@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .profile-options { grid-template-columns: 1fr; }
}
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.form-rest { display: grid; gap: 16px; }

@media (max-width: 600px) {
  .video-bar { padding: 10px 12px; }
  .video-cta { padding: 10px 16px; font-size: .8rem; }
  .video-sound { width: 36px; height: 36px; }
  .video-end h3 { margin-bottom: 2px; }
  .video-end-sub { margin-bottom: 10px; }
  .video-end .eyebrow { display: none; }
}
@media (max-width: 600px) {
  .video-end { padding: 12px; gap: 2px; }
  .video-end h3 { font-size: .98rem; line-height: 1.25; margin-bottom: 10px; }
  .video-end-sub { display: none; }
  .video-end-actions { gap: 8px; flex-wrap: nowrap; }
  .video-end-actions .btn { padding: 9px 14px; font-size: .78rem; gap: 6px; }
  .video-end-actions svg { width: 14px; height: 14px; }
}
.video-modal.is-ended .video-bar .video-cta { visibility: hidden; }
