﻿/* Paleta aprovada e tokens da interface */
:root {
  color-scheme: dark;
  --color-black: #090909;
  --color-yellow: #F9D423;
  --color-white: #FFFFFF;
  --color-gray: #777777;
  --color-muted: #a4a4a4;
  --color-panel: #111111;
  --color-border: rgba(255, 255, 255, 0.11);
  --font-main: Arial, Helvetica, sans-serif;
}

/* Base e fundo */
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }
.background-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

/* Estrutura geral */
.page-shell { position: relative; z-index: 1; width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  animation: appear 650ms ease both;
}
.site-label, .demo-label { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.site-label { display: flex; align-items: center; gap: 10px; color: #d5d5d5; }
.label-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-yellow); box-shadow: 0 0 14px rgba(249,212,35,.8); }
.demo-label { color: var(--color-gray); }

/* Apresentação da marca */
.hero {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  min-height: 540px;
  padding: 26px 0 12px;
}
.hero-copy { position: relative; z-index: 2; padding: 0 0 26px; animation: rise-in 750ms 100ms ease both; }
.eyebrow { margin: 0 0 16px; color: var(--color-yellow); font-size: .69rem; font-weight: 700; letter-spacing: .2em; }
.brand-name { display: inline-block; min-width: 9ch; white-space: nowrap; text-shadow: 0 0 7px rgba(249,212,35,.4); animation: brand-glow 3s ease-in-out infinite alternate; }
.brand-name::after { display: inline-block; width: 1px; height: .8em; margin-left: 4px; background: currentColor; content: ""; vertical-align: -.08em; animation: brand-caret 1s steps(2, end) infinite; }
h1 { margin: 0; font-size: clamp(2.8rem, 5.2vw, 5rem); line-height: .99; letter-spacing: -.065em; }
h1 span { color: var(--color-yellow); }
.intro-copy { max-width: 410px; margin: 23px 0 0; color: #b7b7b7; font-size: 1rem; line-height: 1.75; }
.logo-stage { position: relative; display: grid; min-height: 495px; place-items: center; isolation: isolate; }
.stage-glow { position: absolute; z-index: -1; width: 280px; aspect-ratio: 1; border-radius: 50%; background: rgba(249,212,35,.13); filter: blur(72px); }
.orbit { position: absolute; border: 1px solid rgba(249,212,35,.2); border-radius: 50%; pointer-events: none; }
.orbit--outer { width: 370px; height: 370px; transform: rotate(-18deg) scaleY(.58); }
.orbit--inner { width: 280px; height: 280px; border-color: rgba(255,255,255,.12); transform: rotate(30deg) scaleY(.58); }
.logo-frame { position: relative; z-index: 1; display: grid; width: clamp(220px, 28vw, 300px); aspect-ratio: 1; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: radial-gradient(circle at 50% 42%, #222 0, #101010 66%, #0a0a0a 100%); box-shadow: 0 0 75px rgba(249,212,35,.08), 0 28px 90px rgba(0,0,0,.6); animation: logo-arrive 950ms 100ms cubic-bezier(.2,.75,.2,1) both, logo-pulse 2.8s ease-in-out 1.05s infinite; }
.logo-frame::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(105deg, transparent 43%, rgba(255,255,255,.1) 47%, rgba(255,255,255,.46) 50%, rgba(249,212,35,.2) 53%, transparent 57%); background-size: 250% 100%; background-position: 100% center; content: ""; opacity: 0; pointer-events: none; -webkit-mask: url("assets/imagens/aft081.png") center / 100% 100% no-repeat; mask: url("assets/imagens/aft081.png") center / 100% 100% no-repeat; animation: logo-shine 4.5s ease-in-out infinite; }
.logo-frame::after { position: absolute; inset: 9px; border: 1px solid rgba(249,212,35,.13); border-radius: inherit; content: ""; pointer-events: none; }
.logo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.stage-caption { position: absolute; z-index: 2; bottom: 20px; display: flex; align-items: center; gap: 9px; color: var(--color-gray); font-size: .59rem; font-weight: 700; letter-spacing: .2em; }
.stage-caption i { width: 5px; height: 5px; border-radius: 50%; background: var(--color-yellow); }

/* Balões de acesso ao redor da logo */
.speech-bubble { position: absolute; z-index: 3; display: flex; min-width: 150px; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(249,212,35,.2); border-radius: 12px; background: linear-gradient(135deg, rgba(34,30,17,.9), rgba(15,15,15,.92) 72%); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 20px rgba(249,212,35,.035), 0 12px 35px rgba(0,0,0,.28); color: var(--color-white); text-decoration: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease; animation: float 5s ease-in-out infinite; }
.speech-bubble::after { position: absolute; bottom: -5px; left: 22px; width: 8px; height: 8px; border-right: 1px solid rgba(249,212,35,.2); border-bottom: 1px solid rgba(249,212,35,.2); background: #19170f; content: ""; transform: rotate(45deg); }
.speech-bubble:hover { transform: translateY(-2px) scale(1.025); border-color: rgba(249,212,35,.46); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 22px rgba(249,212,35,.07), 0 12px 32px rgba(249,212,35,.09); }
.speech-bubble:active { transform: translateY(0) scale(.985); }
.speech-bubble:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; }
.bubble-icon { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; color: var(--color-yellow); }
.bubble-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.bubble-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.bubble-title { color: var(--color-yellow); font-size: .72rem; font-weight: 700; line-height: 1.15; }
.bubble-copy small { color: var(--color-white); font-size: .55rem; letter-spacing: .02em; line-height: 1.15; }
.bubble--whatsapp { top: 73px; left: 3%; --float-x: 3px; --float-y: -8px; animation-duration: 4.9s; animation-delay: -.7s; }
.bubble--instagram { top: 52px; right: 2%; --float-x: -3px; --float-y: 7px; animation-duration: 5.4s; animation-delay: -2.2s; }
.bubble--catalog { top: 45%; left: -5%; --float-x: 2px; --float-y: -6px; animation-duration: 5.7s; animation-delay: -3.1s; }
.bubble--support { top: 42%; right: -5%; --float-x: -2px; --float-y: 8px; animation-duration: 5.1s; animation-delay: -1.4s; }
.bubble--location { bottom: 52px; left: 8%; --float-x: 2px; --float-y: -7px; animation-duration: 5.8s; animation-delay: -2.7s; }
.bubble--services { right: 5%; bottom: 67px; --float-x: -3px; --float-y: 6px; animation-duration: 5.3s; animation-delay: -.2s; }

/* Navegação provisória */
.links-section { padding: 24px 0 62px; animation: rise-in 750ms 240ms ease both; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.section-heading .eyebrow { margin-bottom: 9px; }
h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.045em; }
.provisional-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid rgba(249,212,35,.22); border-radius: 999px; color: #d8c26a; font-size: .59rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.provisional-badge span { color: var(--color-yellow); font-size: .48rem; }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.link-card { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) 28px; min-height: 98px; align-items: center; gap: 13px; overflow: hidden; isolation: isolate; padding: 15px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: linear-gradient(145deg, #171717, #101010 72%); color: var(--color-white); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: border-color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease; }
.link-card::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(108deg, transparent 42%, rgba(255,255,255,.035) 46%, rgba(255,255,255,.16) 50%, rgba(249,212,35,.1) 54%, transparent 59%); background-size: 230% 100%; background-position: 120% center; content: ""; opacity: 0; pointer-events: none; animation: access-shine 8s ease-in-out infinite; }
.link-card > * { position: relative; z-index: 1; }
.link-card:nth-child(1)::before { animation-delay: 0s; }
.link-card:nth-child(2)::before { animation-delay: 1.333s; }
.link-card:nth-child(3)::before { animation-delay: 2.666s; }
.link-card:nth-child(4)::before { animation-delay: 4s; }
.link-card:nth-child(5)::before { animation-delay: 5.333s; }
.link-card:nth-child(6)::before { animation-delay: 6.666s; }
.link-card:hover { transform: translateY(-3px); border-color: rgba(249,212,35,.44); background: linear-gradient(145deg, #1d1b12, #12110c 72%); box-shadow: 0 10px 30px rgba(249,212,35,.08), 0 14px 32px rgba(0,0,0,.3); }
.link-card:active { transform: translateY(-1px) scale(.985); }
.link-card:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; }
.card-icon { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(249,212,35,.2); border-radius: 12px; background: rgba(249,212,35,.07); color: var(--color-yellow); transition: background 220ms ease, border-color 220ms ease, color 220ms ease; }
.card-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.link-card:hover .card-icon { border-color: rgba(249,212,35,.42); background: rgba(249,212,35,.13); }
.card-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 3px; }
.card-index { display: none; }
.card-title { font-size: .88rem; font-weight: 700; line-height: 1.2; }
.card-description { color: var(--color-muted); font-size: .66rem; line-height: 1.25; }
.card-arrow { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; color: var(--color-gray); transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.card-arrow svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.link-card:hover .card-arrow { transform: translateX(2px); border-color: rgba(249,212,35,.3); background: rgba(249,212,35,.08); color: var(--color-yellow); }
.link-card:hover .card-arrow svg { transform: translate(1px, -1px); }
.interaction-message { min-height: 20px; margin: 15px 2px 0; color: var(--color-gray); font-size: .75rem; line-height: 1.5; }
.site-footer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 0 25px; border-top: 1px solid rgba(255,255,255,.08); color: #666; font-size: .68rem; text-align: center; }
.footer-divider { width: 3px; height: 3px; border-radius: 50%; background: var(--color-yellow); }

/* Ondas e partículas temporárias do clique no fundo */
.click-burst { position: fixed; z-index: 0; top: 0; left: 0; width: 0; height: 0; pointer-events: none; }
.click-ripple { position: absolute; top: 0; left: 0; width: 18px; aspect-ratio: 1; border: 1px solid rgba(249,212,35,.6); border-radius: 50%; box-shadow: 0 0 13px rgba(249,212,35,.28), inset 0 0 7px rgba(249,212,35,.12); opacity: 0; transform: translate(-50%, -50%) scale(.25); animation: click-ripple 680ms ease-out forwards; }
.click-particle { position: absolute; top: 0; left: 0; width: 3px; aspect-ratio: 1; border-radius: 50%; background: #ffe98a; box-shadow: 0 0 7px rgba(249,212,35,.7); opacity: 0; animation: click-particle 620ms ease-out forwards; }

/* Animações e adaptação a telas menores */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: var(--float-x, 0px) var(--float-y, -9px); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes brand-glow {
  from { text-shadow: 0 0 6px rgba(249,212,35,.3), 0 0 13px rgba(249,212,35,.1); }
  to { text-shadow: 0 0 9px rgba(249,212,35,.62), 0 0 19px rgba(249,212,35,.22); }
}
@keyframes brand-caret { 50% { opacity: 0; } }
@keyframes logo-arrive { from { opacity: 0; scale: .92; } to { opacity: 1; scale: 1; } }
@keyframes logo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.018); } }
@keyframes logo-shine {
  0%, 5% { opacity: 0; background-position: 100% center; }
  8% { opacity: .72; }
  26% { opacity: .5; background-position: 0 center; }
  29%, 100% { opacity: 0; background-position: 0 center; }
}
@keyframes click-ripple {
  12% { opacity: .48; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(8); }
}
@keyframes click-particle {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  12% { opacity: .9; transform: translate(-50%, -50%) scale(.6); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--particle-x)), calc(-50% + var(--particle-y))) scale(.2); }
}
@keyframes access-shine {
  0%, 2% { opacity: 0; background-position: 120% center; }
  4% { opacity: .7; }
  14% { opacity: .28; background-position: -20% center; }
  16%, 100% { opacity: 0; background-position: -20% center; }
}

@media (max-width: 850px) {
  .page-shell { width: min(100% - 40px, 680px); }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .intro-copy { margin-right: auto; margin-left: auto; }
  .logo-stage { min-height: 420px; margin-top: -4px; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { padding: 22px 0; }
  .site-label, .demo-label { font-size: .55rem; letter-spacing: .1em; }
  .hero { padding-top: 47px; }
  h1 { font-size: clamp(2.65rem, 12vw, 3.65rem); }
  .intro-copy { max-width: 340px; font-size: .92rem; }
  .logo-stage { min-height: 350px; margin-top: 6px; }
  .logo-frame { width: min(54vw, 225px); }
  .orbit--outer { width: 300px; height: 300px; }
  .orbit--inner { width: 230px; height: 230px; }
  .speech-bubble { min-width: 0; max-width: 132px; gap: 7px; padding: 8px 9px; border-radius: 9px; }
  .bubble-icon { width: 19px; height: 19px; flex-basis: 19px; }
  .bubble-title { font-size: .62rem; }
  .bubble-copy small { font-size: .47rem; }
  .bubble--whatsapp { top: 22px; left: 0; }
  .bubble--instagram { top: 19px; right: 0; }
  .bubble--catalog { top: 43%; left: -2px; }
  .bubble--support { top: 43%; right: -2px; }
  .bubble--location { bottom: 20px; left: 3%; }
  .bubble--services { right: 3%; bottom: 20px; }
  .stage-caption { bottom: 4px; font-size: .52rem; }
  .links-section { padding-top: 23px; padding-bottom: 43px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .link-grid { gap: 8px; }
  .link-card { grid-template-columns: 38px minmax(0, 1fr) 23px; min-height: 96px; gap: 8px; padding: 12px 10px; }
  .card-icon { width: 38px; height: 38px; border-radius: 10px; }
  .card-icon svg { width: 20px; height: 20px; }
  .card-title { font-size: .75rem; }
  .card-description { font-size: .58rem; }
  .card-arrow { width: 26px; height: 26px; }
  .card-arrow svg { width: 14px; height: 14px; }
  .site-footer { flex-wrap: wrap; gap: 8px; font-size: .6rem; }
}
@media (max-width: 360px) {
  .demo-label { max-width: 90px; text-align: right; }
  .speech-bubble { max-width: 112px; }
  .bubble--catalog, .bubble--support { top: 42%; }
  .link-card { grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 6px; padding-right: 8px; padding-left: 8px; }
  .card-icon { width: 34px; height: 34px; }
  .card-icon svg { width: 18px; height: 18px; }
  .card-title { font-size: .71rem; }
  .card-arrow { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .brand-name { animation: none; text-shadow: 0 0 7px rgba(249,212,35,.35); }
  .brand-name::after { animation: none; opacity: 0; }
  .logo-frame { animation: none; }
  .logo-frame::before { animation: none; }
  .click-ripple, .click-particle { animation: none; }
  .link-card::before { animation: none; }
}


