/* =====================================================================
   Hosttec Solution — folha de estilos principal
   Mobile-first. Tema escuro. Todas as cores e medidas vêm dos tokens
   abaixo: troque aqui e o site inteiro acompanha.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cores — tiradas da logo (escudo royal → marinho, HOST grafite, TECSOLUTION azul → prata) */
  --royal: #0B0EB1;           /* azul da logo */
  --navy: #1F2056;            /* marinho da ponta direita do escudo */
  --graphite: #36323A;        /* grafite do HOST */
  --bg: #07081A;              /* fundo: marinho quase preto */
  --surface: #0E1030;         /* cards, header, painéis */
  --surface-2: #151840;       /* superfície um tom acima */
  --border: rgba(160, 170, 255, .10);
  --border-strong: rgba(160, 170, 255, .20);
  --text: #EEF0FA;            /* texto principal */
  --muted: #A6ABCD;           /* texto secundário (AA sobre bg e surface) */
  --primary: #8C95FF;         /* links e ícones sobre fundo escuro */
  --primary-solid: #2F3BFF;   /* botões: o royal da logo, aceso para o fundo escuro */
  --primary-solid-hover: #1A22D0;
  --accent: #C3C7EC;          /* prata do fim do TECSOLUTION: detalhes */
  --brand-rgb: 47, 59, 255;
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;
  --glow: 0 0 0 1px rgba(var(--brand-rgb), .40), 0 12px 40px -14px rgba(var(--brand-rgb), .55);
  --gradient: linear-gradient(90deg, #2F3BFF 0%, #2F3BFF 40%, #1F2056 100%);        /* degradê do escudo */
  --gradient-word: linear-gradient(90deg, #5A66FF 0%, #5A66FF 50%, #C3C7EC 100%);   /* degradê do TECSOLUTION */
  --gradient-soft: linear-gradient(135deg, rgba(47, 59, 255, .22), rgba(31, 32, 86, .40));
  /* hexágono da logo (pontas nas laterais), para ícones, números e marcadores */
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  /* símbolo da logo (sem texto), para marca d'água */
  --simbolo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 200'%3E%3Cpath fill='%23FFFFFF' fill-opacity='.07' d='M0 133L57.5 0V200ZM240 133L182.5 0V200ZM89.5 0H150.5V78H89.5ZM89.5 122H150.5V200H89.5Z'/%3E%3C/svg%3E");

  /* Tipografia */
  --font-display: "Saira", "Segoe UI", system-ui, sans-serif;  /* mesma família do TECSOLUTION */
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: .8125rem;                                   /* 13px */
  --fs-sm: .9375rem;                                   /* 15px */
  --fs-base: 1rem;                                     /* 16px */
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);   /* 17–19px */
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  --fs-stat: clamp(2rem, 1.5rem + 2.2vw, 3rem);

  /* Espaçamento (escala de 4px) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem;
  --section: clamp(4rem, 2.8rem + 4.5vw, 6.5rem);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  /* Forma */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-underline-offset: .2em; }
a:hover { color: #B3B9FF; }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; line-height: 1.1; letter-spacing: -.015em; margin: 0; text-wrap: balance; color: #fff; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--brand-rgb), .45); color: #fff; }
:focus-visible { outline: 3px solid #A9B0FF; outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

/* Elementos com o atributo hidden somem sempre, mesmo que outra regra defina display (banner de cookies, menu do celular, avisos). */
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 200; padding: 12px 18px; background: #fff; color: var(--bg); font-weight: 600; border-radius: var(--radius-xs); text-decoration: none; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: var(--section); position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(14, 16, 48, 0), rgba(14, 16, 48, .75) 18%, rgba(14, 16, 48, .75) 82%, rgba(14, 16, 48, 0)); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-float-icon { stroke: none; }

/* Cabeçalho de seção */
.section-head { max-width: 680px; margin-bottom: var(--s-12); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-3); }
.kicker::before { content: ""; width: 12px; height: 10px; clip-path: var(--hex); background: var(--gradient-word); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: var(--s-4); color: var(--muted); font-size: var(--fs-lg); }

.h2 { font-size: var(--fs-h2); }
.lead-muted { margin-top: var(--s-4); color: var(--muted); font-size: var(--fs-lg); }
.section-tight { padding-block: var(--s-12) 0; }
.partners-title { text-align: center; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-base); color: var(--muted); letter-spacing: 0; margin-bottom: var(--s-6); }

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-6);
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-sm); line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--primary-solid); color: #fff; box-shadow: 0 8px 24px -10px rgba(var(--brand-rgb), .7); }
.btn-primary:hover { background: var(--primary-solid-hover); color: #fff; }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-outline:hover { border-color: var(--primary); color: #fff; background: rgba(var(--brand-rgb), .08); }
.btn-light { background: #fff; color: var(--royal); }
.btn-light:hover { background: #E4E6FF; color: var(--royal); }
.btn-sm { min-height: 44px; padding: 0 var(--s-5); }
.btn-lg { min-height: 54px; padding: 0 var(--s-8); font-size: var(--fs-base); }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; min-height: 44px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 4. Header fixo com vidro ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(7, 8, 26, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(7, 8, 26, .88); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s-6); }
body { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand-logo { height: 34px; width: auto; }
@media (max-width: 400px) { .brand-logo { height: 28px; } }
.brand-mark { width: 36px; height: 40px; }
.brand-name { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-name b { font-weight: 700; }
.brand-name i { font-weight: 700; font-style: italic; color: var(--primary); }
.brand-name span { font-weight: 500; font-style: italic; color: var(--muted); font-size: .8em; letter-spacing: .04em; }

.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul { list-style: none; display: flex; gap: var(--s-1); }
.nav-desktop a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); color: var(--muted); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); border-radius: 999px; white-space: nowrap; transition: color .2s, background-color .2s; }
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.nav-desktop a[aria-current="page"] { color: #fff; }
.nav-desktop a[aria-current="page"]::after { content: ""; width: 8px; height: 7px; margin-left: 7px; clip-path: var(--hex); background: var(--primary-solid); }

.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.nav-desktop + .header-actions { margin-left: var(--s-4); }
.hide-mobile { display: none; }
.menu-toggle, .menu-close { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .03); cursor: pointer; color: #fff; }
.menu-toggle:hover, .menu-close:hover { border-color: var(--primary); }

/* Painel lateral (mobile) */
.drawer-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(3, 4, 14, .65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(86vw, 360px);
  padding: calc(env(safe-area-inset-top, 0px) + var(--s-4)) max(20px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + var(--s-6)) var(--s-6);
  background: var(--surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--s-6);
  transform: translateX(100%); transition: transform .3s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer-title { font-family: var(--font-display); font-weight: 600; color: var(--muted); }
.drawer ul { list-style: none; }
.drawer nav a { display: flex; align-items: center; min-height: 52px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.drawer nav a[aria-current="page"] { color: var(--primary); }
.drawer-actions { display: grid; gap: var(--s-3); margin-top: auto; }

@media (min-width: 720px) {
  .hide-mobile { display: inline-flex; }
}
@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .header-actions { margin-left: 0; }
}

/* ---------- 5. Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; isolation: isolate; }
/* malha de pontos que some nas bordas */
.bg-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
/* brilho de fundo */
.bg-grid::after {
  content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -220px; top: -200px;
  background: var(--simbolo) 58% 46% / 62% auto no-repeat, radial-gradient(circle, rgba(var(--brand-rgb), .30), rgba(31, 32, 86, .25) 45%, transparent 70%);
  opacity: .9;
  pointer-events: none;
}
.hero-grid { display: grid; gap: var(--s-12); align-items: center; }
.hero h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
.hero h1 .grad { font-style: italic; font-stretch: 125%; background: var(--gradient-word); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-sub { margin-top: var(--s-5); font-size: var(--fs-lg); color: var(--muted); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-8); }
.trust li { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: var(--muted); }
.trust .icon { width: 18px; height: 18px; color: var(--accent); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: var(--s-10); }
}

/* Página interna: cabeçalho menor */
.page-hero { padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2.5rem, 2rem + 3vw, 4rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); max-width: 20ch; }
.page-hero p { margin-top: var(--s-4); color: var(--muted); font-size: var(--fs-lg); max-width: 42rem; }
.breadcrumb { list-style: none; display: flex; gap: var(--s-2); font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); opacity: .5; }
.breadcrumb a { color: var(--muted); }

/* ---------- 6. Mockup do painel de monitoramento ---------- */
.panel {
  position: relative; border-radius: var(--radius); background: rgba(14, 16, 48, .94);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--brand-rgb), .12), 0 0 60px -20px rgba(var(--brand-rgb), .35);
  overflow: hidden; font-size: 12.5px;
}
.panel-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2E5C; }
.panel-bar span { margin-left: 8px; color: var(--muted); font-weight: 500; }
.panel-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; }
.panel-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.panel-body { display: grid; gap: 12px; padding: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: 11.5px; }
.kpi strong { font-family: var(--font-display); font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.kpi strong em { font-style: normal; font-size: 12px; color: var(--success); margin-left: 4px; }
.panel-row { display: grid; gap: 12px; grid-template-columns: 1.25fr 1fr; }
.chart { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.chart small { color: var(--muted); font-size: 11.5px; }
.chart svg { width: 100%; height: 86px; margin-top: 6px; }
.cams { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cam { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #0A0C26; border: 1px solid var(--border); }
.cam svg { width: 100%; height: 100%; }
.cam span { position: absolute; left: 6px; bottom: 5px; font-size: 10.5px; color: #DCDFFF; background: rgba(7, 8, 26, .75); padding: 1px 5px; border-radius: 4px; }
.cam::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.devices { list-style: none; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.devices li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.devices li:last-child { border-bottom: 0; }
.devices b { font-weight: 500; color: var(--text); }
.devices .meta { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--success); }
.status.warn { color: var(--warning); }
.status.off { color: var(--muted); }
.panel-float {
  position: absolute; left: -20px; bottom: -44px; display: flex; align-items: center; gap: 10px;
  background: rgba(14, 16, 48, .97); border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); font-size: 13px;
}
.panel-float .icon { color: var(--accent); }
.panel-float b { display: block; color: #fff; font-weight: 600; }
.panel-float small { color: var(--muted); }
.hero-visual { position: relative; margin-bottom: 44px; }
@media (max-width: 520px) {
  .panel-row { grid-template-columns: 1fr; }
  .panel-float { position: static; margin-top: 12px; }
  .kpi strong { font-size: 17px; }
}

/* ---------- 7. Números ---------- */
.stats { padding-block: var(--s-10); border-block: 1px solid var(--border); background: rgba(14, 16, 48, .55); }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-8) var(--s-6); }
.stat strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-size: var(--fs-stat); font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat strong .suf { color: var(--primary); }
.stat > span { display: block; margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 860px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 8. Cards de serviço ---------- */
.cards { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.card:hover { border-color: rgba(var(--brand-rgb), .45); box-shadow: var(--glow); }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.card-icon { width: 58px; height: 48px; display: grid; place-items: center; clip-path: var(--hex); background: var(--gradient); color: #fff; margin-bottom: var(--s-2); }
.card-icon .icon { width: 22px; height: 22px; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* card inteiro clicável */

/* ---------- 9. Como funciona (passos) ---------- */
.steps { list-style: none; display: grid; gap: var(--s-4); counter-reset: passo; }
.step { position: relative; padding: var(--s-6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); counter-increment: passo; }
.step-num { display: inline-grid; place-items: center; width: 52px; height: 44px; clip-path: var(--hex); font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-size: 1.125rem; font-weight: 800; color: #fff; background: var(--gradient); margin-bottom: var(--s-4); }
.step h3 { font-size: var(--fs-h3); }
.step p { margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-sm); }
.step .icon { position: absolute; top: var(--s-6); right: var(--s-6); width: 22px; height: 22px; color: var(--muted); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--s-6) + 21px); right: calc(var(--s-4) * -1); width: var(--s-4); height: 2px; background: var(--gradient-word); }
}

/* ---------- 10. Tecnologia própria ---------- */
.tech-grid { display: grid; gap: var(--s-12); align-items: center; }
.feature-list { list-style: none; display: grid; gap: var(--s-5); margin-top: var(--s-8); }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: var(--s-4); }
.feature-list .card-icon { width: 52px; height: 44px; margin: 0; }
.feature-list h3 { font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.feature-list p { color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.chat { display: grid; gap: 8px; padding: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.chat p { max-width: 85%; padding: 8px 11px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; }
.chat .in { background: #1B1E4A; justify-self: start; border-top-left-radius: 3px; }
.chat .out { background: #134E3A; justify-self: end; border-top-right-radius: 3px; }
.chat small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.chat .out small { color: #B9E5D1; }
@media (min-width: 960px) { .tech-grid { grid-template-columns: 1fr 1.1fr; } }

/* ---------- 11. Carrossel de clientes ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { list-style: none; display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.logo-item { flex: none; width: 180px; height: 72px; display: grid; place-items: center; }
.logo-item img { max-height: 56px; max-width: 160px; width: auto; filter: grayscale(1) brightness(1.6) contrast(.9); opacity: .7; transition: filter .3s, opacity .3s; }
.logo-item:hover img { filter: none; opacity: 1; }
.logo-item .logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--muted); text-align: center; line-height: 1.15; transition: color .3s; }
.logo-item:hover .logo-text { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 12. Parceiros ---------- */
.partners { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.partners li { padding: var(--s-3) var(--s-6); border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font-display); font-weight: 600; color: var(--muted); letter-spacing: .01em; }

/* ---------- 13. Depoimentos ---------- */
.quote { display: flex; flex-direction: column; gap: var(--s-5); }
.quote .icon { width: 28px; height: 28px; color: var(--primary); }
.quote blockquote { margin: 0; color: var(--text); font-size: var(--fs-lg); line-height: 1.55; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--s-3); }
.avatar { width: 52px; height: 44px; clip-path: var(--hex); display: grid; place-items: center; background: var(--gradient); font-family: var(--font-display); font-weight: 700; color: #fff; }
.quote figcaption b { display: block; color: #fff; font-weight: 600; }
.quote figcaption small { color: var(--muted); font-size: var(--fs-xs); }
.placeholder-note { margin-top: var(--s-6); text-align: center; color: var(--warning); font-size: var(--fs-xs); }

/* ---------- 14. FAQ (acordeão com <details>) ---------- */
.faq { display: grid; gap: var(--s-3); max-width: 820px; margin-inline: auto; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq details[open] { border-color: rgba(var(--brand-rgb), .4); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding: var(--s-4) var(--s-6); cursor: pointer; font-weight: 600; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--primary); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 var(--s-6) var(--s-6); color: var(--muted); max-width: 70ch; }

/* ---------- 15. CTA final em gradiente ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.5rem, 1.5rem + 5vw, 4.5rem) clamp(1.5rem, 1rem + 4vw, 4rem);
  background: var(--simbolo) right -60px center / auto 150% no-repeat, linear-gradient(100deg, #1A22D0 0%, var(--royal) 45%, var(--navy) 100%);
  display: grid; gap: var(--s-6); align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 8, 26, .0); background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(26, 34, 208, 0) 40%, rgba(7, 8, 26, .15)); }
.cta-band h2 { font-size: var(--fs-h2); color: #fff; max-width: 22ch; }
.cta-band p { color: #E4E6FF; margin-top: var(--s-3); max-width: 40rem; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- 16. Serviços (página) ---------- */
.service { display: grid; gap: var(--s-8); padding-block: var(--s-16); border-top: 1px solid var(--border); }
.service:first-child { border-top: 0; padding-top: 0; }
.service-head { display: flex; flex-direction: column; gap: var(--s-4); }
.service-head h2 { font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.25rem); }
.service-head .lead { color: var(--muted); font-size: var(--fs-lg); }
.problem { padding: var(--s-5); border-radius: var(--radius-sm); background: rgba(248, 113, 113, .06); border: 1px solid rgba(248, 113, 113, .2); }
.problem b { display: block; color: #FCA5A5; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; margin-bottom: var(--s-1); }
.service-body { display: grid; gap: var(--s-6); }
.box { padding: var(--s-6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.box h3 { font-size: var(--fs-base); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: var(--s-4); color: #fff; }
.checklist { list-style: none; display: grid; gap: var(--s-3); }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; }
.checklist .icon { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.for-whom { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; }
.for-whom li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: var(--fs-sm); }
.service-nav { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-8); }
.service-nav a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.service-nav a:hover { border-color: var(--primary); color: #fff; }
.service-nav .icon { width: 16px; height: 16px; color: var(--primary); }
@media (min-width: 960px) {
  .service { grid-template-columns: 1fr 1.15fr; gap: var(--s-12); }
  .service-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

/* ---------- 17. Planos ---------- */
.plans { display: grid; gap: var(--s-5); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-8) var(--s-6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.plan h3 { font-size: 1.5rem; }
.plan .desc { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-2); }
.price { font-family: var(--font-display); color: #fff; }
.price small { display: block; font-family: var(--font-body); color: var(--muted); font-size: var(--fs-xs); }
.price strong { font-size: 2rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.price span { color: var(--muted); font-size: var(--fs-sm); font-family: var(--font-body); }
.plan .checklist { font-size: var(--fs-sm); }
.plan .btn { margin-top: auto; }
.plan.featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient-word) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 70px -30px rgba(var(--brand-rgb), .55); }
.badge { position: absolute; top: -14px; left: var(--s-6); padding: 6px 16px; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); background: var(--gradient-word); color: var(--bg); font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .04em; }
@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan.featured { transform: translateY(-12px); }
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare caption { text-align: left; padding: var(--s-5) var(--s-6) 0; color: var(--muted); font-size: var(--fs-xs); }
.compare th, .compare td { padding: var(--s-4) var(--s-5); text-align: center; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-display); color: #fff; font-size: var(--fs-base); }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--text); }
.compare .col-featured { background: rgba(var(--brand-rgb), .07); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .icon { margin-inline: auto; width: 20px; height: 20px; }
.compare .yes { color: var(--accent); }
.compare .no { color: #4D5180; }

/* ---------- 18. Formulários ---------- */
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.form-card h2, .form-card h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.form-card > p { color: var(--muted); margin-top: var(--s-2); }
.form { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: var(--radius-xs); border: 1px solid var(--border-strong);
  background: #0A0C24; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239AA6B8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input::placeholder, .textarea::placeholder { color: #7A7FA6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .3); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { color: #FCA5A5; font-size: var(--fs-xs); font-weight: 500; }
.form-note { color: var(--muted); font-size: var(--fs-xs); }
.form-status { padding: var(--s-3) var(--s-4); border-radius: var(--radius-xs); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: #A7F3D0; font-size: var(--fs-sm); }

/* ---------- 19. Contato ---------- */
.contact-grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 1fr; } }
.info-list { list-style: none; display: grid; gap: var(--s-5); }
.info-list li { display: grid; grid-template-columns: 52px 1fr; gap: var(--s-4); align-items: start; }
.info-list .card-icon { width: 52px; height: 44px; margin: 0; }
.info-list b { display: block; color: #fff; font-weight: 600; font-size: var(--fs-sm); }
.info-list span, .info-list a { color: var(--muted); font-size: var(--fs-sm); }
.info-list a { color: var(--primary); }
.map { margin-top: var(--s-6); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 11; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6); }
.map-link { display: grid; place-items: center; height: 100%; text-align: center; padding: var(--s-6); color: var(--muted); }

/* ---------- 20. Sobre ---------- */
.about-grid { display: grid; gap: var(--s-10); }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.prose { color: var(--muted); display: grid; gap: var(--s-4); font-size: var(--fs-lg); }
.prose strong { color: #fff; }
.timeline { list-style: none; position: relative; display: grid; gap: var(--s-6); padding-left: var(--s-8); }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary-solid), var(--navy) 80%, transparent); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--s-8) * -1); top: 5px; width: 20px; height: 17px; clip-path: var(--hex); background: var(--gradient); }
.timeline .year { font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 800; color: var(--accent); font-size: var(--fs-sm); letter-spacing: .04em; }
.timeline h3 { font-size: var(--fs-h3); margin-top: 2px; }
.timeline p { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-1); }
.mvv { display: grid; gap: var(--s-4); }
@media (min-width: 860px) { .mvv { grid-template-columns: 1fr 1fr; } }

/* ---------- 21. Página de texto (política) ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.375rem; margin-top: var(--s-10); margin-bottom: var(--s-3); }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: var(--s-3); }
.legal ul { padding-left: var(--s-5); display: grid; gap: var(--s-2); margin-top: var(--s-3); }

/* ---------- 22. Rodapé ---------- */
.site-footer { margin-top: var(--section); border-top: 1px solid var(--border); background: #05061A; padding-top: var(--s-16); padding-bottom: calc(var(--s-8) + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; gap: var(--s-10); }
.footer-brand p { margin-top: var(--s-4); color: var(--muted); font-size: var(--fs-sm); max-width: 30ch; }
.footer-title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--s-1); }
.footer-col ul a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; font-size: var(--fs-sm); }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; color: var(--muted); font-size: var(--fs-sm); padding-block: 6px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--primary); }
.footer-contact a { min-height: 0 !important; color: var(--muted); }
.social { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); color: var(--text); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--primary); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--border); color: #8A8FB5; font-size: var(--fs-xs); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }

/* ---------- 23. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 90;
  right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float-icon { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
body.has-cookie .wa-float { bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + var(--cookie-h, 0px)); }

/* ---------- 24. Banner de cookies ---------- */
.cookie-banner {
  position: fixed; z-index: 95; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px));
  max-width: 720px; margin-inline: auto;
  display: grid; gap: var(--s-4); padding: var(--s-5);
  border-radius: var(--radius-sm); background: rgba(14, 16, 48, .97); border: 1px solid var(--border-strong);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); font-size: var(--fs-sm); color: var(--muted);
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: flex-end; }
@media (min-width: 720px) { .cookie-banner { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- 25. Animações de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
}

/* ---------- 26. Utilitários ---------- */
.section-plans { padding-top: var(--s-12); }
.mt-6 { margin-top: var(--s-6); }
@media (prefers-reduced-motion: reduce) {
  .logo-item { width: 140px; height: 60px; }
  .marquee-group { gap: var(--s-4) var(--s-6); }
}

/* ---------- 27. Faixa clara (mostra a logo nas cores originais) ---------- */
.section-light { background: #F4F5FB; color: #1B1C33; }
.section-light h2, .section-light h3 { color: var(--royal); }
.section-light .kicker { color: var(--graphite); }
.section-light .section-head p, .section-light .partners-title { color: #4A4C66; }
.section-light .logo-item img { filter: grayscale(1); opacity: .65; }
.section-light .logo-item:hover img { filter: none; opacity: 1; }
.section-light .logo-item .logo-text { color: #6A6C86; }
.section-light .logo-item:hover .logo-text { color: var(--royal); }
.section-light .partners li { background: #fff; border-color: rgba(11, 14, 177, .14); color: var(--graphite); }
.section-light .partners { margin-top: var(--s-10); }
.light-logo { display: block; width: clamp(120px, 14vw, 170px); margin: 0 auto var(--s-6); }

/* ---------- 28. Marca ---------- */
.footer-logo { width: 150px; height: auto; }
.brand-tagline { font-family: var(--font-display); font-stretch: 125%; font-style: italic; font-weight: 700; letter-spacing: .02em; color: var(--accent); }
.partners-caption { margin: var(--s-4) 0 0; font-size: var(--fs-sm); }
.about-logo { width: clamp(140px, 16vw, 200px); height: auto; margin-bottom: var(--s-8); }
.section-light .prose { color: #3D3F58; }
.section-light .prose strong { color: var(--royal); }
.section-light .timeline h3 { color: #1B1C33; }
.section-light .timeline p { color: #4A4C66; }
.section-light .timeline .year { color: var(--royal); }
.section-light .timeline li::before { background: linear-gradient(90deg, var(--royal), var(--navy)); }
.section-light .timeline::before { background: linear-gradient(var(--royal), rgba(31, 32, 86, .3) 80%, transparent); }
.section-light .kicker::before { background: linear-gradient(90deg, var(--royal), var(--navy)); }
.section-light a { color: var(--royal); }

/* ---------- 29. Fotos e vídeos reais ---------- */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.photo img, .photo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 8px; background: rgba(7, 8, 26, .78); color: #EEF0FA; font-size: var(--fs-xs); font-weight: 500; line-height: 1.35; }
.photo img { transition: transform .6s var(--ease); }
@media (hover: hover) { .photo:hover img { transform: scale(1.03); } }

/* Página inicial: Por dentro da Hosttec */
.inside-grid { display: grid; gap: var(--s-10); align-items: center; }
.inside-text { display: grid; gap: var(--s-5); }
.inside-text .h2 { margin-top: calc(var(--s-3) * -1); }
.inside-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.inside-photos .photo { aspect-ratio: 4 / 3; }
.inside-video { position: relative; margin: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -24px rgba(var(--brand-rgb), .45); }
.inside-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.inside-video figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 8px; background: rgba(7, 8, 26, .78); color: #EEF0FA; font-size: var(--fs-xs); font-weight: 500; }
.video-toggle { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(7, 8, 26, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-toggle:hover { background: var(--primary-solid); }
@media (min-width: 960px) { .inside-grid { grid-template-columns: 1.1fr .9fr; } }

/* Faixa de clientes: fotos */
.client-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); margin-bottom: var(--s-10); }
.client-photos .photo { aspect-ratio: 4 / 5; border-color: rgba(11, 14, 177, .12); }
@media (min-width: 860px) { .client-photos { grid-template-columns: repeat(4, 1fr); } }

/* Sobre */
.page-hero-split { display: grid; gap: var(--s-8); align-items: center; }
.photo-hero { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: end; }
@media (min-width: 960px) { .page-hero-split { grid-template-columns: 1fr 420px; } }
@media (max-width: 959px) { .photo-hero { justify-self: stretch; max-width: none; aspect-ratio: 4 / 3; } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.gallery .photo { aspect-ratio: 4 / 3; }
.gallery .photo.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
  .gallery .photo { aspect-ratio: auto; }
  .gallery .photo.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.values-intro { display: grid; gap: var(--s-8); align-items: center; margin-bottom: var(--s-10); }
.values-intro .section-head { margin-bottom: 0; }
.values-photo { aspect-ratio: 4 / 5; max-width: 360px; width: 100%; }
@media (min-width: 860px) { .values-intro { grid-template-columns: 1fr 360px; } .values-photo { justify-self: end; } }

/* Serviços e contato */
.service-photo { aspect-ratio: 16 / 10; }
.contact-photo { aspect-ratio: 16 / 10; margin-top: var(--s-5); }

/* ---------- 30. Destaque de redes, catálogo de serviços, segmentos ---------- */
.photo.clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.clip figcaption { left: 10px; bottom: 10px; }
.photo.clip .video-toggle { right: 10px; bottom: 10px; width: 40px; height: 40px; }

.feature-net { background: radial-gradient(ellipse 70% 60% at 85% 40%, rgba(var(--brand-rgb), .16), transparent 70%); }
.feature-grid { display: grid; gap: var(--s-10); align-items: center; }
.feature-text { display: grid; gap: var(--s-5); }
.feature-text .h2 { margin-top: calc(var(--s-3) * -1); }
.feature-list-check { font-size: var(--fs-base); }
.feature-text .hero-ctas { margin-top: var(--s-2); }
.net-mosaic { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--s-3); min-height: 440px; }
.net-mosaic .net-main { grid-row: 1 / span 2; }
.net-mosaic .net-wide { grid-column: 2 / span 2; }
.net-mosaic .photo { min-height: 0; }
@media (min-width: 960px) { .feature-grid { grid-template-columns: 1fr 1.1fr; } .net-mosaic { min-height: 520px; } }
@media (max-width: 520px) { .net-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 220px 200px; min-height: 0; } .net-mosaic .net-main { grid-row: auto; grid-column: 1 / -1; } .net-mosaic .net-wide { grid-column: 1 / -1; } }

.catalog { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .catalog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .catalog { grid-template-columns: repeat(4, 1fr); } }
.catalog-card { gap: var(--s-3); }
.catalog-head { display: flex; align-items: center; gap: var(--s-3); }
.catalog-head .card-icon { margin: 0; width: 52px; height: 44px; flex: none; }
.catalog-head h3 { font-size: 1.0625rem; line-height: 1.2; }
.catalog-card > p { font-size: var(--fs-sm); }
.catalog-items { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s-2); }
.catalog-items li { font-size: var(--fs-xs); padding: 5px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.catalog-main { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient-word) border-box; border: 1.5px solid transparent; }

.segments { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .segments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .segments { grid-template-columns: repeat(5, 1fr); } }
.segment { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.segment h3 { font-size: var(--fs-h3); }
.segment p { color: var(--muted); font-size: var(--fs-sm); }
.segment .card-icon { margin: 0; }
.segment-hl { background: linear-gradient(160deg, rgba(47, 59, 255, .22), rgba(31, 32, 86, .35)), var(--surface); border-color: rgba(var(--brand-rgb), .45); }

/* Página de serviços: fotos e trechos */
.service-media { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
.service-media .photo { aspect-ratio: 4 / 3; }
.service-media.media-1 { grid-template-columns: 1fr; }
.service-media.media-1 .photo { aspect-ratio: 16 / 10; }
.service-media.media-1 .photo.clip { aspect-ratio: 4 / 3; max-width: 520px; }
.service-media.media-3 .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.service-media.media-4 .photo:first-child { grid-row: span 2; aspect-ratio: auto; }
.service-media.media-4 { grid-template-columns: 1.2fr 1fr 1fr; }
.service-media.media-4 .photo:nth-child(4) { grid-column: 2 / span 2; aspect-ratio: 16 / 7; }
@media (max-width: 560px) { .service-media.media-4 { grid-template-columns: 1fr 1fr; } .service-media.media-4 .photo:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; } .service-media.media-4 .photo:nth-child(4) { grid-column: 1 / -1; } }
.service-badge { display: inline-flex; align-items: center; gap: var(--s-2); align-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(var(--brand-rgb), .16); border: 1px solid rgba(var(--brand-rgb), .4); color: var(--accent); font-size: var(--fs-sm); font-weight: 600; }
.service-badge .icon { width: 18px; height: 18px; color: var(--primary); }
.condo { border-top: 1px solid var(--border); }

/* ---------- 31. Vídeo no topo das páginas internas ---------- */
.hero-video { width: 100%; max-width: 380px; aspect-ratio: 4 / 5; justify-self: end; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(var(--brand-rgb), .25); }
.page-hero.has-video.bg-grid::after { display: none; }
.page-hero .service-nav { margin-top: var(--s-8); }
@media (max-width: 959px) { .hero-video { justify-self: start; max-width: 100%; aspect-ratio: 4 / 3; } }

/* ---------- 32. Condomínios ---------- */
.condo-tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.condo-tags li { font-size: var(--fs-sm); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); }
.page-hero .hero-ctas { margin-top: var(--s-6); }
.condo-gains { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .condo-gains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .condo-gains { grid-template-columns: repeat(4, 1fr); } }
.condo-gains .card p { color: var(--muted); font-size: var(--fs-sm); }
.condo-grid { display: grid; gap: var(--s-4); }
@media (min-width: 720px) { .condo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .condo-grid { grid-template-columns: repeat(3, 1fr); } }
.condo-grid .card { gap: var(--s-4); }
.condo-grid .checklist { font-size: var(--fs-sm); }
.condo-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.condo-media .photo { aspect-ratio: 4 / 5; }
/* Destaque de condomínios na página inicial */
.condo-feature { display: grid; gap: var(--s-8); align-items: center; padding: clamp(1.5rem, 1rem + 3vw, 3rem); border-radius: var(--radius-lg, 24px); background: linear-gradient(150deg, rgba(47, 59, 255, .20), rgba(31, 32, 86, .30) 55%, transparent), var(--surface); border: 1px solid rgba(var(--brand-rgb), .35); margin-bottom: var(--s-10); }
@media (min-width: 960px) { .condo-feature { grid-template-columns: 1.1fr 1fr; } }
.condo-feature .checklist { font-size: var(--fs-base); }
.condo-feature .condo-media .photo { aspect-ratio: 4 / 5; }
@media (min-width: 1100px) { .segments.segments-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .condo-media-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719px) { .condo-media-3 .photo:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }
@media (min-width: 960px) { .feature-grid.feature-stack { grid-template-columns: 1fr 1.6fr; } }
#acesso .service-media.media-3 { grid-template-columns: repeat(3, 1fr); }
#acesso .service-media.media-3 .photo, #acesso .service-media.media-3 .photo:first-child { grid-column: auto; aspect-ratio: 4 / 5; }


/* ---------- Atalho para pessoa física (home) ---------- */
.home-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-block: var(--s-6); padding: var(--s-4) var(--s-6); border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(var(--brand-rgb), .35); color: inherit; text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.home-strip:hover { border-color: rgba(var(--brand-rgb), .7); transform: translateY(-2px); }
.home-strip .card-icon { margin: 0; flex: none; }
.home-strip-text { flex: 1 1 240px; }
.home-strip-text b { font-weight: 600; }
.home-strip .link-arrow { flex: none; }
