/* =========================================================
   SupplyCon — site institucional one page
   Desenvolvido por Fidion
   ========================================================= */

/* ---------- Fontes ----------
   Microgramma D Extended Bold (fonte oficial de títulos da marca),
   auto-hospedada em /assets/fonts. O .otf fica como fallback para
   navegadores antigos sem suporte a WOFF2. */
@font-face {
  font-family: 'Microgramma D Extended';
  src: url('../fonts/microgramma-d-extended-bold.woff2') format('woff2'),
       url('../fonts/microgramma-d-extended-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Montserrat (texto), auto-hospedada: subconjunto latino (cobre o português),
   pesos 400/500/600. Licença SIL OFL 1.1. */
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* marca */
  --lima: #adde4e;
  --carbon: #242422;
  --crema: #f2f2f2;

  /* derivados */
  --lima-dark: #93c235;
  --lima-soft: rgba(173, 222, 78, 0.12);
  --carbon-900: #1b1b19;
  --carbon-800: #242422;
  --carbon-700: #2c2c29;
  --carbon-600: #383834;
  --carbon-line: rgba(242, 242, 242, 0.12);
  --crema-100: #ffffff;
  --crema-200: #e9e9e6;
  --crema-line: rgba(36, 36, 34, 0.12);
  --txt-dark: #242422;
  --txt-dark-soft: #56564f;
  --txt-light: #f2f2f2;
  --txt-light-soft: rgba(242, 242, 242, 0.72);

  /* tipografia */
  --ff-title: 'Microgramma D Extended', 'Arial Black', 'Segoe UI', sans-serif;
  --ff-text: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 32px);
  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 10px;
  --section-y: clamp(72px, 9vw, 128px);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--txt-dark);
  font-family: var(--ff-text);
  font-size: clamp(15px, 0.45vw + 14px, 17px);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--lima);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--light :focus-visible,
.cta-final :focus-visible { outline-color: var(--carbon); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--lima);
  color: var(--carbon);
  font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ---------- Tipografia base ---------- */
.section__title,
.hero__title,
.cta-final__title,
.step__num,
.card__index {
  font-family: var(--ff-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  text-wrap: balance;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--lima);
  margin-bottom: 18px;
}
.eyebrow--solid {
  background: var(--lima);
  color: var(--carbon);
  padding: 7px 14px;
  border-radius: 6px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 14px; white-space: nowrap; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--xl { padding: 20px 36px; font-size: clamp(16px, 1.2vw, 18px); border-radius: 12px; }

.btn--primary { background: var(--lima); color: var(--carbon); border-color: var(--lima); }
.btn--primary:hover { background: var(--lima-dark); border-color: var(--lima-dark); }

.btn--dark { background: var(--carbon); color: var(--crema); border-color: var(--carbon); }
.btn--dark:hover { background: #000; border-color: #000; }

.btn--ghost { background: transparent; color: var(--crema); border-color: rgba(242, 242, 242, 0.4); }
.btn--ghost:hover { border-color: var(--crema); background: rgba(242, 242, 242, 0.08); }

.btn__wa { width: 22px; height: 22px; flex: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: box-shadow 0.25s var(--ease);
}
/* Fundo e desfoque ficam numa camada própria: um backdrop-filter no
   próprio .header viraria o "containing block" do menu mobile (fixed)
   e cortaria o painel na altura do cabeçalho. */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--carbon);
  transition: background-color 0.25s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35); }
.header.is-scrolled::before {
  background: rgba(27, 27, 25, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.header__logo { display: flex; align-items: center; flex: none; }
.header__logo img { width: auto; height: 30px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav__link {
  position: relative;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--txt-light-soft);
  padding: 6px 0;
  transition: color 0.18s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--lima);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--crema); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.hamburger {
  display: none;
  position: relative;
  z-index: 96; /* acima do painel do menu, para o "X" continuar clicável */
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
  flex: none;
}
.hamburger__bar {
  width: 22px; height: 2px;
  background: var(--crema);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded='true'] .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.nav-overlay[hidden] { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 820px);
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 96px));
  padding-bottom: clamp(56px, 9vw, 96px);
  background: var(--carbon-900);
  color: var(--txt-light);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
/* Fundo gráfico da marca: fica visível enquanto o vídeo não existir/carregar */
.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(173, 222, 78, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #1b1b19 0%, #2b2b28 52%, #1b1b19 100%);
}
/* Grafismo oficial da marca (faixa vertical de formas em "S") */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/icons/grafismo-lima.svg');
  background-repeat: no-repeat;
  background-position: right 7% center;
  background-size: auto 118%;
  opacity: 0.2;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero__video.is-ready { opacity: 1; }
/* Duas camadas: uma vertical para dar peso ao topo/base e outra horizontal
   que escurece a coluna do texto, garantindo contraste AA sobre o vídeo. */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 20, 18, 0.79) 0%, rgba(20, 20, 18, 0.62) 42%, rgba(20, 20, 18, 0.26) 100%),
    linear-gradient(180deg, rgba(27, 27, 25, 0.42) 0%, rgba(27, 27, 25, 0.13) 45%, rgba(27, 27, 25, 0.58) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 1020px; }
.hero__title {
  font-size: clamp(26px, 3.6vw, 42px);
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--txt-light-soft);
  max-width: 660px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); }

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  border-top: 1px solid var(--carbon-line);
  padding-top: 26px;
}
.hero__highlights li {
  position: relative;
  padding-right: clamp(20px, 3vw, 38px);
  margin-right: clamp(20px, 3vw, 38px);
  font-size: 14px;
  color: var(--txt-light-soft);
  line-height: 1.45;
}
.hero__highlights li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 4px;
  width: 1px; height: calc(100% - 8px);
  background: var(--carbon-line);
}
.hero__highlights strong {
  display: block;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: clamp(15px, 1.1vw, 17px);
  letter-spacing: -0.02em;
  color: var(--lima);
  margin-bottom: 2px;
}

/* =========================================================
   SEÇÕES
   ========================================================= */
.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: var(--header-h);
}
.section--light { background: var(--crema); color: var(--txt-dark); }
.section--dark { background: var(--carbon); color: var(--txt-light); }
.section--dark .section__lead { color: var(--txt-light-soft); }
.section--light .section__lead { color: var(--txt-dark-soft); }

.section--grafismo { overflow: hidden; }
.section--grafismo::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: clamp(16px, 3.5vw, 56px);
  width: 130px;
  background: url('../img/icons/grafismo-lima.svg') no-repeat left center / auto 100%;
  opacity: 0.09;
  pointer-events: none;
}
/* Só aparece quando a lateral comporta o grafismo sem invadir o texto */
@media (max-width: 1439px) {
  .section--grafismo::before { display: none; }
}

.section__head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__title { font-size: clamp(21px, 2.6vw, 32px); margin-bottom: 20px; }
.section__lead { font-size: clamp(15px, 1.05vw, 17px); max-width: 720px; }

/* ---------- Cards genéricos ---------- */
.cards { display: grid; gap: clamp(16px, 2vw, 24px); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.carousel-dots { display: none; } /* ativado só no mobile */

.card {
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--crema-line);
  background: var(--crema-100);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 36, 34, 0.22);
  box-shadow: 0 14px 32px rgba(36, 36, 34, 0.08);
}
.section--dark .card { background: var(--carbon-700); border-color: var(--carbon-line); }
.section--dark .card:hover { border-color: rgba(173, 222, 78, 0.35); box-shadow: none; }

.card__index {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--lima-dark);
  margin-bottom: 16px;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--lima-soft);
  margin-bottom: 20px;
  transition: background-color 0.22s var(--ease);
}
/* Ícones duotone: contorno Carbon + preenchimento Lima */
.card__icon svg { width: 30px; height: 30px; }
.card__icon .ico-line { fill: var(--carbon); }
.card__icon .ico-fill { fill: var(--lima); }
.card:hover .card__icon { background: rgba(173, 222, 78, 0.24); }
.card__title { font-size: clamp(16px, 1.25vw, 19px); font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.card__text { font-size: 15px; color: var(--txt-dark-soft); }
.section--dark .card__text { color: var(--txt-light-soft); }

.card--pain { border-left: 3px solid var(--lima); }

/* ---------- Fechamento de seção ---------- */
.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--crema-line);
}
.section--dark .closing { border-top-color: var(--carbon-line); }
.closing--center { justify-content: center; text-align: center; }
.closing__text { font-size: clamp(16px, 1.4vw, 20px); max-width: 620px; }
.closing__text strong { font-weight: 600; }

/* =========================================================
   TIMELINE — COMO FUNCIONA
   ========================================================= */
.steps {
  display: grid;
  gap: clamp(20px, 2vw, 24px);
  grid-template-columns: 1fr;
}
.step {
  position: relative;
  padding-top: 34px;
  border-top: 1px solid var(--carbon-line);
}
.step::before {
  content: '';
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lima);
}
.step__num {
  display: block;
  font-family: var(--ff-title);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  color: var(--lima);
  margin-bottom: 14px;
}
.step__title { font-size: clamp(15px, 1.15vw, 18px); font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.step__text { font-size: 14.5px; color: var(--txt-light-soft); }

/* =========================================================
   DIFERENCIAIS — prova visual
   ========================================================= */
.proof {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  margin-top: clamp(44px, 5vw, 72px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--carbon);
  color: var(--txt-light);
}
.proof__media { display: grid; }
.proof__figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--carbon-700); }
.proof__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.proof__title { font-family: var(--ff-title); font-weight: 700; letter-spacing: -0.02em; line-height: 1.16; font-size: clamp(19px, 1.8vw, 25px); margin-bottom: 14px; }
.proof__text { color: var(--txt-light-soft); margin-bottom: 26px; font-size: 15.5px; }
.proof .btn--dark { background: var(--lima); color: var(--carbon); border-color: var(--lima); }
.proof .btn--dark:hover { background: var(--lima-dark); border-color: var(--lima-dark); }

/* =========================================================
   SOLUÇÕES
   ========================================================= */
.cards--categoria { grid-template-columns: 1fr; }

.categoria {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--carbon-700);
  border: 1px solid var(--carbon-line);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.categoria:hover { transform: translateY(-4px); border-color: rgba(173, 222, 78, 0.35); }
.categoria__media { margin: 0; overflow: hidden; background: var(--carbon-900); }
.categoria__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.categoria:hover .categoria__media img { transform: scale(1.04); }
.categoria__body { padding: clamp(20px, 2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.categoria__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 12px;
}
.categoria__title { font-size: clamp(16px, 1.25vw, 19px); font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.categoria__text { font-size: 14.5px; color: var(--txt-light-soft); }

.categoria--cta { background: var(--lima); border-color: var(--lima); color: var(--carbon); }
.categoria--cta .categoria__body { justify-content: center; }
.categoria__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(36, 36, 34, 0.12);
  margin-bottom: 18px;
}
.categoria__mark svg { width: 22px; height: 22px; }
.categoria__title--cta { font-size: clamp(17px, 1.35vw, 20px); }
.categoria__text--cta { color: rgba(36, 36, 34, 0.78); margin-bottom: 22px; }
.categoria--cta .btn { align-self: flex-start; }

/* =========================================================
   CLIENTES
   ========================================================= */
/* Faixa fixa com as logos, separadas por fios verticais */
.clientes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-bottom: clamp(44px, 5vw, 72px);
  padding-block: clamp(20px, 2.5vw, 32px);
  border-block: 1px solid var(--crema-line);
}
.clientes li {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 84px;
  padding-inline: 12px;
}
.clientes li + li { border-left: 1px solid var(--crema-line); }
.clientes img {
  width: auto;
  height: var(--h, 56px);
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
/* Em telas com mouse: tons de cinza, cor ao passar o cursor.
   No toque (sem hover) as logos ficam sempre coloridas. */
@media (hover: hover) {
  .clientes img { filter: grayscale(1); opacity: 0.72; }
  .clientes li:hover img { filter: none; opacity: 1; }
}

.depoimentos {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.depoimento {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--radius);
  background: var(--crema-100);
  border: 1px solid var(--crema-line);
  border-top: 3px solid var(--lima);
}
.depoimento__quote p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.depoimento__autor { font-size: 14px; font-weight: 600; }
.depoimento__autor span { display: block; font-weight: 400; color: var(--txt-dark-soft); font-size: 13px; margin-top: 2px; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--lima);
  color: var(--carbon);
  padding-block: clamp(64px, 8vw, 104px);
  scroll-margin-top: var(--header-h);
}
.cta-final::before {
  content: '';
  position: absolute;
  right: 6%; top: 0; bottom: 0;
  width: 150px;
  background: url('../img/icons/grafismo-carbon.svg') no-repeat center / auto 125%;
  opacity: 0.16;
  pointer-events: none;
}
.cta-final__inner { position: relative; z-index: 1; max-width: 820px; }
.cta-final__title { font-size: clamp(21px, 2.7vw, 34px); margin-bottom: 18px; }
.cta-final__text { font-size: clamp(15px, 1.2vw, 18px); color: rgba(36, 36, 34, 0.8); margin-bottom: 34px; max-width: 640px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { background: var(--carbon-900); color: var(--txt-light); padding-top: clamp(56px, 6vw, 80px); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
}
.footer__logo { width: auto; height: 32px; margin-bottom: 20px; }
.footer__claim { font-size: 14.5px; color: var(--txt-light-soft); max-width: 420px; }
.footer__heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14.5px; color: var(--txt-light-soft); transition: color 0.18s var(--ease); }
.footer__col a:hover { color: var(--lima); }
/* Contatos: ícone + rótulo do canal (legenda) + dado em destaque */
.footer__contatos { gap: 16px; }
.footer__col .contato {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--txt-light);
}
.contato__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(242, 242, 242, 0.06);
  border: 1px solid var(--carbon-line);
  color: var(--lima);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.contato__icone svg { width: 19px; height: 19px; }
.contato__texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contato__rotulo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.58);
}
.footer__col .contato:hover { color: var(--lima); }
.footer__col .contato:hover .contato__icone { background: var(--lima); border-color: var(--lima); color: var(--carbon); }

.footer__meta { margin-top: 18px; font-size: 13px; color: rgba(242, 242, 242, 0.58); max-width: 300px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--carbon-line);
  font-size: 13px;
  color: rgba(242, 242, 242, 0.58);
}
.footer__credito a {
  color: rgba(242, 242, 242, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(242, 242, 242, 0.35);
}
.footer__credito a:hover { color: var(--lima); }

/* =========================================================
   PÁGINA 404
   ========================================================= */
.pagina-erro { background: var(--carbon-900); color: var(--txt-light); }
.pagina-erro .header__inner { gap: 16px; }
.erro {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 88px));
  padding-bottom: clamp(48px, 8vw, 88px);
}
/* mesmo grafismo do hero, do lado direito */
.erro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/icons/grafismo-lima.svg') no-repeat right 6% center / auto 118%;
  opacity: 0.16;
  pointer-events: none;
}
.erro__inner { position: relative; z-index: 1; max-width: 680px; }
.erro__numero {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: clamp(72px, 13vw, 132px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px var(--lima);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.erro__titulo {
  font-family: var(--ff-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  font-size: clamp(22px, 2.8vw, 34px);
  margin-bottom: 16px;
}
.erro__texto { color: var(--txt-light-soft); font-size: clamp(15px, 1.2vw, 17px); max-width: 560px; margin-bottom: 32px; }
.erro__acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.erro__atalhos { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--carbon-line); }
.erro__atalhos-titulo { font-size: 13px; color: rgba(242, 242, 242, 0.58); margin-bottom: 12px; }
.erro__atalhos ul { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.erro__atalhos a {
  font-size: 14.5px;
  color: var(--txt-light-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(242, 242, 242, 0.28);
  transition: color 0.18s var(--ease);
}
.erro__atalhos a:hover { color: var(--lima); }
.footer--erro { padding-top: 0; background: transparent; }

@media (max-width: 767px) {
  .erro::before { background-position: right -40px center; opacity: 0.12; }
  .erro__acoes .btn { width: 100%; }
}

/* =========================================================
   PÁGINA DE LINKS (/links) — para a bio do Instagram
   ========================================================= */
.pagina-links { background: var(--carbon-900); color: var(--txt-light); }
.links {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 7vw, 64px) var(--gutter);
}
.links::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/icons/grafismo-lima.svg') no-repeat right -40px center / auto 120%;
  opacity: 0.14;
  pointer-events: none;
}
.links__inner { position: relative; z-index: 1; width: 100%; max-width: 460px; }

.links__topo { text-align: center; margin-bottom: clamp(28px, 5vw, 40px); }
.links__logo { width: auto; height: 38px; margin: 0 auto 20px; }
.links__claim { font-size: 14.5px; line-height: 1.55; color: var(--txt-light-soft); }

.links__lista { display: grid; gap: 12px; }
.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--carbon-700);
  border: 1px solid var(--carbon-line);
  color: var(--txt-light);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.link-item:hover { transform: translateY(-2px); border-color: rgba(173, 222, 78, 0.45); }
.link-item__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(173, 222, 78, 0.12);
  color: var(--lima);
}
.link-item__icone svg { width: 21px; height: 21px; }
.link-item__texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-item__texto strong { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.link-item__texto span { font-size: 13px; color: var(--txt-light-soft); line-height: 1.35; }
.link-item__seta { margin-left: auto; flex: none; color: rgba(242, 242, 242, 0.45); transition: color 0.18s var(--ease), transform 0.18s var(--ease); }
.link-item__seta svg { width: 18px; height: 18px; }
.link-item:hover .link-item__seta { color: var(--lima); transform: translateX(3px); }

/* o primeiro é o canal principal: Lima cheio */
.link-item--destaque {
  background: var(--lima);
  border-color: var(--lima);
  color: var(--carbon);
}
.link-item--destaque:hover { background: var(--lima-dark); border-color: var(--lima-dark); }
.link-item--destaque .link-item__icone { background: rgba(36, 36, 34, 0.14); color: var(--carbon); }
.link-item--destaque .link-item__texto span { color: rgba(36, 36, 34, 0.72); }
.link-item--destaque .link-item__seta { color: rgba(36, 36, 34, 0.5); }
.link-item--destaque:hover .link-item__seta { color: var(--carbon); }

.links__rodape { margin-top: clamp(28px, 5vw, 40px); text-align: center; font-size: 12.5px; line-height: 1.6; color: rgba(242, 242, 242, 0.58); }
.links__rodape p + p { margin-top: 6px; }

@media (max-width: 767px) {
  .links::before { background-position: right -90px center; opacity: 0.1; }
}

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lima);
  color: var(--carbon);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); background: var(--lima-dark); }

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */
/* Só escondem conteúdo quando o JS está ativo (classe .js adicionada no <head>),
   garantindo que a página continue legível se o script falhar. */
.js [data-anim] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js [data-anim].is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (min-width: 600px) {
  .cards--categoria { grid-template-columns: repeat(2, 1fr); }
  .categoria--cta { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .cards--feature { grid-template-columns: repeat(3, 1fr); }

  /* Grade de 6 colunas só para distribuir 5 categorias sem sobrar buraco:
     3 cards de 2 colunas na primeira linha e 2 cards de 3 colunas na segunda. */
  .cards--categoria { grid-template-columns: repeat(6, 1fr); }
  .cards--categoria > .categoria { grid-column: span 2; }
  .cards--categoria > .categoria:nth-of-type(4),
  .cards--categoria > .categoria:nth-of-type(5) { grid-column: span 3; }
  /* Os dois cards largos recebem imagem mais baixa, para as linhas
     terminarem com alturas parecidas. */
  .cards--categoria > .categoria:nth-of-type(4) .categoria__media img,
  .cards--categoria > .categoria:nth-of-type(5) .categoria__media img { aspect-ratio: 16 / 9; }
  .cards--categoria > .categoria--cta { grid-column: 1 / -1; }

  /* O card Lima vira uma faixa de largura total: reforça que a lista é aberta */
  .categoria--cta .categoria__body {
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 2.4vw, 40px);
    padding-block: clamp(24px, 2.4vw, 34px);
  }
  .categoria--cta .categoria__mark { margin-bottom: 0; flex: none; }
  .categoria__title--cta { margin-bottom: 0; flex: 0 1 340px; }
  .categoria__text--cta { margin-bottom: 0; flex: 1 1 auto; max-width: 420px; }
  .categoria--cta .btn { align-self: center; flex: none; }
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 1.6vw, 22px); }
}

@media (max-width: 1023px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 95;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: calc(var(--header-h) + 24px) 26px 32px;
    background: var(--carbon-900);
    border-left: 1px solid var(--carbon-line);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--carbon-line);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 24px; width: 100%; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 767px) {
  :root { --header-h: 66px; }

  .hero { min-height: auto; }
  /* o vídeo não é baixado no mobile (controle no main.js); o <video> exibe só o poster */
  /* no celular o texto ocupa a largura toda, sem a ajuda do escurecimento lateral */
  .hero__overlay { background: linear-gradient(180deg, rgba(20, 20, 18, 0.72) 0%, rgba(20, 20, 18, 0.6) 45%, rgba(20, 20, 18, 0.8) 100%); }
  .hero__media::after { background-position: right -30px center; background-size: auto 105%; opacity: 0.14; }
  .hero__actions .btn { width: 100%; }
  .hero__highlights { display: grid; gap: 16px; }
  .hero__highlights li { padding-right: 0; margin-right: 0; }
  .hero__highlights li:not(:last-child)::after { display: none; }

  /* Diferenciais: carrossel com rolagem nativa + snap (só no mobile).
     O card seguinte aparece pela metade para indicar que dá para arrastar. */
  .cards--feature {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cards--feature::-webkit-scrollbar { display: none; }
  .cards--feature > .card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
  .cards--feature > .card:hover { transform: none; box-shadow: none; }
  /* cards fora da tela na horizontal nunca "entram" na viewport:
     no carrossel, a animação de entrada fica só no bloco */
  .js .cards--feature > [data-anim] { opacity: 1; transform: none; }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 14px;
  }
  .carousel-dots button {
    width: 28px; height: 28px;
    display: grid;
    place-items: center;
  }
  .carousel-dots button::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 999px;
    background: rgba(36, 36, 34, 0.22);
    transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
  }
  .carousel-dots button[aria-current='true']::before { width: 22px; background: var(--carbon); }

  .closing { flex-direction: column; align-items: flex-start; }
  .closing--center { align-items: center; }
  .closing .btn { width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    padding: 0 0 30px 28px;
    border-top: 0;
    border-left: 1px solid var(--carbon-line);
  }
  .step:last-child { padding-bottom: 0; border-left-color: transparent; }
  .step::before { top: 6px; left: -5px; }
  .step__num { margin-bottom: 8px; }

  .proof { grid-template-columns: 1fr; }
  .proof .btn { width: 100%; }

  .categoria--cta .btn { width: 100%; }

  .cta-final::before { right: -40px; opacity: 0.12; }
  .cta-final .btn { width: 100%; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }

  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}

@media (max-width: 380px) {
  .header__logo img { height: 26px; }
}

/* ---------- Preferências de movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-anim] { opacity: 1; transform: none; }
}
