/* ==========================================================================
   AudiLink — Prévia de modernização da Home
   Paleta: #1C194D · #302B73 · #FA541F · #F3F5F8 · #FFFFFF
   Tipografia: Plus Jakarta Sans (títulos) + Manrope (texto)
   ========================================================================== */

:root {
  --navy: #1C194D;
  --navy-900: #131136;
  --navy-950: #0E0C29;
  --indigo: #302B73;
  --indigo-500: #4A44A0;
  --orange: #FA541F;
  --orange-600: #D4430F;     /* botões: 4.56:1 com branco (AA) */
  --orange-ink: #C93D0C;     /* textos pequenos laranja sobre claro */
  --surface: #F3F5F8;
  --white: #FFFFFF;
  --ink: #1C194D;
  --text: #4A4F68;
  --muted: #61667F;
  --line: rgba(28, 25, 77, .10);
  --line-strong: rgba(28, 25, 77, .18);

  --ff-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --shadow-sm: 0 1px 2px rgba(19, 17, 54, .06), 0 2px 8px rgba(19, 17, 54, .04);
  --shadow-lg: 0 24px 60px -18px rgba(19, 17, 54, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--orange-600); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

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

/* ---------- Tipografia base ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 20px;
}
.eyebrow__line { display: inline-block; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #FF8A5C; }

.h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.032em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.h2__soft { display: block; color: #8C90A8; font-weight: 500; }
.h2--light { color: #fff; }
.h2--md { font-size: clamp(2rem, 3vw, 2.75rem); }

/* ---------- Botões e links ---------- */
.btn {
  --bg: var(--orange-600);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  isolation: isolate; overflow: hidden;
  transition: transform .4s var(--ease-out), background-color .3s, border-color .3s, color .3s, box-shadow .4s var(--ease-out);
}
.btn--primary { background: var(--bg); color: #fff; box-shadow: 0 10px 24px -12px rgba(250, 84, 31, .8); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange-ink);
  transform: translateX(-101%); transition: transform .5s var(--ease-out);
}
.btn--primary:hover::before { transform: translateX(0); }
.btn--primary:hover { box-shadow: 0 16px 30px -12px rgba(250, 84, 31, .9); transform: translateY(-1px); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn__arrow, .link-arrow svg, .card__more svg, .post__more svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .4s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px;
  color: var(--orange-ink);
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  --lg-mark: var(--orange); --lg-audi: var(--orange); --lg-amp: var(--orange);
  --lg-link: #fff; --lg-tag: rgba(255,255,255,.86);
  transition: height .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease), color .3s;
}
.site-header::before { /* véu sutil para legibilidade sobre a foto */
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,12,41,.55), rgba(14,12,41,0));
  transition: opacity .45s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(19,17,54,.4);
  color: var(--ink);
  --lg-link: var(--navy); --lg-tag: var(--navy);
}
.site-header.is-scrolled::before { opacity: 0; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; flex-shrink: 0; }
.brand__logo { width: 152px; height: auto; aspect-ratio: 201 / 54; transition: width .45s var(--ease); }
.is-scrolled .brand__logo { width: 136px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 28px); }
.nav__list a {
  position: relative; display: block; padding: 8px 0;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.005em;
  color: currentColor; opacity: .82;
  transition: opacity .25s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__list a:hover, .nav__list a[aria-current="page"] { opacity: 1; }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; gap: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.lang a { padding: 4px 6px; border-radius: 6px; opacity: .55; transition: opacity .2s, background-color .2s; }
.lang a:hover { opacity: .9; }
.lang a.is-active { opacity: 1; }
.lang--light a { color: #fff; }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease-out), opacity .3s, top .45s var(--ease-out);
}
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; width: 14px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 0; width: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy);
  color: #fff;
  padding-top: 88px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-io), opacity .3s, visibility 0s .6s;
}
.mobile-menu[hidden] { display: block; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease-io), opacity .2s, visibility 0s; }
.menu-open .site-header { background: var(--navy); box-shadow: none; color: #fff; --lg-link: #fff; --lg-tag: rgba(255,255,255,.86); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .btn--sm { opacity: 0; pointer-events: none; }
.mobile-menu__inner { min-height: calc(100svh - 88px); display: flex; flex-direction: column; padding-bottom: 32px; }
.mobile-menu__list { border-top: 1px solid rgba(255,255,255,.1); }
.mobile-menu__list li { border-bottom: 1px solid rgba(255,255,255,.1); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.menu-open .mobile-menu__list li { opacity: 1; transform: none; }
.menu-open .mobile-menu__list li:nth-child(1) { transition-delay: .18s; }
.menu-open .mobile-menu__list li:nth-child(2) { transition-delay: .22s; }
.menu-open .mobile-menu__list li:nth-child(3) { transition-delay: .26s; }
.menu-open .mobile-menu__list li:nth-child(4) { transition-delay: .30s; }
.menu-open .mobile-menu__list li:nth-child(5) { transition-delay: .34s; }
.menu-open .mobile-menu__list li:nth-child(6) { transition-delay: .38s; }
.menu-open .mobile-menu__list li:nth-child(7) { transition-delay: .42s; }
.mobile-menu__list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--ff-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.mobile-menu__list a::after { content: "→"; color: var(--orange); font-size: 18px; }
.mobile-menu__footer { margin-top: auto; padding-top: 32px; display: grid; gap: 20px; }
.mobile-menu__meta { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: max(100svh, 720px);
  max-height: 1000px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(74, 68, 160, .38) 0%, rgba(74, 68, 160, 0) 60%),
    linear-gradient(160deg, #1F1B57 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__media-inner { position: absolute; inset: -6% 0; will-change: transform; }
.hero__media picture { position: absolute; top: 0; bottom: 0; left: 16%; right: -6%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__media::before, .hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__media::before { /* integra a foto ao azul da marca: leitura à esquerda, foto à direita */
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 18%, rgba(28,25,77,.9) 32%, rgba(28,25,77,.5) 48%, rgba(28,25,77,.08) 70%, rgba(28,25,77,0) 100%),
    linear-gradient(180deg, rgba(14,12,41,.55) 0%, rgba(14,12,41,0) 26%),
    linear-gradient(0deg, rgba(14,12,41,.8) 0%, rgba(14,12,41,0) 30%);
}
.hero__media::after { background: rgba(48, 43, 115, .2); mix-blend-mode: multiply; }

.hero__grid {
  position: relative; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 48px;
}
.hero__content { max-width: 880px; }
.hero__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.75vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.042em;
  color: #fff;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .17em; margin: -.04em 0 -.17em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { max-width: 500px; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; color: rgba(255,255,255,.78); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badge {
  align-self: end;
  display: flex; align-items: center; gap: 16px;
  max-width: 340px;
  padding: 16px 22px 16px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.6);
  margin-bottom: 8px;
}
.hero__badge img { width: 58px; height: 58px; flex-shrink: 0; background: #fff; border-radius: 50%; padding: 3px; }
.hero__badge strong { display: block; font-family: var(--ff-display); font-size: 15px; line-height: 1.3; color: #fff; margin-bottom: 2px; }
.hero__badge span { display: block; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.72); }

.hero__facts {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(90deg, rgba(14,12,41,.55), rgba(14,12,41,.25));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.fact { display: flex; align-items: center; gap: 16px; padding: 26px 24px 26px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.fact__num { flex-shrink: 0; min-width: 44px; font-family: var(--ff-display); font-weight: 700; font-size: 2.75rem; line-height: 1; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.fact__icon { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); transition: background-color .4s, border-color .4s; }
.fact__icon svg { width: 22px; height: 22px; fill: none; stroke: #FF8A5C; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact__label { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.62); }
.fact__label strong { display: block; font-family: var(--ff-display); font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: #fff; margin-bottom: 2px; transition: color .3s; }
.fact--link:hover strong { color: #FF8A5C; }
.fact--link:hover .fact__icon { background: var(--orange-600); border-color: var(--orange-600); }
.fact--link:hover .fact__icon svg { stroke: #fff; }
@keyframes scrollcue { 0% { top: -40%; } 70%, 100% { top: 110%; } }

/* --- Hero: coreografia de entrada --- */
.js .hero [data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 350ms); }
.js .hero .line > [data-hero] { opacity: 1; transform: translateY(108%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 350ms); }
.js .hero .hero__eyebrow .eyebrow__line { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out) .5s; }
.js .hero .hero__facts { transform: translateY(100%); transition-duration: 1.2s; }
.js .hero__media { clip-path: inset(0 0 0 100%); transition: clip-path 1.6s var(--ease-io) .1s; }
.js .hero__media img { transform: scale(1.14); transition: transform 2.6s var(--ease-out) .1s; }
[data-hero="1"] { --i: 1; } [data-hero="2"] { --i: 2; } [data-hero="3"] { --i: 3; } [data-hero="4"] { --i: 4; }
[data-hero="5"] { --i: 5; } [data-hero="6"] { --i: 7; } [data-hero="7"] { --i: 8; } [data-hero="9"] { --i: 9; } [data-hero="10"] { --i: 13; }
.is-loaded .hero [data-hero] { opacity: 1; transform: none; }
.is-loaded .hero .line > [data-hero] { transform: none; }
.is-loaded .hero .hero__eyebrow .eyebrow__line { transform: none; }
.is-loaded .hero__media { clip-path: inset(0 0 0 0); }
.is-loaded .hero__media img { transform: scale(1); }
.js .site-header { opacity: 0; transform: translateY(-12px); }
.is-loaded .site-header { opacity: 1; transform: none; transition: height .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease), color .3s, opacity .8s var(--ease) .9s, transform .8s var(--ease-out) .9s; }

/* ==========================================================================
   2. CLIENTES
   ========================================================================== */
.clients { background: #fff; border-bottom: 1px solid var(--line); }
.clients__inner { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-block: 38px; }
.clients__title { font-family: var(--ff-display); font-size: 13px; font-weight: 700; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.clients__all { font-size: 14px; }
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 64px; width: max-content; padding-block: 10px; }
.marquee__track.is-running { animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee__track li { flex-shrink: 0; display: grid; place-items: center; height: 56px; }
.marquee__track img { height: var(--h, 34px); width: auto; filter: grayscale(1) contrast(1.15) brightness(.82); opacity: .72; transition: filter .45s, opacity .45s, transform .45s var(--ease-out); }
.marquee__track li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section { padding-block: clamp(80px, 9vw, 136px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 32px 72px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__aside { font-size: 1.0625rem; line-height: 1.75; color: var(--text); max-width: 460px; padding-bottom: 6px; }
.section-head--row { grid-template-columns: 1fr auto; }

/* ==========================================================================
   3. SOLUÇÕES
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: c; }
.card { display: flex; }
.card__link {
  position: relative; flex: 1;
  display: flex; flex-direction: column;
  min-height: 420px;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid transparent;
  overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), color .4s;
}
.card__link::before { /* preenchimento navy que sobe no hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 100% 0%, var(--indigo) 0%, var(--navy) 60%);
  transform: translateY(101%); transition: transform .7s var(--ease-out);
}
.card__link::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: var(--orange); border-radius: 0 0 3px 3px; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out) .1s; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 64px; }
.card__num { font-family: var(--ff-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--orange-ink); transition: color .4s; }
.card__icon { width: 44px; height: 44px; fill: none; stroke: var(--indigo); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .7s var(--ease-out); }
.card__title { font-family: var(--ff-display); font-size: 1.375rem; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; color: var(--ink); margin-bottom: 10px; transition: color .4s; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 20px; transition: color .4s; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.card__tags li { font-size: 12px; font-weight: 600; line-height: 1; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--indigo); transition: border-color .4s, color .4s; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-display); font-weight: 700; font-size: 14.5px; color: var(--orange-ink); transition: color .4s; }

@media (min-width: 1181px) { .card__title { min-height: 2.4em; } }
.card__link:hover, .card__link:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.card__link:hover::before, .card__link:focus-visible::before { transform: translateY(0); }
.card__link:hover::after, .card__link:focus-visible::after { transform: scaleX(1); }
.card__link:hover .card__title, .card__link:focus-visible .card__title { color: #fff; }
.card__link:hover .card__text, .card__link:focus-visible .card__text { color: rgba(255,255,255,.75); }
.card__link:hover .card__num, .card__link:focus-visible .card__num { color: #FF8A5C; }
.card__link:hover .card__icon, .card__link:focus-visible .card__icon { stroke: var(--orange); transform: translateY(-2px) rotate(-4deg); }
.card__link:hover .card__tags li, .card__link:focus-visible .card__tags li { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.88); }
.card__link:hover .card__more, .card__link:focus-visible .card__more { color: #fff; }
.card__link:hover .card__more svg { transform: translateX(4px); }

/* ==========================================================================
   4. SOBRE
   ========================================================================== */
.about { background: var(--surface); position: relative; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.about__media { position: relative; padding: 0 14% 16% 0; }
.about__photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 4.4; background: #dfe3ec; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transition: transform 1.6s var(--ease-out); }
.about__photo--small {
  position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3.1;
  border: 8px solid var(--surface); border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.about__stamp {
  position: absolute; left: -28px; top: 36px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 18px;
  background: var(--navy); color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.about__stamp-num { font-family: var(--ff-display); font-weight: 700; font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; color: var(--orange); }
.about__stamp-txt { font-size: 13px; line-height: 1.4; font-weight: 600; color: rgba(255,255,255,.85); }

.about__content .h2 { margin-bottom: 24px; }
.about__lead { font-size: 1.0625rem; line-height: 1.78; color: var(--text); margin-bottom: 28px; max-width: 540px; }
.about__quote { border-left: 2px solid var(--orange); padding: 2px 0 2px 22px; margin-bottom: 32px; max-width: 500px; }
.about__quote p { font-family: var(--ff-display); font-size: 1.15rem; line-height: 1.5; font-weight: 600; letter-spacing: -.012em; color: var(--ink); margin-bottom: 8px; }
.about__quote cite { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.certs { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.certs__label { font-family: var(--ff-display); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.certs__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; }
.certs__list img { height: var(--h, 28px); width: auto; filter: grayscale(1) contrast(1.1); opacity: .82; mix-blend-mode: multiply; transition: filter .4s, opacity .4s; }
.certs__list li:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   5. NOTÍCIAS
   ========================================================================== */
.news { background: #fff; }
.news__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 28px 40px; }
.post__link { display: block; height: 100%; }
.post__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); aspect-ratio: 4 / 3; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,25,77,0) 50%, rgba(28,25,77,.25)); opacity: 0; transition: opacity .6s; }
.post__tag { display: inline-block; font-family: var(--ff-display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; }
.post__tag { display: block; }
.post__title { font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.34; font-weight: 700; letter-spacing: -.018em; color: var(--ink); text-wrap: pretty; }
.post__title span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .6s var(--ease-out); }
.post__excerpt { margin-top: 14px; }
.post__excerpt { font-size: 15px; line-height: 1.65; color: var(--text); }
.post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--ff-display); font-weight: 700; font-size: 14px; color: var(--orange-ink); }
.post__link:hover .post__media img { transform: scale(1.06); }
.post__link:hover .post__media::after { opacity: 1; }
.post__link:hover .post__title span { background-size: 100% 1px; }
.post__link:hover .post__more svg { transform: translateX(4px); }

.post--feature { grid-row: span 2; }
.post--feature .post__media { aspect-ratio: 16 / 11; margin-bottom: 26px; }
.post--feature .post__title { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: -.025em; }
.post--feature .post__excerpt { max-width: 540px; }
.post:not(.post--feature) .post__link { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 26px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post:not(.post--feature):last-child .post__link { border-bottom: 0; padding-bottom: 0; }
.news__all { margin-top: 32px; }
.show-sm { display: none !important; }

/* ==========================================================================
   6. PRESENÇA / CTA
   ========================================================================== */
.presence { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 11vw, 160px); background: var(--navy); }
.presence__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.presence__bg picture, .presence__bg img { transform-origin: center; }
.presence__bg-flip { position: absolute; inset: 0; transform: scaleX(-1); }
.presence__bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 30% 60%; will-change: transform; }
.presence__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(19,17,54,.96) 0%, rgba(28,25,77,.86) 38%, rgba(28,25,77,.35) 70%, rgba(28,25,77,.12) 100%),
    linear-gradient(0deg, rgba(14,12,41,.45), rgba(14,12,41,0) 40%);
}
.presence__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px 96px; align-items: center; }
.presence__content .h2 { margin-bottom: 22px; max-width: 540px; }
.presence__lead { font-size: 1.0625rem; line-height: 1.75; color: rgba(255,255,255,.74); max-width: 500px; margin-bottom: 36px; }
.presence__contacts { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.presence__contacts li { display: grid; gap: 2px; }
.presence__contacts span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.presence__contacts a { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; transition: color .3s; }
.presence__contacts a:hover { color: #FF8A5C; }

.finder {
  padding: 32px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(28,25,77,.72), rgba(19,17,54,.82));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.finder__label { display: block; font-family: var(--ff-display); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.finder__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.select { position: relative; }
.select select {
  width: 100%; height: 54px; padding: 0 44px 0 18px;
  appearance: none; -webkit-appearance: none;
  background: #fff; color: var(--ink);
  border: 0; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; cursor: pointer;
}
.select svg { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.finder .btn { height: 54px; }

.finder__result { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); min-height: 196px; }
.finder__result.is-swapping > * { opacity: 0; transform: translateY(8px); }
.finder__result > * { transition: opacity .45s var(--ease), transform .55s var(--ease-out); }
.finder__result.is-flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { box-shadow: inset 0 0 0 0 rgba(250,84,31,0); } 30% { box-shadow: inset 3px 0 0 0 var(--orange); } 100% { box-shadow: inset 0 0 0 0 rgba(250,84,31,0); } }
.office__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.office__city { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; color: #fff; }
.office__uf { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.office__addr { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.78); margin-bottom: 18px; }
.office__links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; font-weight: 600; }
.office__links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; transition: color .3s; }
.office__links a:hover { color: #FF8A5C; }
.office__links svg { width: 16px; height: 16px; fill: none; stroke: #FF8A5C; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(255,255,255,.66); padding-top: clamp(64px, 7vw, 96px); font-size: 15px; --lg-mark: var(--orange); --lg-audi: var(--orange); --lg-amp: var(--orange); --lg-link: #fff; --lg-tag: rgba(255,255,255,.8); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 56px; }
.footer__logo { width: 168px; height: auto; aspect-ratio: 201 / 54; margin-bottom: 22px; }
.footer__brand p { max-width: 320px; line-height: 1.7; margin-bottom: 22px; }
.footer__social { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; padding: 10px 16px 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; transition: border-color .3s, background-color .3s; }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__social:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.footer__col h3 { font-family: var(--ff-display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: #fff; }

.footer__certs { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 40px; padding: 26px 32px; background: #fff; border-radius: 16px; }
.footer__certs-label { font-family: var(--ff-display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__certs ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 22px; }
.footer__certs img { height: var(--h, 30px); width: auto; }

.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px 32px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a:hover { color: #fff; }

/* WhatsApp — visível no site inteiro, com pulso */
.whats {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(14, 12, 41, .55);
  transition: transform .5s var(--ease-out), box-shadow .3s;
}
.whats svg { position: relative; z-index: 1; width: 29px; height: 29px; fill: currentColor; }
.whats__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0; animation: whats-pulse 2.4s cubic-bezier(.2, .6, .35, 1) infinite; }
.whats__pulse--2 { animation-delay: 1.2s; }
@keyframes whats-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.whats:hover { transform: scale(1.06); box-shadow: 0 18px 36px -10px rgba(14, 12, 41, .6); }
.js .whats { opacity: 0; transform: scale(.6); }
.is-loaded .whats { opacity: 1; transform: none; transition: opacity .6s var(--ease) 1.4s, transform .8s cubic-bezier(.34, 1.56, .64, 1) 1.4s, box-shadow .3s; }
.is-loaded .whats:hover { transform: scale(1.06); transition-delay: 0s; }

/* ==========================================================================
   Reveal em scroll
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal]:not(.is-in) { transition-duration: .6s, .7s; transition-delay: 0ms; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"] .about__photo:not(.about__photo--small) { clip-path: inset(100% 0 0 0 round 18px); transition: clip-path .9s var(--ease-io); }
.js [data-reveal="mask"].is-in .about__photo:not(.about__photo--small) { transition-duration: 1.4s; }
.js [data-reveal="mask"] .about__photo:not(.about__photo--small) img { transform: scale(1.18); }
.js [data-reveal="mask"].is-in .about__photo:not(.about__photo--small) { clip-path: inset(0 0 0 0 round 18px); }
.js [data-reveal="mask"].is-in .about__photo:not(.about__photo--small) img { transform: scale(1); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .nav, .header__actions .lang { display: none; }
  .menu-toggle { display: block; }
  .header__actions { margin-left: auto; gap: 12px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__link { min-height: 360px; }
  .clients__inner { grid-template-columns: 1fr auto; gap: 20px 32px; }
  .clients__title { grid-column: 1 / -1; }
  .marquee { grid-column: 1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1180px) {
  .hero__facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hero__badge { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .presence__grid { grid-template-columns: 1fr; }
  .finder { max-width: 560px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head--row { grid-template-columns: 1fr auto; }
  .footer__certs { grid-template-columns: 1fr; }
  .footer__certs ul { justify-content: flex-start; gap: 20px 32px; }
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled { --header-h: 62px; }
  .brand__logo { width: 128px; }
  .is-scrolled .brand__logo { width: 120px; }
  .header__actions .btn--sm { display: none; }

  /* Hero mobile: foto no topo, texto sobre gradiente */
  .hero { min-height: 0; max-height: none; }
  .hero__media { bottom: auto; height: min(56svh, 480px); }
  .hero__media picture { left: 0; right: 0; }
  .hero__media img { object-position: 68% 60%; }
  .hero__media::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(28,25,77,.82) 22%, rgba(28,25,77,.12) 58%, rgba(19,17,54,.35) 100%); }
  .js .hero__media { clip-path: inset(0 0 100% 0); }
  .is-loaded .hero__media { clip-path: inset(0 0 0 0); }
  .hero__grid { grid-template-columns: 1fr; padding-top: calc(min(56svh, 480px) - 96px); padding-bottom: 36px; }
  .hero__title { font-size: clamp(2.3rem, 10.4vw, 3.6rem); margin-bottom: 20px; }
  .hero__title .line { display: inline; overflow: visible; padding: 0; margin: 0; }
  .hero__title .line > span { display: inline; }
  .js .hero .line > [data-hero] { opacity: 0; transform: none; transition: opacity 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 350ms); }
  .is-loaded .hero .line > [data-hero] { opacity: 1; }
  .hero__lead { font-size: 1rem; margin-bottom: 30px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn--lg { height: 56px; }
  .hero__facts { background: rgba(14,12,41,.5); }
  .hero__facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__eyebrow { font-size: 11.5px; letter-spacing: .12em; gap: 10px; }
  .hero__eyebrow .eyebrow__line { width: 18px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 12px 20px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .fact__num { font-size: 2rem; min-width: 0; }
  .fact__icon { width: 38px; height: 38px; border-radius: 10px; }
  .fact__label { font-size: 12px; }
  .fact__label strong { font-size: 13.5px; }
  .hero__scroll { display: none; }

  .clients__inner { grid-template-columns: 1fr; padding-block: 30px; gap: 18px; }
  .clients__title { text-align: center; font-size: 12px; }
  .marquee__track { gap: 44px; }
  .clients__all { justify-self: center; }

  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card__link { min-height: 0; padding: 26px 24px 24px; }
  .card__top { padding-bottom: 28px; }
  .card__icon { width: 38px; height: 38px; }

  .about__media { padding: 0 10% 18% 0; }
  .about__stamp { left: 12px; top: 12px; padding: 12px 16px 12px 14px; }
  .about__stamp-num { font-size: 2rem; }
  .about__stamp-txt { font-size: 12px; }
  .about__photo--small { border-width: 6px; }
  .certs__list { gap: 16px 24px; }

  .section-head--row { grid-template-columns: 1fr; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline-flex !important; }
  .news__grid { grid-template-columns: 1fr; gap: 32px; }
  .post--feature { grid-row: auto; }
  .post--feature .post__media { aspect-ratio: 16 / 10; margin-bottom: 20px; }
  .post:not(.post--feature) .post__link { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; padding-bottom: 0; border-bottom: 0; }
  .post:not(.post--feature) .post__media { aspect-ratio: 1; border-radius: 10px; }
  .post:not(.post--feature) .post__title { font-size: 1.02rem; }
  .post:not(.post--feature) .post__more { margin-top: 10px; }
  .post:not(.post--feature) { padding-top: 28px; border-top: 1px solid var(--line); }

  .finder { padding: 22px; border-radius: 16px; }
  .finder__row { grid-template-columns: 1fr; }
  .presence__contacts a { font-size: 1.15rem; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__certs { padding: 22px; }
  .footer__certs ul { gap: 18px 26px; justify-content: flex-start; }
  .footer__bottom { flex-direction: column; }
  .whats { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js .hero [data-hero], .js .hero .line > [data-hero], .js .site-header { opacity: 1 !important; transform: none !important; }
  .js .hero__media, .js [data-reveal="mask"] .about__photo { clip-path: none !important; }
  .js .hero__media img, .js [data-reveal="mask"] .about__photo img { transform: none !important; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; gap: 28px 44px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .whats__pulse { display: none; }
}

.nowrap { white-space: nowrap; }
