/* ============================================================
   ALLIANCE JIU-JITSU — ÁGUAS DE LINDÓIA
   Brand manual: black + golden yellow, Montserrat, sharp edges.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --ink:        #1b1916;      /* primary text */
  --ink-soft:   #38342f;
  --muted:      #6f6a63;
  --muted-2:    #9a948b;
  --black:      #161412;      /* dark sections / cards */
  --black-2:    #0f0e0c;
  --bg:         #ffffff;
  --bone:       #f4f2ee;      /* light gray alt sections */
  --white:      #ffffff;
  --line:       rgba(27, 25, 22, 0.13);
  --line-soft:  rgba(27, 25, 22, 0.07);

  --yellow:     #f6b81e;      /* brand accent */
  --yellow-d:   #e0a40c;      /* hover/darker */
  --accent:     var(--yellow);
  --hi:         var(--yellow);

  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;

  --maxw: 1280px;
  --gut:  clamp(20px, 5vw, 88px);
  --sect: clamp(72px, 11vw, 158px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--yellow); color: var(--black); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: var(--sect); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  letter-spacing: 0.3em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
  display: inline-block;
}

/* Headings: light + bold two-tone, uppercase */
.display {
  font-family: var(--sans);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7.4vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
}
.display strong { font-weight: 800; }
.display .yl { color: var(--yellow); font-weight: 800; }

.h-sect {
  font-family: var(--sans);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.3vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
}
.h-sect strong { font-weight: 800; }
.h-sect .yl { color: var(--yellow-d); font-weight: 800; }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
.prose p { color: var(--muted); margin-top: 1.05em; max-width: 58ch; font-weight: 400; }
.prose p:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 1.05em 1.8em;
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--black);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover { background: var(--black); color: var(--yellow); border-color: var(--black); }
.btn:hover .arr { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* light = used on dark backgrounds */
.btn--light { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn--light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn--lg { padding: 1.15em 2.1em; font-size: 0.9rem; }

.link-u {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--yellow);
  transition: gap .35s var(--ease);
}
.link-u:hover { gap: 0.95em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(12px, 1.8vw, 20px) var(--gut);
  transition: background .45s var(--ease), border-color .45s var(--ease), padding .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(9px, 1.1vw, 12px);
}
.nav--onhero { color: var(--white); }
.nav--onhero.scrolled { color: var(--ink); }

.brand { display: flex; align-items: center; gap: 14px; }
.nav-logo { width: 58px; height: 58px; flex: none; background: url('logo-white.png') center / contain no-repeat; transition: opacity .3s; }
.nav.scrolled .nav-logo { background-image: url('logo-dark.png'); }
.crest { width: 38px; height: 38px; flex: none; color: currentColor; transition: transform .5s var(--ease); }
.brand:hover .crest { transform: scale(1.06); }
.brand-txt { line-height: 1; }
.brand-name {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 1rem; white-space: nowrap;
}
.brand-sub {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 0.6rem; opacity: 0.6; margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.13em;
  font-weight: 600; font-size: 0.78rem; position: relative; opacity: 0.82;
  transition: opacity .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--yellow); transition: width .35s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }

.burger { display: none; width: 34px; height: 22px; position: relative; background: none; border: none; cursor: pointer; }
.burger span { position: absolute; left: 0; height: 2px; width: 100%; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 18px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gut); gap: 4px;
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
}
body.menu-open .mmenu { opacity: 1; pointer-events: auto; }
.mmenu a {
  font-family: var(--sans); text-transform: uppercase; font-weight: 800;
  font-size: clamp(1.7rem, 8vw, 3rem); letter-spacing: 0.01em; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: baseline; gap: 16px;
  transform: translateY(14px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .3s;
}
body.menu-open .mmenu a { transform: none; opacity: 1; }
.mmenu a .n { font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--yellow); }
.mmenu a:hover { color: var(--yellow); }
.mmenu .mfoot { margin-top: 28px; font-family: var(--sans); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.78rem; opacity: 0.6; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__media image-slot { color: rgba(255,255,255,0.6); }
.hero__media image-slot::part(frame) { background: radial-gradient(120% 120% at 50% 0%, #26221c 0%, #100f0d 72%); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,8,0.5) 0%, rgba(10,9,8,0.06) 30%, rgba(10,9,8,0.2) 58%, rgba(10,9,8,0.9) 100%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(48px, 8vw, 104px); padding-top: 140px; }
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero__title { margin-top: 24px; max-width: 17ch; }
.hero__row { margin-top: clamp(30px, 4vw, 46px); display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.hero__note { max-width: 40ch; color: rgba(255,255,255,0.8); font-weight: 400; font-size: 1.02rem; }
.hero__scroll {
  position: absolute; right: var(--gut); bottom: clamp(48px, 8vw, 104px); z-index: 3;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  font-size: 0.68rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl;
}
.hero__scroll .bar { width: 2px; height: 54px; background: linear-gradient(var(--yellow), transparent); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* marquee */
.strip { background: var(--black); color: var(--white); overflow: hidden; border-block: 1px solid rgba(255,255,255,0.1); }
.strip__track { display: flex; gap: 0; width: max-content; animation: marq 36s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track .it {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  font-size: 0.86rem; padding: 17px 30px; display: flex; align-items: center; gap: 30px; opacity: 0.92;
}
.strip__track .it .dot { width: 6px; height: 6px; background: var(--yellow); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION PARTS
   ============================================================ */
.grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.head-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.col-stack { display: flex; flex-direction: column; gap: 22px; }

/* Legacy / stats */
.legacy { background: var(--black); color: var(--white); }
.legacy .eyebrow { color: rgba(255,255,255,0.66); }
.legacy .h-sect { color: var(--white); }
.legacy .h-sect .yl { color: var(--yellow); }
.legacy .prose p { color: rgba(255,255,255,0.72); }
.legacy .prose strong { color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,40px); margin-top: clamp(48px,7vw,80px); border-top: 1px solid rgba(255,255,255,0.16); padding-top: clamp(34px,5vw,54px); }
.stat__n { font-family: var(--sans); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.stat__n .u { color: var(--yellow); }
.stat__l { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; color: rgba(255,255,255,0.62); margin-top: 14px; }

/* Master */
.master__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 5vw, 78px); align-items: center; }
.master__photo { position: relative; aspect-ratio: 4/5; }
.master__photo image-slot { width: 100%; height: 100%; }
.master__photo image-slot::part(frame) { background: var(--bone); }
.master__badge {
  position: absolute; left: 0; bottom: 28px; background: var(--yellow); color: var(--black);
  padding: 15px 22px; display: flex; flex-direction: column; gap: 3px;
}
.master__badge .r { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.66rem; opacity: 0.75; }
.master__badge .b { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.1rem; }
.sign { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.92rem; color: var(--muted); margin-top: 20px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.facts div { background: var(--bg); padding: 17px 20px; }
.facts .k { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.66rem; color: var(--muted); }
.facts .v { font-size: 0.98rem; font-weight: 600; margin-top: 6px; }

/* Filial */
.filial { background: var(--bone); }
.filial__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(34px,5vw,72px); align-items: center; }
.filial__media { position: relative; aspect-ratio: 5/4; }
.filial__media image-slot { width: 100%; height: 100%; }
.filial__media image-slot::part(frame) { background: #e6e3dc; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.tag {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.72rem; padding: 8px 15px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--white);
  cursor: default; transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.tag:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.14); }
}

/* Modalidades — black cards, yellow underline */
.mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px,1.6vw,22px); margin-top: clamp(42px,6vw,62px); }
.mod {
  background: var(--black); color: var(--white); padding: clamp(28px,3.4vw,42px);
  display: flex; flex-direction: column; gap: 14px; min-height: 270px;
  border: 1px solid var(--black);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.mod:hover { transform: translateY(-6px); border-color: var(--yellow); }
.mod__n { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--yellow); }
.mod__t {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.02;
}
.mod__t::after { content: ""; display: block; width: 46px; height: 3px; background: var(--yellow); margin-top: 16px; transition: width .4s var(--ease); }
.mod:hover .mod__t::after { width: 72px; }
.mod__d { color: rgba(255,255,255,0.62); font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem; line-height: 1.7; max-width: 34ch; }
.mod__icon { margin-top: auto; align-self: flex-start; color: var(--yellow); transition: transform .4s var(--ease); font-size: 1.1rem; }
.mod:hover .mod__icon { transform: translateX(6px); }

/* Schedule */
.sched__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sched__tab {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; padding: 11px 20px; border: 1px solid var(--line); background: transparent; color: var(--muted);
  cursor: pointer; transition: all .3s var(--ease);
}
.sched__tab:hover { color: var(--ink); border-color: var(--ink); }
.sched__tab.active { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.sched__grid { margin-top: 30px; border-top: 2px solid var(--ink); }
.sched__row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease), background .35s var(--ease);
}
.sched__row:hover { padding-left: 16px; background: var(--bone); }
.sched__time { font-family: var(--sans); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.01em; }
.sched__time span { font-size: 0.72rem; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0.06em; }
.sched__class { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; }
.sched__class .sub { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 5px; }
.sched__lvl { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; }

/* Gallery */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(155px, 16.5vw, 210px); grid-auto-flow: dense; gap: 10px; }
.gal image-slot { width: 100%; height: 100%; }
.gal image-slot::part(frame) { background: #e9e6df; }
.gal .g { position: relative; min-height: 0; }
.gal .tall { grid-row: span 2; }
.gal .wide { grid-column: span 2; }

/* Vídeos */
.vids { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(34px,5vw,56px); }
.vid {
  position: relative; aspect-ratio: 16/9; border: 0; padding: 0; margin: 0;
  background: var(--black); cursor: pointer; overflow: hidden; display: block; width: 100%;
  font-family: var(--sans);
}
.vid__poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,8,0.12) 0%, rgba(10,9,8,0.18) 55%, rgba(10,9,8,0.7) 100%);
  transition: background .35s var(--ease);
}
.vid:hover::after { background: linear-gradient(180deg, rgba(10,9,8,0.05) 0%, rgba(10,9,8,0.12) 55%, rgba(10,9,8,0.55) 100%); }
.vid__play {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--yellow); color: var(--black);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .4s var(--ease), background .35s var(--ease);
}
.vid:hover .vid__play { transform: scale(1.1); }
.vid__play svg { margin-left: 4px; }
.vid__label {
  position: absolute; left: 0; bottom: 0; z-index: 3; padding: 18px 22px; text-align: left;
  color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.92rem;
}
.vid__label span { display: block; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.68rem; color: var(--yellow); margin-bottom: 5px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,7,6,0.93);
  display: flex; align-items: center; justify-content: center; padding: clamp(16px,5vw,64px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__stage { width: min(1040px, 94vw); max-height: 86vh; position: relative; display: flex; align-items: center; justify-content: center; }
.lightbox video { max-width: 100%; max-height: 86vh; width: auto; height: auto; display: block; background: #000; }
.lightbox iframe { width: 100%; aspect-ratio: 16/9; max-height: 86vh; display: block; border: 0; }
.lightbox__close {
  position: absolute; top: clamp(14px,3vw,26px); right: clamp(16px,3vw,30px);
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.4); background: transparent;
  color: #fff; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.lightbox__close:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.lightbox__empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; text-align: center; padding: 24px; }

/* CTA */
.cta { position: relative; color: var(--white); overflow: hidden; text-align: center; }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media image-slot { width: 100%; height: 100%; color: rgba(255,255,255,0.55); }
.cta__media image-slot::part(frame) { background: radial-gradient(120% 120% at 50% 30%, #26221c 0%, #100f0d 72%); }
.cta__media::after { content:""; position:absolute; inset:0; background: rgba(12,10,8,0.68); z-index: 2; }
.cta__inner { position: relative; z-index: 3; padding-block: clamp(80px, 12vw, 160px); }
.cta .eyebrow { color: rgba(255,255,255,0.82); }
.cta__t { font-family: var(--sans); font-weight: 300; text-transform: uppercase; font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.0; margin: 22px auto 0; max-width: 18ch; }
.cta__t strong { font-weight: 800; }
.cta__t .yl { color: var(--yellow); font-weight: 800; }
.cta__row { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,80px); }
.cline { display: flex; flex-direction: column; gap: 5px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.cline .k { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--muted); }
.cline .v { font-size: 1.1rem; font-weight: 600; }
.cline a.v:hover, a.cline:hover .v { color: var(--yellow-d); }
.map { position: relative; aspect-ratio: 1/1; background: var(--bone); border: 1px solid var(--line); }
.map image-slot { width: 100%; height: 100%; }
.map image-slot::part(frame) { background: var(--bone); }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; z-index: 5; box-shadow: 0 10px 28px rgba(0,0,0,0.35); transition: transform .35s var(--ease); }
.map__pin:hover { transform: translate(-50%,-50%) scale(1.1); }

.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 46px; height: 46px; border: 1px solid var(--line); display: grid; place-items: center; transition: all .35s var(--ease); }
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); transform: translateY(-3px); }

/* Footer */
.foot { background: var(--black); color: var(--white); }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(30px,4vw,60px); padding-block: clamp(56px,8vw,84px); border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot__brand .crest { width: 64px; height: 76px; color: var(--white); }
.foot-logo { width: clamp(150px, 16vw, 188px); height: auto; margin-left: -6px; }
.foot p { color: rgba(255,255,255,0.64); max-width: 38ch; margin-top: 20px; font-size: 0.96rem; }
.foot h4 { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem; color: var(--yellow); margin-bottom: 18px; }
.foot__col a, .foot__col span { display: block; padding: 7px 0; color: rgba(255,255,255,0.84); font-size: 0.96rem; font-weight: 500; transition: color .3s; }
.foot__col a:hover { color: var(--yellow); }
.foot__bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-block: 26px; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   LOJA
   ============================================================ */
.shop__note { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }
.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px,1.8vw,22px); margin-top: clamp(42px,6vw,62px); }
.product {
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.product:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 20px 44px rgba(0,0,0,0.09); }
.product__media { position: relative; aspect-ratio: 1/1; background: var(--bone); overflow: hidden; }
.product__media image-slot { width: 100%; height: 100%; }
.product__media image-slot::part(frame) { background: var(--bone); }
.product__tag {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--yellow); color: var(--black);
  font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.64rem; padding: 6px 11px;
}
.product__tag.is-plan { background: var(--ink); color: var(--white); }
.product__body { padding: clamp(18px,2vw,24px); display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product__name { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; font-size: 1.12rem; line-height: 1.08; }
.product__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.product__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-family: var(--sans); font-weight: 800; font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.product__price small { display: block; font-weight: 600; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 4px; }
.product__price .per { font-weight: 600; font-size: 0.72rem; color: var(--muted); }
.product__buy {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.74rem;
  display: inline-flex; align-items: center; gap: 0.55em; padding: 0.85em 1.15em;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.product__buy:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.product__buy svg { flex: none; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta { background: var(--bone); }
.insta__feed { margin-top: clamp(38px,5vw,56px); position: relative; }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta__grid image-slot { width: 100%; height: 100%; aspect-ratio: 1/1; }
.insta__grid image-slot::part(frame) { background: #e6e3dc; }
.insta__cell { position: relative; }
.insta__cell .ig-mark { position: absolute; top: 8px; right: 8px; z-index: 3; color: rgba(255,255,255,0.9); opacity: 0; transition: opacity .3s; pointer-events: none; }
.insta__cell:hover .ig-mark { opacity: 1; }
.insta__hint {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  padding: 16px 20px; border: 1px dashed var(--line); background: var(--bg);
}
.insta__hint p { color: var(--muted); font-size: 0.86rem; max-width: 60ch; }
.insta__hint strong { color: var(--ink); font-weight: 700; }
.ig-follow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.8rem;
  display: inline-flex; align-items: center; gap: 0.6em; padding: 0.95em 1.4em;
  border: 2px solid var(--ink); background: var(--ink); color: var(--white); white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.ig-follow:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

/* ---------- Hover: zoom de fotos ---------- */
/* A imagem do slot é centralizada com translate(-50%,-50%); o zoom PRECISA
   manter esse translate, senão a foto salta de posição. */
.master__photo, .filial__media, .gal .g, .insta__cell { overflow: hidden; }
.master__photo image-slot::part(image),
.filial__media image-slot::part(image),
.gal .g image-slot::part(image),
.insta__cell image-slot::part(image) {
  transition: transform .6s var(--ease);
}
.master__photo:hover image-slot::part(image),
.filial__media:hover image-slot::part(image),
.gal .g:hover image-slot::part(image),
.insta__cell:hover image-slot::part(image) {
  transform: translate(-50%, -50%) scale(1.05);
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-2 { transition-delay: .08s; }
.rv-3 { transition-delay: .16s; }
.rv-4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .strip__track, .hero__scroll .bar { animation: none; }
  html { scroll-behavior: auto; }
  .master__photo image-slot::part(image),
  .filial__media image-slot::part(image),
  .gal .g image-slot::part(image),
  .insta__cell image-slot::part(image) { transition: none; }
  .master__photo:hover image-slot::part(image),
  .filial__media:hover image-slot::part(image),
  .gal .g:hover image-slot::part(image),
  .insta__cell:hover image-slot::part(image) { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .burger { display: block; }
  .head-2 { grid-template-columns: 1fr; }
  .master__grid, .filial__grid, .contact__grid { grid-template-columns: 1fr; }
  .master__photo { aspect-ratio: 3/4; max-width: 460px; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stats > div { border-bottom: 1px solid rgba(255,255,255,0.14); padding-block: 22px; }
  .mods { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .foot__top { grid-template-columns: 1fr; }
  .sched__row { grid-template-columns: 100px 1fr; }
  .sched__lvl { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; }
  .gal .tall, .gal .wide { grid-row: auto; grid-column: auto; }
  .vids { grid-template-columns: 1fr; }
  .shop { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__scroll { display: none; }
  .cta__row { flex-direction: column; align-items: stretch; }
  .shop { grid-template-columns: 1fr; }
  .product__foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .product__buy { justify-content: center; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
}
