/* ULTY Brasil — Ativar garantia de tela
   Cores do Manual de Diretrizes de Marca (v1.0): azul Pantone 2132 C e Cool Gray 1 C. */

@font-face {
  font-family: "Instrument Sans";
  src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul: #1245FF;          /* azul institucional ULTY — troque aqui se necessário */
  --azul-ativo: #3360FF;
  --preto: #000;
  --branco: #fff;
  --cinza: #D9D9D6;         /* Pantone Cool Gray 1 C */
  --nevoa: #F4F4F2;
  --texto-claro: #55554F;   /* texto de apoio sobre fundo claro */
  --texto-escuro: #B9B9B4;  /* texto de apoio sobre fundo preto */
  --fonte: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --margem: clamp(20px, 5vw, 48px);
  --largura: 1200px;
  --raio: 12px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--preto);
  color: var(--preto);
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
  border-radius: 4px;
}
.topo :focus-visible,
.hero :focus-visible,
.fecho :focus-visible,
.rodape :focus-visible { outline-color: var(--branco); }

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ---------- Cabeçalho ---------- */

.topo {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  color: var(--branco);
}
.topo__linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.topo__logo { display: block; padding-block: 8px; }
.topo__logo img { width: auto; height: 30px; }
.topo__nav { display: flex; gap: 8px; margin-right: -12px; }
.topo__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.topo__link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.topo__link--desktop,
.topo__link-extra { display: none; }

/* ---------- Banner ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--preto);
  color: var(--branco);
  overflow: hidden;
}
.hero__conteudo {
  position: relative;
  z-index: 1;
  padding-top: 100px;
}
.hero h1 {
  max-width: 7.6em;
  font-size: clamp(2.375rem, 10.6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__apoio {
  max-width: 27em;
  margin-top: 18px;
  color: var(--texto-escuro);
  font-size: 1.0625rem;
  text-wrap: pretty;
}
.hero .acao { margin-top: 28px; }

.hero__arte { display: block; margin-top: -8px; }
.hero__arte img {
  width: 100%;
  height: auto;
  max-height: 62svh;
  object-fit: cover;
  object-position: left top;
}

/* ---------- Botão de ativação ---------- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: var(--raio);
  background: var(--azul);
  color: var(--branco);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}
.botao:hover { background: var(--azul-ativo); }
.botao:active { background: #0D35C7; }
.botao__seta { flex: none; transition: transform 0.15s ease; }
.botao:hover .botao__seta { transform: translateX(3px); }

.acao__micro {
  margin-top: 12px;
  color: var(--texto-escuro);
  font-size: 0.875rem;
}
.aviso {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--azul);
  color: var(--branco);
  font-size: 0.9375rem;
  font-weight: 500;
}
.aviso:empty { display: none; }

/* ---------- Como ativar ---------- */

.passos-secao {
  position: relative;
  padding-block: clamp(64px, 10vw, 128px);
  border-radius: 28px 28px 0 0;
  background: var(--branco);
  scroll-margin-top: 0;
}
.passos {
  list-style: none;
  margin: clamp(36px, 6vw, 72px) 0 0 4px;
  padding: 0;
  border-left: 1px solid var(--cinza);
}
.passo {
  position: relative;
  padding: 0 0 44px 28px;
}
.passo:last-child { padding-bottom: 0; }
.passo::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--preto);
}
.passo__numero {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--texto-claro);
}
.passo h3 {
  margin-top: 6px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.passo p {
  max-width: 30em;
  margin-top: 8px;
  color: var(--texto-claro);
  text-wrap: pretty;
}

/* ---------- Site oficial e Instagram ---------- */

.visualmente-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.vitrine {
  padding-bottom: clamp(64px, 10vw, 128px);
  background: var(--branco);
}
.vitrine__painel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--preto);
  color: var(--branco);
}
.vitrine__texto {
  position: relative;
  z-index: 1;
  padding: 36px 28px 168px;
}
.vitrine__texto h2 { max-width: 11em; }
.vitrine__texto p {
  max-width: 24em;
  margin-top: 14px;
  color: var(--texto-escuro);
  text-wrap: pretty;
}
.vitrine__texto .botao { margin-top: 28px; }
.vitrine__simbolo {
  position: absolute;
  right: -28px;
  bottom: -64px;
  width: auto;
  height: 220px;
}
.vitrine :focus-visible { outline-color: var(--branco); }

.botao--claro { background: var(--branco); color: var(--preto); }
.botao--claro:hover { background: var(--cinza); }
.botao--claro:active { background: #C4C4C0; }
.botao--claro:hover .botao__seta { transform: translate(2px, -2px); }

/* Instagram: degradê com as cores quentes do manual (Pantone 123, 137, 192 e 2655) */
.vitrine__painel--insta {
  margin-top: clamp(16px, 2vw, 24px);
  background:
    radial-gradient(circle at 100% 115%, #FFC72C 0%, #FFA300 22%, rgba(255, 163, 0, 0) 52%),
    linear-gradient(100deg, #E40046 0%, #D2126F 45%, #AC5BFE 100%);
}
.vitrine__painel--insta .vitrine__texto p { color: var(--branco); }
.vitrine__glifo {
  position: absolute;
  right: -30px;
  bottom: -56px;
  width: 200px;
  height: 200px;
  transform: rotate(-12deg);
}

/* ---------- Dúvidas frequentes ---------- */

.faq {
  padding-block: clamp(64px, 10vw, 128px);
  background: var(--nevoa);
}
.faq__lista {
  margin-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--cinza);
}
.faq details { border-bottom: 1px solid var(--cinza); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding-block: 18px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--azul); }
.faq__sinal {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.faq__sinal::before,
.faq__sinal::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.15s ease;
}
.faq__sinal::after { transform: rotate(90deg); }
.faq details[open] .faq__sinal::after { transform: rotate(0deg); }
.faq details p {
  max-width: 36em;
  padding: 0 40px 24px 0;
  color: var(--texto-claro);
  text-wrap: pretty;
}

/* ---------- Fechamento e rodapé ---------- */

.fecho {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--preto);
  color: var(--branco);
}
.fecho__linha {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.fecho h2 { max-width: 12em; }

.rodape {
  background: var(--preto);
  color: var(--branco);
}
.rodape__linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  position: relative;
}
.rodape__linha::before {
  content: "";
  position: absolute;
  inset: 0 var(--margem) auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.rodape img { width: auto; height: 24px; }
.rodape__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* ---------- Tablet (retrato) ---------- */

@media (min-width: 600px) {
  .hero__conteudo { padding-top: 128px; }
  .hero__apoio { font-size: 1.1875rem; }
  .vitrine__texto { padding: 48px 48px 56px; max-width: 70%; }
}

/* ---------- Desktop ---------- */

@media (min-width: 900px) {
  .topo__linha { height: 88px; }
  .topo__logo img { height: 34px; }
  .topo__nav { gap: 16px; }
  .topo__link--desktop { display: inline-flex; }
  .topo__link-extra { display: inline; margin-left: 0.28em; }

  .hero {
    justify-content: center;
    min-height: clamp(600px, 100svh, 860px);
  }
  .hero__conteudo { padding-block: 120px 72px; }
  .hero h1 { font-size: clamp(4.25rem, 6.4vw, 6rem); }
  .hero__apoio { max-width: 22em; margin-top: 24px; font-size: 1.25rem; }
  .hero .acao { margin-top: 36px; }

  .hero__arte {
    position: absolute;
    inset: 0;
    margin: 0;
  }
  .hero__arte img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-position: left center;
  }

  .passos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-left: 0;
    border-left: 0;
    border-top: 1px solid var(--cinza);
  }
  .passo { padding: 36px 48px 0 0; }
  .passo::before { top: -5px; left: 0; }
  .passo h3 { font-size: 1.5rem; }

  .vitrine__texto { padding: 72px 64px; max-width: 62%; }
  .vitrine__simbolo { right: 6%; bottom: auto; top: 50%; height: 150%; transform: translateY(-50%) ; }
  .vitrine__glifo { right: 9%; bottom: auto; top: 50%; width: 330px; height: 330px; transform: translateY(-50%) rotate(-12deg); }

  .faq__grade {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
  }
  .faq__lista { margin-top: 8px; }
  .faq summary { font-size: 1.1875rem; }

  .fecho__linha {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Movimento ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .botao, .botao__seta, .faq__sinal::before, .faq__sinal::after { transition: none; }
}
