/* =========================================================
   DCM Consultoria e Representações — estilos
   ========================================================= */

/* Fontes self-hosted (subset latin) */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; src: url(../fonts/archivo.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/jetbrains-mono.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --orange: #f5a01a;
  --orange-600: #e08a00;
  --orange-soft: rgba(245, 160, 26, .14);
  --steel: #a9aeb1;
  --steel-200: #d6d9db;
  --graphite: #4d4e50;

  --ink-950: #0d0e10;
  --ink-900: #131416;
  --ink-850: #191a1d;
  --ink-800: #202226;
  --ink-700: #2b2d32;
  --line-dark: rgba(255, 255, 255, .09);

  --paper: #f4f2ee;
  --paper-2: #ebe8e2;
  --line-light: rgba(19, 20, 22, .12);

  --text-dark: #15161a;
  --text-dark-2: #55585e;
  --text-light: #f3f2ef;
  --text-light-2: #a3a6ab;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::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-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--ink-950); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink-950); padding: 8px 14px; border-radius: 8px; z-index: 999; font-weight: 600; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.h-display {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.025em;
  margin: 0;
}
.h-section {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 750;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.h-section em, .h-display em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--text-light-2); max-width: 60ch; text-wrap: pretty; }
.section--light .lead { color: var(--text-dark-2); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--orange); --fg: var(--ink-950);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: .005em;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(245, 160, 26, .6); }
.btn--ghost { --bg: transparent; --fg: var(--text-light); border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { border-color: var(--orange); box-shadow: none; }
.section--light .btn--ghost { --fg: var(--text-dark); border-color: var(--line-light); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 20, 22, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(13, 14, 16, .9); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand svg { height: 38px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-stretch: 110%; font-size: 15px; letter-spacing: .02em; }
.brand__text span { font-size: 11.5px; color: var(--text-light-2); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--text-light-2);
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--text-light); }
.nav a.is-active::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-dark); background: var(--ink-850);
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(245, 160, 26, .18), transparent 60%),
    radial-gradient(40% 50% at 10% 100%, rgba(169, 174, 177, .08), transparent 70%),
    var(--ink-900);
}
.hero::before { /* grade técnica */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 85%);
}
.hero .container {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 24px;
  min-height: min(calc(100svh - var(--header-h)), 820px);
  padding-top: clamp(24px, 3vw, 40px);
}
.hero__content { align-self: start; padding-block: clamp(36px, 4.5vw, 64px) clamp(48px, 6vw, 80px); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 4.6vw, 72px); margin-top: 20px; max-width: 14ch; text-wrap: balance; }
.hero .lead { margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 520px; }
.hero__tag { /* "etiqueta" inspirada na logo */
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(96%, 470px); aspect-ratio: 5 / 6; max-height: 80%;
  background: linear-gradient(160deg, var(--orange) 0%, #d97f00 100%);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 40px 120px -30px rgba(245, 160, 26, .55);
}
.hero__tag::before {
  content: ""; position: absolute; top: 22px; left: 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink-900); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .25);
}
.hero__tag::after {
  content: "DCM"; position: absolute; right: 20px; top: 14px;
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 15px; letter-spacing: .2em;
  color: rgba(13, 14, 16, .55);
}
.hero__photo {
  position: relative; z-index: 1; width: min(100%, 470px); height: auto; max-height: 92%;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}
.hero__badge {
  position: absolute; z-index: 2;
  background: rgba(19, 20, 22, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: 16px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.hero__badge strong { font-family: var(--font-display); font-stretch: 112%; font-size: 30px; line-height: 1; color: var(--orange); }
.hero__badge span { font-size: 13px; line-height: 1.3; color: var(--text-light-2); }
.hero__badge--a { left: -4%; top: 30%; }
.hero__badge--b { right: -2%; bottom: 16%; }
.hero__name {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: var(--ink-950); border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; white-space: nowrap;
}
.hero__name b { color: var(--text-light); font-weight: 600; }
.hero__name span { color: var(--text-light-2); }

/* ---------- Faixa de marcas ---------- */
.brands { background: var(--paper); color: var(--text-dark); border-bottom: 1px solid var(--line-light); }
.brands .container { display: flex; align-items: center; gap: 32px; padding-block: 26px; }
.brands__label { flex: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dark-2); max-width: 150px; line-height: 1.5; }
.marquee { position: relative; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section--light { background: var(--paper); color: var(--text-dark); }
.section--dark { background: var(--ink-900); }
.section--darker { background: var(--ink-950); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head .lead { margin: 0; justify-self: end; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text p { margin: 22px 0 0; color: var(--text-dark-2); font-size: 17.5px; }
.about__text p strong { color: var(--text-dark); font-weight: 600; }
.about__quote {
  margin: 34px 0 0; padding: 22px 26px; border-left: 3px solid var(--orange);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-stretch: 105%; font-size: 20px; line-height: 1.4; font-weight: 500;
}
.about__quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-size: 14px; color: var(--text-dark-2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line-light); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -.03em; }
.stat strong sup { font-size: .5em; color: var(--orange); vertical-align: super; margin-left: 2px; }
.stat span { display: block; margin-top: 10px; color: var(--text-dark-2); font-size: 15px; }

.about__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.about__media figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .m1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.about__media .m2, .about__media .m3 { aspect-ratio: 1; }
.about__media .stamp {
  position: absolute; right: -14px; top: -22px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--ink-950); color: var(--text-light); display: grid; place-items: center; text-align: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  box-shadow: 0 0 0 6px var(--paper);
}
.about__media .stamp b { display: block; font-family: var(--font-display); font-size: 30px; letter-spacing: -.02em; color: var(--orange); font-stretch: 112%; }

/* ---------- Soluções ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.service {
  position: relative; padding: 36px 30px 40px; background: var(--ink-900); min-height: 340px;
  display: flex; flex-direction: column; transition: background-color .35s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--orange); transition: width .5s var(--ease);
}
.service:hover { background: var(--ink-850); }
.service:hover::before { width: 100%; }
.service__num { font-family: var(--font-mono); font-size: 13px; color: var(--text-light-2); }
.service__icon {
  width: 56px; height: 56px; margin: 40px 0 28px; border-radius: 14px;
  display: grid; place-items: center; background: var(--orange-soft); color: var(--orange);
  transition: background-color .3s, color .3s;
}
.service:hover .service__icon { background: var(--orange); color: var(--ink-950); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-family: var(--font-display); font-stretch: 108%; font-size: 23px; line-height: 1.15; margin: 0; font-weight: 700; }
.service p { margin: 14px 0 0; color: var(--text-light-2); font-size: 15.5px; }

/* processo */
.process { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.process h3 { font-family: var(--font-display); font-stretch: 108%; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: 16px 0 0; font-weight: 700; }
.process__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process__steps li {
  counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--line-dark);
}
.process__steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.process__steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-stretch: 112%; font-weight: 800;
  font-size: 30px; line-height: 1; color: var(--orange);
}
.process__steps h4 { margin: 0; font-size: 19px; font-weight: 600; }
.process__steps p { margin: 6px 0 0; color: var(--text-light-2); font-size: 15.5px; }

/* ---------- Segmentos ---------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.segments__intro {
  grid-column: span 2; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg);
  background: var(--ink-950); color: var(--text-light); display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.segments__intro p { margin: 0; color: var(--text-light-2); font-size: 16.5px; }
.segments__intro p strong { color: var(--text-light); font-weight: 600; }
.segments__pillars { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--text-light-2); }
.pill--hot { border-color: var(--orange); color: var(--orange); }

.segment {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--ink-800);
  isolation: isolate;
}
.segment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85); }
.segment::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13, 14, 16, 0) 35%, rgba(13, 14, 16, .88) 100%);
  transition: background-color .4s;
}
.segment h3 {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; margin: 0;
  font-family: var(--font-display); font-stretch: 106%; font-weight: 650; font-size: 17.5px; line-height: 1.15; color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.segment h3::after {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--orange);
  transform: scale(0); transition: transform .35s var(--ease);
}
.segment:hover img { transform: scale(1.07); filter: saturate(1.05); }
.segment:hover h3::after { transform: scale(1); }
.segment__idx { position: absolute; z-index: 2; top: 14px; left: 16px; font-family: var(--font-mono); font-size: 11.5px; color: rgba(255, 255, 255, .75); letter-spacing: .08em; }

.segment--cta {
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px;
  background: var(--orange); color: var(--ink-950); transition: background-color .3s;
}
.segment--cta::after { display: none; }
.segment--cta:hover { background: #ffb22e; }
.segment--cta strong { font-family: var(--font-display); font-stretch: 106%; font-size: 19px; line-height: 1.15; }
.segment--cta span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.segment--cta svg { width: 26px; height: 26px; }

/* ---------- Parceiros ---------- */
.partners-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); margin-bottom: clamp(48px, 6vw, 80px); align-items: end; }
.partners-intro p { color: var(--text-light-2); margin: 0 0 16px; }
.partners-intro p:last-child { margin-bottom: 0; }
.partners-intro p strong { color: var(--text-light); font-weight: 600; }

.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.partner {
  display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: start;
  padding: 24px; border-radius: var(--radius-lg); background: var(--ink-850); border: 1px solid var(--line-dark);
  transition: border-color .3s, transform .3s var(--ease), background-color .3s;
}
.partner:hover { border-color: rgba(245, 160, 26, .5); transform: translateY(-3px); background: var(--ink-800); }
.partner__logo {
  background: #fff; border-radius: 12px; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px;
}
.partner__logo img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }
.partner__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.partner h3 { margin: 6px 0 0; font-family: var(--font-display); font-stretch: 106%; font-size: 22px; font-weight: 700; }
.partner p { margin: 8px 0 0; color: var(--text-light-2); font-size: 15px; line-height: 1.55; }
.partner__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--text-light); }
.partner__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.partner__link:hover { color: var(--orange); }
.partner__link:hover svg { transform: translate(2px, -2px); }

.partners-more {
  margin-top: 16px; padding: 22px 26px; border-radius: var(--radius-lg); border: 1px dashed rgba(255, 255, 255, .18);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--text-light-2); font-size: 15px;
}
.partners-more b { color: var(--text-light); font-weight: 600; margin-right: 6px; }

/* ---------- Em campo (galeria) ---------- */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery figure {
  position: relative; margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: var(--paper-2);
}
.gallery img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: 13px; font-weight: 500; color: #fff; padding: 8px 12px; border-radius: 10px;
  background: rgba(13, 14, 16, .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  width: fit-content; max-width: calc(100% - 24px);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; transform: none; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(8, 9, 10, .9); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; border-radius: 12px; object-fit: contain; margin: auto; }
.lightbox p { text-align: center; color: var(--text-light); margin: 14px 0 0; font-size: 15px; }
.lightbox__btn {
  position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(19, 20, 22, .8); display: grid; place-items: center; color: #fff;
}
.lightbox__btn:hover { border-color: var(--orange); color: var(--orange); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Compromisso ---------- */
.commitment { position: relative; overflow: hidden; background: var(--ink-950); }
.commitment::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/campo/visita-porto.webp") center 60% / cover no-repeat;
  opacity: .22; filter: grayscale(.4);
}
.commitment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-950) 20%, rgba(13, 14, 16, .55)); }
.commitment .container { position: relative; z-index: 1; }
.commitment blockquote {
  margin: 22px 0 0; max-width: 20ch;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -.02em;
}
.commitment blockquote em { font-style: normal; color: var(--orange); }
.commitment p { margin: 28px 0 0; max-width: 56ch; color: var(--text-light-2); font-size: 18px; }
.values { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.values li { list-style: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); font-size: 14.5px; }
.values li svg { width: 17px; height: 17px; color: var(--orange); }
.values { padding: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .lead { margin-top: 22px; }
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--font-display); font-stretch: 104%; font-size: clamp(18px, 1.7vw, 21px); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light); position: relative; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary .plus { background: var(--orange); border-color: var(--orange); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq summary:hover .plus { border-color: var(--orange); }
.faq__body { padding: 0 60px 28px 0; color: var(--text-dark-2); }
.faq__body p { margin: 0; }
.faq__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.faq__brands span { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); color: var(--text-dark); }

/* ---------- Contato ---------- */
.contact { background: var(--ink-900); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 160, 26, .16), transparent 65%);
}
.contact .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact h2 { font-size: clamp(38px, 5.5vw, 72px); }
.contact__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; }
.contact__list a {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); transition: border-color .3s, background-color .3s;
}
.contact__list a:hover { border-color: rgba(245, 160, 26, .5); background: rgba(245, 160, 26, .05); }
.contact__list .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; }
.contact__list .ico svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: 12.5px; color: var(--text-light-2); font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.contact__list b { font-weight: 600; font-size: 17px; }
.contact__note { margin-top: 22px; font-size: 14.5px; color: var(--text-light-2); display: flex; gap: 10px; align-items: flex-start; }
.contact__note svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }

.form {
  background: var(--ink-850); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 44px);
  align-self: start;
}
.form h3 { margin: 0; font-family: var(--font-display); font-stretch: 106%; font-size: 26px; font-weight: 700; }
.form > p { margin: 8px 0 26px; color: var(--text-light-2); font-size: 15px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-light-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text-light);
  background: var(--ink-900); border: 1px solid var(--line-dark); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23a3a6ab' stroke-width='1.6' d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #6c6f75; }
.field [aria-invalid] , .field input[aria-invalid], .field textarea[aria-invalid] { border-color: #e5484d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.form .btn { width: 100%; margin-top: 20px; }
.form__hint { margin: 14px 0 0; font-size: 13px; color: var(--text-light-2); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); border-top: 1px solid var(--line-dark); padding-top: 72px; font-size: 15px; color: var(--text-light-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin: 20px 0 0; max-width: 34ch; }
.footer h4 { margin: 0 0 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-light); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.footer__social a:hover { border-color: var(--orange); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.footer__bottom a { color: var(--text-light); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 10px 10px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .partner { grid-template-columns: 1fr; }
  .partner__logo { aspect-ratio: auto; height: 110px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px; background: var(--ink-950); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 20px 0 0; }

  .hero .container { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding-bottom: 8px; }
  .hero__visual { min-height: 0; height: clamp(420px, 95vw, 560px); }
  /* altura explícita: evita a foto renderizar gigante antes do layout (Safari iOS) */
  .hero__photo {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: auto; height: 92%; max-height: none; max-width: 100%;
  }
  .hero__badge--a { left: 0; top: 44%; }
  .hero__badge--b { right: 0; top: 63%; bottom: auto; }

  .brands .container { flex-direction: column; align-items: stretch; gap: 18px; }
  .brands__label { max-width: none; text-align: center; }

  .section__head, .about, .process, .partners-intro, .faq-wrap, .contact .container { grid-template-columns: 1fr; }
  .section__head .lead { justify-self: start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 28px; }
  .segments { grid-template-columns: repeat(3, 1fr); }
  .segments__intro { grid-column: 1 / -1; }
  .partners { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 150px 1fr; }
  .partner__logo { aspect-ratio: 4 / 3; height: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__text { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { padding: 10px 14px; gap: 10px; }
  .hero__badge strong { font-size: 24px; }
  .hero__badge span { font-size: 12px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__icon { margin: 24px 0 20px; }
  .segments { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .segment h3 { font-size: 15px; left: 14px; right: 14px; bottom: 12px; }
  .partner { grid-template-columns: 1fr; }
  .partner__logo { aspect-ratio: auto; height: 92px; }
  .partner__logo img { max-height: 52px; max-width: 70%; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .about__media .stamp { width: 104px; height: 104px; right: -6px; font-size: 9px; }
  .about__media .stamp b { font-size: 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .faq__body { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
