/* ================================================
   PACER — style.css
   1. @font-face (Gelion local + Montserrat local)
   2. Variáveis e Reset
   3. Tipografia / Badges / Botões
   4. Animações
   5. Loading Screen
   6. Header
   7. Hero
   8. Clientes Bar (marquee)
   9. Sobre Nós
  10. Soluções
  11. Reconhecimentos
  12. Presença Global
  13. Por que a PACER
  14. CTA
  15. Footer
  16. Responsividade
================================================ */

/* ================================================
   1. @FONT-FACE — GELION & MONTSERRAT (locais)
================================================ */
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Regular Italic.ttf') format('truetype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Medium.ttf') format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Medium Italic.ttf') format('truetype'); font-weight:500; font-style:italic; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion SemiBold.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Bold.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Bold Italic.ttf') format('truetype'); font-weight:700; font-style:italic; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Black.ttf') format('truetype'); font-weight:900; font-style:normal; font-display:swap; }
@font-face { font-family:'Gelion'; src:url('../assets/fonts/Gelion Black Italic.ttf') format('truetype'); font-weight:900; font-style:italic; font-display:swap; }

@font-face { font-family:'Montserrat'; src:url('../assets/fonts/Montserrat-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('../assets/fonts/Montserrat-Medium.ttf') format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('../assets/fonts/Montserrat-SemiBold.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('../assets/fonts/Montserrat-Bold.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('../assets/fonts/Montserrat-ExtraBold.ttf') format('truetype'); font-weight:800; font-style:normal; font-display:swap; }
@font-face { font-family:'Montserrat'; src:url('../assets/fonts/Montserrat-Black.ttf') format('truetype'); font-weight:900; font-style:normal; font-display:swap; }

/* ================================================
   2. VARIÁVEIS E RESET
================================================ */
:root {
  --red:      #b91c1c;
  --red-dk:   #910b0b;
  --dark:     #111214;
  --white:    #ffffff;
  --gray-lt:  #d9d9d9;
  --gray-md:  #a2a2a2;
  --gray-tx:  #6b7280;
  --black:    #000000;

  --f-display: 'Anton', sans-serif;
  --f-head:    'Gelion', sans-serif;
  --f-body:    'Montserrat', sans-serif;

  --ease:  cubic-bezier(0.4,0,0.2,1);
  --t:     0.32s;
  --ts:    0.65s;

  --r-pill: 33.5px;
  --r-sm:   6px;
  --r-md:   24px;

  /* layout */
  --maxw:  1352px;   /* content width on 1512 canvas (80px margins each side) */
  --pad:   80px;
}

*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }

html { scroll-behavior:smooth; font-size:16px; -webkit-text-size-adjust:100%; }

body {
  font-family: var(--f-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

body.no-scroll { overflow:hidden; }

img { display:block; max-width:100%; height:auto; }
a   { text-decoration:none; color:inherit; }
ul  { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
address { font-style:normal; }

/* ================================================
   3. TIPOGRAFIA / BADGES / BOTÕES
================================================ */

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 5.6px;
  text-transform: uppercase;
  padding: 4px 14px 4px 10px;
  border-radius: 14px;
  margin-bottom: 22px;
  color: var(--gray-tx);
  background: transparent;
}

.badge--red {
  background: rgba(185,28,28,.21);
  color: var(--white);
}

.badge--red .badge-dot { background: var(--white); }

.badge--center {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-tx);
  flex-shrink: 0;
}

.badge-dot--gray { background: var(--gray-tx); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 25px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t) var(--ease),
              border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              transform var(--t) var(--ease),
              color var(--t) var(--ease);
}

.btn:focus-visible { outline:2px solid var(--red); outline-offset:3px; }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 1px solid transparent;
  height: 67px;
}
.btn-dark:hover { background:#1e2026; transform:translateY(-1px); box-shadow:0 6px 20px rgba(0,0,0,.2); }

.btn-outline {
  background: var(--white);
  color: var(--gray-tx);
  border: 0.8px solid rgba(0,0,0,.13);
  height: 67px;
}
.btn-outline:hover { border-color:rgba(0,0,0,.3); color:var(--black); transform:translateY(-1px); }

.btn-dark-border {
  background: var(--dark);
  color: var(--white);
  border: 1px solid #7f7070;
  height: 67px;
  max-width: 351px;
}
.btn-dark-border:hover { border-color:rgba(255,255,255,.4); transform:translateY(-1px); }

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 24px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-tx);
  background: var(--white);
  border: 0.8px solid rgba(0,0,0,.13);
  transition: all var(--t) var(--ease);
  height: 39px;
}
.btn-outline-sm:hover { border-color:rgba(0,0,0,.3); color:var(--black); transform:translateY(-1px); }
.btn-outline-sm:focus-visible { outline:2px solid var(--red); outline-offset:2px; }

.btn-red {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  height: 71px;
}
.btn-red:hover { background:var(--red-dk); transform:translateY(-1px); box-shadow:0 8px 24px rgba(185,28,28,.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid #bcbcbc;
  height: 71px;
}
.btn-ghost:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.5); transform:translateY(-1px); }

.btn-arr, .btn-arr-sm {
  display: inline-block;
  transition: transform var(--t) var(--ease);
}
.btn:hover .btn-arr,
.btn-outline-sm:hover .btn-arr-sm { transform:translate(3px,-2px); }

/* ================================================
   4. ANIMAÇÕES BASE
================================================ */
.anim-fade-up,
.anim-fade-in,
.anim-hero,
.reveal-u,
.reveal-l,
.reveal-r {
  opacity: 0;
  transition: opacity var(--ts) var(--ease), transform var(--ts) var(--ease);
  transition-delay: var(--d, 0s);
}

.anim-fade-up { transform: translateY(28px); }
.anim-fade-in { transform: scale(0.95); }
.anim-hero    { transform: translateX(24px) scale(0.98); }
.reveal-u     { transform: translateY(36px); }
.reveal-l     { transform: translateX(-36px); }
.reveal-r     { transform: translateX(36px); }

.anim-fade-up.on, .anim-fade-in.on, .anim-hero.on,
.reveal-u.on, .reveal-l.on, .reveal-r.on {
  opacity: 1;
  transform: none;
}

/* Hero fires after loader */
.hero-ready .anim-fade-up,
.hero-ready .anim-fade-in,
.hero-ready .anim-hero { opacity:1; transform:none; }

/* ================================================
   5. LOADING SCREEN
================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.loading-screen.out   { opacity:0; transform:translateY(-8px); pointer-events:none; }
.loading-screen.gone  { display:none; }

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.loading-logo-wrap {
  animation: ldLogoIn .8s var(--ease) .3s both;
}

@keyframes ldLogoIn {
  from { opacity:0; transform:scale(.8) translateY(10px); }
  to   { opacity:1; transform:none; }
}

.loading-logo {
  width: 160px;
  height: auto;
}

.loading-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
  animation: ldFadeIn .4s ease .5s both;
}

@keyframes ldFadeIn { from{opacity:0} to{opacity:1} }

.loading-fill {
  height: 100%;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: ldBar 1.8s cubic-bezier(.4,0,.6,1) .6s forwards;
}

@keyframes ldBar {
  0%   { transform:scaleX(0); }
  70%  { transform:scaleX(.85); }
  100% { transform:scaleX(1); }
}

.loading-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at center, rgba(185,28,28,.08), transparent);
  pointer-events: none;
  animation: ldGlow 2s ease-in-out infinite;
}

@keyframes ldGlow { 0%,100%{opacity:.5} 50%{opacity:1} }

/* ================================================
   6. HEADER
================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.header.scrolled {
  border-bottom-color: rgba(0,0,0,.07);
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.header-logo img { height:35px; width:auto; }
.header-logo:hover img { opacity:.8; transition:opacity var(--t); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 47px;
}

.nav-link {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: .04em;
  position: relative;
  transition: color var(--t);
}

.nav-link::after {
  content:'';
  position:absolute;
  bottom:-4px; left:0; right:0;
  height:1.5px;
  background:var(--red);
  transform:scaleX(0);
  transition:transform var(--t) var(--ease);
}

.nav-link:hover,
.nav-link.active { color:var(--red); }

.nav-link:hover::after,
.nav-link.active::after { transform:scaleX(1); }

.nav-link:focus-visible { outline:2px solid var(--red); outline-offset:4px; border-radius:2px; }

.header-right { display:flex; align-items:center; gap:10px; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-md);
  padding: 2px 4px;
  border-radius: 4px;
  transition: color var(--t), background var(--t);
}

.lang-active {
  color: var(--black);
  background: var(--gray-lt);
}

.lang-sep {
  display:block;
  width:1px;
  height:14px;
  background:var(--gray-lt);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  border-radius: 4px;
  transition: background var(--t);
}

.hamburger:hover { background:rgba(0,0,0,.05); }

.hamburger span {
  display:block;
  width:22px; height:2px;
  background:var(--black);
  border-radius:2px;
  transform-origin:center;
  transition:transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ================================================
   7. HERO
================================================ */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0 48px;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 48px var(--pad);
  width: 100%;
}

.hero-left { max-width: 543px; }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 28px;
}

.hero-sub {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--black);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero RIGHT — image + stats */
.hero-right {
  position: relative;
  aspect-ratio: 677 / 581;
  max-width: 680px;
  width: 100%;
}

/* Red decorative blocks */
.hero-red {
  position: absolute;
  background: var(--red);
  z-index: 0;
}

.hero-red--tl {
  top: 0; left: 0;
  width: 47.7%;   /* 323/677 */
  height: 50.1%;  /* 291/581 */
  border-radius: 41px;
}

.hero-red--br {
  bottom: 0; right: 0;
  width: 40.6%;  /* 275/677 Figma */
  height: 24.8%; /* 144/581 Figma */
  border-radius: 28px;
}

/* Image container — same size as the frame, clipped to L-shape */
.hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: polygon(
    47.7%  0%,
    100%   0%,
    100%   75.2%,   /* BR block top edge (100% - 24.8%) */
    59.4%  75.2%,   /* BR block left edge (1157-755)/677 */
    59.4%  100%,
    0%     100%,
    0%     50.1%,   /* TL block bottom edge */
    47.7%  50.1%
  );
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Stats */
.hero-stats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.stat {
  position: absolute;
  pointer-events: auto;
}

/* "43+" — inside top-left red block */
.stat--tl {
  top: 14.5%;   /* ~84px / 581 */
  left: 9.7%;   /* ~66px / 677 */
}

/* "5M" — inside L-shape, bottom-left area */
.stat--ml {
  top: 69.5%;   /* ~404px / 581 */
  left: 10.8%;  /* ~73px  / 677 */
}

/* "24M" — inside bottom-right red block */
.stat--br {
  top: 76%;   /* aligns with BR block top (75.2%) */
  left: 64%;  /* (1193-755)/677 = 64.7% */
}

.stat-num {
  font-family: var(--f-head);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-lbl {
  font-family: var(--f-head);
  font-size: clamp(12px, 1.3vw, 20px);
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  max-width: 240px;
  margin-top: 6px;
}

/* ================================================
   8. CLIENTES BAR (marquee contínuo)
================================================ */
.clients-bar {
  height: 96px;
  background: var(--red);
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.clients-label {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 var(--pad);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: var(--red);
}

.clients-label span {
  font-family: var(--f-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
}

.clients-sep {
  display: block;
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.3);
}

.clients-marquee-wrap {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 30px;
}

.logo-item img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
  transition: opacity var(--t);
}

.logo-item:hover img { opacity: 1; }

/* ================================================
   9. SOBRE NÓS
================================================ */
.sobre {
  position: relative;
  height: 427px;          /* exact Figma height */
  overflow: hidden;
  display: flex;
  align-items: center;
}

.sobre-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
}

/* Gradient: transparent left → black right (78.6deg like Figma) */
.sobre-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(78.6deg, rgba(0,0,0,0) 12.9%, #000 97%);
}

.sobre-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.sobre-title {
  font-family: var(--f-head);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
}

.sobre-title strong { font-weight: 900; }

.sobre-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.sobre-text {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  line-height: 2.03;
}

.sobre-text strong { font-weight: 900; }

/* ================================================
   10. SOLUÇÕES
================================================ */
.solucoes {
  padding: 100px 0;
  background: var(--white);
}

.solucoes-inner {
  display: grid;
  grid-template-columns: 483px 1fr;
  gap: 0 60px;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.solucoes-header {
  position: sticky;
  top: 100px;
  padding-top: 4px;
}

.solucoes-title {
  font-family: var(--f-head);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 24px;
}

.solucoes-title strong { font-weight: 900; }

.solucoes-desc {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  line-height: 2.03;
}

/* 2×2 grid */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sol-card {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  transition: background var(--t);
  min-height: 336px;
}

.sol-card .btn-outline-sm { display: none; }

.sol-card:hover { background: rgba(0,0,0,.015); }

/* Icon box + meta side by side */
.sol-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sol-icon {
  width: 67px;
  height: 70px;
  background: var(--red-dk);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 16px 14px;
  transition: background var(--t);
}

.sol-card:hover .sol-icon { background: var(--red); }

.sol-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.sol-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding-top: 4px;
}

.sol-where {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-tx);
  line-height: 1.5;
}

.sol-name {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.5;
}

.sol-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sol-hl {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.5;
}

.sol-tx {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-tx);
  line-height: 1.6;
}

/* ================================================
   11. RECONHECIMENTOS
================================================ */
.reconhecimentos {
  padding: 100px 0;
  background: #fafafa;
}

.recon-inner {
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.recon-title {
  font-family: var(--f-head);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  text-align: center;
  max-width: 474px;
  margin: 0 auto 64px;
}

.recon-title strong { font-weight: 700; }

/* Award rows */
.awards {
  border-top: 1px solid rgba(0,0,0,.1);
}

.award {
  display: grid;
  grid-template-columns: 46% 1fr auto;
  align-items: center;
  gap: 0 40px;
  min-height: 153px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: 0;
  transition: background var(--t);
  cursor: default;
}

.award:hover { background: rgba(0,0,0,.01); }

/* White logo card — occupies the left column */
.award-card {
  background: var(--white);
  border-radius: var(--r-sm);
  height: 153px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow var(--t);
  overflow: hidden;
}

.award:hover .award-card { box-shadow: 0 4px 24px rgba(0,0,0,.1); }

.award-card img {
  max-height: 100px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.award-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.award-title {
  font-family: var(--f-head);
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 400;
  color: var(--black);
  line-height: 1.1;
}

.award-desc {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-tx);
  line-height: 1.5;
  max-width: 400px;
}

.award-link {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,.04);
  color: var(--black);
  flex-shrink: 0;
  transition: all var(--t) var(--ease);
}

.award:hover .award-link {
  background: var(--black);
  color: var(--white);
  transform: translate(2px,-2px);
}

.award-link:focus-visible { outline:2px solid var(--red); outline-offset:2px; }

/* ================================================
   12. PRESENÇA GLOBAL
================================================ */
.global-sec {
  padding: 100px 0;
  background: var(--white);
}

.global-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  align-items: center;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.global-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.global-title {
  font-family: var(--f-head);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  max-width: 526px;
}

.global-desc {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  line-height: 2.03;
}

/* Image — use natural aspect ratio (646×590), no cropping */
.global-img {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.14);
}

.global-img img {
  display: block;
  width: 100%;
  /* Preserve the 646×590 aspect ratio exactly */
  aspect-ratio: 646 / 590;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-md);
  transition: transform .6s ease;
}

.global-img:hover img { transform: scale(1.02); }

/* ================================================
   13. POR QUE A PACER
================================================ */
.porque {
  position: relative;
  min-height: 851px;       /* exact Figma height */
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
}

.porque-bg {
  position: absolute;
  inset: 0;
}

.porque-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .71;
  display: block;
}

/* Black base under the 71%-opacity image */
.porque-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: -1;
}

.porque-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.2);
}

.porque-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  align-items: start;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.porque-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.porque-title {
  font-family: var(--f-head);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
}

.porque-right {
  display: flex;
  flex-direction: column;
}

.reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.reason:first-child { border-top: 1px solid rgba(255,255,255,.12); }

.reason-num {
  font-family: var(--f-body);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  line-height: 2.03;
  min-width: 48px;
  flex-shrink: 0;
}

.reason-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reason-body h3 {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: .03em;
}

.reason-body p {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  line-height: 2.03;
}

/* ================================================
   14. CTA
================================================ */
.cta-sec {
  background: var(--red-dk);
  padding: 100px 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cta-title {
  font-family: var(--f-head);
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  max-width: 474px;
  line-height: 1.15;
}

.cta-sub {
  font-family: var(--f-head);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  max-width: 333px;
  line-height: 1.5;
}

.cta-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

/* ================================================
   15. FOOTER
================================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 0;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad) 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  transition: opacity var(--t);
}

.footer-logo:hover img { opacity:.75; }

.footer-brand p {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--t);
}

.footer-social a:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(185,28,28,.2);
  transform: translateY(-2px);
}

.footer-inner nav h3,
.footer-inner address h3 {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}

.footer-inner nav ul,
.footer-inner address ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-inner nav a,
.footer-inner address li {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: color var(--t);
}

.footer-inner address li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.footer-inner address li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

.footer-inner nav a:hover,
.footer-inner address a:hover { color:var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--maxw) + var(--pad) * 2);
  margin: 0 auto;
  padding: 24px var(--pad) 32px;
}

.footer-bottom p {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.35);
}

.footer-bottom > div {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.35);
  transition: color var(--t);
}

.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(185,28,28,.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t), background var(--t);
  z-index: 100;
}

.back-top.visible { opacity:1; transform:translateY(0); pointer-events:auto; }
.back-top:hover { background:var(--red-dk); transform:translateY(-2px); }
.back-top:focus-visible { outline:2px solid var(--white); outline-offset:3px; }

/* ================================================
   16. RESPONSIVIDADE
================================================ */

/* --- Notebook largo (≤ 1280px) --- */
@media (max-width: 1280px) {
  :root { --pad: 48px; }

  .hero-title { font-size: 52px; }

  .solucoes-inner { grid-template-columns: 400px 1fr; }
  .solucoes-title { font-size: 34px; }

  .global-inner { gap: 0 48px; }
  .global-title { font-size: 34px; }

  .porque-inner { gap: 0 48px; }
  .porque-title { font-size: 34px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .award { grid-template-columns: 40% 1fr auto; }
}

/* --- Tablet (≤ 1024px) --- */
@media (max-width: 1024px) {
  :root { --pad: 40px; }

  /* ── HERO: full-image banner ── */
  .hero {
    padding-top: 0;
    align-items: stretch;
    position: relative;
  }

  /* Background image via pseudo-element */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/images/01_hero.jpg') 65% center / cover no-repeat;
    z-index: 0;
  }

  /* Dark gradient overlay (bottom-heavy for text readability) */
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,.50) 50%,
      rgba(0,0,0,.88) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  /* Content: stacked column, pinned to bottom */
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(72px + 48px) var(--pad) 52px;
    gap: 0;
    position: relative;
    z-index: 2;
  }

  /* Hide clipped image & red blocks (image lives in CSS bg) */
  .hero-red      { display: none; }
  .hero-img-wrap { display: none; }

  /* Hero left: full width, white */
  .hero-left   { max-width: 100%; margin-bottom: 32px; }
  .hero-title  { font-size: 44px; color: var(--white); }
  .hero-sub    { color: rgba(255,255,255,.85); max-width: 100%; }

  /* Buttons inverted for dark bg */
  .hero-btns .btn-dark    { background: var(--white); color: var(--dark); border-color: transparent; }
  .hero-btns .btn-outline { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); color: var(--white); }

  /* Hero right: resets to natural flow (only stats remain visible) */
  .hero-right {
    position: static;
    aspect-ratio: unset;
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* Stats: horizontal 3-column grid */
  .hero-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 16px;
  }

  .stat        { position: static; }
  .stat-num    { color: var(--white); }
  .stat-lbl    { color: rgba(255,255,255,.75); max-width: none; }

  .solucoes-inner { grid-template-columns: 1fr; }
  .solucoes-header { position: static; }

  .award { grid-template-columns: 260px 1fr auto; }
  .award-title { font-size: clamp(18px, 2.4vw, 32px); }

  .global-inner { grid-template-columns: 1fr; gap: 40px; }
  .global-img img { aspect-ratio: 16/10; }

  .porque-inner { grid-template-columns: 1fr; gap: 40px; }
  .porque-left  { position: static; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
  :root { --pad: 24px; }

  /* Header */
  .hamburger { display: flex; }
  .lang-btn   { padding: 8px 10px; font-size: 13px; }  /* tap target maior no mobile */

  .header-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    padding: 32px 24px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all .35s var(--ease);
  }

  .header-nav.open { transform:translateY(0); opacity:1; pointer-events:auto; }

  .nav-list { flex-direction:column; align-items:flex-start; gap:24px; }
  .nav-link  { font-size:18px; }

  /* Hero */
  .hero-title { font-size: 34px; }
  .hero-btns  { flex-direction:column; }
  .hero-btns .btn { width:100%; justify-content:center; }
  .stat-num   { font-size: 24px; }
  .stat-lbl   { font-size: 11px; }

  /* Clients */
  .clients-bar {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }

  .clients-label {
    padding: 0 var(--pad);
    width: 100%;
  }

  .clients-sep {
    width: 60px;
    height: 1px;
  }

  .clients-marquee-wrap { width: 100%; }

  /* Sobre */
  .sobre { height: auto; min-height: 480px; }
  .sobre-inner { grid-template-columns: 1fr; gap: 24px; }
  .sobre-title { font-size: 28px; }

  /* Soluções */
  .solucoes { padding: 64px 0; }
  .sol-grid  { grid-template-columns: 1fr; }
  .sol-card  { min-height: auto; }

  /* Reconhecimentos */
  .reconhecimentos { padding: 64px 0; }
  .award { grid-template-columns: 1fr; gap: 16px; min-height: auto; padding: 24px 0; }
  .award-card { width: 100%; max-width: 300px; height: 100px; }

  /* Global */
  .global-sec { padding: 64px 0; }
  .global-title { font-size: 28px; }
  .global-img img { aspect-ratio: 16/10; }

  /* Por que */
  .porque { min-height: auto; padding: 64px 0; }
  .porque-title { font-size: 28px; }

  /* CTA */
  .cta-sec { padding: 64px 0; }
  .cta-title { font-size: 28px; }
  .cta-btns { flex-direction:column; align-items:center; }
  .cta-btns .btn { width:100%; max-width:320px; justify-content:center; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
  .back-top { bottom:20px; right:20px; }
}

/* --- Mobile pequeno (≤ 480px) --- */
@media (max-width: 480px) {
  :root { --pad: 20px; }
  .hero-title { font-size: 28px; }
  .hero-left  { margin-bottom: 24px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 4px 8px; }
  .stat-num   { font-size: 20px; }
  .stat-lbl   { font-size: 9px; }
  .footer-bottom > div { flex-direction:column; gap:8px; }
}

/* ================================================
   PREFERS REDUCED MOTION
================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .anim-fade-up, .anim-fade-in, .anim-hero,
  .reveal-u, .reveal-l, .reveal-r {
    opacity:1; transform:none;
  }

  .clients-track { animation: none; }
}

/* Focus visible global */
:focus-visible { outline:2px solid var(--red); outline-offset:3px; }
