/* ==========================================================================
   Censoni — Tokens
   ========================================================================== */
:root {
  --black: #0D131C;
  --gold: #AE8C4A;
  --white: #FFFFFF;
  --offwhite: #F5F5F7;
  --text: #0D131C;
  --text-muted: rgba(13, 19, 28, .68);
  --line: rgba(13, 19, 28, .14);
  --line-dark: rgba(255, 255, 255, .16);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 24px;
  --edge: 20px;
  --max: 1280px;
  --header-h: 72px;
  --section-y: 72px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px)  { :root { --edge: 32px; --section-y: 88px; --header-h: 80px; } }
@media (min-width: 1100px) { :root { --edge: 48px; --section-y: 120px; } }
@media (min-width: 1440px) { :root { --edge: 64px; --section-y: 128px; } }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
@media (min-width: 1100px) { body { font-size: 18px; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--white); padding: 12px 16px; z-index: 200; }
.skip:focus { left: 0; }

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

.grid { display: grid; grid-template-columns: 1fr; gap: 40px var(--gutter); }
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); align-items: start; }
  .col-4 { grid-column-end: span 4; } .col-5 { grid-column-end: span 5; } .col-6 { grid-column-end: span 6; } .col-7 { grid-column-end: span 7; } .col-start-9 { grid-column-start: 9; } .col-3 { grid-column-end: span 3; } .col-9 { grid-column-end: span 9; } .col-start-4 { grid-column-start: 4; }
  .col-start-6 { grid-column-start: 6; } .col-start-7 { grid-column-start: 7; } .col-start-8 { grid-column-start: 8; }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1 { font-size: clamp(36px, 5.2vw + 8px, 64px); line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(29px, 2.4vw + 18px, 46px); line-height: 1.14; letter-spacing: -.02em; }
h3 { font-size: clamp(20px, .6vw + 17px, 24px); line-height: 1.28; letter-spacing: -.01em; }
.lead { font-size: 1.1em; line-height: 1.55; }
.small { font-size: 14px; color: var(--text-muted); }
.label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text);
}
.label--light { color: var(--white); }

h2 + p, h2 + .lead { margin-top: 24px; }
.lead + p, p + p { margin-top: 20px; }
h2, .lead, .section p { max-width: 62ch; }
h2 { max-width: 20ch; }
@media (min-width: 1000px) { h2 { max-width: 22ch; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  font: 500 15px/1 var(--font); letter-spacing: .01em; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn--gold {
  color: var(--black); font-weight: 600; border-color: rgba(255,255,255,.35);
  background: linear-gradient(115deg, #8E6F4C 0%, #CDB088 16%, #F4E8CF 32%, #D2B88F 48%, #B8966A 60%, #E9D8B6 76%, #F7EDD7 86%, #A98A62 100%);
  background-size: 220% 100%; background-position: 0% 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(90,68,42,.35), 0 1px 2px rgba(13,19,28,.25);
  transition: background-position .7s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.btn--gold:hover, .btn--gold:focus-visible { background-position: 100% 50%; filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(90,68,42,.35), 0 2px 10px rgba(205,176,136,.35); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn--dark { background: var(--black); color: var(--white); font-weight: 600; }
.btn--dark:hover { background: var(--gold); color: var(--black); }
.link { display: inline-flex; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.link i { font-style: normal; transition: transform .22s var(--ease); }
a:hover .link i { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.header.is-solid, .header.is-open { background: var(--black); border-bottom-color: var(--line-dark); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo img { height: 48px; width: auto; }
@media (min-width: 768px) { .header__logo img { height: 56px; } }

.nav { display: flex; align-items: center; gap: 40px; color: var(--white); }
.nav ul { display: flex; gap: 32px; }
.nav li a { font-size: 14px; position: relative; padding: 8px 0; opacity: .88; transition: opacity .2s; }
.nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav li a:hover { opacity: 1; }
.nav li a:hover::after, .nav li a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; font-size: 14px; padding: 0 20px; }
.burger { display: none; }

@media (max-width: 999px) {
  .burger { display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; }
  .burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .25s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 32px; padding: 24px var(--edge) 40px; background: var(--black); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line-dark); }
  .nav li a { display: block; font-size: 20px; padding: 18px 0; opacity: 1; }
  .nav li a::after { display: none; }
  .nav__cta { min-height: 52px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(13,19,28,.78) 0%, rgba(13,19,28,.45) 55%, rgba(13,19,28,.2) 100%),
  linear-gradient(0deg, rgba(13,19,28,.55) 0%, rgba(13,19,28,0) 45%); }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 64px); padding-bottom: 72px; }
@media (min-width: 768px) { .hero__content { padding-bottom: 104px; } }
.hero h1 { max-width: 14ch; }
@media (min-width: 640px) { .hero h1 { max-width: none; } .hero h1 span { display: block; } }
.hero__lead { margin-top: 28px; font-size: clamp(17px, .5vw + 15px, 20px); max-width: 40ch; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--alt { background: var(--offwhite); }
.section--dark { background: var(--black); color: var(--white); }
.section__head { margin-bottom: 48px; }
@media (min-width: 1000px) { .section__head { margin-bottom: 72px; } }

/* Numbers */
.numbers { padding-block: 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .numbers { padding-block: 88px; } }
.numbers__grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.numbers__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; text-align: center; gap: 14px; padding: 32px 16px; border-top: 1px solid var(--line); }
.numbers__item:nth-child(even) { border-left: 1px solid var(--line); }
.numbers__item dt { font-size: 14px; line-height: 1.4; color: var(--text-muted); max-width: 24ch; }
.numbers__item dd { margin: 0; font-variant-numeric: tabular-nums; font-size: clamp(30px, 2.6vw + 10px, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; white-space: nowrap; }
.numbers__item--global dd { position: relative; }
.numbers__pre { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 4px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); line-height: 1; text-indent: .22em; }
@media (min-width: 1000px) {
  .numbers__grid { grid-template-columns: repeat(4, 1fr); }
  .numbers__item { padding: 8px 24px; border-top: 0; }
  .numbers__item + .numbers__item { border-left: 1px solid var(--line); }
}

/* Icons */
.ico { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Reconhecimento internacional: quadro dourado construído em CSS + selo */
.recognition-wrap { margin-top: 56px; }
@media (min-width: 1000px) { .recognition-wrap { margin-top: 72px; } }
.recognition { position: relative; display: grid; grid-template-columns: 1fr; align-items: center; color: #fff; padding: 28px 0 0; isolation: isolate; }
.recognition__bar {
  position: absolute; z-index: -1; inset: 0; border-radius: 12px; overflow: hidden;
  background: linear-gradient(100deg, #BDAC7C 0%, #A99B72 24%, #9A8C63 46%, #86784F 74%, #766A47 100%);
  box-shadow: inset 0 1px 0 rgba(255,248,222,.35), inset 0 -1px 0 rgba(60,48,20,.25), 0 6px 18px rgba(60,48,20,.12);
}
.recognition__bar::before { /* textura metálica estática + luz suave que percorre o ouro continuamente */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(255,247,215,.22) 0%, rgba(255,247,215,0) 55%),
    linear-gradient(105deg, rgba(255,246,214,0) 40%, rgba(255,246,214,.15) 50%, rgba(255,246,214,0) 60%);
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 140% 0;
  background-repeat: no-repeat;
  animation: gold-idle 9s ease-in-out infinite;
}
@keyframes gold-idle {
  0%   { background-position: 0 0, 140% 0; }
  60%  { background-position: 0 0, -40% 0; }
  100% { background-position: 0 0, -40% 0; }
}
.recognition:hover .recognition__bar::before { animation-play-state: paused; }
.recognition__bar::after { /* brilho que cruza o quadro ao passar o mouse */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(255,246,214,0) 38%, rgba(255,246,214,.26) 50%, rgba(255,246,214,0) 62%);
  background-size: 260% 100%; background-position: 135% 0;
  transition: background-position 1.1s var(--ease);
}
.recognition:hover .recognition__bar::after { background-position: -35% 0; }
.recognition__seal { position: relative; width: 280px; max-width: 100%; height: auto; margin: 0 0 0 -12px; transform: translateY(2px); }
.recognition__text { padding: 8px 24px 28px; }
.recognition h3 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 10px; text-shadow: 0 1px 2px rgba(40,30,10,.3); }
.recognition p { font-size: 16px; line-height: 1.6; font-weight: 500; color: #fff; text-shadow: 0 1px 2px rgba(40,30,10,.3); max-width: 62ch; margin: 0; }
@media (min-width: 900px) {
  .recognition { grid-template-columns: 31% 1fr; padding: 0; min-height: 164px; }
  .recognition__bar { left: 3.5%; }
  .recognition__seal { width: 100%; max-width: none; margin: 0 0 0 -12.8%; transform: translateY(10%); } /* alinha a borda visível do quadro do selo (e não a sombra) com a margem esquerda */
  .recognition__text { padding: 30px 4% 30px 3%; }
  .recognition p { font-size: clamp(13px, 1.1vw, 16px); max-width: none; }
  .recognition h3 { font-size: clamp(11px, .9vw, 13px); margin-bottom: clamp(6px, .7vw, 10px); }
}
@media (prefers-reduced-motion: reduce) { .recognition__bar::after { transition: none; } .recognition__bar::before { animation: none; background-position: 0 0, 140% 0; } }

/* Services */
.services { border-top: 1px solid var(--black); display: grid; grid-template-columns: 1fr; }
@media (min-width: 800px) { .services { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } }
.service { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 28px 0 32px; border-bottom: 1px solid var(--line); transition: border-color .25s var(--ease); }
@media (min-width: 1000px) { .service { grid-template-columns: 64px 1fr; padding: 36px 0 40px; } }
.service:hover { border-bottom-color: var(--gold); }
.service__n { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--gold); padding-top: 4px; }
.service__body .ico { display: block; margin-bottom: 18px; }
.service p { color: var(--text-muted); font-size: 16px; margin-top: 8px; max-width: 46ch; }

/* Clients */
.clients__grid { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--black); border-bottom: 1px solid var(--line); padding-block: 16px; }
.clients__grid li { display: grid; place-items: center; flex: 0 0 50%; height: 104px; padding: 20px 24px; }
@media (min-width: 600px) { .clients__grid li { flex-basis: 33.333%; } }
@media (min-width: 1000px) { .clients__grid li { flex-basis: 16.666%; height: 104px; } }
.clients__grid img { max-height: 44px; max-width: 132px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.clients__grid li:hover img { filter: none; opacity: 1; }
.clients__grid li.tall img { max-height: 56px; }

/* Leader */
.leader h2, .contact h2 { font-size: clamp(28px, 1.6vw + 20px, 38px); max-width: none; }
@media (min-width: 1000px) { .leader h2 span, .contact h2 span { display: block; } }
.leader { position: relative; overflow: hidden; background: var(--black) url("../assets/img/brand/lideranca-bg.webp") 78% center / cover no-repeat; }
.leader::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,19,28,.55) 0%, rgba(13,19,28,.25) 50%, rgba(13,19,28,0) 70%); pointer-events: none; }
.leader .container { position: relative; }
.leader__text { align-self: center; }
.leader__text .lead { margin-top: 24px; }
.leader__text p { color: rgba(255,255,255,.82); }
.leader__text .lead { color: var(--white); }
@media (max-width: 999px) {
  .leader { background-position: 85% center; }
  .leader::before { background: linear-gradient(0deg, rgba(13,19,28,.88) 0%, rgba(13,19,28,.7) 100%); }
}

/* Media */
/* Carrossel de notícias: uma ao lado da outra */
.media { --media-gap: var(--gutter); display: flex; gap: var(--media-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; outline-offset: 6px; }
.media::-webkit-scrollbar { display: none; }
.media__item { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 640px) { .media__item { flex-basis: calc((100% - var(--media-gap)) / 2); } }
@media (min-width: 1100px) { .media__item { flex-basis: calc((100% - 3 * var(--media-gap)) / 4); } }
.media__item a { display: flex; flex-direction: column; height: 100%; }
.media__item .link { margin-top: auto; align-self: flex-start; }
.media__item h3 { margin-bottom: 16px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel__nav { display: none; gap: 10px; flex: none; }
@media (min-width: 768px) { .carousel__nav { display: flex; } }
.carousel__btn { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 50%; color: var(--black); cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), opacity .25s; }
.carousel__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover:not([aria-disabled="true"]) { background: var(--black); border-color: var(--black); color: var(--white); }
.carousel__btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.media__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--offwhite); border: 1px solid var(--line); }
.media__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.media__item a:hover .media__img img { transform: scale(1.03); }
.media__src { margin-top: 24px !important; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.media__item h3 { margin-top: 10px; font-size: 19px; line-height: 1.35; }

/* Diferenciais */
.diff__head { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 999px) { .diff__head { position: static; } }
.diff { border-top: 1px solid var(--black); }
.diff__item { display: grid; gap: 12px; padding: 32px 0 36px; border-bottom: 1px solid var(--line); position: relative; }
.diff__item::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--gold); }
.diff__item p { color: var(--text-muted); max-width: 52ch; font-size: 15px; line-height: 1.55; }
.diff__title { display: grid; gap: 16px; align-content: start; }
.diff__head h2 { font-size: clamp(29px, 1.8vw + 20px, 40px); max-width: none; }
@media (min-width: 1000px) { .diff__item { grid-template-columns: 1fr 1.3fr; gap: 0 var(--gutter); padding: 40px 0 44px; } }

/* Performance: vídeo em loop no topo, texto em faixa de rodapé */
.perf { background: var(--black); color: var(--white); }
.perf__stage { position: relative; aspect-ratio: 16 / 9; max-height: 80svh; min-height: 240px; width: 100%; overflow: hidden; background: var(--black); }
.perf__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.perf__stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(0deg, rgba(13,19,28,.85) 0%, rgba(13,19,28,0) 100%); pointer-events: none; }
.perf__caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 var(--edge) clamp(24px, 4vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.perf__caption .label { margin-bottom: 12px; justify-content: center; color: var(--gold); }
.perf h2 { font-size: clamp(28px, 2.2vw + 18px, 46px); max-width: none; color: var(--white); }
.perf__footer { padding-block: 48px; }
@media (min-width: 1000px) { .perf__footer { padding-block: 64px; } }
.perf__grid { display: grid; grid-template-columns: 1fr; gap: 32px var(--gutter); align-items: start; }
@media (min-width: 800px) { .perf__grid { grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); } }
.perf__body .lead { font-size: 17px; line-height: 1.6; color: var(--white); max-width: none; }
.perf__body p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: none; }
.perf__body p + p { margin-top: 14px; }
.perf__side { display: flex; flex-direction: column; justify-content: center; align-self: stretch; }
@media (min-width: 800px) { .perf__side { justify-content: space-between; } }
.perf__logo { display: block; width: clamp(105px, 9.8vw, 140px); height: auto; margin: 24px 0 0 0; }
@media (min-width: 800px) { .perf__side { justify-self: end; } }
.perf__quote { padding-left: 20px; border-left: 1px solid var(--gold); color: var(--white); font-weight: 600; font-size: clamp(20px, 1vw + 15px, 28px); line-height: 1.3; max-width: 22ch; }
.perf__credit { margin-top: 20px; padding-left: 21px; font-size: 12px; color: rgba(255,255,255,.55); max-width: none; }

/* Contact */
.contact { border-top: 1px solid var(--line); }
.contact .lead { margin-top: 24px; }
.contact .small { margin-top: 28px; max-width: 40ch; }
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.field input { font: inherit; font-size: 16px; height: 54px; padding: 0 18px; color: var(--text); background: #EBEBEE; border: 0; border-radius: var(--radius); transition: background-color .2s, box-shadow .2s; }
.field input:hover { background: #E4E4E8; }
.field input:focus { outline: none; background: #E4E4E8; box-shadow: inset 0 -2px 0 var(--gold); }
.field.has-error input { box-shadow: inset 0 -2px 0 #a1362f; }
.err { min-height: 0; font-size: 13px; color: #a1362f; }
.form .btn { justify-self: start; min-width: 220px; margin-top: 8px; }
.form__note { font-size: 14px; color: var(--text-muted); }
.form__note a { border-bottom: 1px solid var(--gold); }
@media (max-width: 559px) { .form .btn { justify-self: stretch; } }

/* Footer */
.footer { background: var(--black); color: var(--white); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px var(--gutter); padding-bottom: 56px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 3fr 3fr 3fr 3fr; } }
.footer__brand img { width: 120px; height: auto; }
.footer h3 { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer p, .footer address { font-style: normal; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); }
.footer p + h3 { margin-top: 28px; }
.footer a { transition: color .2s; } .footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255,255,255,.62); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Mapas no rodapé (Google Maps monocromático, pino azul-marinho com o "C") */
.footer address + .map { margin-top: 20px; }
.map { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #e8e8e8; border: 1px solid var(--line-dark); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.9) brightness(1.06); }
.map__pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 44px; transform: translate(-50%, -100%); filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); transition: transform .2s; }
.map__pin:hover { transform: translate(-50%, -100%) scale(1.08); }
.map__pin svg { display: block; width: 100%; height: 100%; }
.map__pin img { position: absolute; left: 50%; top: 8px; width: 15px; height: auto; transform: translateX(-50%); }

/* Banner final (altura igual à do rodapé da Rolex: 3000×703 no desktop, 780×900 no mobile) */
.endbanner { background: var(--black); border-top: 1px solid var(--line-dark); }
.endbanner__slides { position: relative; aspect-ratio: 780 / 900; overflow: hidden; }
@media (min-width: 768px) { .endbanner__slides { aspect-ratio: 3000 / 703; } }
.endbanner__slides img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pm, 50% 50%); animation: endzoom 24s ease-in-out infinite alternate; will-change: transform; }
@media (min-width: 768px) { .endbanner__slides img { object-position: var(--pd, 50% 50%); } }
@keyframes endzoom { from { transform: scale(1); } to { transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) { .endbanner__slides img { animation: none; } }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Páginas legais */
.page-hero { background: var(--black); color: var(--white); padding: calc(var(--header-h) + 56px) 0 56px; }
@media (min-width: 1000px) { .page-hero { padding: calc(var(--header-h) + 80px) 0 80px; } }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 24px; }
.crumbs a { transition: color .2s; } .crumbs a:hover { color: var(--gold); }
.page-hero h1 { max-width: none; }
.page-hero__lead { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.78); }
.legal { padding-top: 64px; }
@media (min-width: 1000px) { .legal { padding-top: 88px; } }
.legal__toc { margin-bottom: 8px; }
@media (min-width: 1000px) { .legal__toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.legal__toc-title { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.legal__toc ol { border-top: 1px solid var(--black); }
.legal__toc a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--text-muted); transition: color .2s, padding-left .25s var(--ease); }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--black); padding-left: 8px; }
.legal__toc a.is-active { box-shadow: inset 2px 0 0 var(--gold); }
.legal__body section { padding-bottom: 48px; }
.legal__body section + section { padding-top: 48px; border-top: 1px solid var(--line); }
.legal__body h2 { font-size: clamp(24px, 1.2vw + 18px, 32px); max-width: none; margin-bottom: 20px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body p { max-width: 68ch; color: var(--text); }
.legal__body p + p { margin-top: 16px; }
.legal__body a { border-bottom: 1px solid var(--gold); transition: color .2s; }
.legal__body a:hover { color: var(--gold); }
.cookie-types { margin: 0; border-top: 1px solid var(--black); }
.cookie-types > div { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .cookie-types > div { grid-template-columns: 180px 1fr; gap: 0 24px; } }
.cookie-types dt { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.cookie-types dd { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.65; max-width: 62ch; }
.legal__contact p { margin-top: 0; }
.legal__contact p + p { margin-top: 10px; }
.footer a[aria-current="page"] { color: var(--gold); }

/* Blog */
.blog { padding-top: 56px; }
@media (min-width: 1000px) { .blog { padding-top: 80px; } }
.blog__side { margin-bottom: 8px; }
@media (min-width: 1000px) { .blog__side { position: sticky; top: calc(var(--header-h) + 32px); } }
.search { margin-bottom: 40px; }
.search__label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.search__box { position: relative; }
.search__ico { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--text-muted); stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; height: 54px; padding: 0 18px 0 46px; font: inherit; font-size: 16px; color: var(--text); background: #EBEBEE; border: 0; border-radius: var(--radius); transition: background-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--text-muted); opacity: .8; }
.search input:hover { background: #E4E4E8; }
.search input:focus { outline: none; background: #E4E4E8; box-shadow: inset 0 -2px 0 var(--gold); }
.subjects { border-top: 1px solid var(--black); }
.subject { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 15px; line-height: 1.4; text-align: left; color: var(--text-muted); cursor: pointer; transition: color .2s, padding-left .25s var(--ease); }
.subject span { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.subject:hover, .subject.is-active { color: var(--black); padding-left: 8px; }
.subject.is-active { box-shadow: inset 2px 0 0 var(--gold); font-weight: 500; }
.blog__count { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.post-list { display: grid; grid-template-columns: 1fr; gap: 32px var(--gutter); }
@media (min-width: 700px) { .post-list { grid-template-columns: 1fr 1fr; } }
.post-card[hidden] { display: none; }
.post-card a { display: flex; flex-direction: column; height: 100%; }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--black); border-radius: var(--radius); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card a:hover .post-card__img img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.post-card__cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.post-card h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; transition: color .2s; }
.post-card a:hover h3 { color: var(--gold); }
.post-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.post-card__meta { font-size: 13px; color: var(--text-muted); }
.post-card.is-featured { grid-column: 1 / -1; }
.post-card.is-featured h3 { font-size: clamp(24px, 1.2vw + 18px, 32px); }
.blog__empty { padding: 40px 0; color: var(--text-muted); border-top: 1px solid var(--black); }
.blog-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.blog-cta h2 { max-width: 22ch; font-size: clamp(24px, 1.4vw + 17px, 34px); }

/* Post */
.post-hero__cat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.post-hero h1 { max-width: 24ch; font-size: clamp(30px, 2.4vw + 18px, 52px); }
.related { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--black); border-bottom: 1px solid var(--line); }
.related__title { font-size: 16px; font-weight: 600; line-height: 1.35; transition: color .2s; }
.related:hover .related__title { color: var(--gold); }
.subjects a.subject { border-bottom-color: var(--line); }
.post__cover { margin: 0 0 40px; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius); background: var(--black); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__text .lead { font-size: 20px; line-height: 1.6; color: var(--black); max-width: 62ch; margin-bottom: 8px; }
.post__text h2 { margin: 40px 0 16px; }
.post__text p { font-size: 17px; line-height: 1.75; }
.bullets { margin: 16px 0 0; display: grid; gap: 10px; max-width: 62ch; }
.bullets li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.6; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--gold); }
.post__text blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); max-width: 62ch; font-size: 20px; line-height: 1.55; font-weight: 500; color: var(--black); }
.post__text blockquote cite { display: block; margin-top: 14px; font-size: 13px; font-style: normal; font-weight: 400; letter-spacing: .04em; color: var(--text-muted); }
.source { margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--black); border-bottom: 1px solid var(--line); }
.source__label { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.source p + .more { margin-top: 12px; }
.legal__body .more { border-bottom: 0; color: var(--black); }
.legal__body .more:hover { color: var(--gold); }
.post__cta { margin-top: 48px; padding: 32px; background: var(--offwhite); border-radius: var(--radius); }
.post__cta h2 { font-size: 24px; margin-bottom: 12px; }
.post__cta p { margin-bottom: 24px; color: var(--text-muted); }
.legal__body .post__cta .btn { border-bottom: 1px solid rgba(255,255,255,.35); }
.post__back { margin-top: 32px; }
.more { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.more::after { content: "→"; transition: transform .22s var(--ease); }
a:hover > .more::after, a.more:hover::after { transform: translateX(4px); }
.more--back::after { content: none; }
.more--back::before { content: "←"; }
.nav li a.is-active::after { transform: scaleX(1); }
.legal__toc a.related { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--black); border-bottom: 1px solid var(--line); }
.legal__toc a.related:hover { padding-left: 0; box-shadow: none; }
.legal__toc a.related .post-card__cat { color: var(--gold); }

/* Blog: menu lateral compacto (proporção do BTG Content) */
.blog__side .search { margin-bottom: 32px; }
.blog__side .search__label, .blog__side .legal__toc-title { font-size: 11px; margin-bottom: 12px; }
.blog__side .search input { height: 46px; font-size: 14px; padding-left: 42px; }
.blog__side .search__ico { left: 14px; width: 18px; height: 18px; }
.blog__side .subject { padding: 11px 0; font-size: 14px; }
.blog__side .subject span { font-size: 11px; }
.blog__side .related__title { font-size: 14px; }
@media (min-width: 1000px) { .blog__side { padding-right: 8px; } .blog__main, .post__body { padding-left: 24px; } }
@media (min-width: 1200px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post__text p, .post__text .lead, .bullets, .post__text blockquote { max-width: 78ch; }
.post__text .lead { font-size: 19px; }

/* Blog: imagens arredondadas, passos, ajuste do menu lateral */
:root { --radius-img: 14px; }
.post-card__img { border-radius: var(--radius-img); }
.post__cover { border-radius: var(--radius-img); overflow: hidden; margin-bottom: 0; }
.post__cover img { border-radius: 0; }
.post__cover + .post__text { margin-top: 0; }
figure.post__cover { background: none; aspect-ratio: auto; }
.post__cover img { aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-img); }
.post__cover figcaption { margin-top: 10px; font-size: 12px; color: var(--text-muted); }
.post__cover figcaption a { border-bottom: 1px solid var(--line); }
.post__cover { margin-bottom: 40px; }
.subject:hover, .subject.is-active { padding-left: 18px; }
.legal__toc a:hover, .legal__toc a.is-active { padding-left: 18px; }
.legal__toc a.related:hover { padding-left: 0; }
.steps { margin: 20px 0 0; display: grid; gap: 14px; max-width: 78ch; counter-reset: step; }
.steps li { position: relative; padding-left: 40px; font-size: 17px; line-height: 1.65; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; }
.post__text a { border-bottom: 1px solid var(--gold); }

/* CTA com formulário no fim do artigo */
.post__cta { margin-top: 56px; padding: 32px; background: var(--offwhite); border-radius: var(--radius-img); }
@media (min-width: 700px) { .post__cta { padding: 44px 48px; } }
.eyebrow-gold { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.legal__body .post__cta h2 { font-size: clamp(24px, 1.2vw + 18px, 32px); max-width: 26ch; margin: 0 0 14px; }
.post__cta-text { color: var(--text-muted); max-width: 60ch; margin: 0 0 28px; }
.cta-form { display: grid; gap: 24px; justify-items: start; }
.cta-form__row { width: 100%; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .cta-form__row { grid-template-columns: 1fr 1fr; } }
.cta-form .field input { background: #fff; }
.cta-form__note { font-size: 13px; line-height: 1.5; color: var(--text-muted); max-width: 70ch; }
@media (max-width: 559px) { .cta-form .btn { width: 100%; } }

.blog__more { margin-top: 48px; text-align: center; }
.blog__more[hidden] { display: none; }



/* ==========================================================================
   AJUSTES EXCLUSIVOS DO MOBILE (o desktop não é alterado)
   ========================================================================== */
.perf__title-m { display: none; }
.t-m { display: none; }
.footer__photo { display: none; }
.fi { display: none; }
.media__dots { display: none; }

/* Bloco 3: quadro dourado começa na metade do selo (o selo não sobe) */
@media (max-width: 899px) {
  .recognition { padding-top: 0; }
  .recognition__bar { top: calc(280px * 291 / 703 * .385); }
  .recognition__seal { transform: none; }
  .recognition__text { padding: 8px 24px 28px; margin-top: -22px; }
}

@media (max-width: 767px) {
  /* Bloco 5: logotipos de clientes em grade de duas colunas, organizada */
  .clients__grid { display: grid; grid-template-columns: 1fr 1fr; padding-block: 0; border-top: 1px solid var(--black); border-bottom: 0; }
  .clients__grid li { flex: none; height: 88px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .clients__grid li:nth-child(odd) { border-right: 1px solid var(--line); }
  .clients__grid img { max-height: 34px; max-width: 104px; }
  .clients__grid li.tall img { max-height: 46px; }

  /* Bloco 6: foto exclusiva do mobile; bloco mais alto e texto abaixo do rosto */
  .leader { background-image: url("../assets/img/brand/lideranca-bg-mobile.webp"); background-size: cover; background-position: 50% 0; background-repeat: no-repeat; padding-top: calc(100vw * 0.96); }
  .leader::before { background: linear-gradient(180deg, rgba(13,19,28,0) 0%, rgba(13,19,28,0) 42%, rgba(13,19,28,.78) 62%, rgba(13,19,28,.92) 100%); }
  .leader .container { padding-bottom: 0; }

  /* Bloco de performance: vídeo um pouco mais alto e títulos no bloco inferior */
  .perf__stage { aspect-ratio: 4 / 3; max-height: none; }
  .perf__stage::after { display: none; }
  .perf__caption { display: none; }
  .perf__title-m { display: block; }
  .perf__title-m h2 { font-size: clamp(28px, 7vw, 34px); max-width: none; color: var(--white); }
  .perf__title-m .label { color: var(--gold); margin-bottom: 12px; }
}

/* Hero no mobile: sem botão secundário, texto mais baixo e vídeo mais visível */
@media (max-width: 767px) {
  .hero__actions .btn--ghost { display: none; }
  .hero__content { padding-bottom: 44px; }
  .hero__actions { margin-top: 32px; }
  .hero__shade { background: linear-gradient(0deg, rgba(13,19,28,.9) 0%, rgba(13,19,28,.62) 30%, rgba(13,19,28,.18) 58%, rgba(13,19,28,.14) 100%); }
}
@media (max-width: 639px) {
  .hero h1 { font-size: 8.3vw; max-width: none; }
  .hero h1 span { display: block; white-space: nowrap; }
}

/* ==========================================================================
   NOVOS AJUSTES MOBILE (o desktop não é alterado)
   ========================================================================== */
@media (max-width: 767px) {
  /* Bloco 2: "Filiais estratégicas espalhadas pelo Brasil" em duas linhas */
  .t-d { display: none; } .t-m { display: inline; }
  .numbers__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .numbers__item { padding-inline: 8px; }
  .numbers__item dd { font-size: 30px; }
  .numbers__pre { font-size: 11px; }

  /* Institucional: os dois textos com o mesmo tamanho */
  #institucional .lead { font-size: inherit; line-height: inherit; }

  /* Soluções: ícones no centro da tela (a coluna do texto começa 64px à direita) */
  .service__body .ico { margin-inline: auto; transform: translateX(-32px); }

  /* Clientes: alguns logotipos maiores */
  .clients__grid img[src*="c24."], .clients__grid img[src*="c27."], .clients__grid img[src*="c04."],
  .clients__grid img[src*="redeuniao"], .clients__grid img[src*="redemix"] { max-height: 60px; max-width: 124px; }
  .clients__grid img[src*="boticario"], .clients__grid img[src*="c21."] { max-height: 50px; max-width: 142px; }

  /* Presença na mídia: carrossel horizontal com bolinhas */
  .media { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(-1 * var(--edge, 24px)); padding-inline: var(--edge, 24px); scroll-padding-inline: var(--edge, 24px); }
  .media::-webkit-scrollbar { display: none; }
  .media__item, .media__item.reveal { flex: 0 0 84%; scroll-snap-align: start; opacity: 1 !important; transform: none !important; }
  .media__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
  .media__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(13,19,28,.2); cursor: pointer; transition: background .25s, transform .25s; }
  .media__dots button[aria-selected="true"] { background: var(--gold); transform: scale(1.25); }

  /* Diferenciais: só os ícones 20px para a direita */
  .diff__title .ico { margin-left: 20px; }

  /* Fim da página: sem banner; foto do Rosewood a ~10% no rodapé azul */
  .endbanner { display: none; }
  .footer { position: relative; overflow: hidden; }
  .footer::before { content: ""; position: absolute; top: 0; right: 0; width: 66%; height: 440px; background: url("../assets/img/rosewood/rosewood-1.webp") 32% 50% / cover no-repeat; opacity: .07; pointer-events: none;
    -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 100%), linear-gradient(to bottom, #000 55%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to left, #000 45%, transparent 100%), linear-gradient(to bottom, #000 55%, transparent 100%); mask-composite: intersect; }
  .footer > .container { position: relative; }
}

/* ==========================================================================
   MOBILE: selo, soluções, clientes, performance e rodapé (desktop não muda)
   ========================================================================== */
@media (max-width: 767px) {
  /* Institucional: selo centralizado */
  .recognition__seal { margin: 0 auto; display: block; }

  /* Soluções: textos centralizados no eixo dos ícones */
  .service__body { text-align: center; }
  .service__body p { margin-inline: auto; }

  /* Clientes: título centralizado */
  .clients .section__head { text-align: center; }
  .clients .section__head .label { justify-content: center; }

  /* Performance: frase grande em duas linhas */
  .perf__quote { max-width: none; font-size: min(4.4vw, 22px); }
  .perf__quote span { display: block; white-space: nowrap; }

  /* Rodapé: fundo sólido, tudo centralizado */
  .footer::before { display: none; }
  .footer__grid { text-align: center; gap: 36px 16px; }
  .footer__brand img { margin-inline: auto; width: 140px; }
  .footer__contact { display: grid; grid-template-columns: .9fr 1.3fr; column-gap: 12px; }
  .footer .footer__contact h3, .footer .footer__contact p { margin: 0; }
  .footer .footer__contact h3 { margin-bottom: 12px; }
  .footer__contact h3:nth-of-type(1) { grid-area: 1 / 1; } .footer__contact p:nth-of-type(1) { grid-area: 2 / 1; }
  .footer__contact h3:nth-of-type(2) { grid-area: 1 / 2; } .footer__contact p:nth-of-type(2) { grid-area: 2 / 2; }
  .footer__contact p { font-size: 13.5px; }
  .footer__photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 45%; border-radius: 10px; margin-top: 20px; }
  .footer__photo + .map { margin-top: 20px; }
}

/* ==========================================================================
   MOBILE (3): selo sem a sombra, soluções centralizadas, rodapé com ícones
   ========================================================================== */
@media (max-width: 767px) {
  /* Selo: centraliza o quadro visível (a sombra ocupa mais espaço à esquerda: 5,2% da largura) */
  .recognition__seal { transform: translateX(-5.2%); }

  /* Soluções: tópicos, título e subtítulo no centro exato da tela (o número fica à esquerda, fora do fluxo) */
  #solucoes .section__head { text-align: center; }
  #solucoes .section__head .label { justify-content: center; }
  .service { grid-template-columns: 1fr; position: relative; }
  .service__n { position: absolute; left: 0; top: 32px; }
  .service__body .ico { margin-inline: auto; transform: none; }

  /* Rodapé: mais respiro, ícones e textos centralizados */
  .footer__grid { gap: 48px 16px; padding-bottom: 64px; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .footer__bottom ul { justify-content: center; align-items: center; gap: 12px 26px; }
  .fi { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; color: var(--gold); }
  .footer h3 { display: flex; align-items: center; justify-content: center; }
  .footer h3 .fi { flex: none; margin-right: 8px; vertical-align: 0; }
  .fsoc .ft { display: none; }
  .fsoc .fi { width: 22px; height: 22px; margin: 0; vertical-align: middle; color: rgba(255,255,255,.82); transition: color .2s; }
  .fsoc:hover .fi { color: var(--gold); }
}


/* Rodapé: mapas lado a lado, alinhados pelo topo e pela base */
.map__open { position: absolute; z-index: 2; top: 10px; right: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; font-size: 12px; font-weight: 500; line-height: 1; color: #fff; background: #12264A; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: background-color .2s; }
.map__open:hover { background: var(--gold); color: var(--black); }
@media (min-width: 700px) {
  .footer__grid > div:has(> .map) { display: flex; flex-direction: column; }
  .footer__grid > div:has(> .map) address { margin-bottom: 20px; }
  .footer__grid > div > .map { margin-top: auto; }
}


/* Hero: selos em texto dourado com brilho */
.hero__lead--gold { max-width: 94ch; opacity: 1; display: grid; gap: 10px; }
.hero__lead--gold p { margin: 0; max-width: none; }
.gold-text {
  background: linear-gradient(110deg, #B9985F 0%, #E3CD9D 18%, #FFF4D6 34%, #D9BE8A 50%, #BE9C62 62%, #F1E1BB 78%, #FFF6DC 88%, #C7A56C 100%);
  background-size: 240% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
  animation: gold-text-shine 7s ease-in-out infinite alternate;
}
@keyframes gold-text-shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .gold-text { animation: none; } }

/* Rodapé: foto do escritório (Google Maps) no lugar do mapa de São Paulo */
.map--photo { display: block; background: #0D131C; }
.map--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.map--photo:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .hero__lead--gold { gap: 8px; margin-top: 22px; }
  .hero__lead--gold .gold-text { font-size: 15px; line-height: 1.45; }
}

/* Hero: dois quadros pequenos e sutis só com traçado dourado (mesmo brilho do texto), lado a lado */
.hero__lead--gold { grid-template-columns: repeat(2, minmax(0, 350px)); gap: 12px; max-width: none; margin-top: 24px; }
.gold-box { position: relative; padding: 10px 14px; font-size: 12px; line-height: 1.45; font-weight: 500; text-wrap: balance; }
.gold-box::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: 8px; pointer-events: none;
  background: linear-gradient(110deg, #B9985F 0%, #E3CD9D 18%, #FFF4D6 34%, #D9BE8A 50%, #BE9C62 62%, #F1E1BB 78%, #FFF6DC 88%, #C7A56C 100%);
  background-size: 240% 100%; animation: gold-text-shine 7s ease-in-out infinite alternate;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (prefers-reduced-motion: reduce) { .gold-box::before { animation: none; } }
@media (max-width: 639px) {
  .hero__lead--gold { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .hero__lead--gold .gold-text.gold-box { font-size: 11.5px; padding: 9px 12px; }
}

/* Blog: no artigo em destaque (o maior), o texto fica acima da imagem */
.post-card.is-featured a { flex-direction: column-reverse; justify-content: flex-end; }
.post-card.is-featured .post-card__body { padding-top: 0; padding-bottom: 20px; }

/* Utilitário: texto só para leitores de tela / buscadores (não aparece no layout) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Blog: Imprensa (matérias de terceiros) ---------- */
.blog__main, .blog__side { min-width: 0; }
.rp-card .post-card__body { flex: 1; }
.rp-card .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.rp-card .post-card__img { position: relative; }
.rp-card .post-card__img > img { object-fit: cover; }
.rp-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 24px); padding: 5px 11px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 1px 6px rgba(13,19,28,.18); font-size: 11.5px; line-height: 1; color: var(--black); }
.rp-badge img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; box-shadow: 0 0 0 1px rgba(13,19,28,.1); }
.rp-badge i { width: 20px; height: 20px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 600; flex: none; }
.rp-badge b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-filter { max-width: 100%; margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); min-width: 0; }
.rp-filter[hidden] { display: none; }
.rp-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rp-filter .legal__toc-title { margin: 0; }
.rp-nav { display: flex; gap: 8px; }
.rp-nav__b { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, opacity .2s; }
.rp-nav__b:hover { border-color: var(--gold); }
.rp-nav__b:disabled { opacity: .35; cursor: default; }
.rp-nav__b svg { width: 16px; height: 16px; fill: none; stroke: var(--black); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rp-chips { width: 100%; display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; }
.rp-chips::-webkit-scrollbar { display: none; }
.rp-chip { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; color: var(--text); cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s; }
.rp-chip:hover { border-color: var(--gold); }
.rp-chip.is-active { border-color: var(--gold); background: #FBF7EE; color: var(--black); }
.rp-chip__c { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(13,19,28,.12); }
.rp-chip__c img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rp-chip__c i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--black); }
.rp-chip em { font-style: normal; font-size: 12px; color: var(--text-muted); padding-left: 2px; }
.rp-chip.is-active em { color: var(--gold); }
.rp-credits { margin-top: 40px; font-size: 11px; line-height: 1.6; color: var(--text-muted); }
.rp-credits[hidden] { display: none; }
.rp-credits summary { cursor: pointer; display: inline-block; list-style: none; opacity: .7; }
.rp-credits summary::-webkit-details-marker { display: none; }
.rp-credits summary::after { content: " +"; }
.rp-credits[open] summary::after { content: " –"; }
.rp-credits p { margin-top: 8px; max-width: 70ch; }
.rp-credits a { text-decoration: underline; text-underline-offset: 2px; }
.rp-tile { display: grid; place-items: center; }
.rp-tile__c { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.22); }
.rp-tile__c img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.rp-tile__c i { font-style: normal; font-size: 28px; font-weight: 600; color: var(--black); }
.btn[hidden] { display: none; }
