/* =========================================================
   DS PT Studio — Design System
   ========================================================= */

:root {
  /* Palette */
  --bg:        #141414;
  --bg-2:      #1b1b1b;
  --bg-3:      #1f1f1f;
  --card:      #232323;
  --card-2:    #2a2a2a;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  --text:      #f4f1ea;
  --muted:     #a9a49b;
  --muted-2:   #7d7a72;

  --gold:      #e3c163;
  --gold-2:    #d4ae4a;
  --gold-deep: #b8942f;
  --gold-soft: rgba(227, 193, 99, .12);

  --wa:        #25d366;

  /* Type */
  --font-display: "Anton", "Archivo", system-ui, sans-serif;
  --font-head:    "Archivo", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 16px;
  --radius-lg: 24px;

  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --shadow-gold: 0 18px 44px -18px rgba(227, 193, 99, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.text-gold { color: var(--gold); }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: -999px; top: .5rem; z-index: 200;
  background: var(--gold); color: #111; padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: .75rem; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ic { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #16130a; box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(227,193,99,.6); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow { font-family: var(--font-head); font-weight: 700; color: var(--gold); transition: gap .2s, opacity .2s; }
.link-arrow:hover { opacity: .8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] {
  background: rgba(20, 20, 20, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #16130a; font-size: 1.05rem; letter-spacing: .04em;
}
.brand__text { font-size: 1.25rem; letter-spacing: .08em; color: var(--text); }

/* Logo images are square PNGs with transparent padding; these boxes crop
   tightly to the artwork's content (measured bbox), scaled by --h. */
.brand__logo {
  --h: 34px;
  display: block; position: relative; overflow: hidden;
  height: var(--h); width: calc(var(--h) * 3.2731);
}
.brand__logo img {
  position: absolute; max-width: none; width: auto;
  height: calc(var(--h) * 4.3373);
  top: calc(var(--h) * -1.4337); left: calc(var(--h) * -0.5221);
}
.footer-logo {
  --h: 84px;
  display: block; position: relative; overflow: hidden;
  height: var(--h); width: calc(var(--h) * 1.4167);
}
.footer-logo img {
  position: absolute; max-width: none; width: auto;
  height: calc(var(--h) * 1.4222);
  top: calc(var(--h) * -0.1917); left: 0;
}

.nav { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav a {
  position: relative; font-weight: 500; font-size: .96rem; color: var(--muted);
  padding: .4rem 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav a:hover, .nav a:focus-visible, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header__cta { padding: .62rem 1.1rem; font-size: .88rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 10px; margin-left: auto;
}
.nav-toggle span { height: 2.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(20,20,20,.35), transparent 55%),
    linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.75) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(20,20,20,.9), rgba(20,20,20,.35));
}
.hero__content { position: relative; z-index: 2; padding-block: 7rem 5rem; max-width: 760px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: .78rem; color: var(--gold);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 8vw, 6rem); line-height: .96; letter-spacing: .005em;
  margin: 1.1rem 0 1.3rem; text-transform: uppercase;
}
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #ece7dd; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero__stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); margin-top: 3rem; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.stat { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold); line-height: 1; }
.hero__stats small { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-top: .4rem; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 3px; background: var(--gold); transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; margin: .9rem 0 1rem;
}
.section__intro { color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); }
.section__intro strong { color: var(--text); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.feature__ic { font-size: 1.7rem; display: block; margin-bottom: .8rem; }
.feature h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .94rem; }
.feature--cta {
  background: linear-gradient(150deg, var(--gold-soft), transparent), var(--card);
  border-color: rgba(227,193,99,.35);
  display: flex; flex-direction: column; justify-content: center;
}
.feature--cta h3 { color: var(--gold); font-size: 1.3rem; }
.feature--cta .link-arrow { margin-top: auto; padding-top: 1rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.price-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.price-card--featured {
  background: linear-gradient(165deg, rgba(227,193,99,.14), var(--card) 42%);
  border-color: rgba(227,193,99,.45); box-shadow: var(--shadow-gold);
}
.price-card--featured:hover { transform: translateY(-8px) scale(1.015); }
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #16130a;
  font-family: var(--font-head); font-weight: 800; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.price-card__head h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; }
.price-card__head p { color: var(--muted); font-size: .9rem; }
.price { display: flex; align-items: flex-start; gap: .1rem; margin: 1.4rem 0 .1rem; font-family: var(--font-display); line-height: 1; }
.price__value { font-size: clamp(3rem, 8vw, 4rem); color: var(--text); }
.price-card--featured .price__value { color: var(--gold); }
.price__cur { font-size: 1.6rem; color: var(--gold); margin-top: .4rem; }
.price__meta { color: var(--muted); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.price__list { margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; }
.price__list li { position: relative; padding-left: 1.6rem; color: #d9d4ca; font-size: .95rem; }
.price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.price-card .btn { margin-top: auto; }

/* ---------- Methods ---------- */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.method + .method { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.method--reverse .method__media { order: 2; }
.method__media { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.method__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; }
.method__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.method:hover .method__media img { transform: scale(1.05); }
.method__num { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-soft); -webkit-text-stroke: 1.5px var(--gold); color: transparent; }
.method__body h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: .3rem 0 .9rem; }
.method__body p { color: var(--muted); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.team__media { position: relative; background: #1b1b1b; }
.team__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 35%; }
.team__body { padding: clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem) 0; }
.team__body h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.team__role { color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.team__creds { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.team__creds li { position: relative; padding-left: 1.4rem; color: #d9d4ca; font-size: .95rem; }
.team__creds li::before { content: "▪"; position: absolute; left: 0; color: var(--gold); }
.team__body p { color: var(--muted); }
.team__quote { color: var(--text); font-style: italic; border-left: 3px solid var(--gold); padding-left: 1rem; margin: 1.2rem 0 1.6rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: stretch; }
.contact__info { display: grid; gap: 1.6rem; align-content: start; }
.contact__item h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--gold); margin-bottom: .3rem; }
.contact__item h3 .hnote { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; font-size: .95rem; }
.contact__item p { font-size: 1.05rem; }
.contact__item a { transition: color .2s; }
.contact__item a:hover { color: var(--gold); }
.contact__actions { display: grid; gap: .7rem; margin-top: .5rem; max-width: 340px; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: #101010; border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand { text-align: center; }
.footer__brand .brand { justify-content: center; }
.footer__brand .brand__logo { --h: 62px; margin-inline: auto; }
.footer__brand p { color: var(--muted); margin: 1rem auto 1.2rem; max-width: 32ch; }
.footer__brand .socials { justify-content: center; }
.footer__nav, .footer__contact { display: grid; align-content: start; gap: .5rem; }
.footer h4 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--gold); margin-bottom: .4rem; }
.footer__nav a { color: var(--muted); transition: color .2s; width: fit-content; }
.footer__nav a:hover { color: var(--text); }
.footer__contact p { color: var(--muted); }
.footer__contact a:hover { color: var(--gold); }
.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); transition: background .25s, border-color .25s, transform .25s; }
.socials a svg { width: 18px; height: 18px; fill: var(--text); }
.socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.socials a:hover svg { fill: #16130a; }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 1.4rem; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.4rem; flex-wrap: wrap; }
.footer__bottom p { color: var(--muted-2); font-size: .85rem; }
.footer__bottom-inner a { color: var(--muted); font-size: .85rem; transition: color .2s; white-space: nowrap; }
.footer__bottom-inner a:hover { color: var(--gold); }
@media (max-width: 640px) { .footer__bottom-inner { justify-content: center; text-align: center; } }

/* ---------- Floating / utility ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s var(--ease);
}
.fab-wa svg { width: 30px; height: 30px; fill: #fff; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.to-top {
  position: fixed; right: 22px; bottom: 88px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(30,30,30,.9); color: var(--text); font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s;
  backdrop-filter: blur(6px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: #16130a; border-color: var(--gold); }

/* ---------- Reveal animation (progressive enhancement) ----------
   Content is fully visible by default; the hidden start-state only
   applies when JS is present (html.js), so nothing can get stuck blank. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .method, .method--reverse { grid-template-columns: 1fr; }
  .method--reverse .method__media { order: 0; }
  .team { grid-template-columns: 1fr; }
  .team__media img { min-height: 300px; }
  .team__body { padding: 0 clamp(1.4rem, 5vw, 2rem) clamp(2rem, 6vw, 2.5rem); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(16,16,16,.98); backdrop-filter: blur(16px);
    padding: 1rem var(--pad) 1.5rem; margin: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; width: 100%; }
  .nav a::after { display: none; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}

/* =========================================================
   Recordes da Semana (weekly high-scores)
   ========================================================= */
.scores { display: grid; gap: .75rem; margin: 1.5rem 0; }

.scores__item {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.25rem;
}
.scores__name { font-family: var(--font-head); font-weight: 700; }
.scores__exercise { color: var(--muted); flex: 1; }
.scores__value {
  font-family: var(--font-display); color: var(--gold);
  font-size: 1.3rem; letter-spacing: .01em;
}

.scores-week { margin: 0 0 2.5rem; }
.scores-week__title {
  font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .9rem;
}
.scores-week--current .scores-week__title { color: var(--gold); }
.scores-week--current .scores__item { border-color: var(--gold-deep); background: var(--gold-soft); }

.scores-category__title {
  font-family: var(--font-head); font-size: .9rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin: 1.4rem 0 .6rem;
}

/* =========================================================
   Google reviews
   ========================================================= */
.reviews {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem; margin: 1.5rem 0 2rem;
}
.reviews__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.reviews__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.reviews__author { font-family: var(--font-head); font-weight: 700; }
.reviews__stars { color: var(--gold); letter-spacing: .05em; }
.reviews__text { color: var(--muted); font-size: .95rem; }

.reviews__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.reviews__attribution { color: var(--muted); font-size: .9rem; text-decoration: underline; }

/* ---------- Tabs (recordes.php) — CSS-only, no JS required ---------- */
.tabs { display: flex; flex-wrap: wrap; }
.tabs__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tabs__label {
  order: 1; cursor: pointer; font-family: var(--font-head); font-weight: 600;
  padding: .7rem 1.4rem; border-radius: 999px; margin: 0 .6rem 1.5rem 0;
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tabs__radio:checked + .tabs__label { background: var(--gold); border-color: var(--gold); color: #141414; }
.tabs__radio:focus-visible + .tabs__label { outline: 2px solid var(--gold); outline-offset: 2px; }
.tabs__panel { order: 3; flex-basis: 100%; display: none; }
#tab-semana:checked ~ #panel-semana,
#tab-pesquisa:checked ~ #panel-pesquisa { display: block; }

.search-form {
  display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 1.5rem;
}
.search-form label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
.search-form select {
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  border-radius: 8px; padding: .65rem .85rem; font: inherit; min-width: 220px;
}

.scores-table { width: 100%; border-collapse: collapse; }
.scores-table th, .scores-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.scores-table th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.scores-table td:last-child { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); color: var(--text); }
.admin-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--pad); }
.admin-wrap--wide { display: block; max-width: var(--maxw); margin: 0 auto; align-items: initial; justify-content: initial; }

.admin-card {
  width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow);
}
.admin-wrap--wide .admin-card { max-width: 480px; margin: 0 auto; }

.admin-title { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 1.25rem; }

.admin-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.admin-header__actions { display: flex; gap: .75rem; align-items: center; }

.admin-form { display: grid; gap: 1.1rem; }
.admin-form__actions { display: flex; gap: .75rem; align-items: center; margin-top: .5rem; }

.form-field { display: grid; gap: .4rem; }
.form-field label { font-size: .9rem; color: var(--muted); }
.form-field input, .form-field select {
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  border-radius: 8px; padding: .65rem .85rem; font: inherit; width: 100%;
}
.form-field input:focus-visible, .form-field select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

.admin-nav {
  display: flex; gap: .5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.admin-nav a {
  padding: .7rem 1rem; color: var(--muted); font-family: var(--font-head); font-weight: 600;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.admin-nav a.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.admin-form--inline {
  display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin-bottom: 2rem;
}
.admin-form--inline .form-field { flex: 1; min-width: 220px; }

.form-error {
  color: #ff8a80; background: rgba(255, 84, 63, .12);
  border: 1px solid rgba(255, 84, 63, .3); border-radius: 8px;
  padding: .7rem .9rem; margin-bottom: 1rem; font-size: .92rem;
}

.admin-filter { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.admin-filter select {
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  border-radius: 8px; padding: .5rem .75rem; font: inherit;
}

.admin-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.admin-table th, .admin-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tbody tr:hover { background: var(--bg-2); }
.admin-table__actions { display: flex; gap: .9rem; align-items: center; }
.admin-table__actions form { display: inline; }

.link-danger {
  background: none; border: none; color: #ff8a80; cursor: pointer;
  font: inherit; padding: 0; text-decoration: underline;
}
