/* =============================================================================
   Grupo Thompson · folha de estilo do site

   1. Tokens                     7. Home · Contato
   2. Base                       8. Home · Rodapé
   3. Ícones                     9. Páginas internas · comuns
   4. Entrada e rolagem         10. O Grupo
   5. Home · Hero               11. Responsivo
   6. Home · O Grupo/Soluções

   As três páginas compartilham este arquivo. O que muda de uma para outra fica
   sob a classe do <body>: .page-home, .page-inner, .page-grupo.
   ========================================================================== */


/* 1. Tokens ================================================================ */
:root {
  --red: #A9060F;          /* logo, headline, CTA */
  --red-dark: #820007;     /* CTA hover */
  --red-bright: #D5252A;   /* bordas, link ativo, ícones */
  --red-tint: #FBEAEB;
  --ink: #0B0B0B;
  --muted: #66666C;
  --white: #fff;
  --card: rgba(255, 255, 255, .86);
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(24px, 6vw, 100px);    /* respiro lateral das páginas internas */
  --pad-x: clamp(28px, 6vw, 100px);  /* respiro lateral da home */

  /* geometria do hero da home (desktop) */
  --gap: 14px;             /* margem da página ao redor do hero */
  --radius: 36px;          /* cantos do hero */
  --tab-w: clamp(330px, 31.7vw, 528px);  /* aba branca do logo */
  --tab-h: clamp(126px, 9.5vw, 160px);
  --tab-r: 68px;           /* canto arredondado do balão */
  --brand: clamp(26px, 2.22vw, 32px);    /* escala do lockup do logo */

  /* movimento */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rv-dur: .85s;
}
.page-home { --muted: #6F6F75; --red-dark: #8A0009; }


/* 2. Base ================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 5px; }


/* 3. Ícones ================================================================
   SVG externo pintado com currentColor via mask: herda cor, hover e transição. */
.ico {
  display: inline-block;
  width: 1em; height: 1em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
          mask: var(--ico) center / contain no-repeat;
  transition: transform .3s var(--ease);
}
.ico--shield   { --ico: url("assets/svg/icon-shield.svg"); }
.ico--building { --ico: url("assets/svg/icon-building.svg"); }
.ico--users    { --ico: url("assets/svg/icon-users.svg"); }
.ico--chat     { --ico: url("assets/svg/icon-chat.svg"); }
.ico--arrow    { --ico: url("assets/svg/icon-arrow-right.svg"); }
.ico--menu     { --ico: url("assets/svg/icon-menu.svg"); }
.ico--close    { --ico: url("assets/svg/icon-close.svg"); }
.ico--logo     { --ico: url("assets/svg/logo-shield.svg"); }


/* 4. Entrada e rolagem =====================================================
   O estado escondido só existe com JS ativo (html.js). Sem JS a página aparece
   inteira, normalmente. O script marca .is-in quando o bloco entra na tela. */
@property --rv-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
html.js body { animation: page-in .45s ease both; }

html.js [data-rv],
html.js [data-rv-stagger] > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--rv-dur) var(--ease) var(--rv-delay, 0s),
    transform var(--rv-dur) var(--ease) var(--rv-delay, 0s),
    filter var(--rv-dur) var(--ease) var(--rv-delay, 0s);
}
html.js [data-rv="fade"]  { transform: none; }
html.js [data-rv="left"]  { transform: translateX(-34px); }
html.js [data-rv="right"] { transform: translateX(34px); }
html.js [data-rv="zoom"]  { transform: scale(.95); }
html.js [data-rv="text"]  { filter: blur(8px); }
html.js [data-rv="icon"]  { transform: scale(.72) rotate(-10deg); }

html.js [data-rv].is-in,
html.js [data-rv-stagger].is-in > * {
  opacity: 1;
  transform: none;
  filter: none;
}

/* cascata dos filhos de um bloco escalonado */
html.js [data-rv-stagger] > :nth-child(2) { --rv-delay: .08s; }
html.js [data-rv-stagger] > :nth-child(3) { --rv-delay: .16s; }
html.js [data-rv-stagger] > :nth-child(4) { --rv-delay: .24s; }
html.js [data-rv-stagger] > :nth-child(5) { --rv-delay: .32s; }
html.js [data-rv-stagger] > :nth-child(6) { --rv-delay: .40s; }
html.js [data-rv-stagger] > :nth-child(7) { --rv-delay: .48s; }
html.js [data-rv-stagger] > :nth-child(n + 8) { --rv-delay: .56s; }

/* o filete do eyebrow se desenha da esquerda para a direita */
html.js [data-rv-stagger] .eyebrow::before,
html.js .eyebrow[data-rv]::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .75s var(--ease) calc(var(--rv-delay, 0s) + .1s);
}
html.js [data-rv-stagger].is-in .eyebrow::before,
html.js .eyebrow[data-rv].is-in::before { transform: scaleX(1); }

/* --- SVG: o ícone é "desenhado" da esquerda para a direita ---------------- */
html.js [data-rv="icon"] .ico {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .72s var(--ease) calc(var(--rv-delay, 0s) + .2s), transform .3s var(--ease);
}
html.js [data-rv="icon"].is-in .ico { clip-path: inset(0); }

/* ...e um anel percorre a borda do medalhão, como um carregamento */
[data-rv="icon"] { position: relative; }
[data-rv="icon"]::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, currentColor var(--rv-a), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  opacity: 0;
  pointer-events: none;
}
html.js [data-rv="icon"].is-in::after {
  animation: rv-ring 1.1s var(--ease) calc(var(--rv-delay, 0s) + .05s) both;
}
@keyframes rv-ring {
  0%   { --rv-a: 0deg;   opacity: 1; }
  70%  { --rv-a: 360deg; opacity: 1; }
  100% { --rv-a: 360deg; opacity: 0; }
}

/* --- entrada imediata do hero (sem esperar rolagem) ---------------------- */
.rv {
  opacity: 0; transform: translateY(18px);
  animation: rv .9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rv { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js body { animation: none; }
  html.js [data-rv],
  html.js [data-rv-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.js [data-rv-stagger] .eyebrow::before,
  html.js .eyebrow[data-rv]::before { transform: scaleX(1) !important; }
  html.js [data-rv="icon"] .ico { clip-path: none !important; }
  html.js [data-rv="icon"].is-in::after { animation: none !important; }
  .rv, .hero__bg img { animation: none; opacity: 1; transform: none; }
  * { transition-duration: 0s !important; }
}


/* 5. Home · Hero =========================================================== */
.hero {
  position: relative;
  isolation: isolate;
  margin: var(--gap);
  border-radius: var(--radius);
  overflow: hidden;
  /* altura pela proporção da foto, limitada à viewport (sem aspect-ratio: ele
     transfere min/max-height para a largura e faz o hero vazar) */
  height: min(calc((100vw - 2 * var(--gap)) * 906 / 1630), calc(100vh - 2 * var(--gap)));
  min-height: 600px;
  display: grid;
  grid-template-rows: var(--tab-h) 1fr auto;
  background: #dfe6ee;
}

/* foto estática (WebP): uma por dispositivo via <picture> */
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  animation: zoom 1.8s var(--ease) both;
}
@keyframes zoom { from { transform: scale(1.05); } to { transform: none; } }

/* ---- topo: aba do logo + navegação + ações ------------------------------ */
.hero__top {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: var(--tab-h);
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 3.5vw, 50px) 0 calc(var(--tab-w) + 26px);
}

.page-home .brand {
  position: absolute;
  left: 0; top: 0;
  width: var(--tab-w); height: var(--tab-h);
  display: flex; align-items: center; gap: .55em;
  padding: 0 0 .25em calc(var(--pad-x) - 4px);
  background: var(--white);
  border-bottom-right-radius: var(--tab-r);
  font-size: var(--brand);
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  width: 1.9em; height: 2.15em;
  color: var(--red);
  transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: scale(1.06) rotate(-3deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__grupo { font-size: .66em; font-weight: 400; letter-spacing: .04em; color: #1E1E1E; margin-bottom: .12em; }
.brand__name  { font-size: 1em; font-weight: 900; letter-spacing: -.005em; color: var(--red); }

.page-home .nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 14px 32px -24px rgba(11, 11, 11, .5);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.page-home .nav a {
  position: relative;
  padding: 10px clamp(12px, 1.2vw, 18px);
  border-radius: 999px;
  font-size: clamp(15px, 1.15vw, 18px); font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s, background .25s, box-shadow .25s;
}
.page-home .nav a:hover { color: var(--red); background: rgba(255, 255, 255, .7); }
.page-home .nav a.is-active { color: var(--red); background: var(--white); box-shadow: 0 8px 18px -14px rgba(11, 11, 11, .7); }

.hero__actions { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }

/* ---- botões ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  font: 500 17px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s, border-color .25s;
}
/* mesma pele da navbar: pílula de vidro, texto no vermelho do item ativo */
.btn--outline {
  height: 52px; padding: 0 24px 0 20px; gap: 12px;
  color: var(--red);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 14px 32px -24px rgba(11, 11, 11, .5);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  font-size: 22px;               /* tamanho do ícone */
}
.btn--outline span { font-size: clamp(15px, 1.15vw, 18px); font-weight: 500; }
.btn--outline:hover {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 10px 22px -15px rgba(11, 11, 11, .7);
  transform: translateY(-1px);
}

.btn--primary {
  height: 60px; padding: 0 32px 0 34px; gap: 22px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 34px -14px rgba(169, 6, 15, .65);
  font-size: 22px;               /* tamanho do ícone */
}
.btn--primary span { font-size: 17px; }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(169, 6, 15, .7); }
.btn--primary:hover .ico { transform: translateX(5px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-menu {
  display: none;
  place-items: center;
  width: 66px; height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .68);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  color: var(--red);
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 14px 32px -24px rgba(11, 11, 11, .5);
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn-menu:hover, .btn-menu.is-open { background: var(--white); color: var(--red); transform: translateY(-1px); box-shadow: 0 10px 22px -15px rgba(11, 11, 11, .7); }
.btn-menu .ico { --ico: url("assets/svg/icon-menu.svg"); }
.btn-menu.is-open .ico { --ico: url("assets/svg/icon-close.svg"); }

/* ---- conteúdo ----------------------------------------------------------- */
.hero__content { align-self: center; padding: 0 var(--pad-x); }
.hero__title {
  margin: 0;
  max-width: 13em;
  font-size: clamp(44px, 4.8vw, 80px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.028em;
  color: var(--ink);
  text-wrap: pretty;
  /* halo sutil, como na referência, para legibilidade sobre a foto */
  text-shadow: 0 0 14px rgba(255, 255, 255, .55), 0 1px 2px rgba(255, 255, 255, .45);
}
.hero__lead { display: block; white-space: nowrap; }
.hero__mobile-services { display: none; }
.hero__title .hl { display: block; max-width: 10em; color: var(--red); }
.hero__content .btn { margin-top: 38px; }

/* ---- cards -------------------------------------------------------------- */
.features {
  list-style: none;
  margin: 0 0 0 var(--pad-x);
  padding: 0 0 60px;
  width: clamp(560px, 56%, 860px);
  display: flex; gap: 18px;
}
.card {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 14px 16px 18px;
  background: var(--card);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .28);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .3); }
.card__icon {
  position: relative;
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--red-bright);
  font-size: 25px;
  transition: background .3s, color .3s;
}
.card:hover .card__icon { background: var(--red); color: var(--white); }
.card:hover .card__icon .ico { transform: scale(1.08); }
.card strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
.card p { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.card__short { display: none; }


/* 6. Home · O Grupo e Soluções =============================================
   A seção Soluções rola por cima de O Grupo: O Grupo gruda pelo rodapé
   (sticky bottom) e Soluções sobe por cima dela, com canto e sombra. */
.group {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: clamp(88px, 10vw, 156px) var(--pad-x);
  background: var(--white);
}
/* O script mede a altura da seção e prende o topo em (viewport - altura), de
   modo que ela para quando o rodapé dela encosta no fim da tela. Sem JS a
   seção fica estática e a página continua normal. */
.page-home .group.is-stack {
  position: sticky;
  top: var(--stick-top, 0px);
}

.group::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: min(38vw, 580px); height: min(38vw, 580px);
  border: 1px solid var(--red-tint);
  border-radius: 0 0 0 100%;
  pointer-events: none;
}
.group__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(48px, 9vw, 144px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 3px;
  border-radius: 99px;
  background: currentColor;
}
.page-home .eyebrow { gap: 12px; font-size: 14px; }
.page-home .eyebrow::before { width: 38px; }

.group h2 {
  max-width: 10.5em;
  margin: 0;
  font-size: clamp(38px, 4.35vw, 70px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.group h2 span { color: var(--red); }
.group__copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: #55565C;
  font-size: clamp(16px, 1.24vw, 19px);
  line-height: 1.65;
}
.group__copy + .group__copy { margin-top: 12px; }
.group .btn { margin-top: 34px; }
.group__visual {
  position: relative;
  min-height: 490px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px);
  border-radius: 32px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 28px 56px -34px rgba(11, 11, 11, .5);
}
.group__visual::before {
  content: "50";
  position: absolute;
  top: -28px; right: -18px;
  color: rgba(255, 255, 255, .07);
  font-size: clamp(190px, 22vw, 340px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.1em;
  pointer-events: none;
}
.group__visual::after {
  content: "";
  position: absolute;
  right: -22%; bottom: -45%;
  width: 105%; aspect-ratio: 1;
  border: 44px solid var(--red);
  border-radius: 50%;
  opacity: .95;
}
.group__seal {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 110px; height: 110px;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: var(--white);
  font-size: 54px;
}
.group__visual-content { position: relative; z-index: 1; max-width: 350px; }
.group__visual-content strong {
  display: block;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
}
.group__visual-content p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.5;
}
/* ---- as três empresas do grupo ----------------------------------------- */
.companies {
  position: relative;
  z-index: 2;
  margin-top: clamp(52px, 7vw, 100px);
  border: 1px solid #EAEAEC;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
}
.companies__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 30px;
  padding: 20px clamp(22px, 2.4vw, 32px);
  border-bottom: 1px solid #EAEAEC;
  background: #FAFAFB;
}
.companies__head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.companies__head p { margin: 0; color: var(--muted); font-size: 14px; }
.companies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #EAEAEC;
}
.company {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.8vw, 24px);
  padding: clamp(26px, 2.6vw, 34px) clamp(22px, 2.4vw, 32px);
  background: var(--white);
}
.company__logo {
  display: block;
  width: auto; height: clamp(42px, 3.7vw, 56px);
  margin-right: auto;
}
.company p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---- Soluções (home) ---------------------------------------------------- */
.page-home .solutions {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: clamp(88px, 10vw, 156px) var(--pad-x);
  border-radius: clamp(26px, 2.8vw, 46px) clamp(26px, 2.8vw, 46px) 0 0;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 -34px 68px -30px rgba(11, 11, 11, .55);
}
.page-home .solutions::before,
.page-home .solutions::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
  pointer-events: none;
}
.page-home .solutions::before { width: min(55vw, 850px); aspect-ratio: 1; top: -55%; right: -14%; }
.page-home .solutions::after  { width: min(34vw, 520px); aspect-ratio: 1; bottom: -48%; left: -12%; }
.page-home .solutions__inner { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; }
.page-home .solutions .eyebrow { color: var(--white); }
.page-home .solutions__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr);
  align-items: end;
  gap: 40px;
}
.page-home .solutions h2 {
  max-width: 8.5em;
  margin: 0;
  font-size: clamp(42px, 5.1vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.solutions__intro {
  max-width: 440px;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.24vw, 19px);
  line-height: 1.58;
}
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(48px, 6vw, 86px);
}
.solution-card {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  color: var(--white);
  background: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.solution-card:nth-child(2) { background: var(--ink); }
.solution-card:nth-child(3) { color: var(--white); background: var(--ink); }
.solution-card:nth-child(1)::before,
.solution-card:nth-child(2)::before,
.solution-card:nth-child(3)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-repeat: no-repeat;
  background-position: 72% center;
  background-size: cover;
  pointer-events: none;
}
.solution-card:nth-child(1)::before {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 11, .98) 0%, rgba(11, 11, 11, .84) 48%, rgba(11, 11, 11, .2) 100%),
    url("assets/webp/vigilancia-patrimonial.webp");
}
.solution-card:nth-child(2)::before {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 11, .98) 0%, rgba(11, 11, 11, .84) 48%, rgba(11, 11, 11, .2) 100%),
    url("assets/webp/servicos-terceirizados.webp");
}
.solution-card:nth-child(3)::before {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 11, .98) 0%, rgba(11, 11, 11, .84) 48%, rgba(11, 11, 11, .2) 100%),
    url("assets/webp/solucoes-integradas.webp");
}
.solution-card:hover { transform: translateY(-7px); box-shadow: 0 25px 38px -28px rgba(11, 11, 11, .68); }
.solution-card__number {
  position: absolute;
  z-index: 1;
  right: -8px; bottom: -43px;
  color: rgba(169, 6, 15, .76);
  font-size: clamp(130px, 13vw, 196px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.12em;
}
.solution-card h3 {
  position: relative;
  z-index: 1;
  max-width: 8em;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.solution-card p {
  position: relative;
  z-index: 1;
  max-width: 25ch;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.55;
}
.solution-card:nth-child(-n + 2) h3,
.solution-card:nth-child(-n + 2) p { text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.solution-card:nth-child(3) h3,
.solution-card:nth-child(3) p { text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.solutions__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .26);
}
.solutions__footer p { margin: 0; color: rgba(255, 255, 255, .76); font-size: 15px; }
.btn--light {
  height: 56px;
  padding: 0 27px 0 30px;
  gap: 18px;
  border: 1px solid var(--white);
  border-radius: 14px;
  background: var(--white);
  color: var(--red);
  font-size: 22px;
  box-shadow: none;
}
.btn--light span { font-size: 16px; }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: none; }


/* 7. Home · Contato ======================================================== */
.contact {
  position: relative;
  z-index: 2;
  padding: clamp(88px, 10vw, 156px) var(--pad-x);
  background: #F5F5F6;
}
.contact__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(310px, .78fr) minmax(480px, 1.22fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: stretch;
}
.contact h2 {
  max-width: 8em;
  margin: 0;
  font-size: clamp(42px, 4.6vw, 74px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.contact h2 span { color: var(--red); }
.contact__intro {
  max-width: 480px;
  margin: 24px 0 0;
  color: #55565C;
  font-size: clamp(16px, 1.24vw, 19px);
  line-height: 1.6;
}
.contact__details { display: grid; gap: 10px; margin-top: 38px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid #E5E5E7;
  border-radius: 15px;
  background: var(--white);
}
.contact-item__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  font-size: 18px;
}
.contact-item__content { min-width: 0; }
.contact-item strong { display: block; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.contact-item address, .contact-item a {
  display: block;
  margin-top: 4px;
  color: #55565C;
  font-size: 15px;
  font-style: normal;
  line-height: 1.45;
  text-decoration: none;
}
.contact-item a:hover { color: var(--red); }
.contact__map {
  position: relative;
  min-height: 535px;
  overflow: hidden;
  border-radius: 28px;
  background: #DBDFE3;
  box-shadow: 0 26px 50px -36px rgba(11, 11, 11, .45);
}
.contact__map iframe {
  display: block;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(.82) contrast(1.04);
}
.contact__map-link {
  position: absolute;
  right: 18px; bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 19px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 24px -14px rgba(11, 11, 11, .75);
  transition: background .25s, transform .25s;
}
.contact__map-link:hover { background: var(--red); transform: translateY(-2px); }


/* 8. Rodapé (home e páginas internas) ===================================== */
.site-footer {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 6vw, 86px) var(--pad-x) 26px;
  color: var(--white);
  background: var(--ink);
}
.page-inner .site-footer { padding-left: var(--pad); padding-right: var(--pad); }
.site-footer__inner { max-width: 1440px; margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(290px, .9fr) minmax(0, 1.6fr);
  gap: clamp(40px, 5vw, 90px);
  padding-bottom: clamp(40px, 4.5vw, 62px);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}
.footer__brand .ico { width: 46px; height: 53px; color: var(--red-bright); transition: transform .4s var(--ease); }
.footer__brand:hover .ico { transform: scale(1.06) rotate(-3deg); }
.footer__brand-text { display: flex; flex-direction: column; line-height: .98; }
.footer__brand-text small { margin-bottom: 4px; font-size: 13px; letter-spacing: .06em; }
.footer__brand-text strong { color: var(--white); font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.footer__blurb {
  max-width: 380px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .58);
  font-size: 15px;
  line-height: 1.6;
}
/* mesma pílula do "Fale conosco" do topo, na versão para fundo escuro */
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 46px;
  margin-top: 26px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-size: 21px;               /* tamanho do ícone */
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.footer__cta span { font-size: 15px; font-weight: 500; }
.footer__cta:hover { background: var(--white); border-color: var(--white); color: var(--ink); transform: translateY(-1px); }

.footer__cols {
  display: grid;
  /* a última coluna é mais larga porque leva o endereço */
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr);
  gap: 32px clamp(20px, 2.4vw, 40px);
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__col h3 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__col a,
.footer__col span,
.footer__col address {
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  text-decoration: none;
}
.footer__col address { line-height: 1.7; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__col > * + * { margin-top: 11px; }
.footer__col a.footer__map { color: var(--red-bright); }
.footer__col a.footer__map:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .46);
  font-size: 12px;
}
.footer__tagline { color: rgba(255, 255, 255, .34); }


/* 9. Páginas internas · comuns ============================================= */
.page-inner .page-header {
  position: absolute;
  z-index: 3;
  top: 0; right: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px var(--pad);
  color: var(--white);
}
.page-inner .brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.page-inner .brand .ico { width: 48px; height: 55px; }
.page-grupo .page-header .brand .ico { color: var(--red-bright); }
.brand__copy { display: flex; flex-direction: column; line-height: .95; }
.brand__copy small { margin-bottom: 4px; font-size: 13px; letter-spacing: .07em; }
.brand__copy strong { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }

.page-inner .nav {
  display: flex; align-items: center; gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .33);
  border-radius: 999px;
  background: rgba(11, 11, 11, .25);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.page-inner .nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .84);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.page-inner .nav a:hover { color: var(--white); background: rgba(255, 255, 255, .13); }
.page-inner .nav a.is-active { color: var(--red); background: var(--white); }

.cover {
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}
.page-grupo .cover { min-height: min(760px, 88svh); background: var(--ink); }
.cover__image { position: absolute; inset: 0; }
.cover__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-grupo .cover__image img { object-position: 70% 16%; }
.cover::after { content: ""; position: absolute; inset: 0; }
.page-grupo .cover::after {
  background: linear-gradient(90deg, rgba(11, 11, 11, .9) 0%, rgba(11, 11, 11, .54) 42%, rgba(11, 11, 11, .06) 76%),
              linear-gradient(0deg, rgba(11, 11, 11, .5), transparent 52%);
}
.cover__content { position: relative; z-index: 1; padding: 0 var(--pad) clamp(68px, 9vw, 128px); }
.page-grupo .cover__content { width: min(840px, 100%); }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: rgba(255, 255, 255, .74); font-size: 14px; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb span { width: 22px; height: 1px; }
.page-grupo .breadcrumb span { background: var(--red-bright); }
.cover h1 { margin: 0; font-weight: 800; line-height: .99; }
.page-grupo .cover h1 { max-width: 9em; font-size: clamp(48px, 6.3vw, 96px); letter-spacing: -.055em; }
.cover h1 em { font-style: normal; }
.page-grupo .cover h1 em { color: var(--red-bright); }
.cover__caption {
  max-width: 500px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.55;
}

.button {
  display: inline-flex; align-items: center; gap: 18px;
  height: 58px;
  margin-top: 34px;
  padding: 0 25px 0 29px;
  border-radius: 14px;
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.button .ico { font-size: 22px; }
.button:hover { transform: translateY(-3px); }
.button:hover .ico { transform: translateX(4px); }
.page-grupo .button { background: var(--white); color: var(--red); }
.page-grupo .button:hover { background: var(--ink); color: var(--white); }

/* 10. O Grupo ============================================================== */
.story { padding: clamp(88px, 11vw, 170px) var(--pad); }
.story__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  gap: clamp(48px, 10vw, 150px);
}
.story h2 { max-width: 10em; margin: 0; font-size: clamp(39px, 4.6vw, 70px); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; }
.story h2 span { color: var(--red); }
.story__text { margin-top: 30px; }
.story__text p { max-width: 650px; margin: 0; color: #515157; font-size: clamp(16px, 1.28vw, 19px); line-height: 1.68; }
.story__text p + p { margin-top: 17px; }
.story__aside { align-self: start; padding: clamp(30px, 4vw, 50px); border-radius: 26px; background: var(--ink); color: var(--white); }
.story__number { display: block; color: var(--red-bright); font-size: clamp(72px, 9vw, 126px); font-weight: 900; line-height: .75; letter-spacing: -.08em; }
.story__aside strong { display: block; max-width: 10em; margin-top: 32px; font-size: clamp(26px, 2.7vw, 39px); line-height: 1.05; letter-spacing: -.04em; }
.story__aside p { margin: 16px 0 0; color: rgba(255, 255, 255, .67); font-size: 15px; line-height: 1.55; }

.journey { padding: 0 var(--pad) clamp(90px, 11vw, 160px); }
.journey__inner { width: min(1240px, 100%); margin: 0 auto; }
.journey__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: clamp(56px, 7vw, 100px); border-top: 1px solid #E7E7E9; }
.journey h2 { max-width: 9em; margin: 0; font-size: clamp(34px, 4vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; }
.journey__heading p { max-width: 380px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.milestone { min-height: 275px; display: flex; flex-direction: column; padding: 30px; border: 1px solid #E6E6E8; border-radius: 20px; background: #FAFAFA; }
.milestone__index { color: var(--red); font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.milestone h3 { margin: auto 0 12px; font-size: clamp(23px, 2.1vw, 31px); line-height: 1.08; letter-spacing: -.035em; }
.milestone p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---- As três empresas (O Grupo) ----------------------------------------
   Faixa escura entre duas seções claras: quebra o ritmo da página e faz os
   logos aparecerem. Cada linha carrega a cor da própria marca em --marca. */
.brands {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 10vw, 150px) var(--pad);
  color: var(--white);
  background: var(--ink);
}
.brands::before {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: min(70vw, 900px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 6, 15, .5), transparent 62%);
  pointer-events: none;
}
.brands__inner { position: relative; z-index: 1; width: min(1240px, 100%); margin: 0 auto; }
.brands__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: 30px clamp(40px, 6vw, 90px);
}
.brands .eyebrow { color: var(--red-bright); }
.brands h2 {
  max-width: 9em;
  margin: 0;
  font-size: clamp(36px, 4.4vw, 66px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.brands h2 span { color: var(--red-bright); }
.brands__heading p {
  max-width: 470px;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .64);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.62;
}

.brands__list { margin-top: clamp(46px, 5.5vw, 76px); }
.brand-card {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr);
  gap: 26px clamp(34px, 5vw, 80px);
  padding: clamp(30px, 3.4vw, 46px) 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.brand-card:last-child { border-bottom: 1px solid rgba(255, 255, 255, .13); }
.brand-card--seguranca { --marca: #DF2C2C; }
.brand-card--facilities { --marca: #2FA2DE; }
.brand-card--terceirizacao { --marca: #3FA987; }

.brand-card__id { display: flex; flex-direction: column; align-items: flex-start; }
.brand-card__index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--marca);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}
.brand-card__index::after {
  content: "";
  width: 30px; height: 2px;
  border-radius: 99px;
  background: currentColor;
}
.brand-card__logo {
  display: block;
  width: auto; height: clamp(44px, 3.8vw, 58px);
  margin: clamp(20px, 2vw, 28px) 0 0;
}
.brand-card__tag {
  margin-top: clamp(18px, 1.8vw, 24px);
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, .22);      /* reserva p/ navegador sem color-mix */
  border: 1px solid color-mix(in srgb, var(--marca) 45%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  background: color-mix(in srgb, var(--marca) 12%, transparent);
  color: var(--marca);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
}

.brand-card__body { display: flex; flex-direction: column; }
.brand-card__lead {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(16px, 1.26vw, 19px);
  line-height: 1.62;
}
.brand-card__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px clamp(24px, 3vw, 46px);
  margin: clamp(24px, 2.4vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}
.brand-card__services li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  line-height: 1.45;
}
.brand-card__services li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--marca);
}

.brands__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: clamp(34px, 4vw, 52px) 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 16px;
}
.brands__note a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s;
}
.brands__note a .ico { font-size: 19px; }
.brands__note a .ico { transition: transform .25s var(--ease); }
.brands__note a:hover { color: var(--red-bright); }
.brands__note a:hover .ico { transform: translateX(5px); }

.commitment { position: relative; overflow: hidden; padding: clamp(82px, 10vw, 150px) var(--pad); color: var(--white); background: var(--red); }
.commitment::before { content: "T"; position: absolute; right: 1vw; bottom: -17vw; color: rgba(255, 255, 255, .08); font-size: min(80vw, 1000px); font-weight: 900; line-height: 1; }
.commitment__inner { position: relative; z-index: 1; width: min(920px, 100%); margin: 0 auto; text-align: center; }
.commitment .eyebrow { color: var(--white); }
.commitment h2 { margin: 0; font-size: clamp(40px, 5vw, 76px); font-weight: 800; line-height: 1.03; letter-spacing: -.05em; }
.commitment p { max-width: 650px; margin: 24px auto 0; color: rgba(255, 255, 255, .84); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }


/* 11. Responsivo =========================================================== */

/* desktops estreitos (1024 a 1200px): menos folga para não encostar no vigilante */
@media (min-width: 1024px) and (max-width: 1200px) {
  .hero { min-height: 620px; }
  .hero__top { padding-left: calc(var(--tab-w) + 18px); }
  .page-home .nav { gap: 2px; padding: 4px; }
  .page-home .nav a { padding: 9px 12px; font-size: 15px; }
  .btn--outline { height: 44px; padding: 0 20px 0 17px; gap: 10px; font-size: 20px; }
  .btn--outline span { font-size: 15px; }
  .hero__content .btn { margin-top: 30px; }
  .features { padding-bottom: 44px; }
}

/* telas largas e baixas (notebooks 1366x657 etc.) */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero { --tab-h: 110px; }
  .hero__title { font-size: clamp(40px, 4.2vw, 64px); }
  .hero__content .btn { margin-top: 26px; }
  .features { padding-bottom: 40px; }
}

/* ---- Tablet (640 a 1023px) | referência: ref hero tablet.png ------------- */
@media (max-width: 1023px) {
  :root {
    --radius: 34px;
    --tab-w: clamp(350px, 45.5vw, 466px); --tab-h: clamp(118px, 16.3vw, 150px); --tab-r: clamp(58px, 7vw, 80px);
    --pad-x: clamp(44px, 5.5vw, 60px);
    --brand: clamp(32px, 3.5vw, 38px);
  }
  .hero { height: min(calc((100vw - 2 * var(--gap)) * 1440 / 1078), calc(100vh - 2 * var(--gap))); min-height: 0; }
  .hero__top { padding: 0 38px 0 0; justify-content: flex-end; }
  .page-home .brand { padding-left: clamp(42px, 5vw, 56px); gap: .5em; }
  .btn-menu { display: grid; width: clamp(66px, 7.9vw, 86px); height: clamp(58px, 6.8vw, 74px); border-radius: 999px; font-size: clamp(26px, 2.95vw, 32px); }

  /* navegação vira painel suspenso */
  .page-home .nav {
    position: absolute;
    z-index: 8;
    top: calc(100% + 10px); right: 38px;
    width: min(300px, calc(100vw - 76px));
    min-width: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 8px;
    border: 1px solid rgba(11, 11, 11, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 60px -22px rgba(11, 11, 11, .42);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .page-home .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .page-home .nav a { padding: 14px 16px; border-radius: 13px; font-size: 17px; }
  .page-home .nav a:hover { color: var(--red); background: var(--red-tint); }
  .page-home .nav a.is-active { color: var(--red); background: var(--red-tint); box-shadow: inset 3px 0 0 var(--red); }

  .btn--outline { height: clamp(54px, 6.1vw, 66px); padding: 0 clamp(26px, 2.8vw, 30px) 0 clamp(22px, 2.4vw, 26px); }
  .hero__content { align-self: start; padding-top: clamp(112px, 12.1vw, 132px); }
  .hero__title { max-width: 13em; font-size: clamp(38px, 5.9vw, 66px); line-height: 1.1; letter-spacing: -.035em; }
  .hero__lead { white-space: nowrap; }
  .hero__title .hl { max-width: 10em; }
  .hero__content .btn { margin-top: clamp(34px, 3.9vw, 42px); }
  .btn--primary { height: clamp(58px, 7.5vw, 82px); padding: 0 clamp(30px, 3.3vw, 36px); font-size: clamp(22px, 2.6vw, 28px); }
  .btn--primary span { font-size: 18px; }

  .features { width: auto; margin: 0 clamp(20px, 3.5vw, 38px); padding-bottom: clamp(48px, 6.8vw, 74px); gap: 8px; }
  .card { padding: clamp(14px, 1.85vw, 20px) clamp(10px, 1.3vw, 14px) clamp(14px, 1.85vw, 20px) clamp(14px, 1.85vw, 20px); gap: clamp(10px, 1.3vw, 14px); border-radius: 16px; }
  .card__icon { width: clamp(50px, 6.1vw, 66px); height: clamp(50px, 6.1vw, 66px); font-size: clamp(24px, 2.8vw, 30px); }
  .card strong { font-size: clamp(13px, 1.5vw, 16px); }
  .card p { font-size: clamp(12px, 1.3vw, 14px); }

  .group { padding-left: 44px; padding-right: 44px; }
  .group__inner { grid-template-columns: 1fr; gap: 52px; }
  .group h2 { max-width: 11em; }
  .group__copy { max-width: 680px; }
  .group__visual { min-height: 410px; }

  .page-home .solutions { padding-left: 44px; padding-right: 44px; }
  .page-home .solutions__heading { grid-template-columns: 1fr; gap: 20px; }
  .solutions__intro { max-width: 590px; }
  .solutions__grid { gap: 12px; }
  .solution-card { min-height: 300px; padding: 26px; }

  .contact { padding-left: 44px; padding-right: 44px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__map { min-height: 460px; }
  .site-footer { padding-left: 44px; padding-right: 44px; }
  .footer__top { grid-template-columns: 1fr; gap: 44px; }
  .footer__blurb { max-width: 560px; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 30px 26px; }
}

/* ---- páginas internas: quebra de grade ---------------------------------- */
@media (max-width: 900px) {
  .story__inner { grid-template-columns: 1fr; gap: 48px; }
  .story__aside { max-width: 520px; }
  .milestones { gap: 10px; }
  .milestone { padding: 24px; }

  .brands__heading { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .brands__heading p { margin-bottom: 0; }
  .brand-card { grid-template-columns: 1fr; gap: 22px; }
  .brand-card__id { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px 20px; }
  .brand-card__logo { margin: 0; }
  .brand-card__tag { margin-top: 0; }

}

/* ---- Mobile (até 639px) | referência: ref hero mobile.png ---------------- */
@media (max-width: 639px) {
  :root {
    --gap: 0px; --radius: 0px;
    --tab-w: 66%; --tab-h: 21.5vw; --tab-r: clamp(64px, 12vw, 100px);
    --pad: 24px;
    --pad-x: clamp(26px, 6vw, 56px);
    --brand: clamp(21px, 3.2vw, 30px);
  }

  /* home */
  .hero { height: 100svh; min-height: 100svh; margin: 0; border-radius: 0; }
  .hero__bg img { object-position: 52% 0; }
  .hero__top { padding-right: 20px; }
  .page-home .brand {
    padding-left: var(--pad-x);
    gap: .6em;
    border-bottom-right-radius: 90px;
  }
  .btn--outline { display: none; }
  .btn-menu { width: clamp(52px, 12.6vw, 118px); height: clamp(42px, 9.6vw, 90px); border-radius: 999px; font-size: clamp(20px, 4.5vw, 42px); }
  .page-home .nav { top: calc(100% + 10px); right: 16px; left: 16px; width: auto; border-radius: 18px; }
  .page-home .nav a { padding: 14px 16px; font-size: 16px; }

  .hero__content { padding-top: clamp(46px, 7.9vw, 74px); }
  .hero__title { max-width: 7em; font-size: clamp(28px, 8.4vw, 80px); line-height: 1.11; letter-spacing: -.035em; }
  .hero__lead { white-space: normal; }
  .hero__desktop-services { display: none; }
  .hero__mobile-services { display: inline; }
  .hero__title .hl { max-width: none; }
  .hero__content .btn { margin-top: clamp(22px, 4vw, 38px); }
  .btn--primary { height: clamp(44px, 9.6vw, 90px); padding: 0 clamp(18px, 3.8vw, 36px) 0 clamp(20px, 4vw, 38px); gap: clamp(14px, 2.8vw, 26px); border-radius: clamp(11px, 1.5vw, 14px); font-size: clamp(18px, 3.6vw, 34px); }
  .btn--primary span { font-size: clamp(14px, 2.6vw, 24px); }

  .features { margin: 0 clamp(12px, 3.8vw, 36px); padding-bottom: clamp(20px, 5.3vw, 50px); gap: clamp(6px, 1.3vw, 12px); }
  .card {
    flex: 1 1 auto;
    flex-direction: column; text-align: center;
    gap: clamp(6px, 1.3vw, 12px); padding: clamp(9px, 2.1vw, 20px) clamp(6px, 1.1vw, 10px) clamp(8px, 1.9vw, 18px);
    border-radius: clamp(9px, 1.5vw, 14px);
  }
  .card__icon { width: clamp(30px, 6.8vw, 64px); height: clamp(30px, 6.8vw, 64px); font-size: clamp(16px, 3.6vw, 34px); }
  .card strong { font-size: clamp(11.5px, 1.92vw, 18px); font-weight: 500; margin: 0; letter-spacing: 0; white-space: nowrap; }
  .card p, .card__long { display: none; }
  .card__short { display: inline; }

  .group { padding: 76px var(--pad-x); }
  .group::before { width: 72vw; height: 72vw; }
  .group__inner { gap: 38px; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .eyebrow::before { width: 26px; height: 2px; }
  .page-home .eyebrow { font-size: 11px; }
  .page-home .eyebrow::before { width: 26px; }
  .group h2 { font-size: clamp(34px, 9.2vw, 54px); }
  .group__copy { margin-top: 20px; font-size: 15px; line-height: 1.58; }
  .group .btn { margin-top: 26px; }
  .group__visual { min-height: 340px; padding: 28px; border-radius: 22px; }
  .group__seal { width: 72px; height: 72px; font-size: 34px; }
  .group__visual-content strong { font-size: 34px; }
  .group__visual-content p { font-size: 14px; }
  .companies { margin-top: 30px; border-radius: 16px; }
  .companies__head { padding: 16px 20px; }
  .companies__head p { font-size: 13px; }
  .companies__grid { grid-template-columns: 1fr; }
  .company { gap: 14px; padding: 20px; }
  .company__logo { height: 38px; }
  .company p { font-size: 14px; }

  .page-home .solutions { padding: 76px var(--pad-x); border-radius: 22px 22px 0 0; }
  .page-home .solutions__heading { gap: 16px; }
  .page-home .solutions h2 { font-size: clamp(38px, 10.2vw, 58px); }
  .solutions__intro { font-size: 15px; }
  .solutions__grid { grid-template-columns: 1fr; margin-top: 38px; gap: 10px; }
  .solution-card { min-height: 250px; padding: 26px; border-radius: 18px; }
  .solution-card h3 { max-width: none; margin-top: 0; font-size: 28px; }
  .solutions__footer { align-items: flex-start; flex-direction: column; margin-top: 22px; padding-top: 24px; }
  .btn--light { height: 50px; padding: 0 22px 0 24px; font-size: 19px; }
  .btn--light span { font-size: 15px; }

  .contact { padding: 76px var(--pad-x); }
  .contact h2 { font-size: clamp(38px, 10.2vw, 58px); }
  .contact__intro { margin-top: 18px; font-size: 15px; }
  .contact__details { margin-top: 28px; }
  .contact-item { padding: 15px; gap: 12px; border-radius: 13px; }
  .contact-item__icon { width: 34px; height: 34px; font-size: 16px; }
  .contact-item address, .contact-item a { font-size: 14px; }
  .contact__map { min-height: 350px; border-radius: 20px; }
  .contact__map-link { right: 12px; bottom: 12px; height: 43px; padding: 0 15px; font-size: 13px; }
  .site-footer { padding: 46px var(--pad-x) 20px; }
  .footer__top { gap: 36px; padding-bottom: 34px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .footer__col--contato { grid-column: 1 / -1; }
  .footer__blurb { margin-top: 18px; font-size: 14.5px; }
  .footer__cta { margin-top: 22px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 9px; }

  /* páginas internas */
  .page-inner .page-header { align-items: flex-start; flex-direction: column; gap: 17px; padding-top: 22px; }
  .page-inner .nav { width: 100%; justify-content: space-between; gap: 1px; padding: 4px; }
  .page-inner .nav a { padding: 8px 9px; font-size: 12px; }
  .page-grupo .cover { min-height: 670px; }
  .page-grupo .cover__image img { object-position: 66% 0; }
  .page-grupo .cover::after {
    background: linear-gradient(90deg, rgba(11, 11, 11, .82) 0%, rgba(11, 11, 11, .45) 72%, rgba(11, 11, 11, .12) 100%),
                linear-gradient(0deg, rgba(11, 11, 11, .62), transparent 55%);
  }
  .cover__content { padding-bottom: 54px; }
  .breadcrumb { margin-bottom: 16px; font-size: 13px; }
  .page-grupo .cover h1 { font-size: clamp(47px, 13vw, 66px); }
  .cover__caption { margin-top: 18px; font-size: 16px; }

  .story { padding-top: 76px; padding-bottom: 76px; }
  .story h2 { font-size: clamp(36px, 10vw, 52px); }
  .story__text { margin-top: 23px; }
  .story__text p { font-size: 15px; line-height: 1.63; }
  .story__aside { padding: 30px; border-radius: 20px; }
  .journey { padding-bottom: 78px; }
  .journey__heading { align-items: flex-start; flex-direction: column; gap: 17px; padding-top: 50px; }
  .journey h2 { font-size: clamp(34px, 9vw, 48px); }
  .journey__heading p { font-size: 15px; }
  .milestones { grid-template-columns: 1fr; margin-top: 30px; }
  .milestone { min-height: 230px; }
  .commitment { padding-top: 76px; padding-bottom: 76px; }
  .commitment h2 { font-size: clamp(38px, 10vw, 56px); }
  .commitment p { font-size: 15px; }

  .brands { padding: 72px var(--pad); }
  .brands h2 { font-size: clamp(34px, 9.2vw, 52px); }
  .brands__heading p { font-size: 15px; }
  .brand-card { padding: 28px 0; gap: 18px; }
  /* celular: índice + logo em uma linha, tag sempre na linha de baixo */
  .brand-card__id { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 13px 14px; }
  .brand-card__logo { grid-column: 2; justify-self: start; }
  .brand-card__tag { grid-column: 1 / -1; justify-self: start; }
  .brand-card__logo { height: 38px; }
  .brand-card__tag { padding: 6px 13px; font-size: 12px; }
  .brand-card__lead { font-size: 15.5px; }
  .brand-card__services { grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
  .brand-card__services li { font-size: 14px; }
  .brands__note { gap: 6px 16px; font-size: 15px; }

}

@media (max-width: 359px) {
  .card strong { white-space: normal; }
}

/* títulos dentro de um bloco escalonado entram desfocando */
html.js [data-rv-stagger] > :is(h1, h2),
html.js [data-rv-stagger] > div > :is(h1, h2) {
  filter: blur(8px);
  transition: filter var(--rv-dur) var(--ease) var(--rv-delay, 0s);
}
html.js [data-rv-stagger].is-in > :is(h1, h2),
html.js [data-rv-stagger].is-in > div > :is(h1, h2) { filter: none; }
