/* ==========================================================================
   Atalaia Soluções Integradas — site institucional
   Sistema visual v3 (setembro/2026): direção escura, títulos sem serifa,
   fotografia institucional e blocos claros pontuais.

   Cores oficiais (ativos da marca): grená #821D1C · amarelo #FBED21 · branco.
   Os demais tons abaixo são ADAPTAÇÃO WEB para superfícies e leitura,
   documentados no README — não fazem parte da paleta oficial da marca.
   ========================================================================== */

/* IBM Plex Sans — fonte variável (400–700), subconjunto latino, hospedada no próprio site.
   Licença SIL Open Font License 1.1 — ver assets/fonts/LICENCA-FONTE.txt */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --hero-photo-h: clamp(300px, 58vw, 500px);
  /* Oficiais */
  --grena: #821D1C;
  --amarelo: #FBED21;
  --branco: #FFFFFF;

  /* Adaptação web */
  --ink: #0E0B0C;          /* fundo principal */
  --ink-2: #161112;        /* superfície elevada */
  --ink-3: #201819;        /* superfície de apoio */
  --grena-deep: #3A0F10;   /* massa grená profunda (gradientes) */
  --grena-hover: #9B2826;  /* hover do botão principal */
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .28);
  --text: #F4EFEC;         /* 17,6:1 sobre --ink */
  --text-muted: #BDB1AC;   /* 9,4:1 sobre --ink · 8,2:1 sobre --ink-3 */
  --paper: #F3EEEA;        /* bloco claro de leitura */
  --paper-text: #1A1314;   /* 16,4:1 sobre --paper */
  --paper-muted: #574A45;  /* 7,6:1 sobre --paper */

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;       /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection { background: var(--grena); color: var(--branco); }

/* Foco: anel amarelo (acento pontual) + contorno escuro para funcionar em qualquer fundo */
:focus-visible {
  outline: 3px solid var(--amarelo);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(14, 11, 12, .9);
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--amarelo);
  color: var(--ink);
  font-weight: 600;
  padding: 12px 18px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 40em;
}
.eyebrow::before { content: ""; flex: none; width: 18px; height: 2px; background: var(--amarelo); }
.section--paper .eyebrow::before, .facilities-card .eyebrow::before { background: var(--grena); }
.muted { color: var(--text-muted); }
.rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--amarelo);
  margin: 28px 0;
  border: 0;
}
.tagline {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Botões e links de ação ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid var(--grena);
  border-radius: 2px;
  background: var(--grena);
  color: var(--branco);                 /* 9,4:1 */
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover {
  background: var(--grena-hover);       /* branco 7,6:1 */
  border-color: var(--grena-hover);
  color: var(--branco);
}
.btn:active { background: #6C1817; border-color: #6C1817; }
.btn svg { flex: none; }

.btn--light {                            /* botão principal sobre bloco claro */
  background: var(--grena);
  border-color: var(--grena);
  color: var(--branco);
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease;
}
.link-action:hover { text-decoration-color: var(--amarelo); }
.link-action:hover::after { color: var(--amarelo); }
.section--paper .link-action:hover { text-decoration-color: var(--grena); }
.section--paper .link-action:hover::after { color: var(--grena); }
.link-action::after { content: "→"; text-decoration: none; display: inline-block; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 11, 12, .94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(14, 11, 12, .82); backdrop-filter: blur(10px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 6px 0;
}
.brand img { height: 52px; width: auto; }  /* desenho efetivo ≈ 168 px */

.nav-toggle { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--text-muted);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--grena);
}
.site-nav .nav-cta {
  margin-left: 10px;
  min-height: 44px;
  padding: 0 18px;
  background: var(--grena);
  color: var(--branco);
  border: 0;
  border-radius: 2px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--grena-hover); color: var(--branco); }
.site-nav .nav-cta[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amarelo); }

/* Menu móvel — ativado apenas quando o JS está disponível (classe .js no <html>) */
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .brand img { height: 42px; }         /* desenho efetivo ≈ 136 px */

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    min-width: 44px;
    padding: 0 14px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    font: 600 .9375rem/1 var(--font);
    cursor: pointer;
  }
  .nav-toggle-icon { position: relative; display: block; width: 18px; height: 14px; }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after,
  .nav-toggle-icon span { content: ""; }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    transform-origin: 50% 50%;
    transition: transform .15s ease, top .15s ease, box-shadow .15s ease;
  }
  .nav-toggle-icon::before { top: 2px; box-shadow: 0 5px 0 currentColor; }
  .nav-toggle-icon::after { top: 12px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 6px; box-shadow: none; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 6px; transform: rotate(-45deg); }

  .js .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
  }
  .js .site-nav[hidden] { display: none; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a {
    display: flex;
    min-height: 52px;
    padding: 0 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--grena); padding-left: 14px; }
  .js .site-nav .nav-cta { margin: 16px 0 0; justify-content: center; border-bottom: 0; padding: 0 18px; }
  .js .site-nav .nav-cta[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amarelo); padding-left: 18px; }

  /* Sem JS: links continuam visíveis em linha, com quebra */
  .site-nav ul { flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { padding: 0 8px; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--ink2 { background: var(--ink-2); }
.section--paper { background: var(--paper); color: var(--paper-text); }
.section--paper .eyebrow { color: var(--paper-muted); }
.section--paper .muted { color: var(--paper-muted); }
.section--paper .link-action { color: var(--paper-text); text-decoration-color: rgba(26,19,20,.35); }
.section--paper .link-action:hover { text-decoration-color: currentColor; }
.section--paper :focus-visible { box-shadow: 0 0 0 6px var(--paper); outline-color: var(--grena); }
.section--paper h2, .section--paper h3 { color: var(--paper-text); }
.section--paper .accent { color: var(--grena); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + p { margin-top: 20px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split--center { align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 900px) {
  .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--ink);
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex;
  flex-direction: column;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 1040px);
  z-index: -2;
}
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 40%, rgba(14,11,12,.9) 54%, rgba(14,11,12,.35) 74%, rgba(14,11,12,.12) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(14,11,12,0) 28%);
}
.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(64px, 9vw, 120px) 40px;
}
.hero-copy { max-width: 620px; }
.hero h1 { text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.04; font-size: clamp(2.25rem, 4.4vw, 3.625rem); }
.hero .hero-copy { max-width: 760px; }
.br-lg { display: none; }
@media (min-width: 901px) { .br-lg { display: inline; } }
.hero .lead { color: var(--text); max-width: 30em; }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 28px;
}

@media (max-width: 900px) {
  /* Tablet e celular: a foto ocupa o topo do hero (camada própria, altura definida)
     e o texto vem abaixo — a imagem não fica mais escondida sob o degradê. */
  .hero { min-height: 0; }
  .hero-media { inset: 0 0 auto 0; width: 100%; height: var(--hero-photo-h); }
  .hero-media picture { display: block; height: 100%; }
  .hero-media img { object-position: 62% 38%; }
  .hero-scrim {
    inset: 0 0 auto 0;
    height: calc(var(--hero-photo-h) + 2px);
    background: linear-gradient(0deg, var(--ink) 0%, rgba(14,11,12,.55) 28%, rgba(14,11,12,.08) 62%, rgba(14,11,12,0) 100%);
  }
  .hero-inner { padding-top: calc(var(--hero-photo-h) - 72px); padding-bottom: 32px; }
  .hero-foot { flex-direction: column-reverse; align-items: flex-start; }
}

/* Cabeçalho de página interna */
.page-hero { position: relative; isolation: isolate; overflow: clip; background: var(--ink); }
.page-hero .hero-inner { padding-block: clamp(64px, 9vw, 112px) clamp(56px, 7vw, 88px); }
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-top: 24px; color: var(--text-muted); }
.page-hero--photo .hero-media { width: min(48%, 820px); }
.page-hero--photo .hero-scrim {
  background: linear-gradient(90deg, var(--ink) 45%, rgba(14,11,12,.7) 62%, rgba(14,11,12,.1) 100%);
}
.page-hero--photo .hero-copy { max-width: 640px; }
@media (max-width: 900px) {
  .page-hero--photo .hero-media { width: 100%; }
  .page-hero--photo .hero-scrim { background: linear-gradient(0deg, var(--ink) 32%, rgba(14,11,12,.7) 60%, rgba(14,11,12,.2) 100%); }
  .page-hero--photo .hero-inner { padding-top: clamp(220px, 56vw, 360px); }
}

/* ---------- Home: quem somos ---------- */
.intro-grid h2 { max-width: 12em; }
.intro-grid .lead { margin-bottom: 20px; }

/* ---------- Frentes de serviço (lista editorial) ---------- */
.fronts {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: stretch;
}
.fronts-media { position: relative; min-height: 420px; }
.fronts-media picture { position: absolute; inset: 0; }
.fronts-media img { height: 100%; width: 100%; }
.fronts-media img { object-fit: cover; object-position: 78% 18%; }

.front-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.front-list li { border-bottom: 1px solid var(--line); }
.front-list a {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 26px 4px;
  text-decoration: none;
  color: var(--text);
}
.front-num { font-size: .875rem; font-weight: 600; color: var(--text-muted); letter-spacing: .06em; }
.front-list h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
.front-list p { grid-column: 2 / 3; margin: 6px 0 0; color: var(--text-muted); font-size: 1rem; }
.front-arrow { grid-row: 1; grid-column: 3; font-size: 1.25rem; color: var(--text-muted); transition: transform .15s ease, color .15s ease; }
.front-list a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.front-list a:hover .front-arrow { transform: translateX(4px); color: var(--amarelo); }
.front-list a:hover .front-num { color: var(--amarelo); }
.front-note { grid-column: 2 / 4; font-size: .875rem !important; color: var(--text-muted); }

@media (max-width: 900px) {
  .fronts { grid-template-columns: minmax(0, 1fr); }
  .fronts-media { min-height: 0; aspect-ratio: 4 / 5; max-height: 560px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .fronts-media { aspect-ratio: 16 / 10; max-height: none; }
  .fronts-media img { object-position: 80% 22%; }
}
@media (max-width: 480px) {
  .front-list a { grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: 4px 10px; padding: 22px 0; }
}

/* ---------- Integração ---------- */
/* Faixa inteiramente grená (cor oficial sólida, largura total) */
.section--grena { background: var(--grena); color: var(--branco); }
.section--grena .eyebrow { color: rgba(255, 255, 255, .86); }
.section--grena .eyebrow::before { background: var(--amarelo); }
.section--grena :focus-visible { box-shadow: 0 0 0 6px var(--grena); }
.statement { padding: 0; }
.statement-words {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px clamp(40px, 8vw, 140px);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0;
  color: var(--branco);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 56px);
}
.pillar { border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 18px; position: relative; }
.section--grena .pillar::before { content: ""; position: absolute; left: 0; top: -2px; width: 28px; height: 3px; background: var(--amarelo); }
.pillar h3 { font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.pillar p { color: var(--text-muted); font-size: 1rem; margin: 0; }
.section--grena .pillar h3 { color: var(--branco); }
.section--grena .pillar p { color: rgba(255, 255, 255, .88); }
.statement-close { color: var(--branco); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .28); margin-top: clamp(40px, 5vw, 60px); font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 600; max-width: 34em; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .statement-words { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Comodato ---------- */
.comodato {
  background: linear-gradient(120deg, var(--ink) 0%, #1E0F10 55%, var(--grena-deep) 100%);
}
.comodato-media { position: relative; }
.comodato-media img { width: 100%; aspect-ratio: 1146 / 1080; object-fit: cover; }
.items-inline { color: var(--text-muted); }
.items-inline strong { color: var(--text); display: block; margin-bottom: 6px; font-weight: 600; }
.condition {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--text-muted);
}

/* ---------- Chamada final (bloco claro) ---------- */
.cta-final .split { align-items: end; }
.cta-final h2 { max-width: 14em; }
.cta-final p { color: var(--paper-muted); max-width: 32em; }

/* ---------- Serviços ---------- */
.anchor-index {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.anchor-index a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--text);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
}
.anchor-index a:hover { border-color: var(--text); }

.anchor-alias { position: relative; top: 0; display: block; height: 0; }

.service { border-top: 1px solid var(--line); }
.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.service-grid--flip .service-media { order: -1; }
.service-media { position: relative; }
.service-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% 20%; }
.comodato-media.service-media img { aspect-ratio: 1146 / 1080; object-position: 50% 50%; }
.service h2 { margin-bottom: 8px; }
.service .claim { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 600; color: var(--text); margin: 0 0 24px; }
.service .num { font-size: .875rem; font-weight: 600; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 16px; display: block; }

.feature-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}
.feature-list li {
  break-inside: avoid;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15em;
  width: 7px; height: 2px;
  background: var(--amarelo);
}
.list-title {
  margin: 36px 0 0;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.list-title + .feature-list { margin-top: 12px; }

.tech-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 56px);
}
.tech-group { border-top: 2px solid var(--grena); padding-top: 18px; }
.tech-group h3 { font-size: 1.0625rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.tech-group p { color: var(--text-muted); margin: 0; font-size: 1rem; }
.band {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 18px 24px;
  background: var(--grena);
  color: var(--branco);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .875rem;
  text-align: center;
}

.monitor-banner { position: relative; isolation: isolate; overflow: clip; min-height: clamp(360px, 44vw, 560px); display: flex; align-items: flex-end; }
.monitor-banner .hero-media { width: 100%; }
.monitor-banner .hero-media img { object-position: 60% 30%; }
.monitor-banner .hero-scrim { background: linear-gradient(0deg, var(--ink) 4%, rgba(14,11,12,.55) 45%, rgba(14,11,12,.05) 100%); }
.monitor-banner .container { padding-bottom: clamp(32px, 5vw, 56px); }

.facilities-card {
  background: var(--paper);
  color: var(--paper-text);
  padding: clamp(32px, 5vw, 64px);
}
.facilities-card .eyebrow { color: var(--paper-muted); }
.facilities-card .claim { color: var(--paper-text); }
.facilities-card p { color: var(--paper-muted); }

.tech-note {
  margin-top: 28px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid--flip .service-media { order: 0; }
  .service-media img { max-height: 560px; }
  .tech-groups { grid-template-columns: minmax(0, 1fr); }
}
/* Recortes de tablet após as regras-base, para preservar a proporção prevista. */
@media (min-width: 600px) and (max-width: 900px) {
  .service-media img { aspect-ratio: 16 / 11; }
  .comodato-media img, .comodato-media.service-media img { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) { .feature-list { columns: 1; } .feature-list--compact { columns: 2; column-gap: 20px; } }

/* ---------- Sobre ---------- */
.principles {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.principles li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,19,20,.16);
  font-weight: 600;
  font-size: 1.0625rem;
}
.quote {
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  max-width: 22em;
}
@media (max-width: 520px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contato ---------- */
.contact-panel {
  background: var(--ink-2);
  border-top: 3px solid var(--grena);
  padding: clamp(28px, 4vw, 48px);
}
.contact-person { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin: 0 0 6px; }
.contact-name { font-size: 1.5rem; font-weight: 700; margin: 0 0 24px; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.contact-label { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-list a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 6px;
}
.contact-list a:hover { text-decoration-color: currentColor; }
.contact-list a.email {
  line-height: 1.4;
  padding: 10px 0;
  overflow-wrap: break-word;
  font-size: clamp(1rem, 4.2vw, 1.1875rem);
}
.btn--block { width: 100%; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: #0A0809;
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 32px;
  color: var(--text-muted);
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.footer-brand img { height: 60px; width: auto; margin-left: -4px; }
.footer-brand .tagline { margin-top: 16px; font-size: .6875rem; letter-spacing: .12em; line-height: 1.9; }
.footer-title { color: var(--text); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text-muted);
  text-decoration: none;
  overflow-wrap: break-word;
}
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}
.footer-bottom p { margin: 0; text-wrap: pretty; }
.footer-bottom a { color: var(--text); text-decoration: underline; text-decoration-color: var(--amarelo); text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--amarelo); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
