/* ==========================================================================
   Team RF Beach Tennis — Landing Page
   ========================================================================== */

:root {
  --accent: #ff6200;
  --accent-hover: #e05600;
  --accent-soft: rgba(255, 98, 0, 0.14);
  --bg: #060606;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --ink: #f3f3f3;
  --ink-2: #d0d0d0;
  --muted: #9d9d9d;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.25);

  --container: 1200px;
  --gap: clamp(16px, 3vw, 32px);

  /* WhatsApp brand (https://whatsappbrand.com/) */
  --wa-green: #25d366;
  --wa-green-hover: #20bd5a;
  --wa-green-shadow: rgba(37, 211, 102, 0.45);

  /* Archivo: https://fonts.google.com/specimen/Archivo */
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------- Reset ---------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

section[id] {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  text-transform: none;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* -------------------------------- Layout ---------------------------------- */

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 10vw, 120px) 0;
}

.section--sand {
  background: var(--surface);
}

.section--dark {
  background: var(--bg);
  color: var(--white);
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section__header {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.section__title {
  font-size: clamp(32px, 5vw, 56px);
}

.section__subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  margin: 0;
}

.section--dark .section__subtitle,
.section--dark .inline-link {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow--light {
  color: #ffb27a;
  background: rgba(255, 98, 0, 0.22);
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink);
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ------------------------------- Buttons ---------------------------------- */

.btn {
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid var(--btn-bg);
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
  white-space: nowrap;
  min-height: 52px;
}

.btn:hover,
.btn:focus-visible {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 20px 30px;
  font-size: 16px;
  min-height: 60px;
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(255, 98, 0, 0.14);
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--accent);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cta-group--center {
  justify-content: center;
  margin-top: 32px;
}

/* -------------------------------- Header ---------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 12px 0;
  /* No topo da hero: totalmente transparente (sem blur) */
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    backdrop-filter 0.28s ease,
    -webkit-backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  /* Após scroll: barra translúcida com blur */
  background: rgba(10, 10, 10, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.brand__text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 3px;
}

.site-nav__link {
  position: relative;
  color: var(--white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 2px;
  opacity: 0.95;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* --------------------------------- Hero ----------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 18%, rgba(255, 98, 0, 0.18), transparent 36%),
    linear-gradient(
      102deg,
      rgba(8, 8, 8, 0.08) 24%,
      rgba(8, 8, 8, 0.38) 68%,
      rgba(6, 6, 6, 0.62) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.01) 0%,
      rgba(8, 8, 8, 0.12) 58%,
      rgba(6, 6, 6, 0.38) 78%,
      rgba(6, 6, 6, 0.62) 100%
    );
}

.hero__content {
  position: relative;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 152px 12px 72px;
  max-width: 780px;
  box-sizing: border-box;
}

@media (min-width: 861px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(360px, 46%) minmax(0, 54%);
    align-items: stretch;
  }

  .hero__content {
    order: 1;
    margin: 0;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: clamp(56px, 7vw, 96px) clamp(28px, 4vw, 64px) 56px;
    background: linear-gradient(145deg, #040404 0%, #0a0a0a 74%, #131313 100%);
  }

  .hero__media {
    order: 2;
    position: relative;
    inset: auto;
    min-height: 100vh;
    min-height: 100svh;
    z-index: 0;
  }

  .hero__media img,
  .hero__media video {
    object-position: center bottom;
  }

  .hero__overlay {
    background:
      radial-gradient(circle at 38% 18%, rgba(255, 98, 0, 0.14), transparent 46%),
      linear-gradient(90deg, rgba(6, 6, 6, 0.02) 0%, rgba(6, 6, 6, 0.2) 100%);
  }

  .hero__brand {
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .hero__title {
    font-size: clamp(50px, 5.6vw, 82px);
    line-height: 1.08;
    max-width: 10ch;
    margin-bottom: 18px;
  }

  .hero__lead {
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.3;
    max-width: 16ch;
  }

  .cta-group--hero {
    margin-top: 28px;
    justify-content: flex-start;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
  }

  .btn--hero {
    width: auto;
    max-width: 100%;
    min-width: min(340px, 100%);
    padding: 16px 28px;
  }

  .hero__scroll {
    display: none;
  }
}

.hero__title {
  font-size: clamp(66px, 10.5vw, 112px);
  font-weight: 500;
  text-transform: none;
  line-height: 1.14;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  text-wrap: balance;
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 28px;
}

.hero__logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.hero__lead {
  max-width: 33ch;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin-bottom: 0;
  text-wrap: balance;
}

.cta-group--hero {
  margin-top: 36px;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.btn--hero {
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-fg: var(--white);
  border-color: var(--accent);
  border-radius: 14px;
  min-height: 62px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 18px 28px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 36px rgba(255, 98, 0, 0.35);
  text-align: center;
  animation: heroCtaPulse 2s ease-in-out infinite;
}

.btn--hero:hover,
.btn--hero:focus-visible {
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(255, 98, 0, 0.42);
}

@keyframes heroCtaPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 14px 34px rgba(255, 98, 0, 0.4),
      0 0 0 0 rgba(255, 98, 0, 0.45);
  }
  45% {
    transform: scale(1.035);
    box-shadow:
      0 26px 56px rgba(255, 98, 0, 0.58),
      0 0 0 10px rgba(255, 98, 0, 0.14);
  }
  70% {
    transform: scale(1.02);
    box-shadow:
      0 20px 46px rgba(255, 98, 0, 0.48),
      0 0 0 4px rgba(255, 98, 0, 0.1);
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  display: none;
}

.hero__scroll span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (min-width: 900px) {
  .hero__scroll { display: block; }
}

/* --------------------------------- Sobre ---------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1.05fr 1fr;
  }
}

.anchor-target {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section--aula-metodo {
  position: relative;
}

.grid-2--aula-metodo {
  align-items: start;
}

.sobre__column {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  min-width: 0;
}

.sobre__bio {
  padding-top: 0;
}

.sobre__bio-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.05;
  color: var(--ink);
  text-align: left;
}

.sobre__bio p {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
}

.sobre__bio strong {
  color: var(--ink);
  font-weight: 700;
}

.sobre__text .section__title {
  font-size: clamp(28px, 4.2vw, 44px);
}

.sobre__lead {
  margin: 0 0 clamp(24px, 4vw, 36px);
  max-width: none;
  text-align: left;
  color: var(--muted);
}

.sobre__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sobre__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.sobre__shirt {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: 55%;
  max-width: 280px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
  transform: rotate(-6deg);
  pointer-events: none;
}

.sobre__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag:first-child {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.tag:nth-child(2) {
  background: rgba(255, 98, 0, 0.2);
  color: var(--white);
  border-color: rgba(255, 98, 0, 0.4);
}

/* ------------------------------- Problema --------------------------------- */

.pain-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.pain-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pain-point__emoji {
  flex-shrink: 0;
  font-size: 1.65rem;
  line-height: 1.15;
  margin-top: 2px;
}

.pain-point__body {
  min-width: 0;
}

.pain-point:hover {
  border-color: rgba(255, 98, 0, 0.55);
  background: rgba(255, 98, 0, 0.08);
  transform: translateY(-3px);
}

.pain-point h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.pain-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

/* ------------------------------ Conquistas -------------------------------- */

.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}

.achievement-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255, 98, 0, 0.08);
}

.pillar__icon,
.achievement-card__icon {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 8px;
  box-sizing: border-box;
  background: rgba(255, 98, 0, 0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}

.achievement-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.achievement-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin: 0;
}

/* ------------------------------ Metodologia ------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap);
}

.pillar {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.pillar h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.pillar p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
}

/* ------------------------------ Depoimentos ------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.testimonial {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial__quote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  position: relative;
  padding-top: 20px;
}

.testimonial__quote::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: -6px;
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--accent);
  line-height: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.testimonial__author strong {
  display: block;
  font-size: 15px;
}

.testimonial__author span {
  color: var(--muted);
  font-size: 13px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7d2b, var(--accent-hover));
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ---------------------------------- FAQ ----------------------------------- */

.faq {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 0;
  overflow: hidden;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 15px;
}

/* --------------------------------- Oferta --------------------------------- */

.offer-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
}

.offer-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.offer-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.offer-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.offer-note {
  margin: clamp(28px, 4vw, 34px) auto 0;
  max-width: 62ch;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

/* -------------------------------- Galeria --------------------------------- */

.gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 700px) {
  .gallery {
    gap: 16px;
    scroll-padding-inline: 0;
  }
}

.gallery__item {
  margin: 0;
  flex: 0 0 clamp(220px, 74vw, 300px);
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item--anchor-bottom img {
  object-position: center bottom;
}

.gallery__item--cta {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(135deg, #ff7d2b, var(--accent-hover));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gallery__follow {
  padding: 20px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gallery__follow span {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.gallery__follow strong {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.01em;
}

@media (min-width: 700px) {
  .gallery__item {
    flex: 0 0 clamp(240px, 22vw, 300px);
  }
}

/* ------------------------------ CTA Section ------------------------------- */

.section.section--cta {
  padding: clamp(48px, 9vw, 120px) 0 clamp(36px, 6vw, 72px);
}

.section--cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg);
  background-image: url("../assets/galeria-14.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
}

.section--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(6, 6, 6, 0.97) 0%,
      rgba(6, 6, 6, 0.9) 38%,
      rgba(6, 6, 6, 0.98) 100%
    ),
    radial-gradient(
      ellipse 120% 85% at 50% 12%,
      rgba(255, 98, 0, 0.18),
      transparent 58%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.62) 0%,
      transparent 48%
    );
}

.section--cta > .container {
  position: relative;
  z-index: 1;
}

.cta-final {
  max-width: 640px;
  margin: 0 auto;
}

.cta-final__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 10px;
  filter: drop-shadow(0 6px 18px rgba(255, 98, 0, 0.35));
}

.section--cta .section__title {
  font-size: clamp(22px, 4.2vw, 36px);
  margin-bottom: 0.25em;
}

.section--cta .section__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.45;
  margin-bottom: 0;
}

.section--cta .cta-group {
  margin-top: 16px;
}

/* --------------------------------- Footer --------------------------------- */

.site-footer {
  background: var(--bg);
}

.site-footer__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
}

.site-footer__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-footer__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.site-footer__sublink {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  max-width: 11.5rem;
  transition: color 0.18s ease;
}

.site-footer__sublink:hover,
.site-footer__sublink:focus-visible {
  color: var(--ink-2);
}

.site-footer__socials {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-footer__social-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: rgba(255, 98, 0, 0.18);
  border-color: rgba(255, 98, 0, 0.45);
  transform: translateY(-1px);
}

/* ------------------------------ WA Float ---------------------------------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px var(--wa-green-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.wa-float.wa-float--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wa-float .wa-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.wa-float.wa-float--visible:hover,
.wa-float.wa-float--visible:focus-visible {
  background: var(--wa-green-hover);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}

@media (min-width: 800px) {
  .wa-float {
    right: 28px;
    bottom: 28px;
    width: 64px;
    height: 64px;
  }

  .wa-float .wa-icon {
    width: 32px;
    height: 32px;
  }
}

/* ------------------------------ Responsive -------------------------------- */

@media (max-width: 860px) {
  .site-header {
    display: none;
  }

  section[id] {
    scroll-margin-top: 24px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 10px 0;
  }

  .site-header__inner {
    min-height: 52px;
  }

  .brand__text em {
    letter-spacing: 0.14em;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__link {
    padding: 10px 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    border-radius: 8px;
  }

  .site-nav__link.is-active::after {
    display: none;
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  /* Evita empurrar o bloco de texto para o rodapé da viewport */
  .hero {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__media {
    inset: 0 0 auto;
    height: min(54vh, 440px);
  }

  .hero__media img,
  .hero__media video {
    object-position: center bottom;
  }

  .hero__overlay {
    background:
      /* Faixa curta e forte na borda com o texto — evita “seco” entre foto e bloco preto */
      linear-gradient(
        180deg,
        transparent 0,
        transparent calc(100% - 28px),
        rgba(6, 6, 6, 0.78) calc(100% - 10px),
        rgba(6, 6, 6, 0.96) 100%
      ),
      radial-gradient(circle at 52% 16%, rgba(255, 98, 0, 0.14), transparent 38%),
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.01) 0%,
        rgba(8, 8, 8, 0.08) 70%,
        rgba(6, 6, 6, 0.2) 86%,
        rgba(6, 6, 6, 0.34) 94%,
        rgba(6, 6, 6, 0.48) 100%
      );
  }

  .hero__brand {
    position: static;
    justify-content: flex-start;
    margin-bottom: 16px;
  }

  .hero__logo {
    width: 88px;
    height: 88px;
  }

  .hero__content {
    position: static;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Mantem sobreposicao suave e desce um pouco o bloco de texto */
    padding: max(16px, calc(min(54vh, 440px) - 5.25rem - 1.5rem + 18px)) 12px 28px;
    align-items: stretch;
    text-align: left;
    /* Coluna centralizada; texto e CTA compartilham a mesma âncora à esquerda */
    width: 100%;
    max-width: min(26rem, calc(100% - 28px));
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
  }

  .hero__title {
    font-size: clamp(46px, 9.2vw, 64px);
    font-weight: 500;
    line-height: 1.2;
    max-width: 100%;
    margin-bottom: 18px;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.5),
      0 6px 22px rgba(0, 0, 0, 0.55);
  }

  .hero__lead {
    font-size: clamp(24px, 5.2vw, 30px);
    max-width: 100%;
    line-height: 1.42;
    margin-bottom: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  }

  .cta-group--hero {
    margin-top: 22px;
    justify-content: center;
    align-self: stretch;
    padding: 0;
  }

  .btn--hero {
    min-height: 50px;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 10px;
  }

  .cta-group {
    justify-content: flex-start;
  }

  .cta-group .btn {
    width: 100%;
    max-width: 560px;
  }

  .cta-group--hero .btn--hero {
    max-width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section__header {
    margin-bottom: 30px;
  }

  .sobre__media {
    aspect-ratio: 4 / 4.8;
  }

  .sobre__shirt {
    width: 50%;
    max-width: 220px;
  }
}

@media (max-width: 520px) {
  .brand__text {
    display: none;
  }

  .cta-group .btn {
    width: 100%;
  }

  .hero__media {
    height: min(50vh, 400px);
  }

  .hero__media img,
  .hero__media video {
    object-position: center bottom;
  }

  .hero__content {
    padding: max(14px, calc(min(50vh, 400px) - 4.5rem - 1.25rem + 14px)) 10px 24px;
    align-items: stretch;
    text-align: left;
    max-width: min(24rem, calc(100% - 24px));
  }

  .hero__brand {
    margin-bottom: 14px;
  }

  .hero__logo {
    width: 72px;
    height: 72px;
  }

  .hero__title {
    font-size: clamp(35px, 8.5vw, 50px);
    font-weight: 500;
    max-width: 100%;
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .hero__lead {
    font-size: clamp(21px, 5vw, 27px);
    line-height: 1.42;
  }

  .cta-group--hero {
    margin-top: 24px;
  }

  .btn--hero {
    min-height: 48px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    padding: 12px 16px;
    letter-spacing: 0.03em;
  }

  .pillars,
  .testimonials,
  .achievements,
  .pain-points,
  .offer-stack {
    grid-template-columns: 1fr;
  }

  .faq__item summary {
    font-size: 18px;
    padding: 18px 18px;
  }

  .faq__item summary::after {
    right: 16px;
  }

  .faq__item p {
    padding: 0 18px 18px;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }

  .wa-float .wa-icon {
    width: 28px;
    height: 28px;
  }

  .site-footer__inner {
    min-height: 78px;
    gap: 14px;
  }

  .site-footer__socials {
    gap: 12px;
  }

  .site-footer__social-link {
    width: 42px;
    height: 42px;
  }

  .site-footer__social-icon {
    width: 22px;
    height: 22px;
  }
}

/* ---------------------- Reduced motion preferences ------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .btn--hero {
    animation: none;
    transform: none;
    box-shadow: 0 16px 36px rgba(255, 98, 0, 0.35);
  }
}

/* --------------------------------------------------------------------------
   LP Patrocínio (`/patrocinio/`) — hero: posição da foto + degradê como no
   commit de67eadd (além do layout base `.hero` atual)
   -------------------------------------------------------------------------- */

.page-patrocinio .hero__media img,
.page-patrocinio .hero__media video {
  object-position: 30% center;
}

.page-patrocinio .hero__overlay {
  background:
    radial-gradient(circle at 62% 18%, rgba(255, 98, 0, 0.18), transparent 36%),
    linear-gradient(
      102deg,
      rgba(8, 8, 8, 0.15) 18%,
      rgba(8, 8, 8, 0.62) 60%,
      rgba(6, 6, 6, 0.92) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.02) 0%,
      rgba(8, 8, 8, 0.32) 44%,
      rgba(6, 6, 6, 0.88) 74%,
      rgba(6, 6, 6, 0.98) 100%
    );
}

@media (min-width: 861px) {
  .page-patrocinio .hero__media img,
  .page-patrocinio .hero__media video {
    object-position: center 18%;
  }

  .page-patrocinio .hero__overlay {
    background:
      radial-gradient(circle at 38% 18%, rgba(255, 98, 0, 0.14), transparent 46%),
      linear-gradient(90deg, rgba(6, 6, 6, 0.02) 0%, rgba(6, 6, 6, 0.2) 100%);
  }
}

@media (max-width: 860px) {
  .page-patrocinio .hero__media img,
  .page-patrocinio .hero__media video {
    object-position: center 12%;
  }

  .page-patrocinio .hero__overlay {
    background:
      radial-gradient(circle at 52% 16%, rgba(255, 98, 0, 0.14), transparent 38%),
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.02) 0%,
        rgba(8, 8, 8, 0.28) 42%,
        rgba(6, 6, 6, 0.88) 62%,
        rgba(6, 6, 6, 0.97) 82%,
        rgba(6, 6, 6, 0.995) 100%
      );
  }
}

@media (max-width: 520px) {
  .page-patrocinio .hero__media img,
  .page-patrocinio .hero__media video {
    object-position: center 12%;
  }
}

/* LP Patrocínio — mobile: evita CTA cortado na borda (safe area + overflow) */
@media (max-width: 860px) {
  .page-patrocinio .hero {
    overflow: visible;
  }

  .page-patrocinio .hero__content {
    padding-bottom: max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem));
  }
}
