/* IHS Tecnologia — protótipo visual
   Identidade: azul, navy e mosaico geométrico de triângulos (apresentação da marca). */

:root {
  --navy-900: #0a1430;
  --navy: #071d3c;
  --navy-700: #0d2b57;
  --blue: #1877c0;
  --blue-600: #0f66ab;
  --cyan: #18a5dd;
  --sky: #95b3e0;
  --ink: #111c33;
  --muted: #5b6880;
  --line: #e1e7f0;
  --soft: #f3f6fb;
  --white: #fff;
  --ok: #22c38e;
  --warn: #f5b33c;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgb(7 29 60 / 6%);
  --shadow: 0 20px 50px -12px rgb(7 29 60 / 18%);
  --shadow-lg: 0 40px 80px -20px rgb(7 29 60 / 35%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.shell { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { flex: none; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: var(--white); color: var(--navy); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid currentColor; }
.eyebrow-light { color: #7fd0f5; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c9dcf0; max-width: 620px; }
.muted { color: var(--muted); }
.text-gradient { background: linear-gradient(90deg, #7fd0f5, var(--cyan) 40%, #6ea8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 0; border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: var(--white); box-shadow: 0 12px 30px -10px rgb(24 165 221 / 70%); }
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgb(24 165 221 / 85%); }
.btn-ghost { color: var(--white); background: rgb(255 255 255 / 8%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 25%); }
.btn-ghost:hover { background: rgb(255 255 255 / 15%); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #e3f5fd; }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .3s, box-shadow .3s, color .3s; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .3s; }
.brand { display: block; }
.brand img { height: 50px; width: auto; transition: height .3s; }
.logo-dark { display: none; }
.header.is-scrolled { background: rgb(255 255 255 / 92%); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgb(7 29 60 / 8%), var(--shadow-sm); color: var(--ink); }
.header.is-scrolled .header-inner { height: 70px; }
.header.is-scrolled .brand img { height: 42px; }
.header.is-scrolled .logo-light { display: none; }
.header.is-scrolled .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; }
.nav > a:not(.btn), .nav-drop > a { position: relative; padding: 10px 14px; text-decoration: none; border-radius: 999px; opacity: .9; transition: opacity .2s, background .2s; }
.nav > a:not(.btn):hover, .nav-drop > a:hover { opacity: 1; background: rgb(255 255 255 / 10%); }
.header.is-scrolled .nav > a:not(.btn):hover, .header.is-scrolled .nav-drop > a:hover { background: var(--soft); }
.nav [aria-current="page"] { opacity: 1; }
.nav [aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 0; transform: translateX(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid var(--cyan); }
.nav-cta { margin-left: 10px; }

.nav-drop { position: relative; }
.nav-drop-panel { position: absolute; top: calc(100% + 10px); left: 50%; width: 310px; padding: 10px; border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .25s var(--ease); }
.nav-drop-panel::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .9rem; }
.nav-drop-panel a:hover { background: var(--soft); color: var(--blue); }
.nav-drop-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e8f4fc; color: var(--blue); }

.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: rgb(255 255 255 / 10%); color: inherit; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: .3s var(--ease); }
.header.is-scrolled .menu-toggle { background: var(--soft); }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mosaico ---------- */
.mosaic { display: block; width: 100%; height: 100%; }
.mosaic .tw { animation: twinkle 8s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px)); background: radial-gradient(120% 90% at 0% 0%, #0f2f63 0%, var(--navy) 45%, var(--navy-900) 100%); color: var(--white); }
.hero-mosaic { position: absolute; z-index: -2; inset: 0 0 0 46%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 10% 62%, 0 38%); opacity: .95; }
.hero-mosaic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgb(7 29 60 / 0%) 35%); }
.hero-glow { position: absolute; z-index: -1; width: 620px; height: 620px; left: -200px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgb(24 165 221 / 28%), transparent 65%); filter: blur(10px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 6vw, 80px); padding-bottom: clamp(70px, 9vw, 120px); }
.hero h1 { margin: 22px 0 24px; font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / 8%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 14%); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: #cfe6fa; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgb(34 195 142 / 25%); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(34 195 142 / 0%); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .88rem; color: #b6cde6; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--cyan); }

.hero-visual { position: relative; padding: 30px 10px; }
.panel { position: relative; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 5%)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%), var(--shadow-lg); backdrop-filter: blur(18px); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.panel-title .icon { color: var(--cyan); }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: rgb(34 195 142 / 15%); color: #6fe6bd; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.live span { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.status-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.status-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 6%); font-size: .9rem; font-weight: 600; }
.status-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(24 165 221 / 18%); color: #8fd8f8; }
.status-list em { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-style: normal; font-weight: 700; }
.status-list .ok { background: rgb(34 195 142 / 16%); color: #6fe6bd; }
.status-list .warn { background: rgb(245 179 60 / 16%); color: #ffd27d; }
.spark { height: 70px; margin-top: 18px; }
.spark svg { width: 100%; height: 100%; }
.spark-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: .85rem; }
.float-card small { color: var(--muted); font-size: .76rem; }
.float-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #dcf7ed; color: #12a272; }
.float-icon-blue { background: #e1f1fb; color: var(--blue); }
.float-a { left: -34px; bottom: 6px; }
.float-b { right: -18px; top: -40px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.marquee { position: relative; overflow: hidden; padding: 20px 0; border-top: 1px solid rgb(255 255 255 / 10%); background: rgb(4 14 32 / 45%); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; padding: 0 36px; font-weight: 600; color: #a9c3e0; white-space: nowrap; }
.marquee-track .icon { color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-soft { background: var(--soft); }
.section-dark { position: relative; background: radial-gradient(100% 80% at 100% 0%, #123a74 0%, var(--navy) 50%, var(--navy-900) 100%); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 60px; margin-bottom: 52px; }
.section-head > div { max-width: 640px; }
.section-head > p { max-width: 440px; color: var(--muted); }
.section-dark .section-head > p { color: #a9c3e0; }

/* Cards de serviço */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; background: linear-gradient(135deg, var(--cyan), var(--blue)); clip-path: polygon(50% 100%, 0 0, 100% 0); opacity: 0; transform: translateY(-20px); transition: .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { opacity: .12; transform: none; }
.service-card h3 { color: var(--navy); font-size: 1.25rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-num { position: absolute; right: 26px; top: 24px; font-size: .8rem; font-weight: 800; color: #b9c6d8; letter-spacing: .1em; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #e3f4fd, #d6e8fa); color: var(--blue); transition: .35s var(--ease); }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: var(--white); transform: rotate(-6deg) scale(1.05); }
.service-icon-light { background: rgb(255 255 255 / 12%); color: #8fd8f8; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 18%); margin-bottom: 18px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.service-link .icon { transition: transform .25s var(--ease); }
.service-card:hover .service-link .icon { transform: translateX(5px); }

/* Split (texto + imagem) */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.split-top { align-items: start; }
.split-copy > p { margin-top: 18px; color: var(--muted); font-size: 1.04rem; }
.split-copy h2 { margin-bottom: 4px; }
.split-copy .btn { margin-top: 34px; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%); box-shadow: var(--shadow); }
.split-media::before { content: ""; position: absolute; z-index: -1; left: -26px; top: -26px; width: 160px; height: 140px; background: linear-gradient(135deg, var(--cyan), var(--blue)); clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: .9; }
.media-badge { position: absolute; right: -18px; bottom: 40px; max-width: 220px; padding: 18px 20px; border-radius: 18px; background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg); }
.media-badge strong { display: block; font-size: 2rem; line-height: 1; color: var(--cyan); }
.media-badge span { display: block; margin-top: 6px; font-size: .84rem; color: #c3d6ea; }

.check-list { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 16px; }
.check-list strong { color: var(--navy); }
.check-list p { margin-top: 2px; color: var(--muted); font-size: .94rem; }
.check-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #e3f4fd; color: var(--blue); }

/* Processo */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process-step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); transition: background .3s, transform .35s var(--ease); }
.process-step:hover { background: rgb(255 255 255 / 9%); transform: translateY(-4px); }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -16px; width: 12px; height: 12px; background: var(--cyan); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.process-num { position: absolute; top: 26px; right: 26px; font-size: 2.4rem; font-weight: 800; line-height: 1; color: rgb(255 255 255 / 8%); }
.process-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: var(--white); box-shadow: 0 10px 24px -8px rgb(24 165 221 / 60%); }
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: #a9c3e0; font-size: .94rem; }
.process-light .process-step { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.process-light .process-step:hover { box-shadow: var(--shadow); }
.process-light .process-num { color: #e6ecf4; }
.process-light h3 { color: var(--navy); }
.process-light p { color: var(--muted); }

/* CTA */
.cta { padding: 0 0 clamp(72px, 10vw, 120px); }
.section-soft + .cta, .section-dark + .cta { padding-top: clamp(72px, 10vw, 120px); }
.cta-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 380px; border-radius: 32px; background: linear-gradient(120deg, var(--navy-900), var(--navy) 50%, var(--navy-700)); color: var(--white); box-shadow: var(--shadow-lg); }
.cta-copy { padding: clamp(36px, 6vw, 70px); }
.cta-copy h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-copy p:not(.eyebrow) { margin: 18px 0 32px; color: #b6cde6; max-width: 520px; }
.cta-mosaic { position: absolute; z-index: -1; inset: 0 0 0 55%; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.cta-mosaic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 40%); }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(60px, 8vw, 100px); background: radial-gradient(110% 100% at 0% 0%, #0f2f63, var(--navy) 50%, var(--navy-900)); color: var(--white); }
.page-hero-mosaic { position: absolute; z-index: -1; inset: 0 0 0 55%; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); opacity: .9; }
.page-hero-mosaic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgb(7 29 60 / 10%) 45%); }
.page-hero-inner { max-width: 760px; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: .84rem; color: #9fbad8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); font-weight: 600; }

.service-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(30px, 6vw, 70px); }
.service-hero .page-hero-mosaic { inset: 0 0 0 70%; }
.service-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 18%); box-shadow: var(--shadow-lg); }

/* Linhas de serviço (lista) */
.service-rows { display: grid; gap: clamp(60px, 9vw, 110px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 80px); }
.service-row.is-flipped .service-row-media { order: 2; }
.service-row-media { position: relative; }
.service-row-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.service-row.is-flipped .service-row-media img { clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 85%); }
.service-row:not(.is-flipped) .service-row-media img { clip-path: polygon(0 0, 100% 0, 100% 85%, 88% 100%, 0 100%); }
.service-row-num { position: absolute; left: 22px; top: 18px; padding: 6px 14px; border-radius: 999px; background: rgb(7 29 60 / 75%); color: var(--white); font-weight: 800; font-size: .85rem; backdrop-filter: blur(6px); }
.service-row-copy h2 { margin: 20px 0 14px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.service-row-copy > p { color: var(--muted); }
.service-row-copy .btn { margin-top: 28px; }
.mini-checks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.mini-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.mini-checks .icon { margin-top: 4px; color: var(--cyan); }

/* Detalhe do serviço */
.detail-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.detail-body h2 { margin-bottom: 22px; }
.detail-body p:not(.eyebrow) { margin-top: 16px; color: #3d4a62; font-size: 1.06rem; }
.detail-aside { position: sticky; top: 100px; padding: 32px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.detail-aside h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 20px; }
.benefit-list { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.benefit-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: .95rem; }
.benefit-list .check-icon { width: 36px; height: 36px; background: var(--white); }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Sobre */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), transparent); }
.timeline-item { position: relative; padding-top: 74px; }
.timeline-year { position: absolute; top: 0; left: 0; display: inline-grid; place-items: center; min-width: 56px; height: 56px; padding: 0 16px; border-radius: 16px; background: var(--navy); color: var(--white); font-weight: 800; box-shadow: 0 0 0 6px var(--soft); }
.timeline-item h3 { margin-bottom: 8px; color: var(--navy); font-size: 1.25rem; }
.timeline-item p { color: var(--muted); }
.values { display: grid; gap: 16px; }
.value-card { position: relative; padding: 26px 28px 26px 74px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: .3s var(--ease); }
.value-card:hover { box-shadow: var(--shadow); transform: translateX(4px); border-color: transparent; }
.value-mark { position: absolute; left: 26px; top: 30px; width: 26px; height: 22px; background: linear-gradient(135deg, var(--cyan), var(--blue)); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.value-card h3 { color: var(--navy); margin-bottom: 4px; }
.value-card p { color: var(--muted); font-size: .95rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 32px 28px; border-radius: var(--radius); background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: #a9c3e0; }

/* Contato */
.contact-section { position: relative; margin-top: -60px; padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
.contact-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-lg); }
.contact-card h2 { font-size: 1.7rem; }
.contact-card .muted { margin: 8px 0 28px; }
.client-area-section { background: #f2f7fc; }
.client-access-card { max-width: 580px; margin-inline: auto; border: 1px solid var(--line); }
.client-access-card p { margin: 12px 0 24px; color: var(--muted); }
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .84rem; font-weight: 700; color: var(--navy); }
.field label span { color: var(--blue); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--soft); font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 4px rgb(24 165 221 / 15%); }
.has-error input, .has-error textarea { border-color: #e0516b; }
.field-error { margin-top: 6px; color: #c8314d; font-size: .82rem; font-weight: 600; }
.alert-success { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; padding: 16px 18px; border-radius: 16px; background: #e5f8f1; color: #0d6b4c; }
.alert-success .check-icon { background: #c4efdf; color: #0d8a60; }
.alert-success p { font-size: .88rem; }
.alert-error { background: #fdecec; color: #9b1c1c; }
.alert-error .check-icon { background: #f9d2d2; color: #c0262d; }
.alert-error a { color: inherit; font-weight: 700; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.info-card .process-icon { width: 46px; height: 46px; margin: 0; border-radius: 14px; }
.info-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: .92rem; }
/* Cartões de contato clicáveis */
.contact-link { --accent: var(--blue); --accent-soft: #e6f3fc; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.contact-link, .contact-link * { text-decoration: none; }
.contact-link:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 40px -16px rgb(7 29 60 / 25%); }
.contact-link-wa { --accent: #12a150; --accent-soft: #e3f8ec; }
.contact-link-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); transition: background .3s, color .3s; }
.contact-link:hover .contact-link-icon { background: var(--accent); color: var(--white); }
.contact-link-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.contact-link-text small { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-link-text strong { color: var(--navy); font-size: 1.02rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-link-go { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--muted); transition: background .3s, color .3s, transform .3s var(--ease); }
.contact-link:hover .contact-link-go { background: var(--accent); color: var(--white); transform: translateX(3px); }
.info-card-dark { background: linear-gradient(135deg, var(--navy), var(--navy-700)); border: 0; }
.info-card-dark h3 { color: var(--white); }
.info-card-dark p { color: #b6cde6; }

/* Botão flutuante do WhatsApp */
.wa-float { position: fixed; z-index: 90; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 15px; border-radius: 999px; background: #25d366; color: var(--white); text-decoration: none; font-weight: 700; font-size: .92rem; box-shadow: 0 14px 34px -10px rgb(18 140 70 / 70%); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #25d366; animation: wa-ring 2.6s ease-out infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 40px -10px rgb(18 140 70 / 80%); }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 160px; padding-right: 6px; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-900); color: #a9bdd6; font-size: .92rem; }
.footer-mosaic { height: 48px; overflow: hidden; opacity: .8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.1fr 1.4fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 280px; }
.footer-label { margin-bottom: 14px; color: var(--white); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.footer a { display: block; padding: 4px 0; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer .footer-contact { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; overflow-wrap: anywhere; }
.footer-contact .icon { margin-top: 4px; color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 30px; border-top: 1px solid rgb(255 255 255 / 8%); font-size: .82rem; }
.footer-note { padding: 2px 10px; border-radius: 999px; background: rgb(255 255 255 / 6%); }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .spark-line { stroke-dashoffset: 0; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-grid, .service-hero-grid { grid-template-columns: 1fr; }
  .hero-mosaic { inset: 0 0 0 30%; opacity: .5; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav { position: fixed; inset: 0 0 auto; top: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 4px; padding: calc(var(--header-h) + 10px) 20px 28px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-105%); transition: transform .4s var(--ease); }
  .menu-open .nav { transform: none; }
  .menu-open.header { color: var(--ink); }
  .menu-open .logo-light { display: none; }
  .menu-open .logo-dark { display: block; }
  .nav > a:not(.btn), .nav-drop > a { display: block; padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .nav > a:not(.btn):hover, .nav-drop > a:hover { background: var(--soft); }
  .nav [aria-current="page"]::after { display: none; }
  .nav [aria-current="page"] { color: var(--blue); }
  .nav-drop-panel { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .split, .service-row { grid-template-columns: 1fr; }
  .service-row.is-flipped .service-row-media { order: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--cyan), var(--blue), transparent); }
  .timeline-item { padding: 6px 0 0 84px; }
  .feature-grid, .service-grid-3 { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-mosaic { inset: 60% 0 0 0; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); opacity: .5; }
  .media-badge { right: 12px; }
  .split-media::before { left: -10px; }
}

@media (max-width: 620px) {
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
  .service-grid, .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-a { left: 0; bottom: -10px; }
  .float-b { right: 0; top: -10px; }
  .hero-actions .btn { width: 100%; }
  .page-hero-mosaic, .service-hero .page-hero-mosaic { inset: 0 0 0 40%; opacity: .45; }
}
