/* DRSPORT 2027: the brand layer over the kit (brandbook 2027).
   Montserrat ExtraBold in capitals for titles, yellow 60 / black 30 / fuchsia 10.
   The fuchsia only on black, as a highlight. */
:root {
  /* dark 2027: black ground, yellow light, fuchsia only as a spark on black */
  --p-bg: #0b0b0b; --p-surface: #151513; --p-ink: #ffffff; --p-muted: #bdbdb5;
  --p-accent: #ffe60d; --p-accent-ink: #0b0b0b; --p-action: #ffe60d; --p-action-ink: #0b0b0b;
  --p-inv-bg: #ffe60d; --p-inv-surface: #fff27a; --p-inv-ink: #0b0b0b; --p-inv-muted: #3a3a1a;
  --p-inv-accent: #0b0b0b; --p-inv-accent-ink: #ffe60d; --p-inv-action: #0b0b0b; --p-inv-action-ink: #ffe60d;
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-text: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --display-weight: 800; --display-tracking: -0.02em;
  --brand-fucsia: #ff1f8f; --glow: rgba(255, 230, 13, 0.55); --glow-soft: rgba(255, 230, 13, 0.14);
}
h1, h2, .t-stat, .close__word { text-transform: uppercase; line-height: 0.98; }
h1 { letter-spacing: -0.025em; }
.btn { font-weight: 700; letter-spacing: 0.02em; }
.t-label { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* the logo: the client's own SVG (Logotipo final) */
.nav__logo img { display: block; height: 30px; width: auto; }
.footer .nav__logo img { height: 36px; }
@media (max-width: 639px) { .nav__logo img { height: 24px; } }

/* the fuchsia, only on black: the small labels and the statement's word */
.t-label { color: var(--brand-fucsia); }
.ground-inverse .t-label { color: var(--p-inv-ink); }
.statement .mo-wh__text strong { --accent: var(--brand-fucsia); --accent-ink: #0b0b0b; color: var(--brand-fucsia); text-shadow: 0 0 28px rgba(255, 31, 143, 0.55); }
.step-num { border-color: var(--p-accent); color: var(--p-accent); box-shadow: 0 0 16px var(--glow-soft); }

/* the work wall: the client's photographs, square edges on the wrap */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc((var(--sec-h, 708px) - 140px) / 2); gap: var(--gutter); }
.wall > .frame { height: 100%; }
.wall > .wall__wide { grid-column: span 2; }
@media (max-width: 1023px) { .wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; } }
@media (max-width: 639px) { .wall { grid-auto-rows: 200px; } .wall > :nth-child(n+7) { display: none; } }

/* the reels: the client's finished vertical films */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.reels video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); background: #000; }
@media (max-width: 1023px) { .reels { grid-template-columns: repeat(2, 1fr); } .reels video { max-height: 420px; } }
@media (max-width: 639px) { .reels video { max-height: 300px; } }

/* the clubs of 2026, set as type */
.clubs { columns: 3; column-gap: var(--gutter); margin: 0; padding: 0; list-style: none; }
.clubs li { break-inside: avoid; padding: var(--s-3) 0; border-top: 1px solid var(--line); font-weight: 600; font-size: var(--t-body); }
@media (max-width: 1023px) { .clubs { columns: 2; } }
@media (max-width: 639px) { .clubs li { padding: var(--s-2) 0; font-size: 15px; } }

/* simple tables (pack prices, sponsors, simulations) */
.table { width: 100%; border-collapse: collapse; font-size: var(--t-body); }
.table th, .table td { text-align: left; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-top: 1px solid var(--line-strong); vertical-align: top; }
.table thead th { border-top: 0; font-size: var(--t-small); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tr.total td { font-weight: 800; }
.table .profit { font-weight: 800; }
.table .profit { color: var(--p-accent); }

.note { font-size: var(--t-small); color: var(--muted); max-width: 70ch; }
.form textarea { min-height: 120px; }

/* the film hero: Montserrat capitals run wide, so the dark box is wider and the h1 a step smaller */
.hero--film .hero__over > :first-child { max-width: 780px; }
.hero--film .hero__over h1 { max-width: none; font-size: clamp(28px, 2.6vw + 14px, 52px); }
@media (max-width: 639px) {
  .hero--film .hero__over > :first-child { padding: var(--s-4); }
  .hero--film .hero__over h1 { font-size: 25px; letter-spacing: -0.03em; }
}

/* the split hero of the inner pages: the same step down for the wide capitals */
.hero--split h1 { font-size: clamp(28px, 2.4vw + 14px, 48px); }
@media (max-width: 639px) { .hero--split h1 { font-size: 26px; letter-spacing: -0.03em; } }

/* three photographs in a row under a section's words (Media Day, cadernetas) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: var(--s-7); }
.trio > .frame { height: 100%; min-height: 0; }
@media (max-width: 639px) { .trio { grid-template-columns: 1fr 1fr; margin-top: var(--s-5); height: 300px; flex: none; } .trio > :nth-child(3) { display: none; } }

/* the work bento: two wide and two plain, every row on the container's lines */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: var(--gutter); }
.bento > .frame { height: 100%; min-height: 0; }
.bento__wide { grid-column: 1 / 4; grid-row: 1; }
.bento__a { grid-column: 4; grid-row: 1; }
.bento__b { grid-column: 1; grid-row: 2; }
.bento__wide2 { grid-column: 2 / 5; grid-row: 2; }
@media (max-width: 639px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 260px; }
  .bento__wide { grid-column: 1 / 3; grid-row: 1; }
  .bento__a { grid-column: 1; grid-row: 2; }
  .bento__b { grid-column: 2; grid-row: 2; }
  .bento__wide2 { display: none; }
}

/* the proposal: words, then a photograph down the column, the form beside */
.proposta__col { display: flex; flex-direction: column; gap: var(--s-6); align-self: stretch; }
.proposta__foto { flex: 1 1 0; min-height: 240px; width: 100%; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 1023px) { .proposta__foto { flex: none; height: 260px; } }

/* a phone: blocks that fill the screen grow with their content instead of spilling */
@media (max-width: 639px) {
  main > section.section > .wrap > .fill { flex: none; }
  h2 { font-size: 22px; }
  .t-stat, .stats .t-stat, .price .t-stat { font-size: 22px; }
  .reels video { max-height: 300px; }
}
@media (max-width: 379px) { .nav:not(.is-open) .nav__actions { display: none; } .nav:not(.is-open) .nav__toggle { margin-left: auto; } }
.reels video { max-height: 480px; }
@media (max-width: 1023px) { .reels video { max-height: 420px; } }
@media (max-width: 639px) { .reels video { max-height: 300px; } }

/* headings by level: the h1 the largest */
h2 { font-size: clamp(26px, 1.6vw + 14px, 40px); }
@media (max-width: 639px) { h2 { font-size: 22px; } }

/* photographs inside cards and beside the questions */
.pack__foto, .sim__foto { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: var(--r-md); }
.sim__foto { height: 110px; }
.faq__foto { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--r-lg); align-self: stretch; }
.faq-top { flex: 1 1 auto; }
@media (max-width: 639px) { .faq__foto { height: 240px; min-height: 0; } .pack__foto { height: 120px; } }

/* tables on a phone: smaller, inside the screen */
@media (max-width: 639px) {
  .table { font-size: 14px; table-layout: fixed; }
  .table th, .table td { padding-right: 8px; overflow-wrap: anywhere; }
}


/* ---------------------------------------------------------------- the 2027 light: glow, aura, smoke */
/* the nav on the black ground, with a thin yellow line of light under it */
.nav { background: rgba(11, 11, 11, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 230, 13, 0.18); }

/* headlines glow faintly; a yellow word glows strong */
h1, .section > .wrap h2 { text-shadow: 0 0 40px rgba(255, 230, 13, 0.16); }
.ground-inverse h2 { text-shadow: none; }
.glow { color: var(--p-accent); text-shadow: 0 0 18px var(--glow), 0 0 48px rgba(255, 230, 13, 0.35); }

/* the main button gives off light, more on hover */
.btn--primary { box-shadow: 0 0 22px rgba(255, 230, 13, 0.35); }
.btn--primary:hover { box-shadow: 0 0 34px rgba(255, 230, 13, 0.6); }
.ground-inverse .btn--primary { box-shadow: none; }

/* photographs sit in a soft yellow aura and light up under the pointer */
.frame--photo, .proposta__foto, .faq__foto, .sim__lado, .reels video { box-shadow: 0 0 0 1px rgba(255, 230, 13, 0.10), 0 18px 60px -20px rgba(255, 230, 13, 0.25); transition: box-shadow 0.4s ease; }
.frame--photo:hover, .reels video:hover { box-shadow: 0 0 0 1px rgba(255, 230, 13, 0.45), 0 0 50px -6px rgba(255, 230, 13, 0.45); }
.ground-inverse .frame--photo { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6); }

/* cards on the black ground */
.card { background: var(--p-surface); border-color: rgba(255, 230, 13, 0.14); }
.card--plan.is-featured { box-shadow: 0 0 0 1px var(--p-accent), 0 0 40px -8px var(--glow); }
.card.card--open { background: none; }

/* the aura: a yellow light behind a section, slowly breathing */
.section.aura { position: relative; isolation: isolate; overflow: clip; }
.section.aura::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; inset: -10% -10%;
  background: radial-gradient(40% 50% at 18% 28%, rgba(255, 230, 13, 0.16), transparent 70%),
              radial-gradient(35% 45% at 85% 80%, rgba(255, 230, 13, 0.10), transparent 70%);
  animation: aura-breathe 12s ease-in-out infinite alternate;
}
@keyframes aura-breathe { from { opacity: 0.65; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }

/* the smoke: a canvas layer behind the words (aura.js draws it) */
canvas.fumo-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__media > canvas.fumo-cv, .hero-visual > canvas.fumo-cv { z-index: 1; }
.hero__media > .hero__over { z-index: 2; }
.section > .wrap { position: relative; z-index: 1; }

/* the hero: the words on dark glass with a line of yellow light, the picture keeps its colour */
.hero--film .hero__over > :first-child { background: rgba(11, 11, 11, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 230, 13, 0.28); box-shadow: 0 0 60px -10px rgba(255, 230, 13, 0.35); color: #fff; --bg: #0b0b0b; --ink: #fff; --action: #ffe60d; --action-ink: #0b0b0b; }
.hero--film .hero__media { box-shadow: 0 0 0 1px rgba(255, 230, 13, 0.2), 0 0 120px -30px rgba(255, 230, 13, 0.5); }
.hero-visual.frame--photo { box-shadow: 0 0 0 1px rgba(255, 230, 13, 0.2), 0 0 120px -30px rgba(255, 230, 13, 0.5); }

/* photographs appear as you come to them (aura.js); without the script, or with reduced motion, they are simply there */
.js-aura .revela { opacity: 0; transform: translateY(28px) scale(0.97); filter: blur(6px) brightness(1.4);
                   transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1), filter 0.9s ease; transition-delay: var(--d, 0s); }
.js-aura .revela.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js-aura .revela { opacity: 1; transform: none; filter: none; transition: none; }
  .section.aura::before { animation: none; }
}
.hero__over .hero__lead { color: #ffffff; }
.hero--film .ly-play__label { box-shadow: 0 0 26px rgba(255, 230, 13, 0.4); }
