/* =============================================================================
   CXSP — CLUBE DE XADREZ SÃO PAULO
   FOLHA DE ESTILOS
   ============================================================================= */

:root {
  --navy: #071A33;
  --navy-2: #0D2748;
  --navy-soft: #12345c;
  --gold: #C9A24E;
  --gold-light: #E2C477;
  --gold-08: rgba(201, 162, 78, 0.08);
  --gold-16: rgba(201, 162, 78, 0.18);
  --white: #FFFFFF;
  --off-white: #F7F7F5;
  --graphite: #171B21;
  --graphite-70: rgba(23, 27, 33, 0.72);
  --graphite-50: rgba(23, 27, 33, 0.52);
  --graphite-12: rgba(23, 27, 33, 0.12);
  --graphite-08: rgba(23, 27, 33, 0.07);
  --muted: #667085;
  --line: #E7E5DF;
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-1: 0 1px 2px rgba(7, 26, 51, 0.06);
  --shadow-2: 0 12px 32px rgba(7, 26, 51, 0.14);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--maxw-narrow); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: 20px; }
p { color: var(--graphite-70); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  color: var(--gold); margin-bottom: 14px; letter-spacing: 0.01em;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head.light .eyebrow, .on-navy .eyebrow { color: var(--gold-light); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin-top: 10px; font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: rgba(255,255,255,0.72); }

section { padding: 84px 0; }
.on-gray { background: var(--off-white); }
.on-navy { background: var(--navy); color: rgba(255,255,255,0.85); }
.on-navy h2, .on-navy h3, .on-navy h4 { color: var(--white); }

.empty-state { color: var(--graphite-50); font-size: 15px; padding: 24px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 13px 24px;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(201,162,78,0.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--graphite-12); }
.btn-outline:hover { border-color: var(--navy); background: var(--gold-08); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-royal-outline, .btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-royal-outline:hover, .btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); }
.btn-wa { background: #1f7a4d; color: var(--white); }
.btn-wa:hover { background: #175f3c; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- header ---------- */
.utility-bar {
  background: var(--navy); color: rgba(255,255,255,0.78);
  font-size: 12.5px; padding: 7px 0; text-align: center; letter-spacing: 0.02em;
}
header.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--graphite-08);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 8px; background: var(--white);
  border: 1px solid var(--graphite-08); overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

#footerLogoImg {
  width: 52px; height: 52px; object-fit: contain; background: var(--white);
  border-radius: 8px; padding: 4px; margin-bottom: 14px;
}
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy); line-height: 1.1; }
.brand-sub { display: block; font-size: 11px; letter-spacing: 0.06em; color: var(--graphite-50); text-transform: uppercase; margin-top: 2px; }

nav.main-nav { display: flex; align-items: center; gap: 2px; }
nav.main-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--graphite-70);
  padding: 10px 13px; border-radius: 6px; transition: color .15s, background .15s;
}
nav.main-nav a:hover { color: var(--navy); background: var(--off-white); }
nav.main-nav a.active { color: var(--navy); background: var(--gold-08); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--graphite-12); border-radius: 6px;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- page shell ---------- */
main { display: block; min-height: 50vh; }
.page-header { padding: 56px 0 40px; background: var(--off-white); }
.page-header p { max-width: 620px; margin-top: 10px; }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 18px; }
.back-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: 96px 0 72px;
  background-color: var(--navy);
  background-size: cover; background-position: center 35%; background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,26,51,0.92) 0%, rgba(7,26,51,0.82) 45%, rgba(7,26,51,0.96) 100%),
              radial-gradient(circle at 15% 20%, rgba(201,162,78,0.14), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(201,162,78,0.10), transparent 50%);
}
.checker-veil {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
  background-size: 48px 48px;
  background-position: 0 0, 0 24px, 24px -24px, -24px 0px;
}
.hero-inner { position: relative; max-width: 700px; }
.hero .coord { font-size: 13px; letter-spacing: 0.04em; color: var(--gold-light); font-weight: 600; display: block; margin-bottom: 18px; }
.hero-brand { display: flex; align-items: center; gap: 18px; }
.hero-logo {
  width: 60px; height: 60px; flex-shrink: 0; object-fit: contain;
  background: var(--white); border-radius: 50%; padding: 7px;
  border: 2px solid var(--gold-light); box-shadow: 0 8px 20px rgba(0,0,0,0.28);
}
.hero h1 { color: var(--white); margin: 0; }
.hero-sub { color: rgba(255,255,255,0.78); font-size: 18px; margin-top: 18px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; max-width: 520px; }
.hero-stats .n { display: block; font-family: var(--font-display); font-size: 28px; color: var(--gold-light); font-weight: 600; }
.hero-stats .l { display: block; font-size: 12.5px; color: rgba(255,255,255,0.62); margin-top: 3px; }

/* ---------- tournaments ---------- */
.next-tourn-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.feature-tourn {
  background: var(--navy); color: var(--white); border-radius: 16px;
  padding: 36px; position: relative; overflow: hidden;
}
.feature-tourn::after {
  content: ''; position: absolute; top: -40%; right: -20%; width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(201,162,78,0.16), transparent 60%);
}
.feature-tourn-head { position: relative; }
.feature-tourn-head h3 { color: var(--white); font-size: 26px; margin: 6px 0 6px; }
.feature-tourn-head p { color: rgba(255,255,255,0.7); font-size: 14.5px; }
.feature-tourn-countdown {
  position: relative; margin-top: 24px; padding: 18px 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm);
}
.feature-tourn-countdown .label { display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.feature-tourn-countdown .value { font-family: var(--font-display); font-size: 22px; color: var(--gold-light); font-weight: 600; letter-spacing: 0.01em; }
.feature-tourn-prices { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }
.feature-tourn-prices .n { display: block; font-family: var(--font-display); font-size: 19px; color: var(--white); font-weight: 600; }
.feature-tourn-prices .l { display: block; font-size: 11.5px; color: rgba(255,255,255,0.58); margin-top: 2px; }
.feature-tourn-actions { position: relative; display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

.next-tourn-list { display: flex; flex-direction: column; gap: 16px; }

.tourn-list { display: flex; flex-direction: column; gap: 16px; }
.tourn-card {
  display: flex; gap: 22px; align-items: center;
  background: var(--white); border: 1px solid var(--graphite-08); border-radius: var(--radius);
  padding: 20px 22px;
}
.tourn-date {
  flex-shrink: 0; width: 76px; text-align: center; border-right: 1px solid var(--graphite-08); padding-right: 18px;
}
.tourn-date .wd { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); font-weight: 600; }
.tourn-date .d { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.tourn-date .m { display: block; font-size: 12.5px; color: var(--graphite-50); text-transform: uppercase; letter-spacing: 0.04em; }
.tourn-body { flex: 1; min-width: 0; }
.tourn-body h3 { font-size: 18px; margin-bottom: 8px; }
.tourn-body h3 a:hover { color: var(--gold); }
.tourn-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--graphite-70); margin-bottom: 10px; align-items: center; }
.badge { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.02em; }
.badge-rapido { background: var(--gold-16); color: #8a6a20; }
.badge-blitz { background: rgba(7,26,51,0.10); color: var(--navy); }
.tourn-prices { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--graphite-70); margin-bottom: 8px; }
.tourn-prices strong { color: var(--navy); font-weight: 600; }
.cal-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cal-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--graphite-50); }
.cal-link:hover { color: var(--navy); }
.cal-link svg { width: 15px; height: 15px; }
.tourn-cta { flex-shrink: 0; }

/* ---------- tradition / quote ---------- */
.quote-block { border-left: 3px solid var(--gold); padding-left: 26px; margin-top: 30px; max-width: 620px; margin-left: auto; margin-right: auto; }
.quote-block p { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--white); }
.quote-block span { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 12px; }

/* ---------- plans teaser ---------- */
.plans-teaser-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.plans-teaser-row h2 { margin: 10px 0 12px; }
.plans-teaser-row .btn { margin-top: 18px; }
.mini-benefits { display: flex; flex-direction: column; gap: 14px; }
.mini-benefits li { padding: 16px 18px; background: var(--off-white); border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; border-left: 3px solid var(--gold); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.news-card { border: 1px solid var(--graphite-08); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.news-thumb { height: 160px; background: var(--navy); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-thumb.tall { height: 280px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb.placeholder svg { width: 34px; height: 34px; color: rgba(255,255,255,0.35); }
.news-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.news-tag { font-size: 11.5px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 8px; display: inline-block; }
.news-body h3 { font-size: 17px; margin-bottom: 8px; }
.news-body h3 a:hover, .news-featured-body h2 a:hover { color: var(--gold); }
.news-body p { font-size: 14px; flex: 1; margin-bottom: 14px; }
.news-foot { display: flex; justify-content: space-between; align-items: center; }
.news-date { font-size: 12px; color: var(--graphite-50); }
.read-more { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.news-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.news-search { display: flex; gap: 8px; }
.news-search input { padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--graphite-12); min-width: 200px; }
.news-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin-bottom: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--graphite-08); }
.news-featured-thumb .news-thumb { height: 320px; border-radius: var(--radius); }
.news-featured-body h2 { font-size: 26px; margin: 10px 0 12px; }
.news-featured-body .news-date { display: block; margin-top: 12px; }

.news-detail-meta { display: flex; gap: 10px; font-size: 13.5px; color: var(--graphite-50); margin: 14px 0 28px; }
.news-detail-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.news-detail-image img { width: 100%; }
.news-detail-image.placeholder { height: 280px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.news-detail-image.placeholder svg { width: 40px; height: 40px; color: rgba(255,255,255,0.35); }
.news-detail-content { font-size: 17px; line-height: 1.75; color: var(--graphite); }
.news-detail-content p { color: var(--graphite); margin-bottom: 18px; }
.news-detail-content a { color: var(--gold); text-decoration: underline; }
.share-row { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--graphite-08); font-size: 14px; flex-wrap: wrap; }
.share-row span { color: var(--graphite-50); }
.share-row a, .share-row button { font-weight: 600; color: var(--navy); }
.share-row a:hover, .share-row button:hover { color: var(--gold); }

/* ---------- filters (torneios / notícias / galeria) ---------- */
.gallery-filters { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.gfilter {
  font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 20px;
  border: 1px solid var(--graphite-12); background: var(--white); color: var(--graphite-70);
}
.gfilter.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gfilter:hover:not(.active) { border-color: var(--navy); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-rows: 170px; }
.gtile {
  position: relative; border-radius: 10px; overflow: hidden; text-align: left;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
}
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gtile-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,0.5); text-align: center; padding: 12px; }
.gtile-placeholder svg { width: 30px; height: 30px; }
.gtile-placeholder span { font-size: 12px; color: rgba(255,255,255,0.55); }
.gtile-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent 70%);
  color: var(--white); font-size: 12.5px; font-weight: 600;
  opacity: 0; transition: opacity .2s;
}
.gtile:hover .gtile-caption, .gtile:focus-visible .gtile-caption { opacity: 1; }

/* ---------- timeline ---------- */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 28px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--gold); }
.timeline-year { font-family: var(--font-display); font-size: 22px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.timeline-body h4 { font-size: 18px; margin-bottom: 6px; }
.timeline-body p { font-size: 15px; }

/* ---------- infra / results / instagram ---------- */
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.infra-item { background: var(--white); padding: 26px; border-radius: var(--radius); border: 1px solid var(--graphite-08); }
.infra-item h4 { font-size: 16px; margin-bottom: 8px; }
.infra-item p { font-size: 14.5px; }

.results-table { width: 100%; border-collapse: collapse; overflow-x: auto; display: block; }
.results-table thead th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--graphite-50); padding: 10px 14px; border-bottom: 2px solid var(--graphite-08); }
.results-table td { padding: 14px; border-bottom: 1px solid var(--graphite-08); font-size: 14.5px; }
.results-table a { color: var(--gold); font-weight: 600; }

.instagram-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.instagram-row p { color: var(--gold-light); font-family: var(--font-display); font-size: 20px; margin-top: 6px; }

/* ---------- plans page ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card { background: var(--white); border: 1px solid var(--graphite-08); border-radius: 14px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-8px); box-shadow: var(--shadow-2); }
.plan-card.featured h3, .plan-card.featured .plan-price { color: var(--white); }
.plan-card.featured .plan-desc, .plan-card.featured .plan-feats li { color: rgba(255,255,255,0.72); }
.plan-badge { position: absolute; top: -12px; right: 24px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.plan-badge.soon { background: var(--graphite-12); color: var(--graphite-70); }
.plan-card.coming-soon { background: var(--off-white); }
.plan-name { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--graphite-50); margin-bottom: 10px; }
.plan-card.featured .plan-name { color: rgba(255,255,255,0.55); }
.plan-price { font-family: var(--font-display); font-size: 36px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.plan-price span { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--graphite-50); }
.plan-card.featured .plan-price span { color: rgba(255,255,255,0.55); }
.plan-desc { font-size: 14px; margin-bottom: 22px; }
.plan-feats { margin-bottom: 26px; flex: 1; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 9px 0; border-top: 1px solid var(--graphite-08); }
.plan-card.featured .plan-feats li { border-top-color: rgba(255,255,255,0.12); }
.plan-feats li:first-child { border-top: none; }
.plan-feats svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.detail-side { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: var(--off-white); border-radius: var(--radius); padding: 24px; }
.info-card h4 { font-size: 15px; margin-bottom: 14px; }
.info-card p { font-size: 14px; }
.price-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 8px 0; border-bottom: 1px solid var(--graphite-12); }
.info-card .btn { margin-top: 16px; }
.info-card .btn + .btn { margin-top: 10px; }

/* ---------- cta banner ---------- */
.section-cta-banner { padding: 56px 0; background: var(--off-white); }
.section-cta-banner.on-navy { background: var(--navy); }
.cta-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-banner h3 { font-size: 21px; margin-bottom: 4px; }
.on-navy .cta-banner p { color: rgba(255,255,255,0.7); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-info-card { background: var(--white); border: 1px solid var(--graphite-08); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--graphite-08); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--gold-08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ic svg { width: 18px; height: 18px; color: var(--gold); }
.contact-row h4 { font-size: 13.5px; margin-bottom: 3px; }
.contact-row p { font-size: 14px; }
.contact-row a:hover { color: var(--gold); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--graphite-08); height: 220px; margin-bottom: 20px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.form-card { background: var(--off-white); border-radius: var(--radius); padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; color: var(--graphite-70); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--graphite-12); background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.consent label { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 400; color: var(--graphite-70); }
.field.consent input { width: auto; margin-top: 3px; }
.form-status { margin-top: 14px; font-size: 13.5px; min-height: 18px; }
.form-status.success { color: #1f7a4d; font-weight: 600; }
.form-status.error { color: #b3261e; font-weight: 600; }
.form-status.loading { color: var(--graphite-50); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--off-white); border-top: 1px solid var(--graphite-08); border-bottom: 1px solid var(--graphite-08); }
.newsletter-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 40px 0; }
.newsletter-copy h3 { font-size: 20px; margin-bottom: 6px; }
.newsletter-copy p { font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] {
  padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--graphite-12); min-width: 240px;
}
.ns-status { font-size: 13px; font-weight: 600; display: none; width: 100%; margin-top: 6px; }
.ns-status.show { display: block; }
.ns-status.success { color: #1f7a4d; }
.ns-status.error { color: #b3261e; }
.ns-status.loading { color: var(--graphite-50); }
.newsletter-hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,0.68); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-text-footer { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--white); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-grid h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.45); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.42); flex-wrap: wrap; gap: 10px; }

/* ---------- modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal-overlay-bg { position: absolute; inset: 0; background: rgba(7,26,51,0.68); }
.modal-dialog { position: relative; background: var(--white); border-radius: 14px; padding: 32px; width: min(480px, 100%); max-height: 85vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--off-white); }
.modal-title { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin-bottom: 16px; padding-right: 30px; }
.modal-body p { font-size: 14.5px; margin-bottom: 12px; }
.modal-steps { padding-left: 20px; font-size: 14.5px; color: var(--graphite-70); }
.modal-steps li { margin-bottom: 10px; list-style: decimal; }
.modal-contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--graphite-08); font-size: 14px; font-weight: 600; color: var(--navy); }
.pix-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--graphite-08); }
.pix-block h4 { font-size: 15px; margin-bottom: 8px; }
.pix-key { font-size: 14px; margin-bottom: 10px; }

/* ---------- lightbox ---------- */
.lightbox-overlay { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay-bg { position: absolute; inset: 0; background: rgba(7,26,51,0.92); }
.lightbox-dialog { position: relative; width: min(760px, 100%); }
.lightbox-media { width: 100%; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--navy-2); display: flex; align-items: center; justify-content: center; }
.lightbox-media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-placeholder svg { width: 44px; height: 44px; color: rgba(255,255,255,0.4); }
.lightbox-caption { color: var(--white); margin-top: 16px; text-align: center; }
.lightbox-caption-title { display: block; font-weight: 600; font-size: 16px; }
.lightbox-caption-meta { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.lightbox-close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); color: var(--white); display: flex; align-items: center; justify-content: center; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: var(--white); display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: -20px; } .lightbox-next { right: -20px; }
.lightbox-prev svg, .lightbox-next svg, .lightbox-close svg { width: 18px; height: 18px; }

/* =============================================================================
   RESPONSIVIDADE
   ============================================================================= */
@media (max-width: 1024px) {
  .plans-grid, .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 10px 20px 20px; box-shadow: var(--shadow-2); border-bottom: 1px solid var(--graphite-08); }
  nav.main-nav.mobile-open { display: flex; }
  nav.main-nav a { width: 100%; padding: 12px 10px; }
  .menu-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }

  .next-tourn-grid, .plans-teaser-row, .contact-grid, .detail-grid, .news-featured { grid-template-columns: 1fr; }
  .news-grid, .plans-grid, .infra-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .cta-banner, .instagram-row { flex-direction: column; text-align: center; }
  .tourn-card { flex-direction: column; align-items: stretch; }
  .tourn-date { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px; width: auto; border-right: none; border-bottom: 1px solid var(--graphite-08); padding: 0 0 14px; margin-bottom: 14px; }
  .plan-card.featured { transform: none; }
  .newsletter-row { flex-direction: column; align-items: flex-start; }
  .lightbox-prev { left: 4px; } .lightbox-next { right: 4px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 76px 0 56px; }
  .hero-brand { gap: 12px; }
  .hero-logo { width: 44px; height: 44px; padding: 5px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-tourn { padding: 26px; }
  .feature-tourn-prices { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .utility-bar { font-size: 11.5px; padding: 6px 12px; }
}
