/* ==========================================================================
   AIKW — Associação Independente de Karate-Do Wado Ryu
   Folha de estilos principal
   ========================================================================== */

/* ---------- Tipografia (auto-alojada, sem pedidos a terceiros / RGPD) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #040d2b;
  --navy-900: #071a4a;
  --navy-800: #0b2a7a;   /* azul do emblema */
  --blue-700: #1340b0;
  --blue-600: #1d55d6;
  --blue-500: #3b74f0;
  --blue-200: #c7d8ff;
  --blue-100: #e4ecff;
  --blue-50:  #f3f6ff;
  --white:    #ffffff;
  --ink:      #0d1633;
  --muted:    #55607d;
  --line:     #dbe3f5;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(7, 26, 74, .06);
  --shadow:    0 12px 36px -12px rgba(7, 26, 74, .22);
  --shadow-lg: 0 30px 70px -25px rgba(7, 26, 74, .45);

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-600); color: var(--white); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--white); color: var(--navy-900); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--blue-600); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(29, 85, 214, .7); background: var(--blue-700); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--light { --bg: var(--white); --fg: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--blue-700); border-color: var(--blue-200); }
.btn--outline:hover { background: var(--blue-50); border-color: var(--blue-600); box-shadow: none; }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s, height .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  color: var(--navy-900);
  --header-h: 66px;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__emblem { width: 48px; height: 48px; flex: none; position: relative; transition: width .35s, height .35s; }
.brand__emblem img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.brand__emblem .on-solid { opacity: 0; }
.is-solid .brand__emblem .on-solid { opacity: 1; }
.is-solid .brand__emblem .on-dark { opacity: 0; }
.is-solid .brand__emblem { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .18em; }
.brand__sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  opacity: .88; transition: background-color .2s, opacity .2s, color .2s;
}
.nav__link:hover, .nav__link.is-active { opacity: 1; color: inherit; background: rgba(255, 255, 255, .14); }
.is-solid .nav__link:hover, .is-solid .nav__link.is-active { background: var(--blue-50); color: var(--blue-700); }
.nav .btn { margin-left: .6rem; }
.site-header:not(.is-solid) .nav .btn { --bg: var(--white); --fg: var(--navy-900); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: transparent;
  color: inherit; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; content: "";
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 2rem;
    background: radial-gradient(120% 80% at 80% 0%, var(--blue-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
    color: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open .brand__emblem .on-solid { opacity: 0; }
  .nav-open .brand__emblem .on-dark { opacity: 1; }
  .nav__list { flex-direction: column; align-items: center; gap: .2rem; }
  .nav__link { font-size: 1.35rem; padding: .55rem 1.2rem; }
  .is-solid .nav__link:hover, .nav__link:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
  .nav .btn { margin: 0; --bg: var(--white); --fg: var(--navy-900); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 9rem;
  color: var(--white);
  background: var(--navy-950);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/fotos/hero.jpg") center 40% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 90% at 85% 30%, rgba(29, 85, 214, .55) 0%, transparent 60%),
    linear-gradient(100deg, rgba(4, 13, 43, .96) 0%, rgba(7, 26, 74, .86) 45%, rgba(11, 42, 122, .55) 100%);
}
.hero::after { /* grelha subtil */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 40%, #000 0%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: var(--blue-200); }
.hero h1 { color: var(--white); margin: 1.1rem 0 1.4rem; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffffff 0%, var(--blue-200) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .84); max-width: 36rem; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.hero__visual img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .45)); animation: float 7s ease-in-out infinite; }
.hero__visual::before {
  content: ""; position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 116, 240, .45) 0%, rgba(59, 116, 240, 0) 65%);
}
.hero__visual::after {
  content: ""; position: absolute; inset: -6%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .22);
  animation: spin 60s linear infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__kanji {
  position: absolute; right: -2rem; bottom: -4rem; z-index: -1;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(14rem, 30vw, 26rem); line-height: 1;
  color: rgba(255, 255, 255, .035); pointer-events: none; user-select: none;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 6.8rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px;
}
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Faixa de destaques ---------- */
.highlights { position: relative; z-index: 5; margin-top: -5.5rem; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.highlight { padding: 1.8rem 1.6rem; display: flex; gap: 1rem; align-items: flex-start; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.highlight__icon svg { width: 24px; height: 24px; }
.highlight strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--navy-900); line-height: 1.25; }
.highlight span { font-size: .9rem; color: var(--muted); }

/* ---------- Secções ---------- */
.section { padding: clamp(5rem, 9vw, 8rem) 0; position: relative; }
.section--tint { background: var(--blue-50); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.85); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--blue-200); }
.section-head { max-width: 46rem; margin-bottom: 3.2rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: .9rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, .72); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 44rem; }

/* ---------- Sobre / Dojo ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media .main-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1078 / 610; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; left: -1.5rem; bottom: -1.5rem;
  background: var(--navy-800); color: var(--white); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-lg); display: flex; gap: 1rem; align-items: center;
}
.about__badge b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 800; }
.about__badge span { font-size: .85rem; line-height: 1.35; opacity: .85; }
.about__media .accent-photo {
  position: absolute; right: -1.2rem; top: -1.8rem; width: 38%; border-radius: var(--radius);
  border: 6px solid var(--white); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover;
}
.about__body p { color: var(--muted); }
.about__body p strong { color: var(--navy-900); }
.checklist { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: .15rem; border-radius: 50%;
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.affiliations { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px;
  background: var(--blue-50); color: var(--navy-800); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  font-family: var(--font-display); border: 1px solid var(--blue-100);
}

/* ---------- Valores (benefícios) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value {
  position: relative; overflow: hidden; background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.value__kanji {
  position: absolute; right: -.4rem; top: -1.4rem; font-size: 6.5rem; line-height: 1;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; color: var(--blue-50);
  transition: color .35s; pointer-events: none;
}
.value:hover .value__kanji { color: var(--blue-100); }
.value__num { position: relative; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .2em; color: var(--blue-600); }
.value h3 { position: relative; font-size: 1.4rem; margin: .5rem 0 .7rem; }
.value p { position: relative; color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Horários / CTA ---------- */
.schedule { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: stretch; }
.schedule__card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.2rem);
  background: linear-gradient(140deg, var(--blue-700) 0%, var(--navy-800) 45%, var(--navy-950) 100%);
  color: rgba(255,255,255,.88); box-shadow: var(--shadow-lg);
}
.schedule__card::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 340px; height: 340px; opacity: .08;
  background: url("../img/logo/emblema-branco.svg") center / contain no-repeat;
}
.schedule__card h2 { color: var(--white); }
.schedule__card .eyebrow { color: var(--blue-200); }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; position: relative; z-index: 1; }
.slot { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.slot small { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-200); font-weight: 700; }
.slot b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-top: .2rem; }
.slot span { font-size: .9rem; }
.schedule__card .btn { position: relative; z-index: 1; }
.schedule__aside { display: grid; gap: 1.2rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; gap: 1.1rem; box-shadow: var(--shadow-sm); }
.info-card__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-600); color: var(--white); display: grid; place-items: center; }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.info-card a { font-weight: 600; }

/* ---------- Notícias ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.news-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; text-align: left;
  font: inherit; color: inherit; padding: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__media--logo { display: grid; place-items: center; }
.news-card__media--logo img { width: 42%; height: auto; opacity: .9; object-fit: contain; }
.news-card__tag {
  position: absolute; left: 1rem; top: 1rem; background: rgba(255,255,255,.95); color: var(--navy-800);
  font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.news-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: .82rem; color: var(--blue-600); font-weight: 700; letter-spacing: .03em; }
.news-card h3 { margin: .45rem 0 .6rem; font-size: 1.18rem; }
.news-card p { color: var(--muted); font-size: .95rem; margin: 0 0 1.2rem; }
.news-card__more { margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--blue-600); display: inline-flex; align-items: center; gap: .4rem; }
.news-card__more svg { width: 16px; height: 16px; transition: transform .25s; }
.news-card:hover .news-card__more svg { transform: translateX(4px); }
.news-card--featured { grid-column: span 2; flex-direction: row; }
.news-card--featured .news-card__media { aspect-ratio: auto; flex: 1.2; min-height: 100%; }
.news-card--featured .news-card__body { flex: 1; padding: 2rem; justify-content: center; }
.news-card--featured h3 { font-size: 1.6rem; }
.news-more { text-align: center; margin-top: 2.6rem; }

/* ---------- Plano de atividades ---------- */
.plan-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  border: 1px solid var(--line); background: var(--white); color: var(--navy-900); border-radius: 999px;
  padding: .5rem 1rem; font: 600 .88rem var(--font-display); cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; gap: .45rem;
}
.filter:hover { border-color: var(--blue-500); }
.filter[aria-pressed="true"] { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.filter .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.month { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.month__head { display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 1.3rem; background: var(--navy-800); color: var(--white); }
.month__head h3 { color: var(--white); margin: 0; font-size: 1.05rem; text-transform: capitalize; }
.month__head span { font-size: .8rem; opacity: .75; }
.event { display: grid; grid-template-columns: 58px 1fr; gap: .9rem; padding: .95rem 1.3rem; border-top: 1px solid var(--line); align-items: center; }
.event:first-of-type { border-top: 0; }
.event__date { text-align: center; border-radius: 12px; background: var(--blue-50); padding: .4rem 0; line-height: 1.1; }
.event__date b { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-800); }
.event__date small { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.event__name { font-weight: 600; color: var(--navy-900); font-size: .96rem; line-height: 1.35; }
.event__meta { display: flex; flex-wrap: wrap; gap: .35rem .7rem; font-size: .8rem; color: var(--muted); margin-top: .25rem; align-items: center; }
.type { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; }
.type::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--blue-600)); }
.type--competicao { --c: #1d55d6; }
.type--formacao { --c: #0b2a7a; }
.type--ludico { --c: #5fa8ff; }
.type--obrigatorio { --c: #8aa0c8; }
.type--treinos { --c: #16a3c4; }
/* English type names */
.type--competition { --c: #1d55d6; }
.type--training { --c: #0b2a7a; }
.type--social { --c: #5fa8ff; }
.type--mandatory { --c: #8aa0c8; }
.type--classes { --c: #16a3c4; }
.event.is-past { opacity: .55; }
.event.is-past .event__date { background: #eef1f7; }
.event.is-next { background: linear-gradient(90deg, var(--blue-50), transparent); box-shadow: inset 3px 0 0 var(--blue-600); }
.event.is-next .event__date { background: var(--blue-600); }
.event.is-next .event__date b, .event.is-next .event__date small { color: var(--white); }
.badge-next { font-size: .68rem; background: var(--blue-600); color: var(--white); padding: .12rem .5rem; border-radius: 999px; font-weight: 700; letter-spacing: .05em; }
.plan-note { margin-top: 1.8rem; font-size: .9rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }

/* ---------- Técnicos ---------- */
.lineage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.sensei {
  position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 1.6rem; display: flex; gap: 1.2rem; align-items: center; transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}
.sensei:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.sensei__photo { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,.85); background: var(--navy-800); }
.sensei__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.sensei h3 { font-size: 1.08rem; margin: 0 0 .15rem; }
.sensei__rank { display: block; font-size: .85rem; color: var(--blue-200); font-weight: 600; margin-bottom: .55rem; }
.sensei__role { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; margin-bottom: .35rem; }
.sensei a { color: var(--white); font-size: .85rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; }
.sensei a:hover { border-color: var(--white); }
.sensei a svg { width: 14px; height: 14px; }
.lineage-label { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-200); margin-top: .6rem; }
.lineage-label::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.15); }

/* ---------- História ---------- */
.history { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); }
.history__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.history__intro p { color: var(--muted); }
.docs { display: grid; gap: .8rem; margin-top: 2rem; }
.doc {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); transition: all .25s var(--ease);
}
.doc:hover { border-color: var(--blue-500); transform: translateX(4px); box-shadow: var(--shadow-sm); color: var(--navy-900); }
.doc__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; overflow: hidden; }
.doc__icon img { width: 100%; height: 100%; object-fit: cover; }
.doc__icon svg { width: 22px; height: 22px; color: var(--blue-600); }
.doc b { display: block; font-family: var(--font-display); font-size: .98rem; }
.doc span { font-size: .82rem; color: var(--muted); }
.doc__arrow { margin-left: auto; color: var(--blue-600); }
.doc__arrow svg { width: 20px; height: 20px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(var(--blue-600), var(--blue-100)); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem + 1px); top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue-600); }
.timeline__year { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--blue-600); line-height: 1.2; }
.timeline h3 { font-size: 1.08rem; margin: .2rem 0 .35rem; }
.timeline p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Batto Jutsu ---------- */
.batto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.batto__media { position: relative; display: grid; grid-template-columns: .7fr 1fr; gap: 1rem; align-items: end; }
.batto__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.batto__media .portrait { aspect-ratio: 3 / 4.2; }
.batto__media .poster { aspect-ratio: 832 / 582; margin-bottom: 2.5rem; cursor: zoom-in; }
.batto blockquote { margin: 1.6rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--blue-600); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: 1.1rem; }
.batto blockquote cite { display: block; font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .4rem; font-weight: 500; }

/* ---------- Vídeos ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.video { border-radius: var(--radius); overflow: hidden; background: var(--navy-950); box-shadow: var(--shadow-sm); }
.video__frame { position: relative; aspect-ratio: 16 / 9; }
.video__btn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s var(--ease); }
.video__btn:hover img { opacity: 1; transform: scale(1.04); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--blue-600);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease), background-color .3s;
}
.video__btn:hover .video__play { transform: scale(1.1); background: var(--white); }
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__caption { padding: 1rem 1.2rem 1.1rem; color: var(--white); }
.video__caption b { display: block; font-family: var(--font-display); font-size: .98rem; }
.video__caption span { font-size: .82rem; color: rgba(255,255,255,.62); }
.videos-note { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 1.4rem; text-align: center; }

/* ---------- Galeria ---------- */
.tabs { display: inline-flex; gap: .3rem; padding: .35rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 2rem; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: .6rem 1.2rem; border-radius: 999px; font: 700 .9rem var(--font-display); color: var(--muted); cursor: pointer; transition: all .25s; }
.tab[aria-selected="true"] { background: var(--navy-800); color: var(--white); }
.gallery { columns: 4 240px; column-gap: 1rem; }
.gallery[hidden] { display: none; }
.gallery__item { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: zoom-in; display: block; width: 100%; border: 0; padding: 0; background: var(--blue-100); }
.gallery__item img { width: 100%; transition: transform .6s var(--ease), filter .3s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(7,26,74,.55)); opacity: 0; transition: opacity .3s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after { opacity: 1; }
.gallery__intro { color: var(--muted); max-width: 44rem; margin: -1rem 0 1.6rem; }

/* ---------- Lightbox / Modal ---------- */
dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; color: inherit; }
dialog::backdrop { background: rgba(4, 13, 43, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox { width: 100vw; height: 100vh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; display: grid; gap: .8rem; justify-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; }
.lb-btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; margin-top: -26px; }
.lb-next { right: 1.2rem; top: 50%; margin-top: -26px; }

.modal { width: min(760px, calc(100vw - 2rem)); max-height: calc(100vh - 3rem); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__media { max-height: 42vh; overflow: hidden; background: var(--navy-800); flex: none; }
.modal__media img { width: 100%; height: 100%; max-height: 42vh; object-fit: cover; }
.modal__body { padding: 2rem clamp(1.4rem, 4vw, 2.6rem) 2.4rem; overflow-y: auto; }
.modal__body time { color: var(--blue-600); font-weight: 700; font-size: .88rem; }
.modal__body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .4rem 0 1.1rem; }
.modal__body p { color: #33405e; }
.modal .lb-close { position: absolute; background: rgba(4,13,43,.55); border-color: rgba(255,255,255,.35); }

/* ---------- Contactos ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.contact__panel { padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 100%); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.contact__panel h2 { color: var(--white); }
.contact__panel .eyebrow { color: var(--blue-200); }
.contact__panel .wordmark { width: min(100%, 360px); margin: 2.5rem 0 0; opacity: .95; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list svg { flex: none; width: 22px; height: 22px; margin-top: .2rem; color: var(--blue-200); }
.contact__list a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact__list a:hover { text-decoration: underline; }
.contact__list small { display: block; color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.contact__form { padding: clamp(2rem, 5vw, 3.5rem); }
.contact__form h3 { font-size: 1.5rem; }
.contact__form > p { color: var(--muted); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .85rem; font-weight: 700; color: var(--navy-900); font-family: var(--font-display); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--blue-50);
  border: 1.5px solid transparent; border-radius: 12px; padding: .8rem 1rem; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: .4rem 0 1.4rem; }
.consent input { margin-top: .25rem; accent-color: var(--blue-600); width: 18px; height: 18px; flex: none; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 74px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 22rem; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background-color .2s; }
.socials a:hover { background: var(--blue-600); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.5rem; padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.5); }

.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--blue-600); color: var(--white); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Páginas interiores ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + 4.5rem) 0 4.5rem;
  background: radial-gradient(80% 120% at 90% 0%, var(--blue-700) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
}
.page-hero::after { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-40%); opacity: .07; background: url("../img/logo/emblema-branco.svg") center / contain no-repeat; z-index: -1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 1rem 0 .6rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 42rem; margin: 0; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--blue-200); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.65); }
.breadcrumb a { color: var(--white); }
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose p, .prose li { color: #33405e; }
.prose ul { padding-left: 1.3rem; display: grid; gap: .6rem; }
.prose li::marker { color: var(--blue-600); }
.callout { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 2rem 0; }
.link-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.link-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.link-group h2 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.link-group h2 span { font-size: .75rem; background: var(--blue-50); color: var(--blue-700); padding: .15rem .55rem; border-radius: 999px; }
.link-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.link-group a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; margin: 0 -.7rem; border-radius: 10px; text-decoration: none; color: var(--navy-900); font-size: .95rem; }
.link-group a:hover { background: var(--blue-50); color: var(--blue-700); }
.link-group a::after { content: "↗"; color: var(--blue-500); flex: none; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line); }
  .values, .news-grid, .videos, .lineage { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero__grid, .about, .schedule, .history, .batto, .contact { grid-template-columns: 1fr; }
  .hero { padding-bottom: 8rem; }
  .hero__visual { width: 58%; max-width: 280px; order: -1; justify-self: start; }
  .hero__scroll { display: none; }
  .history__intro { position: static; }
  .news-card--featured { grid-column: auto; flex-direction: column; }
  .news-card--featured .news-card__media { aspect-ratio: 16 / 10; }
  .news-card--featured .news-card__body { padding: 1.4rem 1.5rem 1.6rem; }
  .news-card--featured h3 { font-size: 1.18rem; }
  .about__media { margin: 1rem 1rem 2rem .5rem; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 2rem, var(--container)); }
  .highlights__grid, .values, .news-grid, .videos, .lineage, .field-row, .slots { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .highlight { padding: 1.2rem 1.3rem; }
  .brand__sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__badge { left: -.5rem; bottom: -1.2rem; padding: 1rem 1.2rem; }
  .about__badge b { font-size: 2rem; }
  .plan { grid-template-columns: 1fr; }
  .gallery { columns: 2 140px; column-gap: .7rem; }
  .gallery__item { margin-bottom: .7rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1.2rem; margin: 0; }
  .batto__media { grid-template-columns: 1fr 1fr; }
}

/* ---------- Seletor de idioma PT | EN ---------- */
.lang {
  position: relative; z-index: 2; flex: none;
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35);
  transition: border-color .35s;
}
.lang__opt {
  display: block; min-width: 38px; padding: .34rem .6rem; border-radius: 999px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .08em; line-height: 1.2;
  color: inherit; text-decoration: none; opacity: .72;
  transition: background-color .25s, color .25s, opacity .25s;
}
.lang__opt:hover { opacity: 1; color: inherit; }
.lang__opt.is-active { opacity: 1; background: var(--white); color: var(--navy-900); cursor: default; }
.lang__sep { width: 1px; height: 14px; background: currentColor; opacity: .35; }
.is-solid .lang { border-color: var(--line); }
.is-solid .lang__opt.is-active { background: var(--navy-800); color: var(--white); }
.site-header .nav { margin-left: auto; }
.lang--footer { border-color: rgba(255, 255, 255, .2); }
.site-footer .lang__opt { color: rgba(255, 255, 255, .8); }
.site-footer .lang__opt.is-active { background: var(--white); color: var(--navy-900); }
.site-header .container { gap: 1rem; }
.brand { flex: none; }
.brand__text, .nav__link, .nav .btn { white-space: nowrap; }
.nav__link { padding: .55rem .6rem; }
@media (min-width: 1241px) and (max-width: 1360px) {
  .brand__sub { display: none; }
  .nav__link { padding: .5rem .55rem; font-size: .88rem; }
  .nav .btn { margin-left: .3rem; padding: .6rem .95rem; }
}
@media (max-width: 1240px) {
  .site-header .nav { margin-left: 0; }
  .site-header .lang { margin-left: auto; }
  .nav-toggle { order: 3; }
  .nav-open .site-header .lang { border-color: rgba(255, 255, 255, .35); }
  .nav-open .site-header .lang__opt.is-active { background: var(--white); color: var(--navy-900); }
}

/* ---------- Notícias com várias fotografias / cartazes ---------- */
.news-card__media--contain { background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); }
.news-card__media--contain img { object-fit: contain; padding: .6rem; }
.news-card:hover .news-card__media--contain img { transform: scale(1.03); }
.news-card__count {
  position: absolute; right: 1rem; bottom: 1rem; background: rgba(4, 13, 43, .75); color: var(--white);
  font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .35rem .65rem; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal__media--contain img { object-fit: contain; background: var(--navy-900); }
.modal__gallery-title { font-size: 1rem; margin: 1.8rem 0 .9rem; display: flex; align-items: center; gap: .5rem; }
.modal__gallery-title span { font-size: .72rem; background: var(--blue-50); color: var(--blue-700); padding: .15rem .55rem; border-radius: 999px; }
.modal__gallery { columns: 3 150px; column-gap: .6rem; }
.modal__gallery .gallery__item { margin-bottom: .6rem; }

/* ---------- Área do Sócio ---------- */
.gallery-more { display: flex; justify-content: center; margin-top: 1.8rem; }
.section--members { padding-bottom: 0; }
.members-cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); color: rgba(255, 255, 255, .85);
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--navy-800) 45%, var(--navy-950) 100%); box-shadow: var(--shadow-lg);
}
.members-cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; opacity: .07;
  background: url("../img/logo/emblema-branco.svg") center / contain no-repeat; pointer-events: none;
}
.members-cta h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: .7rem 0 .5rem; }
.members-cta .eyebrow { color: var(--blue-200); }
.members-cta p { margin: 0; max-width: 42rem; }
.members-cta__icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); }
.members-cta__icon svg { width: 34px; height: 34px; }
.members-cta__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.1rem 0 0; }
.members-cta__list li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .85rem; font-weight: 600; color: var(--white); }
.members-cta__list svg { width: 16px; height: 16px; }
.members-cta .btn { position: relative; z-index: 1; }
.section--member-hub { padding: 2.5rem 0 0; }
.member-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.hub-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--navy-900);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); color: var(--navy-900); }
.hub-card__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-600); color: var(--white); }
.hub-card__icon svg { width: 24px; height: 24px; }
.hub-card b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .15rem; }
.hub-card span span { font-size: .9rem; color: var(--muted); }
.linktree-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.linktree-box p { color: var(--muted); }
.member-small { font-size: .9rem; }
.linktree-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem;
  padding: 2.4rem 2rem; border-radius: var(--radius-lg); color: rgba(255, 255, 255, .8);
  background: linear-gradient(140deg, var(--blue-600) 0%, var(--navy-800) 55%, var(--navy-950) 100%); box-shadow: var(--shadow-lg);
}
.linktree-card__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--white); margin-bottom: .4rem; }
.linktree-card__icon svg { width: 30px; height: 30px; }
.linktree-card b { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); }
.linktree-card .btn { margin-top: 1rem; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.merch-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.merch-card__media { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); }
.merch-card__media .photo { width: 100%; height: 100%; object-fit: cover; }
.merch-card__media .placeholder, .album-card .placeholder { width: 42%; height: auto; opacity: .3; }
.badge-example {
  position: absolute; left: .8rem; top: .8rem; z-index: 1; padding: .3rem .65rem; border-radius: 999px;
  background: #fff4d6; color: #6b4e00; font-family: var(--font-display); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.merch-card__body { flex: 1; display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem 1.3rem 1.4rem; }
.merch-card h3 { margin: 0; font-size: 1.1rem; }
.merch-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.merch-card__price { font-family: var(--font-display); font-weight: 800; color: var(--blue-700); }
.merch-card__opts { display: flex; gap: .6rem; margin-top: auto; }
.merch-card__opts select, .merch-card__opts input {
  min-width: 0; font: inherit; font-size: .9rem; padding: .55rem .7rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--blue-50); color: var(--ink);
}
.merch-card__opts select { flex: 1; }
.merch-card__opts input { width: 4.6rem; }
.merch-card__opts select:focus, .merch-card__opts input:focus { outline: none; border-color: var(--blue-600); background: var(--white); }
.merch-card .btn { width: 100%; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.album-card {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  background: var(--navy-800); color: var(--white); text-decoration: none; box-shadow: var(--shadow-sm);
}
.album-card > img:not(.placeholder) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album-card:hover > img:not(.placeholder) { transform: scale(1.05); }
.album-card:hover { color: var(--white); }
.album-card__info { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: 2.5rem 1.3rem 1.2rem; background: linear-gradient(transparent, rgba(4, 13, 43, .94)); }
.album-card__info b { font-family: var(--font-display); font-size: 1.1rem; }
.album-card__info > span { font-size: .85rem; opacity: .82; }
.album-card__info .album-card__open { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; opacity: 1; font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--blue-200); }
.album-card__open svg { width: 14px; height: 14px; }
.album-card[aria-disabled="true"] { cursor: default; }
.member-note { margin-top: 2rem; font-size: .92rem; color: #33405e; }
.member-empty { color: var(--muted); }
@media (max-width: 880px) {
  .members-cta, .linktree-box, .member-hub { grid-template-columns: 1fr; }
  .members-cta { gap: 1.2rem; }
}

/* ---------- Menu: destaque da Área do Sócio ---------- */
.nav__link--members {
  display: inline-flex; align-items: center; gap: .4rem; opacity: 1;
  border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1);
}
.nav__link--members svg { width: 15px; height: 15px; flex: none; }
.nav__link--members:hover, .nav__link--members.is-active { background: rgba(255, 255, 255, .22); border-color: var(--white); }
.is-solid .nav__link--members { border-color: var(--blue-200); background: var(--blue-50); color: var(--blue-700); }
.is-solid .nav__link--members:hover { background: var(--blue-100); border-color: var(--blue-600); color: var(--blue-700); }
.is-solid .nav__link--members.is-active { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.nav__link--members.is-active { background: var(--white); border-color: var(--white); color: var(--navy-900); }
@media (max-width: 1240px) {
  .nav__link--members, .is-solid .nav__link--members { margin-top: .4rem; color: var(--white); border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); }
  .nav__link--members svg { width: 20px; height: 20px; }
}
/* ---------- Cabeçalho mais largo + botão rápido da Área do Sócio (ecrãs pequenos) ---------- */
.site-header .container { width: min(100% - 2.5rem, 1320px); }
.members-quick { display: none; }
@media (max-width: 1240px) {
  .nav { overflow-y: auto; padding: 5.5rem 0 2rem; justify-content: safe center; }
  .site-header .lang { order: 1; }
  .members-quick {
    order: 2; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
    color: inherit; text-decoration: none; position: relative; z-index: 2;
    border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); transition: background-color .25s, border-color .25s;
  }
  .members-quick svg { width: 18px; height: 18px; }
  .members-quick:hover, .members-quick.is-active { color: inherit; background: rgba(255, 255, 255, .22); border-color: var(--white); }
  .is-solid .members-quick { border-color: var(--blue-200); background: var(--blue-50); color: var(--blue-700); }
  .is-solid .members-quick.is-active { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
  .nav-open .site-header .members-quick { color: var(--white); border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); }
}
@media (max-width: 640px) { .site-header .container { width: min(100% - 2rem, 1320px); } }
@media (max-width: 379px) { .members-quick { display: none; } }


/* ---------- Loja de merchandising + carrinho de compras ---------- */
.merch-sub { font-size: 1.3rem; margin: 2.4rem 0 1.2rem; display: flex; align-items: center; gap: .8rem; }
.merch-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section--tint .section-head--split .btn { flex: none; }
.merch-card__media { overflow: hidden; background: var(--white); }
.merch-card__media .photo { transition: opacity .3s; }
.merch-card.is-soon .merch-card__media { background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); }
.badge-kit, .badge-soon {
  position: absolute; left: .8rem; top: .8rem; z-index: 1; padding: .3rem .7rem; border-radius: 999px;
  font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.badge-kit { background: var(--navy-800); color: var(--white); }
.badge-soon { background: #fff4d6; color: #6b4e00; }
.badge-kit + .badge-soon { left: 4.2rem; }
.merch-flip {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 1; border: 0; cursor: pointer; padding: .35rem .75rem; border-radius: 999px;
  background: rgba(4, 13, 43, .72); color: var(--white); font: 700 .75rem var(--font-display); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.merch-flip:hover { background: var(--blue-600); }
.merch-includes { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.merch-includes small { width: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.merch-includes span { font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; background: var(--blue-50); color: var(--navy-800); border: 1px solid var(--blue-100); }
.merch-card__price { font-size: 1.35rem; }
.merch-note { font-size: .85rem !important; background: var(--blue-50); border-radius: 10px; padding: .55rem .7rem; }
.merch-link { font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; }
.merch-link svg { width: 14px; height: 14px; }
.merch-card__opts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }
.merch-field { display: grid; gap: .25rem; flex: 1 1 120px; min-width: 0; }
.merch-field span { font-size: .72rem; font-weight: 700; color: var(--muted); }
.merch-field--qty { flex: 0 0 4.8rem; }
.merch-field select, .merch-field input {
  width: 100%; min-width: 0; font: inherit; font-size: .9rem; padding: .55rem .6rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--blue-50); color: var(--ink);
}
.merch-field select:focus, .merch-field input:focus { outline: none; border-color: var(--blue-600); background: var(--white); }
.merch-field .is-invalid { border-color: #d92d20; background: #fff5f4; }
.merch-msg { min-height: 1.1em; margin: 0 !important; font-size: .82rem !important; font-weight: 600; }
.merch-msg.is-err { color: #b42318 !important; }
.merch-msg.is-ok { color: #11763d !important; }
.merch-btn { width: 100%; }
.merch-btn svg { width: 1.05em; height: 1.05em; }

.cart-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 95; display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.1rem; border: 0; border-radius: 999px; cursor: pointer; background: var(--navy-800); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; box-shadow: 0 14px 30px -10px rgba(7, 26, 74, .6);
  transition: transform .25s var(--ease), background-color .25s;
}
.cart-fab:hover { background: var(--blue-600); transform: translateY(-2px); }
.cart-fab svg { width: 20px; height: 20px; }
.cart-fab__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--white); color: var(--navy-800); font-size: .78rem; display: grid; place-items: center; }
.cart-fab__total { font-size: .85rem; opacity: .9; }
.cart-fab.is-empty .cart-fab__count { background: rgba(255, 255, 255, .25); color: var(--white); }
.cart-fab.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
body:has(.cart-fab) .to-top { bottom: 5.2rem; }

.cart-modal { width: min(820px, calc(100vw - 2rem)); }
.cart-body { padding: 2rem clamp(1.2rem, 4vw, 2.4rem) 2rem; overflow-y: auto; max-height: calc(100vh - 3rem); }
.cart-title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0 3rem 1.2rem 0; }
.cart-sub { font-size: 1rem; margin: 1.6rem 0 .8rem; color: var(--navy-800); }
.cart-empty { color: var(--muted); }
.cart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--blue-50); }
.cart-line__info { display: grid; gap: .15rem; min-width: 0; }
.cart-line__info b { font-family: var(--font-display); color: var(--navy-900); }
.cart-line__info small { color: var(--muted); font-size: .82rem; }
.cart-line__unit { font-size: .82rem; color: var(--blue-700); font-weight: 600; }
.cart-line__qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.cart-line__qty button { width: 34px; height: 34px; border: 0; background: var(--blue-50); color: var(--navy-800); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.cart-line__qty button:hover { background: var(--blue-100); }
.cart-line__qty span { min-width: 2rem; text-align: center; font-weight: 700; }
.cart-line__sub { display: grid; justify-items: end; gap: .2rem; font-family: var(--font-display); font-weight: 800; color: var(--navy-900); min-width: 5.5rem; }
.cart-line__rm { border: 0; background: none; padding: 0; color: #b42318; font-size: .78rem; font-weight: 600; cursor: pointer; text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--navy-800); color: var(--white); }
.cart-total span { font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.cart-total b { font-family: var(--font-display); font-size: 1.5rem; }
.cart-conf { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; margin-top: 1.4rem; }
.cart-summary { width: 100%; border-collapse: collapse; font-size: .92rem; }
.cart-summary td { padding: .6rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-summary td.num { text-align: right; white-space: nowrap; }
.cart-summary small { color: var(--muted); }
.cart-form { margin-top: .4rem; }
.cart-form textarea { min-height: 80px; }
.cart-text { width: 100%; min-height: 220px; margin-top: .8rem; font: 12.5px/1.5 ui-monospace, Consolas, monospace; padding: 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--blue-50); }
.cart-done { text-align: center; padding: 1rem 0; }
.cart-done .cart-title { margin: .8rem 0; }
.cart-done p { color: var(--muted); max-width: 34rem; margin-inline: auto; }
.cart-done .cart-actions { justify-content: center; }
.cart-done__icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: #e7f7ee; color: #11763d; font-size: 1.8rem; font-weight: 800; }
@media (max-width: 640px) {
  .cart-line { grid-template-columns: 52px 1fr; }
  .cart-line img { width: 52px; height: 52px; }
  .cart-line__qty, .cart-line__sub { grid-column: 2; justify-self: start; }
  .cart-line__sub { justify-items: start; }
  .cart-fab__label { display: none; }
  .cart-actions .btn { flex: 1 1 100%; }
}
.cart-modal .lb-close { top: .8rem; right: .8rem; width: 42px; height: 42px; background: rgba(255,255,255,.94); color: var(--navy-800); border: 1px solid var(--line); box-shadow: 0 6px 18px -6px rgba(7,26,74,.35); z-index: 2; }
.cart-modal .lb-close:hover { background: var(--blue-50); }

/* ==========================================================================
   Área do Sócio — Renovação da inscrição
   ========================================================================== */
.member-hub { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.hub-card--accent { background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); border-color: transparent; color: var(--white); }
.hub-card--accent:hover { color: var(--white); }
.hub-card--accent .hub-card__icon { background: rgba(255,255,255,.16); }
.hub-card--accent span span { color: rgba(255,255,255,.8); }
.linktree-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

.section--renov { padding-top: clamp(2rem, 4vw, 3rem); background: var(--blue-50); }
.renov { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; scroll-margin-top: calc(var(--header-h) + 1rem); }
#renov-app { scroll-margin-top: calc(var(--header-h) + 1rem); }
.renov-main { min-width: 0; }

.renov-steps { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; counter-reset: s; }
.renov-steps li { position: relative; display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; border-radius: 14px; background: var(--white); border: 1px solid var(--line); cursor: pointer; font-size: .85rem; color: var(--muted); transition: border-color .2s, background .2s, color .2s; }
.renov-steps li span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .85rem; background: var(--blue-100); color: var(--navy-800); }
.renov-steps li b { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
.renov-steps li.is-done span { background: var(--blue-600); color: var(--white); }
.renov-steps li.is-current { border-color: var(--blue-600); background: var(--white); color: var(--navy-900); box-shadow: 0 8px 22px -14px rgba(29,85,214,.7); }
.renov-steps li.is-current span { background: var(--navy-800); color: var(--white); }

.renov-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3.5vw, 2.4rem); box-shadow: var(--shadow-sm); }
.renov-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.renov-badge { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 999px; background: var(--blue-100); color: var(--navy-800); font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .04em; }
.renov-count { font-size: .85rem; color: var(--muted); font-weight: 600; }
.renov-step h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; outline: none; }
.renov-h { font-size: 1.1rem; color: var(--navy-800); margin: 1.6rem 0 .8rem; }
.renov-step > .renov-h:first-of-type { margin-top: .4rem; }
.renov-lead { color: var(--muted); font-size: 1.02rem; margin: 0 0 1.4rem; }
.renov-help { display: block; color: var(--muted); font-size: .82rem; }
.renov-note { background: var(--blue-50); border-left: 4px solid var(--blue-600); padding: .8rem 1rem; border-radius: 0 12px 12px 0; color: var(--navy-900); font-size: .92rem; margin: .4rem 0 1rem; }
.req { color: #c0262d; }
.renov-req { font-size: .8rem; color: var(--muted); margin: 1.4rem 0 0; }
.renov-err { color: #b42318; font-size: .82rem; font-weight: 600; margin: .4rem 0 0; }
.field.is-invalid input, .field.is-invalid select { border-color: #d64545; background: #fff6f6; }

.renov-q { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.2rem; margin: 0 0 1.2rem; }
.renov-q legend { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); padding: 0 .4rem; font-size: 1rem; }
.renov-q.is-invalid { border-color: #d64545; }
.renov-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem; }
.renov-check { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 12px; background: var(--blue-50); border: 1.5px solid transparent; cursor: pointer; font-size: .93rem; transition: border-color .2s, background .2s; }
.renov-check:hover { border-color: var(--blue-200); }
.renov-check:has(input:checked) { background: var(--blue-100); border-color: var(--blue-600); }
.renov-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue-600); flex: none; }
.renov-check--other { grid-column: 1 / -1; flex-wrap: wrap; }
.renov-check--other input[type="text"] { flex: 1 1 200px; font: inherit; padding: .45rem .7rem; border-radius: 9px; border: 1.5px solid var(--line); background: var(--white); }
.renov-check--other input[type="text"]:disabled { opacity: .55; }

.renov-info { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: rgba(255,255,255,.86); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.3rem; }
.renov-info h3 { color: var(--white); font-size: 1.05rem; margin: 0 0 .6rem; }
.renov-info p { margin: .3rem 0; font-size: .93rem; }
.renov-info b { color: var(--white); }
.renov-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; color: var(--white); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.renov-link svg { width: 18px; height: 18px; }

.renov-opts, .renov-choice { display: grid; gap: .6rem; }
.renov-choice { grid-template-columns: 1fr 1fr; margin-bottom: 1.2rem; }
.renov-opt { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.renov-opt:hover { border-color: var(--blue-200); }
.renov-opt:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 8px 20px -14px rgba(29,85,214,.8); }
.renov-opt:has(input:disabled) { cursor: default; }
.renov-opt input { width: 20px; height: 20px; accent-color: var(--blue-600); flex: none; }
.renov-opt__price { flex: none; min-width: 5.6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--navy-800); }
.renov-opt__price small { font-size: .72rem; font-weight: 700; color: var(--muted); margin-left: .15rem; }
.renov-opt__txt { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.renov-opt__txt b { display: block; color: var(--navy-900); font-family: var(--font-display); font-size: .92rem; }
.renov-opt--big { align-items: flex-start; }
.renov-opt--big input { margin-top: .15rem; }
.renov-total { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--navy-800); border-radius: var(--radius); overflow: hidden; margin-top: .4rem; }
.renov-total div { background: var(--navy-900); padding: 1rem 1.2rem; color: var(--white); }
.renov-total small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-200); font-weight: 700; }
.renov-total b { font-family: var(--font-display); font-size: 1.5rem; }

.renov-details { border: 1px solid var(--line); border-radius: var(--radius); padding: .2rem 1.1rem; margin-top: 1.2rem; background: var(--blue-50); }
.renov-details summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--navy-800); padding: .8rem 0; }
.renov-details p { font-size: .9rem; color: #33405e; margin: .3rem 0 .8rem; }

.emd-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: .6rem; }
.emd-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px 88px; align-items: center; gap: .4rem; padding: .5rem .8rem; border-top: 1px solid var(--line); font-size: .9rem; }
.emd-row:nth-child(odd):not(.emd-row--head) { background: var(--blue-50); }
.emd-row--head { border-top: 0; background: var(--navy-900); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.emd-row.is-invalid { background: #fff1f1 !important; box-shadow: inset 4px 0 0 #d64545; }
.emd-q { color: var(--navy-900); }
.emd-yn { display: flex; justify-content: center; cursor: pointer; }
.emd-yn input { position: absolute; opacity: 0; pointer-events: none; }
.emd-yn span { display: inline-grid; place-items: center; min-width: 52px; padding: .35rem .5rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: .82rem; color: var(--muted); transition: all .15s; }
.emd-yn:hover span { border-color: var(--blue-200); }
.emd-yn input:focus-visible + span { outline: 3px solid var(--blue-200); outline-offset: 1px; }
.emd-yn input[value="S"]:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.emd-yn input[value="N"]:checked + span { background: var(--blue-100); border-color: var(--blue-600); color: var(--navy-800); }
.emd-ano { width: 100%; font: inherit; font-size: .85rem; padding: .35rem .5rem; border-radius: 9px; border: 1.5px solid var(--line); background: var(--white); text-align: center; }
.emd-ano:disabled { background: transparent; border-style: dashed; opacity: .5; }
.emd-row--20 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.emd-row--20 input { font: inherit; padding: .45rem .7rem; border-radius: 9px; border: 1.5px solid var(--line); background: var(--white); }
.renov-emd .consent.is-invalid, .renov-step .consent.is-invalid { color: #b42318; }
.renov-emd .btn { margin-top: .2rem; }

.renov-review { display: grid; gap: .9rem; margin-bottom: 1.2rem; }
.renov-rev { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.renov-rev h4 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .6rem; font-size: 1rem; color: var(--navy-800); }
.renov-edit { font: inherit; font-size: .8rem; font-weight: 700; color: var(--blue-600); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.renov-rev dl { margin: 0; display: grid; gap: .35rem; }
.renov-rev dl div { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: .8rem; font-size: .9rem; }
.renov-rev dt { color: var(--muted); }
.renov-rev dd { margin: 0; color: var(--navy-900); }

.renov-nav { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.renov-nav [data-next], .renov-nav [data-send] { margin-left: auto; }
.renov-nav [hidden] { display: none; }
.renov-nav .btn[disabled] { opacity: .7; cursor: progress; }

.renov-done { text-align: left; }
.renov-ok { text-align: center; padding: 1rem 0 .4rem; }
.renov-ok h2 { margin: .8rem 0 .5rem; }
.renov-ok p { color: var(--muted); max-width: 34rem; margin-inline: auto; }
.renov-ok__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-600); color: var(--white); font-size: 2rem; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(29,85,214,.8); }
.renov-copy { width: 100%; font: 13px/1.5 ui-monospace, Consolas, monospace; border-radius: 12px; border: 1.5px solid var(--line); background: var(--blue-50); padding: .8rem; margin: .6rem 0; }
.renov-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.renov-side { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1rem; }
.renov-sum { background: linear-gradient(150deg, var(--blue-600), var(--navy-900)); color: var(--white); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.renov-sum small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-200); font-weight: 700; }
.renov-sum h3 { color: var(--white); margin: .2rem 0 .8rem; font-size: 1.3rem; }
.renov-sum dl { margin: 0; display: grid; gap: .2rem; }
.renov-sum dt { font-size: .82rem; color: rgba(255,255,255,.75); }
.renov-sum dd { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.renov-aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: .88rem; }
.renov-aside-box h4 { margin: 0 0 .6rem; font-size: .95rem; color: var(--navy-800); }
.renov-aside-box p { margin: 0; color: #33405e; }
.renov-aside-box--tint { background: var(--blue-100); border-color: transparent; }
.renov-siglas { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; }
.renov-siglas dt { font-family: var(--font-display); font-weight: 800; color: var(--navy-800); }
.renov-siglas dd { margin: 0; color: var(--muted); }

@media (max-width: 1000px) {
  .renov { grid-template-columns: 1fr; }
  .renov-side { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 720px) {
  .renov-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; }
  .renov-steps li { justify-content: center; padding: .5rem .2rem; }
  .renov-steps li b { display: none; }
  .renov-choice, .renov-total { grid-template-columns: 1fr; }
  .emd-row { grid-template-columns: minmax(0, 1fr) 54px 54px; padding: .6rem .7rem; }
  .emd-row--head span:last-child { display: none; }
  .emd-ano { grid-column: 2 / 4; }
  .emd-yn span { min-width: 46px; }
  .emd-row--20 { grid-template-columns: 1fr; }
  .renov-rev dl div { grid-template-columns: 1fr; gap: 0; }
  .renov-opt__price { min-width: 4.6rem; font-size: 1.02rem; }
  .emd-ano:disabled { display: none; }
}
.renov-emd > .field-row { margin-top: 1.2rem; }
.renov-emd .btn { white-space: normal; max-width: 100%; text-align: left; }
@media (max-width: 720px) {
  .renov-nav .btn { flex: 1 1 0; justify-content: center; padding-inline: .8rem; }
  .renov-nav [data-next], .renov-nav [data-send] { margin-left: 0; }
}
.renov [hidden] { display: none !important; }
@media (max-width: 720px) { .renov-q { padding: .9rem .7rem 1rem; } .renov-opt { gap: .6rem; padding: .75rem .8rem; } .renov-opt__price { min-width: 0; } .renov-card { padding: 1.1rem .9rem; } }

/* ==========================================================================
   1.ª inscrição online
   ========================================================================== */
/* página inicial */
.insc-home { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.insc-home__intro p { color: var(--muted); font-size: 1.05rem; }
.insc-home__steps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.insc-home__steps li { display: flex; gap: .9rem; align-items: flex-start; }
.insc-home__steps li > span { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-600); color: var(--white); font-family: var(--font-display); font-weight: 800; }
.insc-home__steps b { display: block; font-family: var(--font-display); color: var(--navy-900); }
.insc-home__steps small { color: var(--muted); font-size: .92rem; }
.insc-home__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3.5vw, 2.2rem); box-shadow: var(--shadow); }
.insc-home__form h3 { margin: 0 0 1.1rem; font-size: 1.3rem; }
.insc-home__note { margin-top: .6rem; }
.insc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.insc-msg { font-weight: 600; }
.insc-msg--ok { color: #11622f; }
.insc-msg--err { color: #b42318; }

/* páginas PHP (entrar, validar, ficha) */
.insc-body { background: var(--blue-50); display: flex; flex-direction: column; min-height: 100vh; }
.insc-body main { flex: 1; }
.insc-header { position: sticky; top: 0; }
.insc-header .container { display: flex; align-items: center; gap: 1rem; }
.insc-header__tag { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: var(--blue-100); color: var(--navy-800); font-family: var(--font-display); font-weight: 700; font-size: .82rem; }
.insc-header__tag svg { width: 15px; height: 15px; }
.insc-header__back { margin-left: auto; font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.insc-footer { background: var(--navy-950); color: rgba(255,255,255,.7); font-size: .85rem; padding: 1.4rem 0; }
.insc-footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.insc-footer a { color: var(--white); }
.insc-auth { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.insc-auth__grid { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.insc-auth__intro h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .8rem 0; }
.insc-auth__intro p { color: var(--muted); font-size: 1.05rem; }
.insc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3.5vw, 2.2rem); box-shadow: var(--shadow); }
.insc-card--narrow { max-width: 560px; margin: 0 auto; text-align: center; }
.insc-card--narrow h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .8rem 0 .6rem; }
.insc-card--narrow p { color: var(--muted); margin-bottom: 1.4rem; }
.insc-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-600); color: var(--white); font-size: 1.8rem; font-weight: 800; }
.insc-icon--warn { background: #d97706; }
.insc-btn-block { width: 100%; justify-content: center; margin-top: .4rem; }
.insc-msg--ok, .insc-msg--err { }
.insc-card .insc-msg { display: flex; gap: .5rem; align-items: center; padding: .75rem 1rem; border-radius: 12px; margin: 0 0 1rem; font-size: .92rem; }
.insc-card .insc-msg svg { width: 18px; height: 18px; flex: none; }
.insc-card .insc-msg--ok { background: #e7f7ee; }
.insc-card .insc-msg--err { background: #fdecec; }
.insc-mini-steps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.insc-mini-steps li { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-weight: 600; }
.insc-mini-steps li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-100); color: var(--navy-800); font-family: var(--font-display); font-weight: 800; font-size: .85rem; }
.insc-mini-steps li span svg { width: 16px; height: 16px; }
.insc-mini-steps li.is-done span { background: var(--blue-600); color: var(--white); }
.insc-mini-steps li.is-current { color: var(--navy-900); }
.insc-mini-steps li.is-current span { background: var(--navy-800); color: var(--white); }
.page-hero--compact { padding-top: calc(var(--header-h) * .2 + 2rem); padding-bottom: 2.2rem; }
.insc-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.insc-hero h1 { margin: .3rem 0 .4rem; }
.insc-hero p { margin: 0; max-width: 46rem; }
.insc-hero [hidden] { display: none; }

/* ficha */
.renov--wide { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
.renov-steps--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.renov-steps--8 li { flex-direction: column; text-align: center; gap: .3rem; padding: .6rem .3rem; font-size: .75rem; }
.renov-steps li.is-na:not(.is-current) { opacity: .5; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field select { width: 100%; }
.renov-h4 { font-size: .98rem; color: var(--navy-800); margin: 1.2rem 0 .6rem; }
.renov-q--inline { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .7rem 1rem; }
.renov-q--inline legend { float: left; padding: 0; margin-right: .6rem; }
.renov-yn { display: flex; gap: .5rem; }
.renov-yn .renov-check input { width: 18px; height: 18px; accent-color: var(--blue-600); }
.consent--plain { margin: .2rem 0 1rem; }
.gr-table { display: grid; gap: .4rem; margin-bottom: .8rem; }
.gr-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr 36px; gap: .4rem; align-items: center; }
.gr-row--head { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.gr-row input { width: 100%; min-width: 0; font: inherit; font-size: .88rem; padding: .5rem .6rem; border-radius: 9px; border: 1.5px solid var(--line); background: var(--blue-50); }
.gr-del { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: #b42318; font-size: 1.2rem; cursor: pointer; }
.foto-box { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.foto-prev { width: 150px; aspect-ratio: 3 / 4; border-radius: 16px; border: 2px dashed var(--blue-200); background: var(--blue-50); display: grid; place-items: center; overflow: hidden; color: var(--blue-200); flex: none; }
.foto-prev svg { width: 64px; height: 64px; }
.foto-prev img { width: 100%; height: 100%; object-fit: cover; }
.foto-box > div:last-child { flex: 1 1 260px; }
.foto-box .renov-h { margin-top: 0; }
.rgpd-box { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--blue-50); font-size: .86rem; color: #33405e; margin-bottom: 1rem; }
.rgpd-box p { margin: 0 0 .7rem; }
.renov-actions--center { justify-content: center; margin-top: 1rem; }
.renov-step [data-pdf] { margin-top: .4rem; }
@media (max-width: 900px) {
  .insc-home, .insc-auth__grid { grid-template-columns: 1fr; }
  .renov-steps--8 b { display: none; }
  .field-row--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .renov-steps--8 { gap: .25rem; }
  .renov-steps--8 li span { width: 24px; height: 24px; font-size: .75rem; }
  .field-row--3 { grid-template-columns: 1fr; }
  .gr-row { grid-template-columns: 1fr 1fr; }
  .gr-row--head { display: none; }
  .gr-row .gr-del { justify-self: end; }
  .insc-header__back { display: none; }
  .insc-header__tag { margin-left: auto; }
  .foto-prev { width: 120px; }
}
@media (max-width: 420px) { .renov-steps--8 { gap: .15rem; } .renov-steps--8 li { padding: .45rem 0; border-radius: 10px; } .renov-steps--8 li span { width: 22px; height: 22px; font-size: .7rem; } }

/* ==========================================================================
   Área do Sócio — consulta das mensalidades
   ========================================================================== */
.q-app { max-width: 900px; margin: 0 auto; display: grid; gap: 1.2rem; }
.q-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.q-form h2 { margin: 0 0 .3rem; font-size: 1.4rem; }
.q-form p { color: var(--muted); margin: 0 0 1rem; }
.q-msg { color: #b42318; font-weight: 600; }
.q-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow); margin-bottom: 1rem; }
.q-card header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.q-card h3 { margin: .3rem 0 .1rem; font-size: 1.35rem; }
.q-card header p { margin: 0; color: var(--muted); }
.q-num { display: inline-block; background: var(--navy-800); color: #fff; border-radius: 999px; padding: .15rem .65rem; font-size: .78rem; font-weight: 800; }
.q-ep { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.q-ep select { font: inherit; padding: .45rem .7rem; border-radius: 10px; border: 1.5px solid var(--line); }
.q-status { margin: 1rem 0; padding: .7rem 1rem; border-radius: 12px; font-weight: 700; }
.q-status.is-ok { background: #e3f6ea; color: #11622f; }
.q-status.is-late { background: #fde8e8; color: #9b1c1c; }
.q-meses { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.q-mes { border-radius: 14px; padding: .7rem .4rem; text-align: center; background: var(--bg, #f8fafc); border: 1.5px solid color-mix(in srgb, var(--c, #cbd5e1) 45%, transparent); }
.q-mes b { display: block; font-family: var(--font-display); color: var(--navy-900); }
.q-mes span { display: block; font-size: .78rem; font-weight: 700; color: var(--c, #94a3b8); filter: brightness(.85); }
.q-mes small { display: block; font-size: .68rem; color: var(--muted); margin-top: .15rem; }
.q-mes.m-pago { --c: #16a34a; --bg: #e3f6ea; } .q-mes.m-isento { --c: #64748b; --bg: #eef1f5; }
.q-mes.m-atraso { --c: #dc2626; --bg: #fde8e8; } .q-mes.m-apagar { --c: #d97706; --bg: #fff4d6; }
.q-legend { font-size: .85rem; color: var(--muted); text-align: center; }
.member-admin { text-align: center; font-size: .85rem; margin: 1.5rem 0 0; }
.member-admin a { color: var(--muted); }
@media (max-width: 600px) { .q-meses { grid-template-columns: repeat(2, 1fr); } }

/* ---------- cinto (faixa) ---------- */
.belt-wrap { display: inline-flex; align-items: center; gap: .5rem; vertical-align: middle; }
.belt { position: relative; display: inline-block; width: 46px; height: 12px; border-radius: 3px; flex: none;
  background: linear-gradient(180deg, var(--c1) 0 50%, var(--c2) 50% 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 1px 2px rgba(0,0,0,.15); }
.belt i { position: absolute; left: 50%; top: -3px; width: 8px; height: 18px; margin-left: -4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--c1) 0 50%, var(--c2) 50% 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.belt--white { box-shadow: inset 0 0 0 1px #c7cfdd; }
.belt--none { background: repeating-linear-gradient(45deg, #e5e9f2 0 4px, #f4f6fb 4px 8px); box-shadow: inset 0 0 0 1px #d5dbe7; }
.belt--lg { width: 72px; height: 16px; } .belt--lg i { width: 11px; height: 24px; margin-left: -5.5px; top: -4px; }
.belt__dan { position: absolute; right: 4px; top: 2px; bottom: 2px; display: flex; gap: 2px; }
.belt__dan u { width: 3px; background: #f5c542; border-radius: 1px; }
.belt-txt { display: inline-grid; line-height: 1.15; }
.belt-txt b { font-size: .85rem; color: var(--navy-900); font-weight: 700; }
.belt-txt small { font-size: .72rem; color: var(--muted); }
.bo-cinto-prev { display: block; margin-top: .35rem; min-height: 24px; }
.bo-hero__tags .belt-wrap { margin-left: .3rem; }
.q-belt { margin-top: .4rem; }

/* ---------- Área do Sócio — "A minha ficha" ---------- */
.fa-app { max-width: 980px; }
.fa-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.fa-head h2 { margin: .3rem 0 .2rem; font-size: 1.4rem; }
.fa-head p { margin: 0; color: var(--muted); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.fa-pct { min-width: 200px; display: grid; gap: .3rem; }
.fa-pct span { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--blue-600) var(--p), var(--blue-100) var(--p)); }
.fa-pct b { font-size: .85rem; color: var(--navy-800); }
.fa-lead { color: var(--muted); margin: 0; }
.fa-msg { padding: .7rem 1rem; border-radius: 12px; font-weight: 600; margin: 0; }
.fa-msg--ok { background: #e3f6ea; color: #11622f; } .fa-msg--err { background: #fde8e8; color: #9b1c1c; }
.fa-form { display: grid; gap: 1rem; }
.fa-sec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; margin: 0; min-width: 0; }
.fa-sec legend { float: left; width: 100%; font-family: var(--font-display); font-weight: 700; color: var(--navy-800); margin-bottom: .7rem; }
.fa-hint { clear: both; font-size: .85rem; color: var(--muted); margin: 0 0 .7rem; }
.fa-grid { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem 1rem; }
.fa-f { display: grid; gap: .3rem; align-content: start; }
.fa-f label, .fa-l { font-size: .8rem; font-weight: 700; color: var(--navy-900); }
.fa-f input, .fa-f select, .fa-f textarea { width: 100%; font: inherit; padding: .6rem .75rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--blue-50); }
.fa-f input:focus, .fa-f select:focus, .fa-f textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; }
.fa-f.is-empty input, .fa-f.is-empty select { border-color: #f3c27a; background: #fffaf0; }
.fa-w2 { grid-column: span 2; } .fa-w3 { grid-column: 1 / -1; }
.fa-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.fa-checks label { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .9rem; }
.fa-checks input { width: 18px; height: 18px; accent-color: var(--blue-600); }
.fa-bar { display: flex; justify-content: space-between; gap: .6rem; position: sticky; bottom: 0; padding: .8rem 0; background: linear-gradient(transparent, var(--blue-50) 30%); }
@media (max-width: 720px) { .fa-grid { grid-template-columns: 1fr; } .fa-w2 { grid-column: auto; } }

/* ==========================================================================
   日本語版 (Japanese version) — fontes do sistema para os caracteres japoneses
   (Montserrat e Inter não têm kanji/kana; o CSP só permite fontes do próprio site)
   ========================================================================== */
:root {
  --font-display: "Montserrat", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", "Meiryo", system-ui, sans-serif;
  --font-body: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "YuGothic", "Meiryo", system-ui, sans-serif;
}
html:lang(ja) body { line-height: 1.85; line-break: strict; overflow-wrap: anywhere; }
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { word-break: auto-phrase; line-height: 1.35; letter-spacing: .02em; }
html:lang(ja) .eyebrow { letter-spacing: .12em; }
html:lang(ja) .hero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
/* tipos de atividade em japonês */
.type--大会 { --c: #1d55d6; }
.type--講習 { --c: #0b2a7a; }
.type--親睦 { --c: #5fa8ff; }
.type--必須 { --c: #8aa0c8; }
.type--稽古 { --c: #16a3c4; }

/* ---------- Seletor de idioma PT | EN | JP em ecrãs estreitos (telemóvel) ---------- */
@media (max-width: 480px) {
  .site-header .container { gap: .45rem; width: min(100% - 1.5rem, 1320px); }
  .site-header .lang { padding: 2px; }
  .site-header .lang__opt { min-width: 0; padding: .32rem .48rem; font-size: .72rem; letter-spacing: .04em; }
  .site-header .lang__sep { height: 12px; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 340px) { .site-header .brand__text { display: none; } }
.hero { overflow-x: clip; }   /* o kanji decorativo não alarga a página no telemóvel */
.insc-home > *, .batto > *, .about > *, .schedule > *, .history > *, .contact > *, .hero__grid > * { min-width: 0; }   /* grelhas não alargam a página no telemóvel */
@media (max-width: 480px) { main .btn { white-space: normal; max-width: 100%; text-align: center; } }   /* botões compridos não alargam a página */
@media (max-width: 360px) { .link-groups { grid-template-columns: 1fr; } .link-group { min-width: 0; } }

/* ---------- Notícia em destaque (marcada no backoffice da direção) ---------- */
.news-card--destaque { border: 2px solid #f2b705; box-shadow: 0 0 0 4px rgba(242,183,5,.16), var(--shadow); }
.news-card__destaque {
  position: absolute; right: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .35rem;
  background: #f2b705; color: var(--navy-950); font-family: var(--font-display); font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45);
}
.news-card__destaque svg { width: 14px; height: 14px; }
.hero__destaque {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; max-width: 100%; min-width: 0; width: fit-content;
  margin: 0 0 1.4rem; padding: .45rem .55rem .45rem .45rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(242,183,5,.55); color: var(--white); text-decoration: none;
  backdrop-filter: blur(6px); transition: background .25s, transform .25s var(--ease);
}
.hero__destaque:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); color: var(--white); }
.hero__destaque-selo {
  display: inline-flex; align-items: center; gap: .35rem; flex: none; background: #f2b705; color: var(--navy-950);
  font-family: var(--font-display); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.hero__destaque-selo svg { width: 13px; height: 13px; }
.hero__destaque-txt { font-weight: 600; font-size: .95rem; min-width: 0; overflow-wrap: anywhere; }
.hero__destaque-ir { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: #ffd75e; padding-right: .5rem; }
.hero__destaque-ir svg { width: 15px; height: 15px; transition: transform .25s; }
.hero__destaque:hover .hero__destaque-ir svg { transform: translateX(3px); }
@media (max-width: 640px) {
  .hero__destaque { border-radius: 16px; padding: .6rem .75rem; gap: .45rem .6rem; }
  .hero__destaque-txt { flex: 1 1 100%; font-size: .9rem; }
}

/* ---------- Notícias com botão de ação (ex.: inscrição num estágio) ---------- */
.news-card__cta { display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start; margin: 0 0 1rem; padding: .5rem .95rem; border-radius: 999px; background: var(--blue-600); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .86rem; box-shadow: 0 8px 20px -10px rgba(29,85,214,.8); }
.news-card__cta svg { width: 15px; height: 15px; }
.news-card--destaque .news-card__cta { background: #f2b705; color: var(--navy-950); }
.modal__cta { margin: 1.4rem 0 .4rem; }
.modal__cta .btn svg { width: 17px; height: 17px; }
.hero__destaque--cta .hero__destaque-ir { background: #f2b705; color: var(--navy-950); padding: .35rem .8rem; border-radius: 999px; margin-left: .2rem; }
