/* ==========================================================================
   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: 1080px) {
  .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; }
.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; }
}
