/* Vai Santana BJJ — black / white / gray / red, photographic, slanted cuts */
@property --m { syntax: "<number>"; inherits: false; initial-value: 100; }

:root {
  --black: #0b0b0b;
  --ink: #141414;
  --white: #ffffff;
  --gray: #d6d6d6;
  --gray-2: #9a9a9a;
  --gray-3: #2a2a2a;
  --red: #e1251b;
  --red-dark: #b81a12;
  --wa: #25d366;
  --pad: clamp(22px, 5.2vw, 80px);
  --cut: clamp(40px, 7vw, 120px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1rem, .95rem + .25vw, 1.15rem); line-height: 1.55;
  overflow-x: hidden; scrollbar-color: var(--red) var(--black);
}
body.menu-open { overflow: hidden; }
::selection { background: var(--red); color: var(--white); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border: 3px solid var(--black); }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

.display {
  font-weight: 900; font-style: italic; font-stretch: 112%;
  text-transform: uppercase; line-height: .9; letter-spacing: -.02em; text-wrap: balance;
}
.tab { font-variant-numeric: tabular-nums; }
.photo { filter: grayscale(1) contrast(1.08); }

/* ---------- reveals ---------- */
.w { display: inline-block; white-space: nowrap; }
.c { display: inline-block; }
html.motion .c { opacity: 0; transform: translateY(.45em) skewX(-12deg); filter: blur(8px); transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i) * 20ms); }
html.motion .is-in .c { opacity: 1; transform: none; filter: none; }
[data-r="mask"] {
  --m: 100;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--m) * 1.5% - 50%), transparent calc(var(--m) * 1.5%));
  mask-image: linear-gradient(to bottom, #000 calc(var(--m) * 1.5% - 50%), transparent calc(var(--m) * 1.5%));
}
html.motion [data-r="mask"] { transition: --m 1.6s var(--ease); transition-delay: var(--d, 0s); }
html.motion [data-r="mask"]:not(.is-in) { --m: 0; }
html.motion [data-r="rise"] { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.motion [data-r="left"] { opacity: 0; transform: translateX(-8vw); transition: opacity .9s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
html.motion [data-r="right"] { opacity: 0; transform: translateX(8vw); transition: opacity .9s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
html.motion [data-r="words"] .wd { display: inline-block; opacity: 0; transform: translateY(.7em); filter: blur(4px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 16ms); }
html.motion [data-r="words"].is-in .wd { opacity: 1; transform: none; filter: none; }
html.motion [data-r].is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: italic 900 .95rem/1 "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; border: 0; padding: 19px 30px;
  background: var(--red); color: var(--white); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .35s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: translateX(-101%) skewX(-18deg); transform-origin: left; transition: transform .55s var(--ease); width: 130%; left: -15%; }
.btn:hover { color: var(--black); }
.btn:hover::before { transform: translateX(0) skewX(-18deg); }
.btn:active { transform: translateY(2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--white); }
.btn.dark { background: var(--black); }
.btn.dark::before { background: var(--red); }
.btn.dark:hover { color: var(--white); }
.btn.wa { background: var(--wa); color: var(--black); }
.btn.wa::before { background: var(--white); }
.btn.lg { padding: clamp(20px, 2.2vw, 28px) clamp(28px, 3vw, 44px); font-size: clamp(1rem, .9rem + .4vw, 1.25rem); }
.btn.lg svg { width: 28px; height: 28px; }
.btn.sm { padding: 13px 20px; font-size: .82rem; white-space: nowrap; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad); color: var(--white); background: transparent;
  transition: transform .6s var(--ease), background-color .5s, padding .5s var(--ease);
}
.hdr.is-dark { background: var(--black); padding-block: 12px; }
.hdr.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 44px; height: 36px; }
.brand b { font: italic 900 1.2rem/.9 "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.nav a { text-decoration: none; font: italic 800 .82rem/1 "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; position: relative; padding-block: 6px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.hdr-r { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; }
.lang button { all: unset; cursor: pointer; padding: 6px 7px; color: var(--gray-2); border-bottom: 2px solid transparent; transition: color .3s; }
.lang button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.lang button[aria-pressed="true"] { color: var(--white); border-bottom-color: var(--red); }
.menu-btn { all: unset; display: none; cursor: pointer; font: italic 900 .9rem/1 "Archivo", sans-serif; text-transform: uppercase; letter-spacing: .06em; padding: 8px 4px; }
.menu-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.overlay { position: fixed; inset: 0; z-index: 45; background: var(--black); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 96px var(--pad) 40px; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
body.menu-open .overlay { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }
.overlay a { font-size: clamp(2.4rem, 12vw, 4.6rem); text-decoration: none; transform: translateX(-30px); opacity: 0; transition: transform .8s var(--ease), opacity .6s, color .3s; transition-delay: calc(var(--i) * 50ms); }
.overlay a:hover { color: var(--red); }
body.menu-open .overlay a { transform: none; opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.hero-bg { position: absolute; inset: -6% 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
html.motion .hero-bg img { animation: kb 18s ease-out both; }
@keyframes kb { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.78) 100%); }
.hero-in { padding: 110px var(--pad) calc(var(--cut) + 40px); display: grid; justify-items: center; gap: clamp(20px, 3vh, 32px); translate: 0 calc(var(--p, 0) * -10vh); opacity: calc(1 - var(--p, 0) * 1.3); }
.hero h1 { font-size: clamp(3.2rem, 9.4vw, 9.6rem); max-width: 14ch; }
.hero h1 .ln { display: block; }
.hero h1 .ln.red { color: var(--red); }
.hero-sub { max-width: 34rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: #e8e8e8; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.scroll-cue { position: absolute; left: var(--pad); bottom: calc(var(--cut) + 18px); width: 2px; height: 64px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--red); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- marquee ---------- */
.marquee { background: var(--red); color: var(--white); padding-block: clamp(12px, 1.6vw, 22px); overflow: hidden; rotate: -2deg; margin: calc(var(--cut) * -0.6) -2vw 0; position: relative; z-index: 2; }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-group { display: flex; flex: none; }
.mq-group span { font-size: clamp(1.8rem, 4.6vw, 4rem); line-height: 1; white-space: pre; padding-right: .3em; }
.mq-group .out { color: transparent; -webkit-text-stroke: 1.5px var(--white); }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(90px, 12vw, 180px) var(--pad); }
.h2 { font-size: clamp(3rem, 8.5vw, 8.4rem); }
.h2 em { font-style: inherit; color: var(--red); }
.lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.35rem); line-height: 1.55; max-width: 36rem; color: #cfcfcf; }

/* start here — slanted photo cards */
.start .h2 { text-align: center; font-size: clamp(4rem, 15vw, 15rem); translate: calc((var(--s, 1) - 1) * 30vw) 0; }
.start-lead { margin: 22px auto 0; text-align: center; }
.cards { margin-top: clamp(50px, 7vw, 100px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.card { display: grid; gap: 14px; transition-delay: var(--d, 0s); }
.card-img { aspect-ratio: 4 / 5; transform: skewX(-7deg); overflow: hidden; background: var(--gray-3); }
.card-img img { width: 130%; max-width: none; height: 100%; object-fit: cover; margin-left: -15%; transform: skewX(7deg) scale(1.08); transition: transform 1.2s var(--ease), filter .6s; }
.card:hover .card-img img { transform: skewX(7deg) scale(1.16); filter: grayscale(.2) contrast(1.05); }
.card-label { background: var(--gray); color: var(--black); text-align: center; padding: 16px 12px; font-size: clamp(1rem, 1.4vw, 1.3rem); transform: skewX(-7deg); }
.card-label span { display: block; transform: skewX(7deg); }
.card details { border-bottom: 1px solid #3a3a3a; }
.card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; font: italic 900 .85rem/1 "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; }
.card summary::-webkit-details-marker { display: none; }
.card summary svg { width: 16px; height: 16px; transition: transform .4s var(--ease); color: var(--red); }
.card details[open] summary svg { transform: rotate(180deg); }
.card details p { padding: 0 2px 18px; color: #c8c8c8; }

/* trial band (gray, slanted both edges) */
.band { background: var(--gray); color: var(--black); text-align: center; clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding: calc(var(--cut) + clamp(60px, 8vw, 110px)) var(--pad); }
.band .h2 { font-size: clamp(2.4rem, 5.6vw, 5.4rem); max-width: 18ch; margin-inline: auto; }
.band p { margin-top: 18px; color: #3a3a3a; }
.band .btn { margin-top: 30px; }

/* schedule */
.sch { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.days { list-style: none; margin: clamp(30px, 4vw, 50px) 0; padding: 0; }
.day { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: clamp(14px, 1.8vw, 22px) 0; border-bottom: 1px solid #333; position: relative; }
.day::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) var(--d, 0s); }
.day.is-in::after { transform: scaleX(1); }
html:not(.motion) .day::after { transform: scaleX(1); }
.day svg { width: 26px; height: 26px; color: var(--red); }
.day .name, .day .time { font-size: clamp(1.8rem, 3.6vw, 3.4rem); }
.day .time { color: var(--red); }
.sch-photo { position: relative; aspect-ratio: 4 / 5; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); overflow: hidden; }
.sch-photo img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.sch-note { color: #bdbdbd; max-width: 32rem; margin-bottom: 28px; }

/* gallery */
.gal-head { position: relative; display: grid; place-items: center; min-height: clamp(260px, 34vw, 520px); }
.gal-head .h2 { font-size: clamp(4.4rem, 17vw, 17rem); text-align: center; position: relative; z-index: 1; mix-blend-mode: difference; }
.gal-head .float { position: absolute; width: clamp(160px, 20vw, 300px); aspect-ratio: 3 / 4; right: 14%; top: 50%; translate: 0 -40%; overflow: hidden; z-index: 0; }
.gal-head .float img { width: 100%; height: 100%; object-fit: cover; }
.grid { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 16vw, 250px); gap: clamp(10px, 1.4vw, 20px); }
.grid figure { margin: 0; position: relative; overflow: hidden; background: var(--gray-3); }
.grid figure:nth-child(6n+1) { grid-column: span 5; grid-row: span 2; }
.grid figure:nth-child(6n+2) { grid-column: span 4; }
.grid figure:nth-child(6n+3) { grid-column: span 3; grid-row: span 2; }
.grid figure:nth-child(6n+4) { grid-column: span 4; }
.grid figure:nth-child(6n+5) { grid-column: span 7; }
.grid figure:nth-child(6n+6) { grid-column: span 5; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.grid figure::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; opacity: 0; transition: opacity .5s; }
.grid figure:hover img { transform: scale(1.07); }
.grid figure:hover::after { opacity: .55; }

/* reviews */
.rev { background: var(--white); color: var(--black); clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 calc(100% - var(--cut))); padding-block: calc(var(--cut) + clamp(70px, 9vw, 130px)); }
.rev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.score { display: flex; align-items: flex-end; gap: 18px; }
.score b { font-size: clamp(5rem, 12vw, 11rem); color: var(--red); line-height: .8; }
.score span { padding-bottom: 8px; max-width: 12rem; color: #444; font-weight: 600; }
.quotes { margin-top: clamp(50px, 6vw, 90px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.quote { border-top: 4px solid var(--black); padding-top: 26px; display: grid; gap: 22px; align-content: start; }
.quote svg { width: 38px; height: 30px; color: var(--red); }
.quote p { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.5; color: #1d1d1d; }
.quote footer { font-weight: 800; }
.quote footer span { display: block; font-weight: 500; color: #5c5c5c; font-size: .9rem; }

/* location */
.loc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 5vw, 90px); align-items: center; }
.loc .h2 { font-size: clamp(2.8rem, 6vw, 6rem); }
.addr { font-style: normal; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); line-height: 1.45; margin: 28px 0 32px; }
.addr strong { color: var(--red); font-style: italic; font-weight: 900; }
.loc-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.map { position: relative; aspect-ratio: 5 / 4; background: #1a1a1a; transform: skewX(-4deg); overflow: hidden; }
.map iframe { position: absolute; inset: 0 -8%; width: 116%; height: 100%; border: 0; transform: skewX(4deg); filter: grayscale(1) contrast(1.1); transition: filter .6s; }
.map:hover iframe { filter: grayscale(.2); }

/* contact */
.contact { position: relative; isolation: isolate; overflow: hidden; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--cut) + clamp(90px, 11vw, 170px)); }
.contact-bg { position: absolute; inset: -10% 0; z-index: -2; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.66) 60%, rgba(0,0,0,.5) 100%); }
.contact .h2 { font-size: clamp(3.4rem, 10vw, 10rem); max-width: 11ch; }
.ct-row { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.ct-row p { max-width: 24rem; color: #dedede; }
.links { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.3); }
.links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 20px 24px 0; text-decoration: none; font: italic 900 clamp(1rem, 1.5vw, 1.35rem)/1 "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.3); transition: color .3s; }
.links a + a { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.3); }
.links a > span { display: inline-flex; align-items: center; gap: 12px; }
.links svg { width: 24px; height: 24px; flex: none; }
.links .arrow { width: 18px; height: 18px; color: var(--red); transition: transform .5s var(--ease); }
.links a:hover { color: var(--red); }
.links a:hover .arrow { transform: translate(4px, -4px); }

/* footer */
.foot { background: var(--black); padding: clamp(70px, 9vw, 130px) var(--pad) 26px; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 44px 30px; }
.foot h3 { font: italic 900 1rem/1 "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; padding-bottom: 12px; margin-bottom: 18px; position: relative; }
.foot h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--red); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--gray-2); transition: color .3s; }
.foot a:hover, .foot a:focus-visible { color: var(--white); }
.foot .about p { color: var(--gray-2); max-width: 20rem; margin: 18px 0 24px; }
.foot address { font-style: normal; color: var(--gray-2); line-height: 1.65; }
.word { margin-top: clamp(50px, 7vw, 100px); line-height: .82; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1.5px #3c3c3c; translate: 0 calc((1 - var(--s, 1)) * 25%); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #262626; color: var(--gray-2); font-size: .88rem; }

/* whatsapp fab */
.wa-fab { position: fixed; right: clamp(16px, 2.2vw, 30px); bottom: clamp(16px, 2.2vw, 30px); z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .5s var(--ease); }
.wa-fab svg { width: 34px; height: 34px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; }
html.motion .wa-fab { scale: 0; transition: scale .9s var(--ease) 1.2s, transform .5s var(--ease); }
html.motion .wa-fab.is-in { scale: 1; }
.wa-fab.is-in::before { animation: ring 3.2s ease-out 2.4s infinite; }
.wa-fab:hover { transform: scale(1.08); }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* responsive */
@media (max-width: 1080px) {
  .nav, .hdr-r .btn { display: none; }
  .menu-btn { display: block; }
  .links { grid-template-columns: 1fr 1fr; }
  .links a:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .cards, .quotes { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 16 / 11; }
  .sch, .loc { grid-template-columns: 1fr; }
  .sch-photo { aspect-ratio: 16 / 12; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot .about { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(6, 1fr); }
  .grid figure:nth-child(n) { grid-column: span 3; grid-row: span 1; }
  .grid figure:nth-child(3n+1) { grid-column: span 6; grid-row: span 2; }
  .gal-head .float { right: 4%; }
}
@media (max-width: 560px) {
  .links { grid-template-columns: 1fr; }
  .links a + a { border-left: 0; padding-left: 0; }
  .hero-actions .btn { width: 100%; }
  .wa-fab { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== v3: calmer scale, rounded buttons, about + method ===== */
body { font-size: clamp(.95rem, .9rem + .2vw, 1.06rem); }
.sec { padding: clamp(70px, 9vw, 140px) var(--pad); }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4.6rem); }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); }
.btn { border-radius: 999px; padding: 15px 26px; font-size: .82rem; gap: 10px; }
.btn::before { transform: translateX(-101%); width: 100%; left: 0; }
.btn:hover::before { transform: translateX(0); }
.btn svg { width: 18px; height: 18px; }
.btn.sm { padding: 11px 18px; font-size: .74rem; }
.btn.ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.brand svg { width: 38px; height: 31px; }
.brand b { font-size: 1.02rem; }

.hero h1 { font-size: clamp(2.5rem, 6.2vw, 6.2rem); max-width: none; width: 100%; text-align: center; }
.hero h1 .ln { text-align: center; }
.hero-in { width: 100%; justify-items: center; text-align: center; }
.hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); margin-inline: auto; }
.marquee { rotate: -1.5deg; }
.mq-group span { font-size: clamp(1.2rem, 2.6vw, 2.2rem); }

.start .h2 { font-size: clamp(3rem, 9vw, 8rem); }
.cards { max-width: 1180px; margin-inline: auto; }
.card-img { aspect-ratio: 4 / 4.6; }
.card-label { padding: 12px; font-size: clamp(.9rem, 1.1vw, 1.05rem); }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; max-width: 1320px; margin-inline: auto; }
.about-media { position: relative; padding-bottom: 12%; }
.about-photo { width: 78%; aspect-ratio: 4 / 5; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.about-photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; }
.about-video { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 9 / 13; overflow: hidden; border: 6px solid var(--black); border-radius: 18px; }
.about-video video, .step-media video, .grid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-copy { display: grid; gap: 20px; }
.events { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.events li { display: flex; align-items: center; gap: 12px; font: italic 800 .92rem/1.3 "Archivo", sans-serif; text-transform: uppercase; letter-spacing: .02em; padding: 14px 0; border-top: 1px solid #2c2c2c; }
.events li::before { content: ""; width: 18px; height: 3px; background: var(--red); flex: none; }

/* method */
.method { max-width: 1320px; margin-inline: auto; }
.steps { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.step { display: grid; gap: 14px; align-content: start; }
.step-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--gray-3); }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.step .n { color: var(--red); font-size: .7em; }
.step p { color: #c4c4c4; max-width: 30ch; }

.band .h2 { font-size: clamp(1.9rem, 3.8vw, 3.6rem); }
.day .name, .day .time { font-size: clamp(1.3rem, 2.4vw, 2.2rem); }
.day svg { width: 20px; height: 20px; }
.sch { max-width: 1320px; margin-inline: auto; }
.sch-photo { aspect-ratio: 4 / 4.6; }
.sch-photo img { object-position: 50% 25%; }

.gal-head { min-height: clamp(220px, 26vw, 400px); }
.gal-head .h2 { font-size: clamp(3rem, 11vw, 10rem); }
.gal-head .float { width: clamp(130px, 15vw, 220px); border-radius: 14px; }
.grid { grid-auto-rows: clamp(120px, 13vw, 200px); max-width: 1320px; margin-inline: auto; }
.grid figure { border-radius: 12px; }
.grid figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: var(--red); color: #fff; font: italic 800 .72rem/1 "Archivo", sans-serif; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; }
.grid figure:hover img, .grid figure:hover video { filter: none; }

.score b { font-size: clamp(3.6rem, 7vw, 6.4rem); }
.quotes { max-width: 1320px; }
.quote p { font-size: clamp(1rem, .95rem + .25vw, 1.12rem); }
.loc { max-width: 1320px; margin-inline: auto; }
.loc .h2 { font-size: clamp(2.2rem, 4.2vw, 4.2rem); }
.addr { font-size: clamp(1.05rem, 1rem + .3vw, 1.3rem); }
.map { border-radius: 16px; transform: none; }
.map iframe { inset: 0; width: 100%; transform: none; }
.contact .h2 { font-size: clamp(2.6rem, 6.4vw, 6.2rem); }
.links a { font-size: clamp(.9rem, 1.1vw, 1.05rem); padding-block: 20px; }
.links svg { width: 20px; height: 20px; }
.foot .about-f p { color: var(--gray-2); max-width: 20rem; margin: 18px 0 24px; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-media { aspect-ratio: 16 / 11; }
  .foot .about-f { grid-column: 1 / -1; }
}
.foot .btn { color: var(--white); } .foot .btn:hover { color: var(--black); }
.grid figcaption { padding: 9px 13px; } .lang button { padding: 8px 10px; }

/* gallery head: float stays beside the title, never over the grid */
.gal-head { min-height: clamp(260px, 30vw, 460px); }
.gal-head .float { top: 50%; translate: none; transform: translateY(-50%); right: 6%; width: clamp(110px, 12vw, 180px); }

/* accordion */
.acc { border-bottom: 1px solid #3a3a3a; }
.acc-btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; font: italic 900 .8rem/1 "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; transition: color .3s; }
.acc-btn:hover, .acc-btn[aria-expanded="true"] { color: var(--red); }
.acc-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.acc-btn svg { width: 16px; height: 16px; color: var(--red); transition: transform .6s var(--ease); }
.acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 2px 18px; color: #c8c8c8; opacity: 0; transform: translateY(-10px); filter: blur(4px); transition: opacity .5s, transform .7s var(--ease), filter .5s; }
.acc.open .acc-panel { grid-template-rows: 1fr; }
.acc.open .acc-panel p { opacity: 1; transform: none; filter: none; transition-delay: .12s; }
.cards { align-items: start; }

/* foto do topo: comeca abaixo do cabecalho e nunca corta a cabeca */
.hero-bg { inset: 0; background: #030303; }
.hero-bg img, html.motion .hero-bg img { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100% - 80px); object-fit: cover; object-position: 50% 100%; animation: none; }
@media (min-width: 901px) { .hero-bg img, html.motion .hero-bg img { height: calc(100% - 90px); object-fit: contain; } }
