/* ==========================================================================
   Ello Security — Design system
   1. Tokens  2. Base  3. Layout  4. Header/Nav  5. Hero  6. Components
   7. Forms   8. Legal/prose  9. Footer  10. Responsive
   ========================================================================== */

/* Fontes locais (SIL OFL 1.1 — ver assets/fonts/) */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/dmsans-400.woff2') format('woff2'), url('assets/fonts/dmsans-400.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/dmsans-500.woff2') format('woff2'), url('assets/fonts/dmsans-500.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/dmsans-700.woff2') format('woff2'), url('assets/fonts/dmsans-700.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/manrope-600.woff2') format('woff2'), url('assets/fonts/manrope-600.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/manrope-700.woff2') format('woff2'), url('assets/fonts/manrope-700.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/manrope-800.woff2') format('woff2'), url('assets/fonts/manrope-800.ttf') format('truetype'); }

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --black: #080b13;
  --graphite: #0d1424;
  --gold: #dfb75d;
  --gold-text: #8a6a24;       /* dourado legível sobre fundos claros (AA) */
  --blue: #1260c9;
  --offwhite: #f7f6f2;
  --ink: #172033;
  --muted: #566074;
  --line: #e5e2da;
  --error: #b3261e;
  --ok: #2f6b4f;
  --radius: 4px;
  --font-body: 'DM Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --header-h: 84px;
  --hero-h-mobile: 420px;
  --hero-h-tablet: 440px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.6; overflow-x: hidden; }
/* Cursor: conteúdo informativo = ponteiro normal (a seleção e a cópia continuam permitidas);
   links e controles = pointer; campos editáveis = text. Vale para páginas e componentes futuros. */
body { cursor: default; }
/* Oculta o traço de inserção (Caret Browsing) em conteúdo não editável; preservado nos campos. */
html, body { caret-color: transparent; }
input, textarea, [contenteditable="true"] { caret-color: auto; }
a[href], button:not(:disabled), summary, label, select, [role="tab"], [role="button"], [data-modal-open], [data-open-menu] { cursor: pointer; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, [contenteditable="true"] { cursor: text; }
input[type="checkbox"], input[type="radio"], input[type="submit"], input[type="button"] { cursor: pointer; }
:disabled { cursor: not-allowed; }
.btn:disabled { cursor: wait; }
h1, h2, h3, h4, p, ul, ol { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.15rem, 4.3vw, 4.05rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 3.05rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
em { font-style: normal; color: var(--gold); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .light :focus-visible, form :focus-visible { outline-color: var(--blue); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--black); padding: 12px 18px; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .nav { transform: none !important; }
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section.light { background: var(--offwhite); }
.section.dark { background: linear-gradient(135deg, var(--black), var(--graphite)); color: #fff; }
.eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.light .eyebrow, .section:not(.dark):not(.hero) .eyebrow { color: var(--gold-text); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.section-heading h2 { max-width: 720px; margin-bottom: 0; }
.section-heading p { max-width: 360px; color: var(--muted); margin: 0; }
.dark .section-heading p { color: #b4bfd0; }
.section:not(.dark) h2 em, .page-hero + .section h2 em { color: var(--gold-text); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.text-link { display: inline-block; margin-top: 12px; color: var(--gold-text); font-weight: 700; border-bottom: 1px solid currentColor; }
.dark .text-link { color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: var(--radius); padding: 16px 26px; font-weight: 800; font-size: .88rem; cursor: pointer; font-family: inherit; min-height: 48px; text-align: center; }
.btn.primary { background: linear-gradient(110deg, #b78231, #f2d37f, #c3923d); color: #13100c; transition: filter .2s ease; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.secondary { border: 1px solid #8391a8; color: #fff; }
.btn.secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn.outline { border: 1px solid var(--ink); color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }

/* 4. Header / navigation --------------------------------------------------- */
.header { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: #08090B; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #ffffff16; transform: translateY(0); transition: transform .24s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.header.header-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .header { transition: none; } }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .menu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 12px; color: #fff; font: inherit; font-size: .88rem; background: none; border: 0; cursor: pointer; border-radius: var(--radius); min-height: 44px; }
.nav-list > li > a:hover, .menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--gold); }
.nav-list [data-active], .nav-list a[aria-current="page"] { color: var(--gold); }
.menu-btn::after { content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.menu-btn[aria-expanded="true"]::after { transform: rotate(-135deg); }

.submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--graphite); border: 1px solid #ffffff1c; border-top: 2px solid var(--gold); padding: 10px; box-shadow: 0 24px 50px #00000066; }
.has-menu.open > .submenu { display: block; }
.submenu a { display: block; padding: 11px 14px; border-radius: var(--radius); color: #d5d9e2; font-size: .88rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: #ffffff0f; color: var(--gold); }
.submenu a small { display: block; color: #8d9ab0; font-size: .76rem; margin-top: 2px; }
.mega > .submenu { left: 50%; transform: translateX(-38%); width: min(760px, 90vw); display: none; }
.mega.open > .submenu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.mega .submenu .all { grid-column: 1 / -1; border-top: 1px solid #ffffff1c; margin-top: 6px; padding-top: 14px; color: var(--gold); font-weight: 700; }

.client-area {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  color: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 500;
  background: none;
  border: 0;
  border-radius: var(--radius);
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.client-area:hover,
.client-area:focus-visible {
  color: var(--gold);
  background: rgba(255, 255, 255, .04);
}

/* Modal (dialog nativo) */
.modal {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 0;
  width: min(460px, calc(100% - 36px));
  background: #0b0e14;
  color: #fff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .85);
}
.modal::backdrop {
  background: rgba(8, 11, 19, .88);
  backdrop-filter: blur(4px);
}
.modal-body { padding: 32px 30px 28px; }
.modal h2 { font-size: 1.5rem; margin-bottom: 14px; }
.modal p { color: #c3ccdb; margin-bottom: 24px; }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border: 0; background: none;
  color: #9aa5b8; font-size: 1.3rem; cursor: pointer;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: color .2s ease;
}
.modal-close:hover,
.modal-close:focus-visible { color: #fff; }

/* Modal específico da Área do Cliente */
.client-modal-body {
  padding: 48px 36px 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.client-modal-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a4b0c3;
  margin-bottom: 22px;
}
.client-modal h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.client-modal-text p {
  color: #c3ccdb;
  font-size: .98rem;
  line-height: 1.65;
  margin: 0 0 10px;
}
.client-modal-text .client-modal-sub {
  color: #8894a8;
  font-size: .92rem;
  margin: 0;
}
.menu-toggle {
  display: none;
  border: 1px solid #ffffff30;
  border-radius: var(--radius);
  background: none;
  color: #fff;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}
.menu-toggle-box {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.menu-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 250ms ease, opacity 200ms ease;
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1),
.menu-toggle.open .menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2),
.menu-toggle.open .menu-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3),
.menu-toggle.open .menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.breadcrumb { font-size: .8rem; color: #8d9ab0; margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #566074; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }

/* 5. Hero ------------------------------------------------------------------ */
.page-hero h1 em { background: linear-gradient(110deg, #e4b450, #fff0ad, #c38a2f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #b8c2d3; font-size: 1.08rem; line-height: 1.8; max-width: 640px; }

/* Hero — carrossel de largura total */
.hero-carousel { position: relative; background: var(--black); color: #fff; height: min(calc(100svh - var(--header-h)), 880px); min-height: 560px; overflow: hidden; isolation: isolate; }
.hero-carousel .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear .9s; }
.hero-carousel .slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; z-index: 1; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1); transition: transform 9s ease-out; }
/* Zoom cinematográfico muito discreto enquanto o slide está ativo (a troca de slide, ordem e
   temporização continuam exclusivamente a cargo do módulo Carousel, não tocado). */
.slide.is-active .slide-img { transform: scale(1.025); }
.slide-shade { position: absolute; inset: 0; background: var(--shade, linear-gradient(180deg, rgba(8,11,19,.50) 0%, rgba(8,11,19,.30) 45%, rgba(8,11,19,.62) 100%)); }
.slide-content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: var(--v, center); text-align: center; padding: var(--pt, 0) 76px 56px; gap: 30px; }
.slide-title { font-size: var(--fs, clamp(2.1rem, 5.0vw, 4.75rem)); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: #fff; max-width: var(--w, 18ch); margin: 0; text-wrap: balance; text-shadow: 0 2px 32px rgba(0,0,0,.5); }
.slide-content .slide-cta { flex-shrink: 0; }

/* CTA do carrossel: link de texto, sem botão/cápsula (próprio deste componente — não usa .btn,
   que permanece intacto em todas as outras páginas e seções do site). */
.slide-cta {
  position: relative;
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
  padding-bottom: 12px;
}
.slide-cta::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-cta:hover::after, .slide-cta:focus-visible::after { width: 100%; }
.slide.slide-align-left .slide-cta::after { left: 0; transform: none; }

/* Entrada cinematográfica de elementos no slide ativo (referência Tauri) */
.slide-content .slide-title { opacity: 0; transform: translateY(28px); }
.slide-content .lead { opacity: 0; transform: translateY(24px); }
.slide-content .slide-cta { opacity: 0; transform: translateY(22px); }
.hero-carousel .slide.is-active .slide-title {
  animation: heroElemIn .85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: .12s;
}
.hero-carousel .slide.is-active .lead {
  animation: heroElemIn .85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: .24s;
}
.hero-carousel .slide.is-active .slide-cta {
  animation: heroElemIn .85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: .36s;
}
@keyframes heroElemIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 961px) { .slide-content { padding-right: calc(76px + var(--shift, 0px)); } } /* desloca o bloco de texto para a esquerda em --shift/2 */

/* Slides específicos com alinhamento à esquerda (Executivo e Cofre — ES-020) */
.slide.slide-align-left .slide-content {
  align-items: flex-start;
  text-align: left;
  justify-content: center;
  padding-left: clamp(24px, 5vw, 64px);
  padding-right: clamp(24px, 5vw, 64px);
}
.slide.slide-align-left .slide-title {
  text-align: left;
  max-width: var(--w, 15ch);
  margin: 0;
}
.slide.slide-align-left .slide-cta {
  align-self: flex-start;
  margin-left: 0;
}

/* Slide específico do Cofre (ES-021) — enquadramento ampliado com foco na metade direita */
.slide.slide-cofre .slide-img {
  object-position: var(--pos, 82% 50%);
  transform: scale(var(--scale, 1.10));
  transform-origin: var(--origin, 82% 50%);
}

/* Setas sem círculo: só o ícone, com área clicável ampla e invisível ao redor. */
.car-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 56px; height: 56px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: color .2s; }
.car-arrow:hover, .car-arrow:focus-visible { color: var(--gold); background: none; }
.car-arrow::before { content: ''; width: 20px; height: 20px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; }
.car-arrow.prev { left: 20px; }
.car-arrow.prev::before { transform: translateX(3px) rotate(-135deg); }
.car-arrow.next { right: 20px; }
.car-arrow.next::before { transform: translateX(-3px) rotate(45deg); }
.car-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; }
.car-dots button { width: 36px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.car-dots button::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: #ffffff80; transition: width .3s, background .3s; }
.car-dots button[aria-current="true"]::before { width: 28px; background: var(--gold); }
.car-dots button:hover::before { background: #fff; }
.hero-carousel :focus-visible { outline-color: #fff; }

.page-hero { background: radial-gradient(ellipse at 85% 20%, #102b55 0%, transparent 45%), linear-gradient(125deg, var(--black), var(--graphite)); color: #fff; padding: 64px 0 72px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 3.05rem); max-width: 860px; margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 0; }

.kpi-strip { background: var(--black); border-top: 1px solid #dfb75d40; border-bottom: 1px solid #ffffff12; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi { display: flex; align-items: flex-start; gap: 14px; padding: 26px 22px; border-left: 1px solid #ffffff14; }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi-icon { color: var(--gold); font-size: 1.4rem; line-height: 1; }
.kpi strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 4px; }
.kpi small { display: block; color: #a3afc2; font-size: .8rem; line-height: 1.5; }

/* 6. Components ------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; padding: 28px 26px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #0b1b3414; }
.card .num { font-size: .7rem; letter-spacing: .14em; font-weight: 800; color: var(--gold-text); text-transform: uppercase; }
.card .icon { font-size: 2rem; color: var(--gold-text); margin: 16px 0 10px; line-height: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; }
.card > a { margin-top: auto; padding-top: 16px; font-weight: 800; color: var(--gold-text); font-size: .86rem; }
.card > a::after { content: ' ↗'; }
.card > a:hover { text-decoration: underline; }
.card.accent { border-top: 3px solid #c9a458; background: var(--offwhite); }
.card.stretch-link { position: relative; }
.card.stretch-link > a::before { content: ''; position: absolute; inset: 0; }
.card-thumb { margin: -28px -26px 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #080b13; }
.card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .35s ease; }
.card:hover .card-thumb img { transform: scale(1.03); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: #3d485c; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-text); font-weight: 800; }
.dark .checklist li { color: #cbd3e0; }
.dark .checklist li::before { color: var(--gold); }

/* Fluxograma */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 22px; counter-reset: step; }
.flow li { position: relative; padding-top: 22px; border-top: 2px solid #c9a458; counter-increment: step; }
.flow li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--gold-text); font-weight: 800; font-size: .82rem; margin-bottom: 14px; }
.flow li::after { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #c9a458; }
.flow h3 { margin-bottom: 8px; }
.flow p { color: var(--muted); margin: 0; font-size: .93rem; }
.dark .flow p { color: #b4bfd0; }
.dark .flow li::before { color: var(--gold); }

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--gold-text); font-size: 1.5rem; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { color: var(--muted); margin: 14px 0 0; }
.dark .faq-list details { border-color: #ffffff2b; }
.dark .faq-list summary::after { color: var(--gold); }
.dark .faq-list p { color: #b6c0cf; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }

.callout { border-left: 3px solid var(--gold); background: var(--offwhite); padding: 20px 24px; color: var(--muted); font-size: .92rem; }
.callout strong { color: var(--ink); }
.dark .callout { background: #ffffff0d; color: #b4bfd0; }
.dark .callout strong { color: #fff; }
.notice-draft { background: #fff8e6; border: 1px solid #e6c777; color: #5e4710; padding: 14px 18px; border-radius: var(--radius); font-size: .88rem; margin-bottom: 28px; }
.notice-draft strong { color: #3f2f06; }

.cta-band { background: linear-gradient(135deg, var(--black), #101f36); color: #fff; padding: 72px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 8px; }
.cta-band p { color: #b4bfd0; margin: 0; max-width: 560px; }

.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.related a { display: inline-block; border: 1px solid #c9b88d; border-radius: 999px; padding: 9px 16px; font-size: .86rem; font-weight: 600; color: var(--ink); background: #fff; }
.related a:hover { border-color: var(--gold-text); color: var(--gold-text); }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
.info-grid h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

/* 7. Forms ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; }
form.form { background: #fff; padding: 32px; border: 1px solid var(--line); display: grid; gap: 18px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: .86rem; font-weight: 700; }
.field .req { color: var(--error); }
.field .hint { font-size: .78rem; color: var(--muted); }
.field .error-msg { font-size: .8rem; color: var(--error); font-weight: 600; min-height: 0; }
.field .error-msg:empty { display: none; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #8a93a3; border-radius: var(--radius); font: inherit; color: var(--ink); background: #fff; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: #566074; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #1260c940; }
[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px #b3261e1f; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .84rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex-shrink: 0; }
.consent a { text-decoration: underline; }
.form-status { margin: 0; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status.success { color: #1d4a35; background: #e9f4ee; padding: 14px 16px; border-radius: var(--radius); }
.form-status.error { color: var(--error); background: #fbeceb; padding: 14px 16px; border-radius: var(--radius); }
.demo-banner { background: #eef3fb; border: 1px solid #b5c9ea; color: #17335e; padding: 12px 14px; border-radius: var(--radius); font-size: .84rem; }

/* 8. Legal / prose --------------------------------------------------------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; color: var(--ink); }
.prose h3 { margin: 24px 0 8px; }
.prose p, .prose li { color: #3d485c; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--blue); text-decoration: underline; }
.toc { background: var(--offwhite); border: 1px solid var(--line); padding: 20px 24px; margin-bottom: 8px; }
.toc ol { margin: 8px 0 0; }

/* 9. Rodapé Institucional (ES-018 — Referência SB Crédito) ---------------- */
.site-footer {
  background: #08090B;
  color: #c6cfdb;
  border-top: 3px solid var(--gold);
  padding: clamp(48px, 6vw, 76px) 0 36px;
  position: relative;
}

/* Faixa superior: logomarca e espaço para canais oficiais */
.footer-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
}
.footer-brand img {
  width: min(230px, 65vw);
  height: auto;
  display: block;
}
.footer-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Linha divisória horizontal superior */
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 28px 0 clamp(36px, 4.5vw, 56px);
}

/* Três colunas principais com espaçamento generoso */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.35fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

/* Coluna 1: Contato */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: 0.74rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b8a9e;
  font-weight: 500;
}
.contact-info p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #b8c4d4;
}

.footer-action {
  margin-top: 26px;
}

/* Botão Área do Cliente */
.footer-client-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-client-btn:hover {
  background: rgba(223, 183, 93, 0.12);
  color: #ffffff;
  border-color: #ffffff;
}

/* Coluna 2: Mapa do site */
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav-list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 0.94rem;
  color: #b4bfd0;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-nav-list a:hover {
  color: var(--gold);
  transform: translateX(4px);
  text-decoration: none;
}

/* Coluna 3: Fale com a Ello Security */
.footer-cta-text {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #a3afc2;
  margin: 0 0 24px;
  max-width: 440px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  font-size: 0.92rem;
}
/* Acabamento discreto e institucional — contorno dourado, sem preenchimento permanente
   (substitui o fundo dourado sólido herdado de .btn.primary, só para este botão). Seletor
   .btn.primary.footer-cta-btn para vencer a especificidade da regra global .btn.primary. */
.btn.primary.footer-cta-btn {
  background: transparent;
  border: 1px solid #DFB75D;
  color: #DFB75D;
  transition: background-color .25s ease, color .25s ease;
}
.btn.primary.footer-cta-btn:hover,
.btn.primary.footer-cta-btn:focus-visible {
  background: #DFB75D;
  color: #000;
  filter: none;
}

/* Área inferior do rodapé */
.footer-bottom-area {
  margin-top: clamp(48px, 5vw, 64px);
}
.footer-divider-subtle {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 28px;
}
.footer-legal-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.footer-legal-bar a {
  font-size: 0.82rem;
  color: #8d9ab0;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-legal-bar a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.footer-legal-bar .sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}
.footer-disclaimer-text {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 20px;
}
.footer-disclaimer-text p {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.7;
  color: #728096;
}
.footer-copyright-row {
  text-align: center;
}
.footer-copyright-row p {
  margin: 0;
  font-size: 0.82rem;
  color: #8d9ab0;
  letter-spacing: 0.01em;
}

/* Responsividade do Rodapé */
@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-col-cta {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  .site-footer {
    padding: 44px 0 28px;
  }
  .footer-brand img {
    width: min(175px, 50vw);
    height: auto;
    display: block;
  }
  .footer-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-divider {
    margin: 20px 0 28px;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col-title {
    font-size: 1.05rem;
    margin: 0 0 16px;
  }
  /* Mapa do site organizado em duas colunas de links no mobile */
  .footer-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
  .footer-nav-list a {
    padding: 3px 0;
    font-size: 0.9rem;
  }
  .footer-contact-list {
    gap: 14px;
  }
  .contact-item {
    gap: 12px;
  }
  .footer-cta-text {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .footer-action {
    margin-top: 18px;
  }
  .footer-client-btn {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 0.86rem;
  }
  .btn.primary.footer-cta-btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .footer-bottom-area {
    margin-top: 36px;
  }
  .footer-divider-subtle {
    margin: 0 0 20px;
  }
  .footer-legal-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 16px;
  }
  .footer-legal-bar a,
  .footer-cookie-pref-btn {
    font-size: 0.8rem;
  }
  .footer-legal-bar .sep {
    display: inline-block;
    color: rgba(255, 255, 255, 0.22);
  }
  .footer-disclaimer-text {
    margin: 0 auto 14px;
  }
  .footer-disclaimer-text p {
    font-size: 0.74rem;
    line-height: 1.6;
    color: #728096;
  }
  .footer-copyright-row p {
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-list > li > a, .menu-btn { padding-inline: 8px; font-size: .84rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #08090B;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 12px 24px 28px;
    border-bottom: 1px solid #ffffff16;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 0s linear 220ms;
    will-change: opacity, transform;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      opacity 300ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0s linear 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .menu-btn { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid #ffffff14; border-radius: 0; font-size: 1rem; }
  .submenu, .mega > .submenu { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--gold); margin: 6px 0 10px 4px; background: transparent; padding: 4px 0 4px 8px; }
  .mega.open > .submenu { display: block; }
  .client-area { display: flex; width: 100%; justify-content: flex-start; padding: 14px 4px; border-bottom: 1px solid #ffffff14; border-radius: 0; font-size: 1rem; }
  .split, .contact-grid, .faq-layout, .info-grid { grid-template-columns: 1fr; gap: 36px; }
  .car-arrow { width: 46px; height: 46px; }
  .car-arrow.prev { left: 12px; }
  .car-arrow.next { right: 12px; }
  .slide-content { padding-inline: 64px; }
  .slide-title { font-size: clamp(2.7rem, 5.8vw, 3.6rem); line-height: 1.05; max-width: 16ch; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid #ffffff14; }
  .cards, .cards.cols-4, .cards.cols-2 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .section-heading { display: block; }
  .section-heading p { margin-top: 16px; max-width: none; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .header { padding: 0 18px; }
  .brand img { height: 44px; }
  .nav { padding-inline: 18px; }
  .hero-carousel { height: calc(100svh - var(--header-h)); min-height: 520px; max-height: 760px; }
  .slide-img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .slide-content { padding: var(--pt-m, 0) 18px 64px; gap: 24px; justify-content: var(--v-m, var(--v, center)); }
  .slide-title { font-size: clamp(2.05rem, 7.6vw, 2.45rem); line-height: 1.08; max-width: 15ch; }
  .slide-cta { font-size: 1.05rem; }
  .slide.slide-align-left .slide-content {
    align-items: flex-start;
    text-align: left;
    padding: var(--pt-m, 0) 24px 80px;
    justify-content: var(--v-m, flex-end);
  }
  .slide.slide-align-left .slide-title {
    text-align: left;
    max-width: 14ch;
  }
  .slide.slide-align-left .slide-cta {
    align-self: flex-start;
    margin-left: 0;
  }
  .slide.slide-align-left .slide-shade {
    background: linear-gradient(180deg, rgba(8,11,19,.2) 0%, rgba(8,11,19,.28) 38%, rgba(8,11,19,.86) 78%, rgba(8,11,19,.96) 100%) !important;
  }
  .slide.slide-cofre .slide-img {
    object-position: var(--pos-m, 72% 50%);
    transform: scale(var(--scale-m, 1));
    transform-origin: var(--origin-m, 72% 50%);
  }
  .hero-carousel { touch-action: pan-y; }
  .car-arrow { display: none !important; }
  .car-dots button { width: 30px; }
  .actions .btn { width: 100%; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi, .kpi:nth-child(odd) { border-left: 0; padding: 18px 0; }
  .kpi + .kpi { border-top: 1px solid #ffffff14; }
  .cards, .cards.cols-4, .cards.cols-2, .flow, .form-row { grid-template-columns: 1fr; }
  form.form { padding: 20px; }
  .page-hero { padding: 44px 0 52px; }
}

/* 11. Composições fotográficas das páginas internas ------------------------ */
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); z-index: -2; }

/* Banner fotográfico (substitui o fundo em degradê de .page-hero) */
.page-hero.has-photo { position: relative; isolation: isolate; overflow: hidden; background: var(--black); min-height: clamp(300px, 30vw, 400px); display: flex; align-items: center; padding: 56px 0 64px; }
.page-hero.has-photo[data-size="tall"] { min-height: clamp(340px, 36vw, 460px); }
.page-hero.has-photo > .container { position: relative; z-index: 1; }
.page-hero.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,11,19,.88) 0%, rgba(8,11,19,.66) 48%, rgba(8,11,19,.2) 100%); }
/* Zoom discreto e progressivo — mesmo mecanismo já usado no hero das Soluções (.sx-hero),
   agora padronizado nas páginas institucionais (Quem Somos, Integridade, Carreiras, Contato,
   Segmentos), que antes ficavam com a fotografia do hero totalmente estática. A homepage não é
   afetada (usa seu próprio carrossel, fora de .page-hero.has-photo). */
.page-hero.has-photo:not(.sx-hero) .bg-img { transform-origin: 70% 50%; animation: sxZoom 18s cubic-bezier(.2,.6,.2,1) both; }
.page-hero.has-photo[data-align="center"] { text-align: center; }
.page-hero.has-photo[data-align="center"]::after { background: linear-gradient(180deg, rgba(8,11,19,.76) 0%, rgba(8,11,19,.7) 50%, rgba(8,11,19,.84) 100%); }
.page-hero.has-photo[data-align="center"] .breadcrumb ol, .page-hero.has-photo[data-align="center"] .actions { justify-content: center; }
.page-hero.has-photo[data-align="center"] h1, .page-hero.has-photo[data-align="center"] .lead { margin-inline: auto; }
.page-hero.has-photo .breadcrumb { color: #c3ccdb; }
.page-hero.has-photo .lead { color: #dde3ee; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.page-hero.has-photo h1 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }

/* Foto ao lado do conteúdo, com moldura dourada deslocada */
.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.photo-split.reverse .photo-frame { order: 2; }
.photo-frame { margin: 0; position: relative; isolation: isolate; }
.photo-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }
.photo-frame::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid #c9a458; z-index: -1; }
.photo-split.reverse .photo-frame::before { inset: 18px 18px -18px -18px; }
.photo-text h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.photo-text h3.subhead { margin: 30px 0 14px; font-size: 1.2rem; }

/* Faixa de foto com frase sobreposta */
.photo-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(260px, 26vw, 340px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 56px 24px; }
.photo-band { background: #0b1220; }
.band-video { --pos: 50% 34%; pointer-events: none; }
.photo-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8,11,19,.58); }
.photo-band p { font-family: var(--font-head); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; font-size: clamp(1.4rem, 2.8vw, 2.4rem); max-width: 30ch; margin: 0 auto; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.45); }

/* ==========================================================================
   Página "Quem somos" — identidade cinematográfica isolada (prefixo .about-).
   Nenhuma regra global (.btn, .callout, .page-hero, .photo-band etc.) foi
   alterada; os ajustes de botão/aviso desta página ficam escopados sob
   .about-page, sem afetar nenhuma outra página do site.
   ========================================================================== */
.about-page .btn.primary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.about-page .btn.primary:hover { background: rgba(223, 183, 93, .12); filter: none; }
.about-page .cta-band { background: #08090B; border-top: 1px solid rgba(223, 183, 93, .4); }
.about-page .cta-band h2 { color: #fff; }
.about-page .cta-band p { color: #c7cedb; }

/* Seção 2a — "Nossa atuação": composição editorial em preto profundo, antes da fotografia.
   Título expressivo, respiro generoso, detalhe dourado discreto no eyebrow. */
.about-editorial { background: #080B13; padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.about-editorial-inner { max-width: 760px; }
.about-editorial-eyebrow {
  color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 18px; padding-left: 18px; border-left: 2px solid var(--gold);
}
.about-editorial h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.22; margin: 0 0 22px; }
.about-editorial p { color: #c7cedb; font-size: 1.08rem; line-height: 1.8; max-width: 620px; margin: 0; }

/* Seção 2b — fotografia cinematográfica em largura total, com mensagem institucional ("Nossa
   essência") sobreposta à esquerda sobre degradê, conectando a seção aos princípios abaixo. */
.about-cine { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(440px, 42vw, 560px); background: #08090B; }
.about-cine-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.about-cine-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 19, .92) 0%, rgba(8, 11, 19, .72) 36%, rgba(8, 11, 19, .3) 62%, rgba(8, 11, 19, .05) 82%, rgba(8, 11, 19, 0) 100%);
}
.about-cine-content { position: relative; z-index: 2; max-width: 560px; padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 72px); }
.about-cine-eyebrow {
  color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 16px; padding-left: 18px; border-left: 2px solid var(--gold);
}
.about-cine-content h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.24; margin: 0; }

/* Seção 3 — "Nossos princípios": faixa preta em 3 colunas, divisórias douradas finas */
.about-principles { background: #08090B; padding: clamp(44px, 5.5vw, 64px) 0; border-top: 1px solid rgba(223, 183, 93, .4); border-bottom: 1px solid rgba(223, 183, 93, .4); }
.about-principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.about-principle { padding: 0 clamp(16px, 2vw, 32px); border-left: 1px solid rgba(223, 183, 93, .4); }
.about-principle:first-child { border-left: 0; padding-left: 0; }
.about-principle:last-child { padding-right: 0; }
.about-principle h3 { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; }
.about-principle p { color: #c7cedb; font-size: 1.04rem; line-height: 1.65; margin: 0; }

/* Seção 4 — aviso institucional, como nota editorial com fio dourado lateral */
.about-notice { background: #08090B; padding: clamp(28px, 3.5vw, 40px) 0; }
.about-notice-box { border-left: 2px solid var(--gold); padding: 2px 0 2px 24px; color: #c7cedb; font-size: .96rem; line-height: 1.7; max-width: 760px; }
.about-notice-box strong { color: #fff; }

@media (max-width: 960px) {
  .about-editorial { padding: clamp(48px, 11vw, 64px) 0 clamp(40px, 9vw, 56px); }
  .about-cine { min-height: clamp(420px, 92vw, 520px); align-items: flex-end; }
  .about-cine-shade { background: linear-gradient(0deg, rgba(8, 11, 19, .94) 0%, rgba(8, 11, 19, .8) 42%, rgba(8, 11, 19, .28) 75%, rgba(8, 11, 19, .05) 100%); }
  .about-cine-content { max-width: none; padding: 36px 24px; }
}

/* Reposicionamento do Bloco "Atuação institucional" — Mobile (ES-028) */
@media (max-width: 767px) {
  .about-page {
    display: flex;
    flex-direction: column;
  }
  .about-page > * {
    width: 100%;
  }
  .about-page > .page-hero { order: 1; }
  .about-page > .about-editorial { order: 2; }
  .about-page > .about-cine { order: 3; }
  .about-page > .about-principles { order: 4; }
  .about-page > .photo-band { order: 5; }
  .about-page > .about-notice { order: 6; }
  .about-page > .cta-band { order: 7; }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .btn.primary { transition: none; }
}

/* CTA final sobre foto */
.cta-band.has-photo { position: relative; isolation: isolate; overflow: hidden; }
.cta-band.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,11,19,.88), rgba(8,11,19,.6)); }
.cta-band.has-photo > .container { position: relative; z-index: 1; }

@media (max-width: 960px) {
  .photo-split { grid-template-columns: 1fr; gap: 44px; }
  .photo-split.reverse .photo-frame { order: 0; }
  .photo-frame { margin-right: 14px; }
  .photo-frame::before, .photo-split.reverse .photo-frame::before { inset: 14px -14px -14px 14px; }
  .photo-split.reverse .photo-frame { margin: 0 0 0 14px; }
  .photo-split.reverse .photo-frame::before { inset: 14px 14px -14px -14px; }
}
@media (max-width: 600px) {
  .bg-img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .page-hero.has-photo[data-mobile="bottom"] { min-height: 540px; align-items: flex-end; }
  .page-hero.has-photo { min-height: 300px; padding: 40px 0 44px; }
  .page-hero.has-photo::after { background: linear-gradient(180deg, rgba(8,11,19,.62) 0%, rgba(8,11,19,.7) 55%, rgba(8,11,19,.86) 100%); }
  .page-hero.has-photo[data-align="center"]::after { background: linear-gradient(180deg, rgba(8,11,19,.7), rgba(8,11,19,.82)); }
  .photo-band { min-height: 240px; padding: 44px 18px; }
}

/* 12. Seção cinematográfica (Janela cinematográfica contínua — ES-020 Referência Tauri) ------------- */
.cine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
  color: #fff;
  height: clamp(500px, 80vh, 720px);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cine-media {
  position: absolute;
  inset: -10% 0;
  z-index: -2;
  overflow: hidden;
  will-change: transform;
}
.cine-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--vpos, 50% 62%);
  background: var(--black);
}
.cine-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(8,11,19,.54) 0%, rgba(8,11,19,.44) 55%, rgba(8,11,19,.3) 100%), linear-gradient(180deg, rgba(8,11,19,.28) 0%, rgba(8,11,19,.1) 40%, rgba(8,11,19,.36) 100%);
}
.cine-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}
.cine-title {
  font-size: clamp(1.9rem, 4.8vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 800;
  text-align: center;
  max-width: 17ch;
  margin: 0 auto;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
/* controle de pausa: oculto visualmente, acessível por teclado e leitor de tela (WCAG 2.2.2) */
.cine-toggle:not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  padding: 0;
  border: 0;
}
.cine-toggle:focus-visible {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #ffffffaa;
  border-radius: 999px;
  background: rgba(8,11,19,.78);
  color: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 768px) {
  .cine {
    height: clamp(380px, 65vh, 500px);
    min-height: 360px;
  }
  .cine-media {
    inset: 0;
    transform: none !important;
  }
  .cine-video {
    object-position: var(--vpos-m, 32% 70%);
  }
  .cine-title {
    font-size: clamp(1.9rem, 8.4vw, 2.8rem);
  }
  .cine-shade {
    background: linear-gradient(180deg, rgba(8,11,19,.5) 0%, rgba(8,11,19,.56) 50%, rgba(8,11,19,.62) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cine-media {
    inset: 0;
    transform: none !important;
  }
}

/* 13. Home reestruturada (ES-016): apresentação, diferenciais, abas de segmentos, rodapé completo --------------- */
:root { --blue-ui: #3b82e8; } /* tom mais claro do azul institucional, para texto sobre fundo preto (5,2:1) */

/* Seção 02 — apresentação institucional cinematográfica (fotografia 100% da largura, texto
   sobreposto à esquerda sobre degradê escuro — substitui a antiga composição 50/50) */
/* Quebras institucionais: três pausas visuais em 3 colunas entre as seções fotográficas da
   home — faixas pretas curtas, sem foto/ícone/card, só texto. Linha dourada fina (1px,
   opacidade moderada) delimitando a faixa inteira no topo/base; a mesma matiz nas divisórias
   internas, para as três faixas compartilharem exatamente o mesmo acabamento. */
.inst-break {
  background: #08090B;
  padding: clamp(44px, 5.5vw, 64px) 0;
  border-top: 1px solid rgba(223, 183, 93, .4);
  border-bottom: 1px solid rgba(223, 183, 93, .4);
}
.inst-break-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.inst-break-col { padding: 0 clamp(16px, 2vw, 32px); border-left: 1px solid rgba(223, 183, 93, .4); }
.inst-break-col:first-child { border-left: 0; padding-left: 0; }
.inst-break-col:last-child { padding-right: 0; }
.inst-break-col h3 { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; }
.inst-break-col p { color: #c7cedb; font-size: 1.04rem; line-height: 1.65; margin: 0; }

/* ==========================================================================
   Faixas Institucionais de Diferenciais (ES-024)
   - Desktop e Tablet (>= 768px): 3 colunas preservadas lado a lado.
   - Mobile (<= 767px): carrossel automático infinito de 4s, 1 diferencial por vez,
     sem navegação manual, altura travada sem salto de layout (CLS = 0).
   ========================================================================== */

@media (min-width: 768px) {
  .inst-break-grid,
  .about-principles-grid,
  .integ-principles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: clamp(24px, 3vw, 48px) !important;
    min-height: 0 !important;
  }
  .inst-break-col,
  .about-principle,
  .integ-principle {
    grid-area: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 0 clamp(16px, 2vw, 32px) !important;
    border-left: 1px solid rgba(223, 183, 93, .4) !important;
    border-top: 0 !important;
    text-align: left !important;
  }
  .inst-break-col:first-child,
  .about-principle:first-child,
  .integ-principle:first-child {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
  .inst-break-col:last-child,
  .about-principle:last-child,
  .integ-principle:last-child {
    padding-right: 0 !important;
  }
}

@media (max-width: 767px) {
  /* Hero Carousel Mobile (ES-025): remove setas e habilita pan-y para rolagem fluida */
  .hero-carousel { touch-action: pan-y; }
  .car-arrow { display: none !important; }

  .inst-break,
  .about-principles,
  .integ-principles {
    padding: clamp(28px, 6vw, 36px) 0;
  }
  .inst-break-grid,
  .about-principles-grid,
  .integ-principles-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 20px !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .inst-break-col,
  .about-principle,
  .integ-principle {
    grid-area: 1 / 1 / 2 / 2 !important;
    padding: 0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    text-align: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    transition: opacity 0.42s ease, transform 0.42s ease !important;
    will-change: opacity, transform;
  }
  .inst-break-col.is-active,
  .about-principle.is-active,
  .integ-principle.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    position: relative !important;
    z-index: 1 !important;
  }
  .inst-break-col h3,
  .about-principle h3,
  .integ-principle h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
  }
  .inst-break-col p,
  .about-principle p,
  .integ-principle p {
    color: #c7cedb;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 44ch;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inst-break-col,
  .about-principle,
  .integ-principle {
    transition: none !important;
    transform: none !important;
  }
}

/* Centralizada, câmera fechada no emblema; camada preta uniforme (~75%) — a foto vira pano de
   fundo discreto, não o elemento principal. */
.intro-cine { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: clamp(580px, 44vw, 630px); background: #08090B; }
.intro-cine-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1); animation: cineZoomIn 14s ease-out forwards; }
@keyframes cineZoomIn { from { transform: scale(1); } to { transform: scale(1.025); } }
.intro-cine-shade { position: absolute; inset: 0; background: rgba(8, 11, 19, .75); }
.intro-cine-content { position: relative; z-index: 2; max-width: 900px; padding: 48px clamp(24px, 5vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.intro-cine-content .eyebrow { color: var(--gold); margin-bottom: 20px; }
.intro-cine-content h2 { color: #fff; font-size: clamp(2.4rem, 3.6vw, 3.375rem); font-weight: 800; line-height: 1.16; letter-spacing: -.03em; margin-bottom: 26px; text-wrap: balance; }
.intro-cine-content p { color: #dde3ee; line-height: 1.75; font-size: 1.06rem; margin: 0 0 28px; max-width: 680px; }
.intro-cine-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; padding-bottom: 12px; }
.intro-cine-link span { color: var(--gold); transition: transform .25s; }
.intro-cine-link::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 34px; height: 2px; background: var(--gold); transform: translateX(-50%); transition: width .35s cubic-bezier(0.16, 1, 0.3, 1); }
.intro-cine-link:hover::after, .intro-cine-link:focus-visible::after { width: 100%; }
.intro-cine-link:hover span, .intro-cine-link:focus-visible span { transform: translateX(4px); }
.intro-cine-link:hover, .intro-cine-link:focus-visible { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .intro-cine-link span, .intro-cine-link::after { transition: none; } .intro-cine-img { animation: none; transform: none; } }

/* Seção 03 — três diferenciais (faixa preta institucional, continuação natural da apresentação) */
.differentials { background: #08090B; color: #fff; padding: clamp(56px, 6vw, 88px) 0; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.diff { padding: 8px clamp(24px, 3.5vw, 56px); border-left: 1px solid #ffffff1f; }
.diff:first-child { border-left: 0; padding-left: 0; }
.diff:last-child { padding-right: 0; }
.diff-icon { color: var(--gold); margin-bottom: 18px; display: block; }
.diff h3 { color: var(--blue-ui); font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.02em; margin-bottom: 14px; }
.diff p { color: #e6ebf3; line-height: 1.85; margin: 0; font-size: 1.04rem; }

/* Seção 05 — Segmentos: quatro painéis fotográficos expansíveis, tela inteira (substitui as
   antigas abas .seg-tabs/.tablist/.tab/.tabpanel/.tp-*, removidas — não usadas em nenhuma outra
   página nem no conteúdo arquivado). */
.seg-panels { display: flex; width: 100%; height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 920px; background: var(--black); }
.seg-panel {
  position: relative;
  overflow: hidden;
  flex: 1 1 var(--seg-w, 13%);
  min-width: 0;
  cursor: pointer;
  transition: flex-basis .58s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Recalculado para 5 painéis (antes 4: 57% + 3×14,3333%); ativo 48% + 4×13% = 100%. */
.seg-panel[data-active="true"] { --seg-w: 48%; }
.seg-panel:not([data-active="true"]) { --seg-w: 13%; }
.seg-panel:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, .16);
  z-index: 2;
}
.seg-panel-trigger { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; }
.seg-panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* Zoom cinematográfico muito discreto, só no painel ativo (um por vez, nunca todos). */
.seg-panel[data-active="true"] .seg-panel-img { animation: segBreathe 16s ease-in-out infinite alternate; }
@keyframes segBreathe { from { transform: scale(1); } to { transform: scale(1.025); } }
.seg-panel-shade {
  position: absolute; inset: 0; z-index: 1;
  /* ~35% de escurecimento, quase uniforme, levemente mais forte embaixo (onde fica o nome) */
  background: linear-gradient(180deg, rgba(8, 11, 19, .32) 0%, rgba(8, 11, 19, .35) 55%, rgba(8, 11, 19, .48) 100%);
  transition: background .5s ease;
}
.seg-panel[data-active="true"] .seg-panel-shade {
  /* Mais intenso na região esquerda/inferior (onde fica o texto), suave no canto oposto */
  background:
    linear-gradient(0deg, rgba(8, 11, 19, .9) 0%, rgba(8, 11, 19, .45) 42%, rgba(8, 11, 19, .08) 72%, rgba(8, 11, 19, 0) 100%),
    linear-gradient(100deg, rgba(8, 11, 19, .62) 0%, rgba(8, 11, 19, .22) 40%, rgba(8, 11, 19, 0) 68%);
}
/* Agronegócio: céu muito claro — reforço adicional sobre a imagem (fotografia não é alterada) */
.seg-panel[data-seg="agronegocio"] .seg-panel-shade { background: rgba(8, 11, 19, .4); }
.seg-panel[data-seg="agronegocio"][data-active="true"] .seg-panel-shade {
  background:
    linear-gradient(0deg, rgba(8, 11, 19, .92) 0%, rgba(8, 11, 19, .55) 42%, rgba(8, 11, 19, .18) 72%, rgba(8, 11, 19, .06) 100%),
    linear-gradient(100deg, rgba(8, 11, 19, .68) 0%, rgba(8, 11, 19, .3) 40%, rgba(8, 11, 19, .06) 68%);
}

/* Estado compacto: nome e numeração (sem marcador — a numeração é o elemento principal) */
.seg-panel-compact {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 16px; padding: 0 0 36px;
  opacity: 1; transition: opacity .4s ease;
}
.seg-panel[data-active="true"] .seg-panel-compact { opacity: 0; }
.seg-panel-num { color: var(--gold); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; line-height: 1; }
.seg-panel-name { color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; writing-mode: vertical-rl; text-orientation: mixed; white-space: nowrap; }

/* Estado expandido: identificação, título, texto e link, no canto inferior esquerdo */
.seg-panel-detail {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 0 clamp(32px, 4.5vw, 64px) clamp(40px, 5.5vw, 64px);
  max-width: 600px;
  pointer-events: none;
}
.seg-panel[data-active="true"] .seg-panel-detail { pointer-events: auto; }
/* Revelação progressiva: cada filho (identificação, título, descrição, lista, link) entra com
   um pequeno atraso em relação ao anterior, em vez do bloco inteiro surgir de uma vez. */
.seg-panel-detail > * { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.seg-panel[data-active="true"] .seg-panel-detail > * { opacity: 1; transform: translateY(0); }
.seg-panel[data-active="true"] .seg-panel-detail > *:nth-child(1) { transition-delay: .1s; }
.seg-panel[data-active="true"] .seg-panel-detail > *:nth-child(2) { transition-delay: .16s; }
.seg-panel[data-active="true"] .seg-panel-detail > *:nth-child(3) { transition-delay: .22s; }
.seg-panel[data-active="true"] .seg-panel-detail > *:nth-child(4) { transition-delay: .28s; }
.seg-panel[data-active="true"] .seg-panel-detail > *:nth-child(5) { transition-delay: .34s; }
.seg-panel-detail .eyebrow { color: var(--gold); }
.seg-panel-detail h3 { color: #fff; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 18px; }
.seg-panel-detail p { color: #dde3ee; line-height: 1.75; margin: 0 0 22px; font-size: 1.1rem; text-wrap: pretty; }
.seg-detail-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.seg-detail-list li { position: relative; padding-left: 20px; color: #c7cedb; font-size: 1rem; }
.seg-detail-list li::before { content: ''; position: absolute; left: 0; top: .65em; width: 7px; height: 1px; background: var(--gold); }
.seg-detail-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.seg-detail-link span { color: var(--gold); transition: transform .25s; }
.seg-detail-link:hover span, .seg-detail-link:focus-visible span { transform: translateX(4px); }
.seg-detail-link:hover, .seg-detail-link:focus-visible { color: var(--gold); }
.seg-dots { display: none; }

@media (prefers-reduced-motion: reduce) {
  .seg-panel, .seg-panel-shade, .seg-panel-compact, .seg-panel-detail, .seg-panel-detail > *, .seg-detail-link span, .seg-panel-img, .seg-dot { transition: none !important; animation: none !important; }
}

@media (max-width: 960px) {
  .intro-cine { min-height: clamp(420px, 92vw, 560px); }
  .intro-cine-content { max-width: none; padding: 40px 24px; }
  .intro-cine-content h2 { max-width: none; font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .diff-grid { grid-template-columns: 1fr; }
  .diff, .diff:first-child, .diff:last-child { padding: 28px 0; border-left: 0; border-top: 1px solid #ffffff1f; }
  .diff:first-child { border-top: 0; padding-top: 0; }

  /* Segmentos: painéis verticais viram faixas horizontais empilhadas, com rolagem natural (tablets 768-960px) */
  .seg-panels { flex-direction: column; height: auto; min-height: 0; max-height: none; }
  .seg-panel { flex: 0 0 var(--seg-h, 120px); width: 100%; transition: flex-basis .55s cubic-bezier(0.16, 1, 0.3, 1); }
  .seg-panel[data-active="true"] { --seg-h: 76svh; }
  .seg-panel:not([data-active="true"]) { --seg-h: 120px; }
  .seg-panel:not(:last-child)::before { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 1px; }
  .seg-panel-compact { flex-direction: row; justify-content: flex-start; align-items: center; padding: 0 20px; gap: 14px; }
  .seg-panel-num { font-size: 1.3rem; }
  .seg-panel-name { writing-mode: horizontal-tb; font-size: 1.05rem; }
  .seg-panel-detail { max-width: none; padding: 0 28px clamp(28px, 6vw, 44px); }
  .seg-panel-detail h3 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); }
  .seg-panel-detail p { font-size: 1.02rem; }
}
@media (max-width: 600px) {
  .seg-panel-compact { padding: 0 16px; gap: 10px; }
  .seg-panel-num { font-size: 1.15rem; }
  .seg-panel-name { font-size: 1rem; }
}

/* Carrossel de Segmentos de Atuação — Exclusivo Mobile (ES-027) */
@media (max-width: 767px) {
  .seg-panels-section {
    background: #08090B;
    position: relative;
    padding-bottom: 22px;
    overflow: hidden;
  }
  .seg-panels {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(520px, 80svh, 620px);
    min-height: 500px;
    max-height: none;
    overflow: hidden;
    background: #08090B;
  }
  .seg-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    flex: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
    z-index: 1;
  }
  .seg-panel[data-active="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
  }
  .seg-panel:not(:last-child)::before {
    display: none !important;
  }
  .seg-panel-trigger {
    display: none !important;
  }
  .seg-panel-compact {
    display: none !important;
  }
  .seg-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .seg-panel:nth-child(1) .seg-panel-img { object-position: 50% 30%; }
  .seg-panel:nth-child(2) .seg-panel-img { object-position: 50% 25%; }
  .seg-panel:nth-child(3) .seg-panel-img { object-position: 66% 48%; }
  .seg-panel:nth-child(4) .seg-panel-img { object-position: 60% 35%; }
  .seg-panel:nth-child(5) .seg-panel-img { object-position: 35% 28%; }

  .seg-panel-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(8, 11, 19, 0.15) 0%,
      rgba(8, 11, 19, 0.4) 38%,
      rgba(8, 11, 19, 0.88) 68%,
      rgba(8, 11, 19, 0.98) 100%
    );
  }
  .seg-panel[data-seg="agronegocio"] .seg-panel-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 11, 19, 0.2) 0%,
      rgba(8, 11, 19, 0.48) 38%,
      rgba(8, 11, 19, 0.9) 68%,
      rgba(8, 11, 19, 0.98) 100%
    );
  }

  .seg-panel-detail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    padding: 0 20px 22px;
    max-width: none;
    pointer-events: auto;
  }
  .seg-panel-detail .eyebrow {
    color: var(--gold);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 6px;
    font-weight: 700;
  }
  .seg-panel-detail h3 {
    color: #ffffff;
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    line-height: 1.25;
  }
  .seg-panel-detail p {
    color: #dde3ee;
    line-height: 1.55;
    margin: 0 0 14px;
    font-size: clamp(0.88rem, 2.9vw, 0.96rem);
  }
  .seg-detail-list {
    display: grid;
    gap: 7px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
  }
  .seg-detail-list li {
    position: relative;
    padding-left: 18px;
    color: #c7cedb;
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .seg-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 1px;
    background: var(--gold);
  }
  .seg-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #08090B;
    background: var(--gold);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: var(--radius);
    min-height: 44px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
  }
  .seg-detail-link span {
    color: #08090B;
    transition: transform 0.2s ease;
  }
  .seg-detail-link:hover,
  .seg-detail-link:active {
    background: #e8c676;
    color: #08090B;
  }
  .seg-detail-link:hover span {
    transform: translateX(4px);
  }

  .seg-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 0 0;
    margin: 0;
  }
  .seg-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  }
  .seg-dot.is-active,
  .seg-dot[aria-selected="true"] {
    width: 26px;
    background: var(--gold);
  }
  .seg-dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
}

/* ==========================================================================
   Seção de Soluções Financeiras — explorador fotográfico (fundo preto
   institucional, navegação editorial à esquerda, fotografia grande à direita)
   ========================================================================== */
.sol-section {
  background: #08090B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sol-eyebrow {
  color: var(--gold);
  margin-bottom: 10px;
}

.sol-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #ffffff;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
  text-wrap: balance;
}

.sol-intro {
  color: #b8c2d3;
  font-size: .98rem;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* Composição: duas colunas contínuas da própria seção, sem faixas pretas acima/abaixo da foto —
   a fotografia (.sol-stage) começa no topo e termina na base de .sol-explorer, que por sua vez
   ocupa a altura de .sol-intro-col. Altura pensada para caber, sem rolagem, em notebook HD
   (1366×768, descontando o header) — não mais presa a 100svh inteiro, que deixava a seção alta
   demais em monitores maiores; cresce apenas se o conteúdo da coluna esquerda realmente precisar. */
.sol-explorer { display: flex; align-items: stretch; width: 100%; min-height: clamp(550px, calc(100svh - var(--header-h) + 6px), 710px); }

.sol-intro-col {
  flex: 0 1 35%; min-width: 300px; max-width: 460px; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: 32px clamp(24px, 3vw, 40px) 32px max(24px, calc((100vw - 1180px) / 2));
}
.sol-header { text-align: left; margin: 0; }
.sol-nav {
  display: flex; flex-direction: column; gap: 2px;
}
.sol-nav-item {
  display: flex; align-items: baseline; gap: 18px;
  border: 0; border-left: 3px solid transparent;
  background: none; cursor: pointer; text-align: left;
  padding: 13px 18px;
  transition: background-color .25s ease, border-color .25s ease;
}
.sol-nav-item:hover { background: rgba(255, 255, 255, .04); }
.sol-nav-item[aria-current="true"] { border-left-color: var(--gold); background: rgba(255, 255, 255, .055); }
.sol-nav-num { color: #99a2b3; font-weight: 800; font-size: .95rem; letter-spacing: .03em; flex-shrink: 0; min-width: 28px; }
.sol-nav-item[aria-current="true"] .sol-nav-num { color: var(--gold); }
.sol-nav-name { color: #fff; font-weight: 700; font-size: 1.08rem; letter-spacing: -.005em; }
.sol-nav-item:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Fotografia imersiva: preenche toda a área restante, sem moldura, cartão ou borda arredondada */
.sol-stage { flex: 1 1 auto; min-width: 0; position: relative; overflow: hidden; }
.sol-stage-live { position: absolute; inset: 0; opacity: 1; transform: translateY(0); transition: opacity .15s ease, transform .15s ease; }
.sol-stage-live.is-out { opacity: 0; transform: translateY(6px); }
.sol-stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.sol-stage-shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 19, .88) 0%, rgba(8, 11, 19, .45) 40%, rgba(8, 11, 19, .08) 70%, rgba(8, 11, 19, 0) 100%);
}
.sol-stage-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(32px, 4.5vw, 64px); max-width: 600px; }
.sol-stage-tag { color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.sol-stage-content h3 { color: #fff; font-size: clamp(2.2rem, 2.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 16px; }
.sol-stage-content p { color: #dde3ee; font-size: 1.1rem; line-height: 1.72; margin: 0 0 22px; text-wrap: pretty; }
.sol-stage-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.sol-stage-link span { color: var(--gold); transition: transform .25s; }
.sol-stage-link:hover span, .sol-stage-link:focus-visible span { transform: translateX(4px); }
.sol-stage-link:hover, .sol-stage-link:focus-visible { color: var(--gold); }

/* Indicadores de soluções: ocultos por padrão no desktop para preservação integral */
.sol-dots { display: none; }

@media (prefers-reduced-motion: reduce) {
  .sol-stage-live { transition: none !important; transform: none !important; }
  .sol-stage-link span { transition: none !important; }
  .sol-dot { transition: none !important; }
}

/* ==========================================================================
   Responsivo: Mobile e Tablet (até 1024px)
   Carrossel cinematográfico, navegação por swipe, indicadores circulares.
   Preserva integralmente o desktop e notebook (1025px ou mais).
   ========================================================================== */
@media (max-width: 1024px) {
  .sol-explorer {
    flex-direction: column;
    min-height: 0;
  }
  .sol-intro-col {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    gap: 0;
    padding: 44px 28px 22px;
  }
  /* Remove a faixa horizontal com rolagem em telas móveis e tablets */
  .sol-nav {
    display: none !important;
  }
  /* Cartão visual ampliado com fotografia em destaque */
  .sol-stage {
    position: relative;
    width: 100%;
    height: clamp(520px, 72vh, 660px);
    overflow: hidden;
    touch-action: pan-y;
  }
  .sol-stage-img {
    object-position: var(--pos-m, var(--pos, 50% 50%));
  }
  /* Gradiente escuro suave na região inferior, preservando os rostos desobstruídos */
  .sol-stage-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 9, 11, 0) 0%,
      rgba(8, 9, 11, 0.08) 28%,
      rgba(8, 9, 11, 0.52) 54%,
      rgba(8, 9, 11, 0.88) 76%,
      rgba(8, 9, 11, 0.98) 94%,
      #08090B 100%
    );
    pointer-events: none;
  }
  .sol-stage-content {
    padding: clamp(24px, 5vw, 44px) clamp(24px, 5vw, 40px) clamp(28px, 5vw, 44px);
    max-width: 100%;
    box-sizing: border-box;
  }
  .sol-stage-tag {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    margin: 0 0 10px;
    display: inline-block;
  }
  .sol-stage-content h3 {
    font-size: clamp(1.85rem, 5vw, 2.5rem);
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    line-height: 1.15;
  }
  .sol-stage-content p {
    font-size: clamp(0.98rem, 3.2vw, 1.08rem);
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 52ch;
  }
  .sol-stage-link {
    font-size: 1.02rem;
  }
  /* Indicadores inferiores circulares sincronizados */
  .sol-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 36px;
    background: #08090B;
  }
  .sol-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .sol-dot::after {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -10px;
    right: -10px;
  }
  .sol-dot.is-active,
  .sol-dot[aria-selected="true"] {
    background: var(--gold);
    transform: scale(1.3);
  }
  .sol-dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }
}

@media (max-width: 600px) {
  .sol-intro-col {
    padding: 36px 18px 20px;
  }
  .sol-stage {
    height: clamp(500px, 80vh, 620px);
  }
  .sol-stage-content {
    padding: 24px 18px 28px;
  }
  .sol-stage-content h3 {
    font-size: clamp(1.68rem, 6.8vw, 2.15rem);
    margin: 0 0 10px;
  }
  .sol-stage-content p {
    font-size: 0.98rem;
    line-height: 1.54;
    margin: 0 0 18px;
  }
  .sol-dots {
    gap: 9px;
    padding: 16px 16px 30px;
  }
  .sol-dot {
    width: 9px;
    height: 9px;
  }
}

/* 13. Animações de surgimento e dinamismo (Referência Tauri) ----------------- */

/* Páginas internas: entrada sequencial dos elementos do hero */
.page-hero .breadcrumb { animation: heroElemIn .75s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: .06s; }
.page-hero .eyebrow { animation: heroElemIn .75s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: .12s; }
.page-hero h1 { animation: heroElemIn .85s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: .20s; }
.page-hero .lead { animation: heroElemIn .85s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: .30s; }
.page-hero .actions { animation: heroElemIn .85s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: .40s; }

/* Animações de surgimento ao rolar a página (Scroll Reveal) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s cubic-bezier(0.16, 1, 0.3, 1), transform .85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }
[data-reveal-delay="7"] { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  .sol-card,
  .sol-card-icon,
  .sol-card-link,
  .sol-link-arrow,
  [data-reveal] {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .sol-card:hover {
    transform: none !important;
  }
  .sol-card:hover .sol-link-arrow {
    transform: none !important;
  }
  .slide-content .slide-title,
  .slide-content .lead,
  .slide-content .slide-cta,
  .page-hero .breadcrumb,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero .lead,
  .page-hero .actions,
  .slide-img,
  .seg-panel-img {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* 14. Botão flutuante do WhatsApp (componente compartilhado, gerado pelo build com -Whatsapp) */
.wa-fab {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(8, 11, 19, .22);
  transition: background .2s, box-shadow .2s;
}
.wa-fab:hover { background: #1fb855; box-shadow: 0 6px 18px rgba(8, 11, 19, .28); }
.wa-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* Estado de desenvolvimento sem número oficial: visível para conferência visual, porém inerte
   (sem link, sem cursor de ação, sem hover de interação — só o ícone, para avaliação). */
.wa-fab-disabled { cursor: default; opacity: .62; }
.wa-fab-disabled:hover { background: #25d366; box-shadow: 0 4px 14px rgba(8, 11, 19, .22); }
.wa-fab svg { width: 28px; height: 28px; display: block; }
@media (max-width: 600px) {
  .wa-fab {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 46px;
    height: 46px;
  }
  .wa-fab svg { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }

/* 15. Páginas de Solução reformuladas (referência Tauri: as 7 páginas de Soluções).
   Tudo nesta seção vive dentro de .sol-page (envoltório exclusivo dessas 7 páginas, aplicado no
   build) ou em classes sol-*/feature-card usadas somente ali — nenhuma seção, cor ou componente
   compartilhado por outras páginas foi alterado. Uma única matiz dourada é reutilizada no
   acabamento (a mesma do token --gold, em opacidade reduzida nas linhas finas). */
.sol-page { --hairline-gold: rgba(223, 183, 93, .4); }

/* Separação entre seções: principalmente por mudança de fundo (branco / cinza quente), não por
   linha — escopado a estas 7 páginas, não altera o --offwhite usado no resto do site. */
.sol-page .section.light { background: #efe8da; }

/* Moldura fotográfica: mesma técnica do .photo-frame institucional, com a matiz dourada única
   desta família (escopada — o .photo-frame de outras páginas, como Quem Somos, não é afetado). */
.sol-page .photo-frame::before { border-color: var(--hairline-gold); }

/* Jornada operacional vertical (fluxo da operação — fundo escuro, comum às 7 páginas).
   Estrutura: .sol-journey é UM único grid de 2 colunas (número / texto); cada <li> usa
   display:contents, promovendo seus dois filhos a itens diretos desse grid — por isso todos os
   números caem exatamente na mesma coluna (mesmo eixo vertical), sem cálculo de margens por
   etapa. A linha é um único pseudo-elemento (::before) ocupando toda a coluna do número, do
   início da 1ª etapa ao fim da última (grid-row: 1 / -1) — contínua, nunca ultrapassa a jornada,
   e não depende da altura do texto de nenhuma etapa. */
.sol-journey {
  position: relative;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 28px;
  row-gap: 40px;
}
.sol-journey-step { display: contents; }
.sol-journey::before {
  content: '';
  grid-column: 1;
  grid-row: 1 / -1;
  justify-self: center;
  width: 1px;
  background: rgba(223, 183, 93, .35);
}
.sol-journey-num {
  grid-column: 1;
  justify-self: center;
  align-self: start;
  position: relative;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}
.sol-journey-text { grid-column: 2; }
.sol-journey-text h3 { color: #fff; font-size: 1.15rem; margin: 0 0 8px; }
.sol-journey-text p { color: #b7c0d1; margin: 0; font-size: .95rem; line-height: 1.65; }

/* Grade de destaques em 3 colunas (estilo "Vantagens"/"Atenção" — Antecipação, CCB, Conta Escrow…) */
.sol-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(23, 32, 51, .05);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(23, 32, 51, .1); }
.feature-icon { color: var(--gold-text); }
.feature-tag { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.feature-card p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.6; }

@media (max-width: 960px) {
  .sol-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feature-card { padding: 24px 22px; }
  .sol-journey { grid-template-columns: 44px 1fr; column-gap: 18px; row-gap: 32px; }
  .sol-journey-num { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card { transition: none; }
}

/* 14. Soluções — padrão editorial premium (página-modelo: Antecipação de Recebíveis) -------
   Todas as regras usam o prefixo .sx- e só são geradas pela página-modelo; não afetam a homepage. */
.sx-page .page-hero { background: linear-gradient(125deg, var(--black), var(--graphite)); }
.sx-page .cta-band:not(.has-photo) { background: linear-gradient(135deg, var(--black), var(--graphite)); border-top: 1px solid rgba(223,183,93,.3); }
.sx-page .btn.primary { background: transparent; border: 1px solid var(--gold); color: var(--gold); transition: background-color .2s ease; }
.sx-page .btn.primary:hover { background: rgba(223,183,93,.12); filter: none; }
.sx-hero { min-height: clamp(440px, 46vw, 580px); }
.sx-hero .bg-img { transform-origin: 75% 50%; animation: sxZoom 18s cubic-bezier(.2,.6,.2,1) both; }
.sx-hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 0; background: linear-gradient(90deg, var(--gold), rgba(223,183,93,0) 72%); transform-origin: left; animation: sxLine 1.6s cubic-bezier(.16,1,.3,1) .5s both; }
.sx-hero .lead { max-width: 560px; }
@keyframes sxZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes sxLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sx-rule { display: block; width: 64px; height: 1px; margin: 0 0 28px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.16,1,.3,1) .35s; }
.is-revealed > .sx-rule, .is-revealed .sx-rule { transform: scaleX(1); }

/* Entendendo a solução: fotografia em sangria total + texto editorial. Preto profundo (era
   offwhite) — identidade coerente com o restante do site, sem fundos claros. */
.sx-editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #080B13; min-height: clamp(480px, 46vw, 640px); overflow: hidden; }
.sx-editorial-media { position: relative; margin: 0; overflow: hidden; background: #0b1220; }
.sx-editorial-media[data-reveal] { transform: none; }
.sx-editorial-media .sx-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.07); transition: transform 2.2s cubic-bezier(.16,1,.3,1); }
.sx-editorial-media.is-revealed .sx-photo { transform: scale(1); }
.sx-editorial-text { display: flex; flex-direction: column; justify-content: center; max-width: 620px; padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px); color: #dfe5ef; }
.sx-editorial-text .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; }
.sx-editorial-text h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin-bottom: 22px; }
.sx-editorial-text h2 em { color: var(--gold); }
.sx-editorial-text p { color: #b8c2d3; line-height: 1.85; font-size: 1.04rem; }
.sx-editorial.reverse .sx-editorial-media { order: 2; }
.sx-editorial.reverse .sx-editorial-text { order: 1; }
.sx-editorial + .sx-section { border-top: 1px solid rgba(223,183,93,.22); }

/* Seções escuras com divisórias douradas finas */
.sx-section { padding: clamp(64px, 8vw, 112px) 0; color: #fff; }
.sx-section + .sx-section { border-top: 1px solid rgba(223,183,93,.22); }
.sx-section h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.sx-benefits { background: var(--black); }
.sx-benefits-grid { display: grid; grid-template-columns: 1fr 1fr; }
.sx-col { padding: 0 clamp(24px, 5vw, 72px); }
.sx-col:first-child { padding-left: 0; }
.sx-col:last-child { padding-right: 0; border-left: 1px solid rgba(223,183,93,.35); }
.sx-col-accent { background: rgba(223,183,93,.035); border: 1px solid rgba(223,183,93,.25) !important; padding: clamp(28px, 4vw, 44px) !important; border-radius: 2px; }
.sx-list { list-style: none; margin: 32px 0 0; padding: 0; }
.sx-list li { padding: 20px 0; border-top: 1px solid #ffffff1f; color: #dfe5ef; line-height: 1.65; font-size: 1.04rem; }
.sx-list li:last-child { border-bottom: 1px solid #ffffff1f; }

/* Como funciona: progressão horizontal numerada */
.sx-flow { background: var(--graphite); }
.sx-flow-intro { color: #b8c2d3; max-width: 560px; margin: 16px 0 0; }
.sx-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); margin: 56px 0 0; padding: 0; }
.sx-steps::before { content: ''; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(223,183,93,.15)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.16,1,.3,1) .25s; }
.sx-steps.is-revealed::before { transform: scaleX(1); }
.sx-step { position: relative; padding: 64px 32px 0 0; opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 1) * .18s + .3s); }
.sx-steps.is-revealed .sx-step { opacity: 1; transform: none; }
.sx-step-num { position: absolute; top: 10px; left: 0; padding-right: 16px; background: var(--graphite); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.sx-step h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.sx-step p { color: #b8c2d3; margin: 0; line-height: 1.7; }
.sx-flow-cards { list-style: none; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding: 0; }
.sx-flow-card { position: relative; background: rgba(255,255,255,.015); border: 1px solid rgba(223,183,93,.2); padding: 32px 28px; border-radius: 2px; transition: border-color .3s; }
.sx-flow-card:hover { border-color: var(--gold); }
.sx-flow-card .sx-step-num { display: inline-block; position: static; background: none; color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; margin-bottom: 14px; }
.sx-flow-card h3 { color: #fff; font-size: 1.15rem; margin: 0 0 10px; }
.sx-flow-card p { color: #b8c2d3; margin: 0; line-height: 1.7; font-size: .98rem; }

/* FAQ escuro */
.sx-faq { background: var(--black); }
.sx-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.sx-faq-list details { border-top: 1px solid #ffffff22; }
.sx-faq-list details:last-child { border-bottom: 1px solid #ffffff22; }
.sx-faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; transition: color .25s; }
.sx-faq-list summary::-webkit-details-marker { display: none; }
.sx-faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; color: var(--gold); font-size: 1.6rem; line-height: 1; transform: translateY(-50%); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.sx-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sx-faq-list summary:hover { color: var(--gold); }
.sx-faq-list summary:focus,
.sx-faq-list summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sx-faq-list p { margin: 0; padding: 0 44px 26px 0; color: #b8c2d3; line-height: 1.8; }

/* Conteúdo complementar */
.sx-notes { background: var(--graphite); }
.sx-notes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sx-related { list-style: none; margin: 28px 0 0; padding: 0; }
.sx-related li { border-top: 1px solid #ffffff1f; }
.sx-related li:last-child { border-bottom: 1px solid #ffffff1f; }
.sx-related a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--font-head); font-weight: 700; color: #fff; transition: color .25s, padding-left .35s cubic-bezier(.16,1,.3,1); }
.sx-related a::after { content: '→'; color: var(--gold); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.sx-related a:hover { color: var(--gold); padding-left: 8px; }
.sx-related a:hover::after { transform: translateX(6px); }
.sx-notice { border-left: 1px solid var(--gold); padding: 4px 0 4px 28px; color: #b4bfd0; line-height: 1.8; font-size: .98rem; }
.sx-notice strong { color: #fff; }

/* ==========================================================================
   Antecipação de Recebíveis — composição exclusiva desta solução (escopada sob
   .sx-ar). As outras 6 soluções continuam usando .sx-editorial / .sx-benefits /
   .sx-steps / .sx-flow-cards / .sx-related, inalterados.
   ========================================================================== */

/* Hero — proporções e contraste reforçados (mesma foto e conteúdo). Degradê vertical (legibilidade
   do título) + um segundo véu discreto do lado direito, onde a foto não tem texto sobre ela.
   Fundo base (visível nas bordas, antes do carregamento da foto) corrigido para preto neutro —
   a regra global .sx-page .page-hero usa um grafite com leve matiz azulado; aqui, escopado só a
   esta página, usamos os tokens pretos aprovados (#08090B / #0D0D10). */
.sx-ar .page-hero.has-photo { background: linear-gradient(125deg, #08090B, #0D0D10); }
/* Ocupa toda a altura visível abaixo do header na primeira tela (mesmo princípio do hero da
   homepage: min(100svh - header, teto) + piso mínimo, sem altura fixa em px por dispositivo). */
.sx-ar .sx-hero { height: min(calc(100svh - var(--header-h)), 900px); min-height: 460px; }
.sx-ar .sx-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.sx-ar .sx-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8,9,11,.74) 0%, rgba(8,9,11,.4) 38%, rgba(8,9,11,.22) 100%),
    linear-gradient(90deg, rgba(8,9,11,.1) 0%, rgba(8,9,11,.16) 45%, rgba(8,9,11,.4) 100%);
}

/* Explicação da solução — cena cinematográfica em largura total, texto integrado com propósito
   narrativo (substitui a composição split 50/50 convencional). */
.sx-ar-cine { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(480px, 46vw, 620px); background: #08090B; }
.sx-ar-cine-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.sx-ar-cine-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.96) 0%, rgba(8,9,11,.85) 34%, rgba(8,9,11,.42) 62%, rgba(8,9,11,.12) 85%, rgba(8,9,11,0) 100%); }
.sx-ar-cine { min-height: clamp(400px, 38vw, 500px); }
.sx-ar-cine-content { position: relative; z-index: 2; max-width: 600px; padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 72px); }
.sx-ar-cine-content .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; }
.sx-ar-cine-content h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 22px; }
.sx-ar-cine-content h2 em { color: var(--gold); }
.sx-ar-cine-content p { color: #dde3ee; line-height: 1.85; font-size: 1.05rem; margin: 0 0 16px; }
.sx-ar-cine-content p:last-child { margin-bottom: 0; }

/* Aplicações + Pontos de atenção + Fluxo — composição editorial contínua, uma única seção
   (antes eram duas faixas independentes), sem cards, tabelas ou molduras. Paleta exclusiva:
   preto principal #08090B. */
.sx-ar-combo { background: #08090B; padding: clamp(56px, 6vw, 80px) 0; }
.sx-ar-combo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 100px); align-items: start; }
.sx-ar-combo-main .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; }
.sx-ar-combo-main h2 { color: #fff; font-size: clamp(1.8rem, 2.9vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin: 10px 0 22px; }
.sx-ar-combo-main h2 em { color: var(--gold); }
.sx-ar-apps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sx-ar-apps-list li { color: #dfe5ef; line-height: 1.72; font-size: 1.02rem; }
/* Pontos de atenção: conteúdo técnico complementar, mesma coluna, tipografia mais discreta */
.sx-ar-combo-points { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.sx-ar-combo-label { color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; margin: 0 0 16px; }
.sx-ar-points-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sx-ar-points-list li { color: #b0bac8; line-height: 1.6; font-size: .94rem; }

/* Fluxo da operação — coluna direita, mesma seção, transição natural (sem novo cabeçalho de
   seção nem fundo diferente); leitura editorial vertical com números expressivos. */
.sx-ar-combo-flow { border-left: 1px solid rgba(255,255,255,.1); padding-left: clamp(32px, 4.5vw, 56px); }
.sx-ar-combo-flow > .sx-ar-combo-label { margin-bottom: 10px; }
.sx-ar-combo-flow h2 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; }
.sx-ar-combo-flow h2 em { color: var(--gold); }
.sx-flow-intro { color: #94a0b3; font-size: .92rem; margin: 0 0 20px; }
.sx-ar-flow-list { list-style: none; margin: 0; padding: 0; display: grid; }
.sx-ar-flow-step { display: flex; align-items: baseline; gap: clamp(18px, 2.6vw, 28px); padding: 16px 0; }
.sx-ar-flow-step:first-child { padding-top: 0; }
.sx-ar-flow-step + .sx-ar-flow-step { border-top: 1px solid rgba(223,183,93,.14); }
.sx-ar-flow-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: rgba(223,183,93,.7); letter-spacing: -.02em; line-height: 1; flex: none; }
.sx-ar-flow-step h3 { color: #fff; font-size: 1.06rem; margin: 0 0 4px; font-weight: 700; }
.sx-ar-flow-step p { color: #b8c2d3; margin: 0; line-height: 1.6; font-size: .93rem; }

/* Soluções relacionadas + Dúvidas frequentes — única seção (antes eram duas faixas separadas):
   coluna esquerda com navegação editorial discreta, coluna direita com o acordeão de FAQ.
   Grafite neutro, terceiro tom da variação sutil entre seções. */
.sx-ar-notes { background: #151518; padding: clamp(56px, 6vw, 80px) 0; }
.sx-ar-notes-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.sx-ar-notes-grid .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; }
.sx-ar-notes-grid h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 12px 0 24px; }
.sx-ar-notes-grid h2 em { color: var(--gold); }
.sx-ar-notes-related { border-right: 1px solid rgba(255,255,255,.1); padding-right: clamp(32px, 4vw, 56px); }
.sx-ar-related { display: flex; flex-direction: column; gap: 18px; }
.sx-ar-related a {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  padding-bottom: 2px; transition: background-size .3s cubic-bezier(.16,1,.3,1), color .25s, gap .3s;
}
.sx-ar-related a span { color: var(--gold); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.sx-ar-related a:hover,
.sx-ar-related a:focus-visible { color: var(--gold); background-size: 100% 1px; gap: 12px; }
.sx-ar-related a:hover span,
.sx-ar-related a:focus-visible span { transform: translateX(3px); }
.sx-ar-notes-notice { margin: clamp(40px, 5vw, 56px) 0 0; }

/* FAQ — acordeão animado (botão + painel), transição suave de altura/opacidade em vez do
   comportamento abrupto do <details> nativo. JS isolado em script.js (gated a esta página). */
.sx-ar-faq-list { margin: 0; }
.sx-ar-faq-item { border-top: 1px solid rgba(255,255,255,.1); }
.sx-ar-faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.sx-ar-faq-heading { margin: 0; }
.sx-ar-faq-trigger {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; width: 100%; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; transition: color .25s;
}
.sx-ar-faq-trigger:hover { color: var(--gold); }
.sx-ar-faq-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sx-ar-faq-icon { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.3rem; font-weight: 300; line-height: 1; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.sx-ar-faq-trigger[aria-expanded="true"] .sx-ar-faq-icon { transform: translateY(-50%) rotate(45deg); }
.sx-ar-faq-panel { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.22,.61,.36,1), opacity .3s ease .04s; }
.sx-ar-faq-panel p { margin: 0; padding: 0 40px 24px 0; color: #b8c2d3; line-height: 1.75; font-size: .98rem; }
@media (prefers-reduced-motion: reduce) {
  .sx-ar-faq-panel { transition: none; }
  .sx-ar-faq-icon { transition: none; }
}

/* Encerramento — composição horizontal compacta e arquitetônica: texto agrupado à esquerda com
   margens generosas, fotografia do edifício perceptível só na região direita (mask em degradê,
   não um banner inteiro), transição suave entre o preto e a foto. Sem molduras ou cartões. */
.sx-ar-cta {
  position: relative;
  overflow: hidden;
  min-height: clamp(400px, 34vw, 460px);
  display: flex;
  align-items: center;
  background: #08090B;
  border-top: 1px solid rgba(223,183,93,.22);
}
/* Fotografia como background cinematográfico único, 100% da seção (sem máscara dividindo a
   largura em preto+foto) — a separação visual perceptível vem só do degradê abaixo, mais
   intenso à esquerda (atrás do texto) e progressivamente transparente à direita. */
.sx-ar-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 38%;
  transform: scale(1.04);
  transition: transform 3.5s cubic-bezier(.16,1,.3,1);
}
.sx-ar-cta.is-revealed .sx-ar-cta-bg {
  transform: scale(1);
}
.sx-ar-cta-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,11,.95) 0%, rgba(8,9,11,.82) 30%, rgba(8,9,11,.5) 52%, rgba(8,9,11,.2) 74%, rgba(8,9,11,.08) 100%),
    linear-gradient(0deg, rgba(8,9,11,.3) 0%, rgba(8,9,11,0) 28%, rgba(8,9,11,0) 72%, rgba(8,9,11,.25) 100%);
}
.sx-ar-cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  max-width: 560px;
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
}
.sx-ar-cta-text {
  max-width: 100%;
}
.sx-ar-cta-text .eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.sx-ar-cta-text h2 {
  color: #fff;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.sx-ar-cta-text p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}
.sx-ar-cta-action {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .sx-ar-cine { min-height: clamp(380px, 90vw, 520px); align-items: flex-end; }
  .sx-ar-cine-shade { background: linear-gradient(0deg, rgba(8,11,19,.94) 0%, rgba(8,11,19,.8) 40%, rgba(8,11,19,.25) 75%, rgba(8,11,19,.05) 100%); }
  .sx-ar-cine-content { max-width: none; padding: 36px 24px; }
  .sx-ar-combo-grid { grid-template-columns: 1fr; gap: 40px; }
  .sx-ar-combo-flow { border-left: 0; padding-left: 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
  .sx-ar-flow-step { gap: 20px; padding: 18px 0; }
  .sx-ar-notes-grid { grid-template-columns: 1fr; gap: 40px; }
  .sx-ar-notes-related { border-right: 0; padding-right: 0; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .sx-ar-cta { min-height: clamp(380px, 86vw, 480px); align-items: flex-end; }
  .sx-ar-cta-bg { object-position: 50% 38%; }
  .sx-ar-cta-shade {
    background:
      linear-gradient(0deg, rgba(8,9,11,.95) 0%, rgba(8,9,11,.78) 42%, rgba(8,9,11,.25) 78%, rgba(8,9,11,.1) 100%),
      linear-gradient(90deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,.15) 100%);
  }
  .sx-ar-cta-content { max-width: none; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
}

/* Redesign Mobile do CTA Final das Soluções Financeiras (ES-029) */
@media (max-width: 767px) {
  .sx-ar-cta {
    min-height: clamp(420px, 82svh, 520px);
    display: flex;
    align-items: center;
    background: #08090B;
    position: relative;
    overflow: hidden;
  }
  .sx-ar-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
  }
  .sx-ar-cta-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 9, 11, 0.45) 0%,
      rgba(8, 9, 11, 0.78) 35%,
      rgba(8, 9, 11, 0.94) 72%,
      rgba(8, 9, 11, 0.98) 100%
    );
  }
  .sx-ar-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(48px, 12vw, 64px) clamp(20px, 5.5vw, 24px);
    margin-inline: 0;
  }
  .sx-ar-cta-text {
    width: 100%;
    max-width: 100%;
  }
  .sx-ar-cta-text .eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 10px;
    display: block;
  }
  .sx-ar-cta-text h2 {
    color: #ffffff;
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 12px;
  }
  .sx-ar-cta-text p {
    color: #cbd5e1;
    font-size: clamp(0.92rem, 3.2vw, 1.02rem);
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
  }
  .sx-ar-cta-action {
    width: 100%;
    margin-top: 6px;
  }
  .sx-ar-cta-action .btn.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    box-sizing: border-box;
    max-width: 100%;
    transition: background-color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
  }
  .sx-ar-cta-action .btn.primary span {
    color: var(--gold);
    transition: transform 0.2s ease;
  }
  .sx-ar-cta-action .btn.primary:hover,
  .sx-ar-cta-action .btn.primary:active {
    background: rgba(223, 183, 93, 0.12);
    color: var(--gold);
  }
  .sx-ar-cta-action .btn.primary:hover span,
  .sx-ar-cta-action .btn.primary:active span {
    transform: translate(2px, -2px);
  }
}

@media (max-width: 960px) {
  .sx-editorial { grid-template-columns: 1fr; }
  .sx-editorial.reverse .sx-editorial-media { order: 0; }
  .sx-editorial.reverse .sx-editorial-text { order: 0; }
  .sx-editorial-media { min-height: clamp(260px, 56vw, 400px); }
  .sx-editorial-text { max-width: none; }
  .sx-benefits-grid, .sx-faq-grid, .sx-notes-grid { grid-template-columns: 1fr; gap: 48px; }
  .sx-col, .sx-col:first-child, .sx-col:last-child { padding: 0; border-left: 0; }
  .sx-col:last-child { padding-top: 40px; border-top: 1px solid rgba(223,183,93,.35); }
  .sx-steps { grid-template-columns: 1fr; margin-top: 40px; }
  .sx-steps::before { display: none; }
  .sx-step { padding: 0 0 36px 32px; border-left: 1px solid rgba(223,183,93,.4); }
  .sx-step:last-child { padding-bottom: 0; }
  .sx-step-num { position: static; display: block; padding: 0; margin-bottom: 6px; background: none; }
  .sx-flow-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .sx-flow-card { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .sx-hero { min-height: var(--hero-h-mobile, 420px); }
  .sx-ar .sx-hero { height: auto; min-height: var(--hero-h-mobile, 420px); }
}
@media (prefers-reduced-motion: reduce) {
  .sx-hero .bg-img, .sx-hero::before { animation: none !important; }
  .sx-rule, .sx-steps::before, .sx-editorial-media .sx-photo { transform: none !important; transition: none !important; }
  .sx-step { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sx-flow-card { transition: none !important; }
  .sx-faq-list summary::after, .sx-related a, .sx-related a::after { transition: none !important; }
}

/* ==========================================================================
   Páginas reformuladas: Segmentos, Integridade, Carreiras, Contato.
   Cada família vive sob seu próprio wrapper (.segm-page / .integ-page /
   .career-page / .contact-page); nenhuma regra global (.page-hero, .cta-band,
   .btn.primary, .form, .demo-banner etc.) foi alterada — apenas sobrescrita,
   de forma escopada, dentro dessas quatro páginas. */
.segm-page .page-hero,
.integ-page .page-hero,
.career-page .page-hero,
.contact-page .page-hero { background: linear-gradient(125deg, var(--black), var(--graphite)); }

.segm-page .btn.primary,
.integ-page .btn.primary,
.career-page .btn.primary,
.contact-page .btn.primary { background: transparent; border: 1px solid var(--gold); color: var(--gold); transition: background-color .2s ease; }
.segm-page .btn.primary:hover,
.integ-page .btn.primary:hover,
.career-page .btn.primary:hover,
.contact-page .btn.primary:hover { background: rgba(223,183,93,.12); filter: none; }

.segm-page .cta-band.has-photo::after { background: linear-gradient(90deg, rgba(8,11,19,.88), rgba(8,11,19,.6)); }

/* Segmentos — composição editorial alternada (substitui os 4 cartões idênticos). Fotografias,
   enquadramentos e alternância esquerda/direita preservados; só a identidade de cor muda de
   offwhite para preto profundo, coerente com a homepage e o Quem Somos. */
.segm-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: clamp(420px, 42vw, 560px); background: #080B13; overflow: hidden; }
.segm-row + .segm-row { border-top: 1px solid rgba(223,183,93,.22); }
.segm-media { position: relative; margin: 0; overflow: hidden; background: #0b1220; }
.segm-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.07); transition: transform 2.2s cubic-bezier(.16,1,.3,1); }
.segm-media.is-revealed .segm-photo { transform: scale(1); }
.segm-text { display: flex; flex-direction: column; justify-content: center; max-width: 560px; padding: clamp(40px, 5.5vw, 80px) clamp(24px, 5vw, 72px); color: #dfe5ef; }
.segm-text .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; }
.segm-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 20px; color: #fff; }
.segm-text h2 em { color: var(--gold); }
.segm-text > p { color: #b8c2d3; line-height: 1.8; margin: 0 0 20px; }
.segm-text .checklist { margin-bottom: 24px; }
.segm-text .checklist li { color: #c7cedb; }
.segm-text .checklist li::before { color: var(--gold); }
/* Links "Ver [solução]": seta discreta, sem linha longa — só um sublinhado curto no hover/foco. */
.segm-text .text-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold); font-weight: 700; border-bottom: none; padding-bottom: 2px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: background-size .3s cubic-bezier(.16,1,.3,1), gap .3s cubic-bezier(.16,1,.3,1);
}
.segm-text .text-link::after { content: '→'; font-size: .92em; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.segm-text .text-link:hover,
.segm-text .text-link:focus-visible { background-size: 28px 1px; gap: 10px; }
.segm-text .text-link:hover::after,
.segm-text .text-link:focus-visible::after { transform: translateX(3px); }
.segm-row.reverse .segm-media { order: 2; }
.segm-row.reverse .segm-text { order: 1; }
.segm-notice { background: #080B13; padding: clamp(40px, 5vw, 56px) 0; }
.segm-notice-box { border-left: 2px solid var(--gold); background: transparent; padding: 2px 0 2px 24px; color: #b4bfd0; font-size: .92rem; line-height: 1.7; }
.segm-notice-box strong { color: #fff; }

/* Mini seção editorial entre o hero e o primeiro segmento — introduz a sequência sem ser uma
   faixa vazia: eyebrow, título expressivo (só a 2ª frase em dourado) e texto de apoio. */
.segm-intro { background: #080B13; padding: clamp(44px, 6vw, 72px) 0 clamp(32px, 4.5vw, 56px); }
.segm-intro .container { max-width: 760px; }
.segm-intro .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; margin: 0 0 16px; }
.segm-intro h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 18px; }
.segm-intro h2 em { color: var(--gold); font-style: normal; }
.segm-intro p { color: #b8c2d3; font-size: 1.04rem; line-height: 1.8; max-width: 620px; margin: 0; }

/* Integridade — princípios em faixa preta (reaproveita o padrão de Quem Somos) e bloco de
   privacidade/avisos em composição editorial escura. */
.integ-page .page-hero + section.section { padding-top: clamp(56px, 7vw, 88px); }
.integ-principles { background: #08090B; padding: clamp(44px, 5.5vw, 64px) 0; border-top: 1px solid rgba(223, 183, 93, .4); border-bottom: 1px solid rgba(223, 183, 93, .4); }
.integ-principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.integ-principle { padding: 0 clamp(16px, 2vw, 32px); border-left: 1px solid rgba(223, 183, 93, .4); }
.integ-principle:first-child { border-left: 0; padding-left: 0; }
.integ-principle:last-child { padding-right: 0; }
.integ-principle h3 { color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; }
.integ-principle p { color: #c7cedb; font-size: 1.04rem; line-height: 1.65; margin: 0; }
/* Privacidade e dados pessoais — antes usava var(--graphite), com matiz azulado perceptível;
   agora grafite quase preto, neutro, sem azul. Hierarquia reforçada com rótulos dourados. */
.integ-notes { background: #0D0D10; padding: clamp(64px, 8vw, 100px) 0; border-top: 1px solid rgba(223,183,93,.22); }
.integ-notes-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.integ-notes-grid > div:first-child { padding-right: clamp(16px, 2vw, 32px); }
.integ-notes-grid > div:last-child { border-left: 1px solid rgba(223,183,93,.22); padding-left: clamp(32px, 4vw, 56px); }
.integ-notes-label { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin: 0 0 14px; }
.integ-notes-grid h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 18px; }
.integ-notes-grid p { color: #b8c2d3; line-height: 1.8; }
.integ-notes-grid .text-link { color: var(--gold); }
.integ-notice { color: #b4bfd0; line-height: 1.8; font-size: .98rem; }
.integ-notice strong { color: #fff; }
@media (max-width: 960px) {
  .integ-notes-grid > div:last-child { border-left: 0; padding-left: 0; padding-top: 32px; border-top: 1px solid rgba(223,183,93,.22); }
}

/* Carreiras — Banco de talentos: seção de formulário limpa, sem fotografia de fundo (o hero já
   cobre a fotografia corporativa da página). Fundo sólido preto/grafite, texto à esquerda,
   formulário num painel discretamente destacado à direita, altura guiada pelo conteúdo. */
.car-talent { background: #08090B; }
/* Correção de alinhamento: .car-talent-grid tinha width:100%, que sobrescrevia (mesma
   especificidade, regra posterior no arquivo) o max-width/centralização de .container — o
   conteúdo ficava colado nas bordas da tela. Agora a própria regra define a centralização,
   sem depender da ordem de cascata com .container. */
.car-talent-grid {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr);
  gap: clamp(48px, 5vw, 64px); align-items: center;
  max-width: 1200px; margin-inline: auto;
  padding-block: clamp(56px, 7vw, 88px); padding-inline: clamp(24px, 4vw, 48px);
}
.car-talent-text .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; }
.car-talent-text h2 { color: #fff; font-size: clamp(1.8rem, 2.9vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 22px; }
.car-talent-text h2 em { color: var(--gold); }
.car-talent-text p { color: #c7cedb; line-height: 1.8; margin: 0 0 14px; }
.car-talent-text p:last-child { margin-bottom: 0; }
.car-talent-panel { background: #0D0D10; border: 1px solid rgba(223,183,93,.2); padding: clamp(32px, 4vw, 48px); border-radius: 2px; }
.car-talent-panel form.form { background: transparent; border: 0; padding: 0; color: #fff; }
.car-talent-panel .field label { color: #dfe5ef; }
.car-talent-panel .field input,
.car-talent-panel .field select {
  background: #08090B; border: 1px solid #ffffff22; color: #fff; border-radius: 1px;
  transition: border-color .2s, box-shadow .2s;
}
.car-talent-panel .field input:focus,
.car-talent-panel .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(223,183,93,.18); }
.car-talent-panel .hint { color: #8891a1; }
.car-talent-panel .consent { color: #c7cedb; }
.car-talent-panel .consent a { color: var(--gold); }
.car-talent-panel .error-msg { color: #e8a0a0; }
.car-talent-panel .demo-banner { background: transparent; border: 1px solid rgba(223,183,93,.3); color: #e9d9af; border-radius: 0; padding: 14px 16px; }

@media (max-width: 960px) {
  .car-talent-grid { grid-template-columns: 1fr; padding-block: 48px; padding-inline: 24px; gap: 32px; }
  .car-talent-panel { padding: 28px 22px; }
}

/* Contato — composição editorial em preto contínuo, sem cartões aninhados: a seção e o
   formulário vivem diretamente sobre o mesmo fundo, com campos discretos e dourado só em
   detalhes/foco. Substitui o antigo card azul-escuro com formulário encaixado dentro dele. */
.contact-page .section.light {
  background: var(--black);
  padding: clamp(64px, 8vw, 112px) 0;
}
.contact-page .contact-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-page .contact-grid > div:first-child { padding-top: 6px; }
.contact-page .contact-grid h2,
.contact-page .contact-header-block h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 18px; }
.contact-page .contact-grid > div > p,
.contact-page .contact-desc { color: #b8c2d3; line-height: 1.85; }
.contact-page .contact-channel-card {
  margin-top: 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(223, 183, 93, .28);
  border-radius: var(--radius);
}
.contact-page .contact-channel-tag {
  display: block;
  margin: 0 0 6px;
  font-size: .82rem;
  color: #8d9ab0;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.contact-page .contact-channel-email {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.contact-page .contact-channel-email a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.contact-page .contact-channel-email a:hover {
  text-decoration: underline;
  color: #fff;
}
.contact-page .contact-channel-cnpj {
  margin: 0;
  font-size: .9rem;
  color: #c7cedb;
}
.contact-page .contact-channel-notice {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .84rem;
  color: #8891a1;
  line-height: 1.5;
}
.contact-page .contact-grid .callout {
  background: transparent; border: none; border-left: 2px solid var(--gold);
  padding: 2px 0 2px 22px; color: #b4bfd0; margin-top: 24px;
}
.contact-page .contact-grid .callout strong { color: #fff; }
.contact-page form.form { background: transparent; border: none; padding: 0; color: #fff; gap: 20px; }
.contact-page .demo-banner {
  background: transparent; border: 1px solid rgba(223,183,93,.3); color: #e9d9af;
  border-radius: 0; padding: 14px 16px;
}
.contact-page .field label { color: #dfe5ef; font-weight: 600; }
.contact-page .field input,
.contact-page .field select {
  background: #0d1424; border: 1px solid #ffffff22; color: #fff; border-radius: 1px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-page .field input:focus,
.contact-page .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(223,183,93,.18);
}
.contact-page .hint { color: #8891a1; }
.contact-page .consent { color: #c7cedb; }
.contact-page .consent a { color: var(--gold); }
.contact-page .error-msg { color: #e8a0a0; }

/* Status dos formulários no tema escuro institucional (Contato e Carreiras) */
.contact-page .form-status,
.car-talent-panel .form-status {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-page .form-status strong,
.car-talent-panel .form-status strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-page .form-status p,
.car-talent-panel .form-status p {
  margin: 0;
}
.contact-page .form-status.success,
.car-talent-panel .form-status.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #a7f3d0;
}
.contact-page .form-status.success strong,
.car-talent-panel .form-status.success strong {
  color: #34d399;
}
.contact-page .form-status.error,
.car-talent-panel .form-status.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.contact-page .form-status.error strong,
.car-talent-panel .form-status.error strong {
  color: #f87171;
}
.contact-page .form-status.info,
.car-talent-panel .form-status.info {
  background: rgba(223, 183, 93, 0.08);
  border: 1px solid rgba(223, 183, 93, 0.35);
  color: var(--gold);
}

@media (max-width: 960px) {
  .segm-row { grid-template-columns: 1fr; }
  .segm-row.reverse .segm-media { order: 0; }
  .segm-row.reverse .segm-text { order: 0; }
  .segm-media { min-height: clamp(260px, 56vw, 400px); }
  .segm-text { max-width: none; }
  .segm-intro h2 { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .integ-notes-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-page .section.light { padding: 48px 0; }
}

/* Redesign Mobile-First da Página de Contato (ES-026) */
@media (max-width: 767px) {
  .contact-page .section.light {
    padding: 36px 0 44px;
  }
  .contact-page .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .contact-page .contact-intro {
    display: contents;
  }
  .contact-page .contact-header-block {
    order: 1;
  }
  .contact-page .contact-header-block h2 {
    font-size: clamp(1.45rem, 5.4vw, 1.85rem);
    margin-bottom: 10px;
  }
  .contact-page .contact-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #b8c2d3;
  }
  .contact-page form.form {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .contact-page .form-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .contact-page .field {
    width: 100%;
    gap: 6px;
  }
  .contact-page .field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #dfe5ef;
  }
  .contact-page .field input,
  .contact-page .field select {
    width: 100%;
    min-height: 48px;
    font-size: 16px; /* Evita auto-zoom no Safari iOS */
    padding: 12px 14px;
    border-radius: var(--radius);
    background: #0d1424;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
  }
  .contact-page .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23DFB75D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
  }
  .contact-page .field input:focus,
  .contact-page .field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(223, 183, 93, 0.22);
  }
  .contact-page .field .hint {
    font-size: 0.78rem;
    color: #8891a1;
  }
  .contact-page .consent {
    margin-top: 4px;
    font-size: 0.84rem;
    line-height: 1.5;
    gap: 10px;
  }
  .contact-page .consent input {
    margin-top: 2px;
  }
  .contact-page form.form .btn.primary {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    border-radius: var(--radius);
    margin-top: 6px;
    background: var(--gold);
    color: #08090b;
    border: 1px solid var(--gold);
    transition: background-color .2s ease, opacity .2s ease;
  }
  .contact-page form.form .btn.primary:hover,
  .contact-page form.form .btn.primary:active {
    background: #e8c676;
    color: #08090b;
  }
  .contact-page .contact-channel-card {
    order: 3;
    margin-top: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(223, 183, 93, 0.3);
    border-radius: var(--radius);
  }
  .contact-page .contact-channel-tag {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }
  .contact-page .contact-channel-email {
    font-size: 1rem;
  }
  .contact-page .contact-channel-cnpj {
    font-size: 0.88rem;
  }
  .contact-page .contact-channel-notice {
    font-size: 0.82rem;
    margin-top: 12px;
    padding-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .segm-media .segm-photo { transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Cookie Consent Banner & Preferences Modal
   ========================================================================== */
.footer-email-link { color: #e5ebf5; text-decoration: none; transition: color .2s; }
.footer-email-link:hover { color: var(--gold); text-decoration: underline; }

.footer-cookie-pref-btn {
  background: transparent; border: 0; padding: 0; margin: 0;
  color: inherit; font-size: inherit; font-family: inherit;
  cursor: pointer; text-decoration: none; transition: color .2s;
}
.footer-cookie-pref-btn:hover { color: var(--gold); text-decoration: underline; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
  background: #08090b; border-top: 1px solid rgba(223, 183, 93, 0.45);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, .85);
  padding: clamp(18px, 2.6vw, 26px) 0;
  color: #fff;
  animation: cookieBannerFadeIn .35s ease-out;
}
.cookie-banner[hidden] { display: none !important; }

@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
}
.cookie-banner-text { flex: 1 1 auto; }
.cookie-banner-title {
  font-size: 1.18rem; font-weight: 700; color: #fff;
  letter-spacing: -.01em; margin: 0 0 6px;
}
.cookie-banner-desc {
  font-size: .92rem; line-height: 1.6; color: #c3ccdb; margin: 0;
  max-width: 860px;
}
.cookie-banner-desc a { color: var(--gold); text-decoration: underline; }
.cookie-banner-desc a:hover { color: #fff; }

.cookie-banner-actions {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #e5ebf5;
  padding: 10px 22px;
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  min-height: 42px;
  white-space: nowrap;
}
.cookie-btn:hover,
.cookie-btn:focus-visible {
  border-color: rgba(223, 183, 93, .65);
  color: var(--gold);
  background: rgba(223, 183, 93, .08);
}

@media (max-width: 900px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner-actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }
  .cookie-btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   14. ES-033: REFINAMENTO DA COMPOSIÇÃO VISUAL DOS HEROS — MOBILE E TABLET
   Estabelece um padrão de composição editorial profissional para os 12 heros:
   - Preserva dimensões aprovadas: 420px (mobile) e 440px (tablet).
   - Área de conteúdo ancorada com margens e respiros equilibrados.
   - Três agrupamentos visuais:
     1. Área Introdutória (Breadcrumb + Eyebrow dourado)
     2. Núcleo Editorial (Título principal destacado + Descrição institucional com largura controlada)
     3. Chamada para Ação (CTA dedicado com espaço próprio, onde existente)
   - Gradiente de dupla camada: escuro e de alto contraste sob os textos (esquerda),
     suave e luminoso sobre o sujeito e rostos das fotografias (direita).
   - Preservação estrita: index.html e institucional/quem-somos.html 100% intocados.
   - Desktop e notebook (> 1024px) 100% preservados.
   ========================================================================== */

/* REFINAMENTO TABLET (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo,
  .sx-ar .sx-hero {
    height: auto;
    min-height: var(--hero-h-tablet, 440px);
    padding: clamp(60px, 8vw, 72px) 0 clamp(48px, 6vw, 56px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    box-sizing: border-box;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo > .container,
  .sx-ar .sx-hero > .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: calc(100% - clamp(64px, 9vw, 96px));
    margin-inline: auto;
    box-sizing: border-box;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo::after,
  .sx-ar .sx-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.90) 0%, rgba(8, 9, 11, 0.75) 45%, rgba(8, 9, 11, 0.22) 74%, rgba(8, 9, 11, 0.05) 100%),
      linear-gradient(180deg, rgba(8, 9, 11, 0.65) 0%, rgba(8, 9, 11, 0.25) 45%, rgba(8, 9, 11, 0.82) 100%);
  }

  /* Agrupamento 1: Área Introdutória */
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .breadcrumb {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #b4bfd0;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
    line-height: 1.2;
  }

  /* Agrupamento 2: Núcleo Editorial */
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo h1,
  .sx-ar .sx-hero h1 {
    font-size: clamp(2.1rem, 3.6vw, 2.6rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    max-width: 620px;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .lead {
    font-size: 1.05rem;
    line-height: 1.62;
    color: #d6deeb;
    margin-bottom: 0;
    max-width: 520px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  }

  /* Agrupamento 3: CTA */
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .actions {
    margin-top: 26px;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .actions .btn.primary {
    min-height: 48px;
    padding: 12px 26px;
    font-size: 0.95rem;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
  }
}

/* REFINAMENTO MOBILE (320px a 430px / <= 767px) */
@media (max-width: 767px) {
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo,
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo[data-mobile="bottom"],
  .sx-ar .sx-hero {
    height: auto;
    min-height: var(--hero-h-mobile, 420px);
    padding: clamp(42px, 12vw, 54px) 0 clamp(26px, 8vw, 44px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    box-sizing: border-box;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo > .container,
  .sx-ar .sx-hero > .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: calc(100% - clamp(40px, 11vw, 48px));
    margin-inline: auto;
    box-sizing: border-box;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .bg-img {
    object-position: var(--pos-m, var(--pos, 50% 50%));
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo::after,
  .sx-ar .sx-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.90) 0%, rgba(8, 9, 11, 0.78) 50%, rgba(8, 9, 11, 0.32) 78%, rgba(8, 9, 11, 0.08) 100%),
      linear-gradient(180deg, rgba(8, 9, 11, 0.65) 0%, rgba(8, 9, 11, 0.30) 40%, rgba(8, 9, 11, 0.88) 100%);
  }

  /* Agrupamento 1: Área Introdutória */
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .breadcrumb {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #b4bfd0;
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .eyebrow {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: clamp(16px, 4vw, 20px);
    line-height: 1.2;
  }

  /* Agrupamento 2: Núcleo Editorial */
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo h1,
  .sx-ar .sx-hero h1 {
    font-size: clamp(1.68rem, 5.8vw, 2.05rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: clamp(12px, 3vw, 15px);
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
    max-width: min(100%, 28ch);
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .lead {
    font-size: clamp(0.92rem, 3.1vw, 1.02rem);
    line-height: 1.58;
    color: #d6deeb;
    margin-bottom: 0;
    max-width: min(100%, clamp(280px, 80vw, 340px));
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
  }

  /* Agrupamento 3: CTA */
  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .actions {
    margin-top: clamp(20px, 5vw, 26px);
  }

  :is(.sx-page, .segm-page, .integ-page, .career-page, .contact-page) .page-hero.has-photo .actions .btn.primary {
    min-height: 48px;
    padding: 11px 24px;
    font-size: 0.9rem;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
  }
}

