:root {
  color-scheme: dark;
  --bg: #0c1220;
  --surface: #131d2e;
  --surface-2: #192438;
  --surface-hover: #202e43;
  --stroke: #2b3a50;
  --text: #f1f5fb;
  --muted: #a3b2c6;
  --faint: #8495ae;
  --accent: #6ce6c5;
  --accent-soft: rgba(108, 230, 197, .11);
  --blue: #96b5ff;
  --radius: 21px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); min-width: 280px; }
body::before { content: ''; position: absolute; inset: 0 0 auto; z-index: -1; height: 700px; background: radial-gradient(ellipse 65% 50% at 8% 8%, rgba(53, 101, 156, .2), transparent 70%), radial-gradient(ellipse 55% 40% at 90% 15%, rgba(40, 132, 122, .09), transparent 75%); pointer-events: none; }
a { color: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { width: 21px; height: 21px; flex: 0 0 auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 99; left: 16px; top: -100px; background: var(--accent); padding: 12px 18px; color: var(--bg); border-radius: 12px; font-weight: 800; }
.skip-link:focus { top: 14px; }
.page-shell { width: min(100%, 850px); margin: 0 auto; padding: 0 max(18px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 90px; padding: 19px 0 13px; border-bottom: 1px solid rgba(162, 179, 208, .11); }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 45px; height: 45px; color: var(--accent); border-radius: 14px; border: 1px solid rgba(108, 230, 197, .25); background: linear-gradient(150deg, #173c3e, #13232f); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-type { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-type strong { font-size: 16px; letter-spacing: -.45px; line-height: 1.05; }
.brand-type small { color: var(--muted); font-size: 12px; letter-spacing: .1px; }
.top-instagram { display: inline-flex; gap: 7px; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--stroke); border-radius: 12px; min-height: 45px; min-width: 45px; padding: 9px 12px; color: #e0eaf8; font-size: 13px; font-weight: 650; background: rgba(255,255,255,.035); transition: background .15s ease; }
.top-instagram svg { width: 20px; height: 20px; }
.top-instagram:hover { background: var(--surface-hover); }
.hero { padding: 43px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.15px; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(108,230,197,.09); }
.hero h1 { font-size: clamp(36px, 8.5vw, 57px); letter-spacing: -2.2px; line-height: 1.07; margin: 17px 0 15px; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 500px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 21px; }
.hero-count { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: baseline; gap: 5px; }
.hero-count strong { color: var(--text); font-size: 17px; }
.share-button { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--stroke); background: #172335; color: var(--text); border-radius: 12px; padding: 9px 13px; font-weight: 650; font-size: 13px; }
.share-button svg { width: 17px; height: 17px; }
.share-button:hover { background: var(--surface-hover); }
.discovery { margin: 0 0 42px; }
.search-box { display: flex; align-items: center; height: 60px; border: 1px solid #34455c; background: var(--surface-2); border-radius: 17px; padding: 0 15px; transition: border-color .18s, box-shadow .18s; }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,230,197,.11); }
.search-icon { color: var(--accent); width: 22px; height: 22px; margin-right: 11px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); font-size: 16px; background: transparent; padding: 13px 0; }
.search-box input::placeholder { color: #96a5b9; opacity: 1; }
.search-box input::-webkit-search-cancel-button { display: none; }
.clear-search { flex: 0 0 44px; min-width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; border-radius: 10px; }
.clear-search:hover { color: var(--text); }
.filter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 29px 0 14px; }
.filter-heading h2 { margin: 0; font-size: 16px; letter-spacing: -.35px; font-weight: 750; }
.filter-heading span { color: var(--faint); font-size: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.category-tile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 85px; text-align: left; padding: 13px 12px; border-radius: 16px; border: 1px solid var(--stroke); background: var(--surface); color: var(--text); transition: background .15s, border-color .15s, transform .15s; }
.category-tile:hover { background: var(--surface-hover); }
.category-tile:active { transform: scale(.985); }
.category-tile.is-selected { border-color: rgba(108,230,197,.65); background: linear-gradient(110deg, rgba(108,230,197,.13), rgba(34,69,77,.35)); }
.tile-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 13px; background: rgba(144,166,223,.1); color: #adc4fd; }
.tile-all { color: var(--accent); background: rgba(108,230,197,.12); }
.tile-car { color: #ffca91; background: rgba(255,179,105,.1); }
.tile-earth { color: #a1bdfa; background: rgba(130,173,255,.11); }
.tile-tools { color: #b7c4ff; }
.tile-icon svg { width: 23px; height: 23px; }
.tile-copy { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.tile-copy strong { font-size: 13px; font-weight: 750; line-height: 1.25; }
.tile-copy small { color: var(--muted); font-size: 12px; }
.links-section { margin-top: 0; margin-bottom: 41px; }
.section-topline { display: flex; gap: 12px; align-items: center; }
.section-kicker { color: var(--accent); letter-spacing: 1.3px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.section-kicker-line { height: 1px; background: var(--stroke); flex: 1; }
.section-heading { margin: 12px 0 17px; }
.section-heading h2 { margin: 0; font-size: clamp(22px, 4.8vw, 27px); letter-spacing: -.75px; }
.section-heading h2 span { color: #fbc791; font-size: 21px; }
.section-heading p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.links-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.link-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 18px; background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.link-card:hover { border-color: #405774; background: #152136; }
.card-main { display: flex; align-items: flex-start; gap: 14px; min-width: 0; flex: 1; }
.card-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border-radius: 15px; color: #c2d3ff; background: rgba(121,166,244,.11); }
.link-card--automotivo .card-icon { background: rgba(255,181,103,.11); color: #ffd1a3; }
.link-card--curiosidades .card-icon { background: rgba(106,224,193,.11); color: #93e9d1; }
.card-icon svg { width: 26px; height: 26px; }
.card-content { min-width: 0; }
.card-category { display: block; color: #93add0; text-transform: uppercase; letter-spacing: .8px; font-size: 10px; font-weight: 750; margin: 1px 0 7px; }
.card-content h3 { margin: 0 0 6px; color: var(--text); letter-spacing: -.45px; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.card-content p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.card-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-align: center; min-height: 47px; border-radius: 12px; padding: 11px 12px; text-decoration: none; font-size: 13px; font-weight: 750; transition: filter .15s, background .15s; }
.card-actions a:hover { filter: brightness(1.1); }
.card-go { background: var(--accent); color: #102921; flex: 1 1 55%; }
.card-reel { border: 1px solid #425671; background: #1c2a3f; color: var(--text); flex: 1 1 33%; }
.card-actions svg { width: 17px; height: 17px; }
.empty-state { margin: 10px 0; padding: 30px 18px; border: 1px dashed var(--stroke); background: var(--surface); text-align: center; border-radius: var(--radius); }
.empty-state > span { font-size: 34px; }
.empty-state h3 { margin: 11px 0 6px; font-size: 19px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }
.empty-state button { background: var(--accent); color: #102921; border: 0; border-radius: 11px; min-height: 46px; padding: 12px 19px; font-weight: 750; margin-top: 20px; }
.end-note { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; padding: 22px; border: 1px solid #315063; border-radius: var(--radius); background: linear-gradient(130deg, #182d38, #152339); }
.end-note-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--accent); background: rgba(108,230,197,.12); font-size: 27px; }
.end-note h2 { margin: 1px 0 6px; font-size: 19px; letter-spacing: -.4px; }
.end-note p { margin: 0; color: #b6c5d7; font-size: 13px; line-height: 1.55; }
.end-note a { display: flex; align-items: center; justify-content: center; min-height: 46px; grid-column: 1 / -1; border-radius: 12px; background: var(--accent); color: #102921; font-weight: 800; text-decoration: none; font-size: 14px; margin-top: 6px; }
.end-note a span { margin-left: 5px; }
.footer { margin: 42px 0 0; padding-top: 24px; border-top: 1px solid rgba(162,179,208,.13); text-align: center; }
.footer p { margin: 6px 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.footer p:first-child { color: var(--text); font-weight: 750; font-size: 13px; }
.footer p:first-child span { color: var(--accent); }
.footer small { display: block; margin-top: 15px; color: var(--faint); font-size: 11px; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 40px); background: #e6fff7; color: #11312a; border-radius: 12px; padding: 13px 18px; text-align: center; font-weight: 750; font-size: 13px; box-shadow: 0 15px 50px #0006; }
.no-script { padding: 20px; background: #5d231e; color: white; text-align: center; }
@media (max-width: 360px) {
  .page-shell { padding-left: 14px; padding-right: 14px; }
  .top-instagram { padding: 10px; }
  .top-instagram span { display: none; }
  .brand-type strong { font-size: 14px; }
  .category-tile { padding: 11px 9px; gap: 8px; }
  .tile-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .tile-copy strong { font-size: 12px; }
  .card-actions { flex-direction: column; }
  .card-actions a { width: 100%; }
}
@media (min-width: 650px) {
  .page-shell { padding-left: 30px; padding-right: 30px; }
  .topbar { min-height: 105px; }
  .hero { padding: 57px 0 38px; }
  .hero p { font-size: 16px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-tile { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 124px; padding: 15px; gap: 10px; }
  .tile-copy strong { font-size: 14px; }
  .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .end-note { grid-template-columns: 46px 1fr auto; align-items: center; }
  .end-note a { grid-column: auto; min-width: 165px; padding: 0 18px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
