@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,200..800;1,200..800&display=swap");

:root {
  --font-sans: "Instrument Sans", Arial, sans-serif;
  --bg: #000;
  --text: #fff;
  --muted: #c2c2c2;
  --red: #d90000;
  --blue: #506cf0;
  --paper: #fdf9f6;
  --ink: #101010;
  --shell: 1344px;
  --edge: 24px;
  font-family: var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
  overflow-x: clip;
  background: #000;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

@keyframes slow-glow-drift {
  0%,
  100% {
    box-shadow: var(--glow-start);
  }

  35% {
    box-shadow: var(--glow-mid);
  }

  70% {
    box-shadow: var(--glow-end);
  }
}

@keyframes slow-inner-glow-drift {
  0%,
  100% {
    box-shadow: var(--inner-glow-start);
  }

  50% {
    box-shadow: var(--inner-glow-end);
  }
}

.reveal-on-scroll {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 22px, 0) scale(0.985);
  transition:
    opacity 520ms ease,
    filter 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .button-red,
  .button-blue,
  .video-card,
  .play-button,
  .sticky-cta,
  .gallery-item,
  .story-signature,
  .signup-card,
  .signup-form {
    animation: none;
  }
}

.button:focus-visible,
.video-card:focus-visible,
.submit-button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(80, 108, 240, 0.55);
  outline-offset: 3px;
}

.button-red {
  --glow-start: 0 0 16px rgba(217, 0, 0, 0.24);
  --glow-mid: 10px 6px 30px rgba(217, 0, 0, 0.34);
  --glow-end: -8px 8px 24px rgba(217, 0, 0, 0.28);
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--red);
  animation: slow-glow-drift 7.5s ease-in-out infinite;
  box-shadow: var(--glow-start);
}

.button-red:hover {
  --glow-start: 0 0 28px rgba(217, 0, 0, 0.34);
  --glow-mid: 12px 8px 36px rgba(217, 0, 0, 0.42);
  --glow-end: -10px 10px 30px rgba(217, 0, 0, 0.38);
  background: #f00606;
}

.button-blue {
  --glow-start: 0 0 14px rgba(80, 108, 240, 0.2);
  --glow-mid: 10px 6px 26px rgba(80, 108, 240, 0.28);
  --glow-end: -8px 8px 22px rgba(80, 108, 240, 0.24);
  min-height: 58px;
  padding: 16px 14px 16px 18px;
  border-radius: 999px;
  background: var(--blue);
  animation: slow-glow-drift 8.5s ease-in-out infinite;
  box-shadow: var(--glow-start);
}

.button-blue:hover {
  background: #6178f2;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-hero img {
  width: 112px;
}

.footer-brand img {
  width: 86px;
}

.hero-section {
  position: relative;
  z-index: 30;
  padding: 74px 0 74px;
  isolation: isolate;
}

.hero-background {
  --ship-anchor-y: clamp(425px, calc(54vh + 35px), 620px);
  --hero-bg-y-offset: 0px;
  --hero-bg-width: 100%;
  --hero-bg-focal-y: 38.4vw;
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("Assets/Backgrounds/hero-bg-earth-endurance2.jpg");
  background-repeat: no-repeat;
  /* Keeps the ship as the vertical focal point while the image scales with the viewport. */
  background-position: center calc(var(--ship-anchor-y) + var(--hero-bg-y-offset) - var(--hero-bg-focal-y));
  background-size: var(--hero-bg-width) auto;
}

@media (min-width: 1440px) {
  .hero-background {
    --ship-anchor-y: clamp(485px, calc(54vh + 95px), 680px);
  }
}

.hero-section::before,
.hero-section::after,
.story-section::before,
.story-section::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-section::before {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.12) 18%, rgba(0, 0, 0, 0.5) 44%, #000 92%),
    radial-gradient(circle at 50% 16%, rgba(0, 0, 0, 0) 0 14%, rgba(0, 0, 0, 0.74) 35%, #000 74%);
}

.hero-section::after {
  z-index: -1;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.25) 18%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.25) 82%, #000 100%);
}

.hero-copy {
  width: min(738px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  text-align: center;
}

.headline-stack {
  display: grid;
  gap: 16px;
}

.hero-copy h1,
.hero-copy p,
.intro-text p,
.split-copy p,
.story-content h2,
.story-content p,
.signup-copy h2,
.sticky-copy p,
.sticky-copy strong {
  margin: 0;
}

.hero-copy h1,
.intro-text p,
.split-copy p:first-child,
.story-content h2,
.story-copy p:first-child,
.signup-copy h2,
.sticky-copy strong {
  text-wrap: balance;
}

.hero-copy p,
.split-copy p:last-child,
.story-content p,
.sticky-copy p {
  text-wrap: pretty;
}

.hero-copy h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.04;
}

.hero-copy h1 .headline-accent,
.intro-text p .headline-accent,
.story-content h2 .headline-accent {
  font-weight: 650;
}

.hero-copy p {
  width: min(540px, 100%);
  margin-inline: auto;
  color: var(--muted);
  font-size: 19px;
  font-weight: 200;
  line-height: 1.22;
}

.hero-copy p.hero-event-note {
  margin-top: -22px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}

/* === TESTE: bolinha "REC" piscando (reversível) ===
   Para remover: apague este bloco e o <span class="rec-dot"> em index.html */
.rec-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
  box-shadow: 0 0 6px rgba(217, 0, 0, 0.65);
  animation: rec-blink 1.5s ease-in-out infinite;
}

@keyframes rec-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rec-dot {
    animation: none;
  }
}
/* === fim TESTE bolinha REC === */

.hero-media {
  margin-top: clamp(160px, 20vh, 220px);
}

.video-card {
  --glow-start: 0 26px 80px rgba(0, 0, 0, 0.44);
  --glow-mid: 12px 32px 92px rgba(0, 0, 0, 0.5);
  --glow-end: -10px 34px 88px rgba(0, 0, 0, 0.48);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #2a2a2a;
  animation: slow-glow-drift 12s ease-in-out infinite;
  box-shadow: var(--glow-start);
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  display: block;
}

.play-button {
  --inner-glow-start: inset 0 0 28px rgba(255, 255, 255, 0.08), 0 0 0 rgba(255, 255, 255, 0);
  --inner-glow-end: inset 8px 4px 34px rgba(255, 255, 255, 0.15), -6px 8px 28px rgba(255, 255, 255, 0.16);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 96px;
  height: 96px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: slow-inner-glow-drift 9s ease-in-out infinite;
  box-shadow: var(--inner-glow-start);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(6px);
}

.play-button::before {
  position: absolute;
  left: 38px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 27px solid #fff;
  content: "";
}

.sticky-cta {
  --glow-start: 0 16px 52px rgba(0, 0, 0, 0.28);
  --glow-mid: 10px 22px 62px rgba(0, 0, 0, 0.34);
  --glow-end: -10px 22px 58px rgba(0, 0, 0, 0.31);
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 114px;
  margin-top: 10px;
  padding: 18px 16px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #010101;
  animation: slow-glow-drift 11s ease-in-out infinite;
  box-shadow: var(--glow-start);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.sticky-copy {
  max-width: 440px;
  display: grid;
  gap: 8px;
}

.sticky-copy strong {
  font-size: 22px;
  line-height: 1.02;
}

.sticky-copy p {
  color: #393939;
  font-size: 15px;
  line-height: 1.18;
}

.sticky-copy span {
  color: var(--blue);
  font-weight: 800;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-actions img {
  width: 225px;
}

.intro-text {
  margin-top: 62px;
  text-align: center;
}

.intro-text p {
  width: min(760px, 100%);
  margin-inline: auto;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
}

.gallery {
  height: 608px;
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 329px;
  gap: 8px;
  overflow: visible;
  border-radius: 12px;
}

.gallery-left {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.gallery-row {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.gallery-row-top {
  grid-template-columns: minmax(0, 1fr) 183px;
}

.gallery-row-bottom {
  grid-template-columns: 183px minmax(0, 1fr) minmax(0, 1fr);
}

.gallery-item {
  --glow-start: 0 2px 24px rgba(17, 17, 17, 0.95);
  --glow-mid: 8px 8px 30px rgba(17, 17, 17, 0.9);
  --glow-end: -6px 10px 26px rgba(17, 17, 17, 0.92);
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border-radius: 12px;
  background: #2d2d2d;
  animation: slow-glow-drift 10s ease-in-out infinite;
  box-shadow: var(--glow-start);
}

.gallery-row-top .gallery-item:first-child {
  object-position: 50% 48%;
}

.gallery-row-top .gallery-item:last-child,
.gallery-tall {
  object-position: 54% 50%;
}

.gallery-row-bottom .gallery-item:first-child {
  object-position: 46% 50%;
}

.gallery-row-bottom .gallery-item:nth-child(2) {
  object-position: 50% 42%;
}

.gallery-row-bottom .gallery-item:nth-child(3) {
  object-position: 50% 45%;
}

.split-copy {
  margin-top: 64px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.split-copy p:first-child {
  width: min(620px, 100%);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}

.split-copy p:last-child {
  width: min(420px, 100%);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.38;
}

.story-section {
  position: relative;
  padding: 64px 0;
  isolation: isolate;
}

.story-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("Assets/Backgrounds/second-bg-gargantua-endurance.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.story-section::before {
  z-index: -1;
  background: linear-gradient(180deg, #000 2%, rgba(0, 0, 0, 0.58) 28%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.56) 77%, #000 100%);
}

.story-section::after {
  z-index: -1;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.08) 24%, rgba(0, 0, 0, 0.08) 76%, #000 100%);
}

.story-card {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: #000;
}

.story-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.story-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.story-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, #fff 13%, rgba(255, 255, 255, 0.82) 45%, rgba(255, 255, 255, 0) 76%);
}

.story-content {
  --story-logo-gap: 44px;
  --story-content-bottom: 66px;
  position: relative;
  z-index: 1;
  width: min(486px, 50%);
  padding: 44px 0 var(--story-content-bottom) 36px;
}

.story-content h2 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.08;
}

.story-content p {
  margin-top: 28px;
  color: #484848;
  font-size: 20px;
  font-weight: 200;
  line-height: 1.2;
}

.story-content strong {
  color: #000;
  font-weight: 600;
}

.story-button {
  display: flex;
  width: fit-content;
  margin-top: 40px;
  background: #232323;
  animation: none;
  box-shadow: none;
}

.story-button:hover {
  background: #2e2e2e;
}

.partner-logos {
  width: 100%;
  margin-top: var(--story-logo-gap);
  display: grid;
  gap: 14px;
}

.partner-logos div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.partner-logos img {
  max-width: 104px;
  max-height: 42px;
  object-fit: contain;
}

.story-signature {
  --glow-start: 0 0 14px rgba(71, 71, 71, 0.27);
  --glow-mid: 8px 6px 24px rgba(71, 71, 71, 0.34);
  --glow-end: -6px 8px 20px rgba(71, 71, 71, 0.31);
  position: absolute;
  right: 16px;
  bottom: 118px;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.66);
  color: #fff;
  text-align: right;
  animation: slow-glow-drift 9.5s ease-in-out infinite;
  box-shadow: var(--glow-start);
  backdrop-filter: blur(2px);
}

.story-signature strong {
  font-size: 22px;
  line-height: 1.07;
}

.story-signature span {
  color: #d7d7d7;
  font-size: 17px;
  line-height: 1.12;
}

.story-copy {
  margin-top: 64px;
  align-items: flex-end;
}

.story-copy p:first-child {
  width: min(560px, 100%);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.signup-section {
  padding: 44px 0 72px;
}

.signup-card {
  --glow-start: 0 2px 24px rgba(17, 17, 17, 0.76);
  --glow-mid: 12px 8px 34px rgba(17, 17, 17, 0.82);
  --glow-end: -10px 10px 30px rgba(17, 17, 17, 0.78);
  position: relative;
  min-height: 386px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 32px;
  border-radius: 16px;
  background: #000;
  animation: slow-glow-drift 12.5s ease-in-out infinite;
  box-shadow: var(--glow-start);
}

.signup-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.56) 100%),
    url("Assets/Backgrounds/form-background-camera.png");
  background-position: center;
  background-size: cover;
  opacity: 0.72;
}

.signup-copy,
.signup-form {
  position: relative;
  z-index: 1;
}

.signup-copy {
  width: min(440px, 100%);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.signup-mark {
  width: 36px;
  filter: brightness(0) invert(1);
}

.signup-mark.reveal-on-scroll {
  filter: brightness(0) invert(1) blur(10px);
}

.signup-mark.reveal-on-scroll.is-visible {
  filter: brightness(0) invert(1) blur(0);
}

.signup-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.signup-copy h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.08;
}

.signup-copy p {
  max-width: 430px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 200;
  line-height: 1.4;
}

.signup-form {
  --glow-start: 0 25px 25px rgba(0, 0, 0, 0.25);
  --glow-mid: 10px 30px 34px rgba(0, 0, 0, 0.3);
  --glow-end: -8px 30px 30px rgba(0, 0, 0, 0.28);
  width: 356px;
  min-height: 322px;
  display: grid;
  gap: 12px;
  padding: 14px 12px 12px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  animation: slow-glow-drift 10.5s ease-in-out infinite;
  box-shadow: var(--glow-start);
}

.signup-form h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.signup-form label {
  display: grid;
  gap: 8px;
}

.signup-form label span {
  min-height: 19px;
  color: #101010;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.signup-form input {
  width: 100%;
  min-height: 41px;
  border: 1px solid #bebebe;
  border-radius: 8px;
  background: rgba(229, 229, 229, 0.55);
  color: #282828;
  font-size: 14px;
  padding: 10px;
}

.signup-form input::placeholder {
  color: rgba(40, 40, 40, 0.5);
}

.submit-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.consent {
  margin: 0;
  padding: 8px 18px;
  border: 0.5px solid #c6c6c6;
  border-radius: 6px;
  background: #f7f7f7;
  color: #454545;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 49px 0 44px;
  border-top: 1px solid #202020;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 48px;
  min-width: 0;
}

.site-footer a {
  color: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  :root {
    --shell: 1000px;
  }

  .hero-media {
    margin-top: 170px;
  }

  .gallery {
    height: auto;
    grid-template-columns: 1fr;
  }

  .gallery-left {
    min-height: 560px;
  }

  .gallery-tall {
    height: 480px;
  }

  .story-content {
    width: min(486px, 54%);
  }

  .story-signature {
    right: 18px;
    bottom: 78px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .button {
    min-height: 52px;
    font-size: 14px;
  }

  .hero-section {
    padding-top: 46px;
  }

  .hero-background {
    --ship-anchor-y: clamp(395px, calc(49vh + 35px), 465px);
    --hero-bg-height: 1380px;
    --hero-bg-focal-y: 298px;
    background-position: center calc(var(--ship-anchor-y) + var(--hero-bg-y-offset) - var(--hero-bg-focal-y));
    background-size: auto var(--hero-bg-height);
  }

  .hero-copy {
    width: min(100% - 32px, 620px);
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.24;
  }

  .hero-media {
    margin-top: clamp(84px, 13vh, 120px);
  }

  .video-card {
    min-height: 250px;
    border-radius: 16px;
  }

  .play-button {
    width: 72px;
    height: 72px;
  }

  .play-button::before {
    left: 29px;
    top: 21px;
    border-top-width: 15px;
    border-bottom-width: 15px;
    border-left-width: 21px;
  }

  .sticky-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    min-height: 0;
  }

  .sticky-copy {
    max-width: none;
  }

  .sticky-actions {
    justify-content: space-between;
  }

  .intro-text p {
    font-size: 23px;
    line-height: 1.2;
  }

  .split-copy {
    display: grid;
    text-align: center;
  }

  .split-copy p:first-child,
  .story-copy p:first-child {
    font-size: 24px;
    line-height: 1.18;
  }

  .split-copy p:last-child {
    font-size: 16px;
  }

  .story-card {
    height: clamp(560px, 72vw, 620px);
    min-height: clamp(560px, 72vw, 620px);
  }

  .story-image {
    object-position: 70% center;
  }

  .story-gradient {
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 44%, rgba(255, 255, 255, 0.34) 66%, rgba(255, 255, 255, 0) 100%);
  }

  .story-content {
    --story-logo-gap: clamp(28px, 5vw, 44px);
    --story-content-bottom: 0px;
    width: min(100%, 560px);
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 32px 24px var(--story-content-bottom);
  }

  .story-content h2 {
    font-size: 31px;
    line-height: 1.1;
  }

  .story-content p {
    font-size: 16px;
    line-height: 1.24;
  }

  .partner-logos div {
    flex-wrap: wrap;
    gap: 18px 24px;
    justify-content: flex-start;
  }

  .partner-logos {
    margin-top: auto;
  }

  .story-signature {
    right: 24px;
    bottom: 0;
  }

  .signup-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .signup-copy {
    min-height: 220px;
  }

  .signup-copy h2 {
    font-size: 30px;
  }

  .signup-form {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
    gap: 18px 32px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 27px;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-media {
    margin-top: clamp(64px, 11vh, 92px);
  }

  .video-card {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .sticky-actions {
    display: block;
  }

  .sticky-cta {
    width: calc(100% - 26px);
    margin: 16px 13px 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .sticky-copy {
    gap: 7px;
  }

  .sticky-copy strong {
    max-width: calc(100% - 116px);
    font-size: 18px;
    line-height: 1.05;
  }

  .sticky-copy p {
    padding-top: 18px;
    font-size: 13px;
    line-height: 1.22;
  }

  .sticky-actions img {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 135px;
  }

  .sticky-actions .button-red {
    width: 100%;
    background: transparent;
    border: 1.5px solid var(--red);
    color: var(--red);
    box-shadow: none;
    animation: none;
  }

  .sticky-actions .button-red:hover,
  .sticky-actions .button-red:active {
    background: var(--red);
    color: #fff;
  }

  .intro-text {
    margin-top: 48px;
  }

  .intro-text p {
    font-size: 21px;
    line-height: 1.22;
  }

  .gallery-left {
    min-height: 0;
    display: grid;
    grid-template-rows: none;
  }

  .gallery-row,
  .gallery-row-top,
  .gallery-row-bottom {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-tall {
    height: 240px;
  }

  .gallery-tall {
    object-position: center;
  }

  .split-copy p:first-child,
  .story-copy p:first-child {
    font-size: 21px;
    line-height: 1.18;
  }

  .story-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 361 / 554;
    border-radius: 16px;
  }

  .story-image {
    object-position: center;
    transform: none;
  }

  .story-gradient {
    background:
      linear-gradient(180deg, #fff 0%, #fff 28%, rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.1) 73%, #fff 100%),
      radial-gradient(ellipse 84% 44% at 50% 62%, rgba(255, 255, 255, 0.04) 0 48%, rgba(255, 255, 255, 0.72) 83%, #fff 100%);
  }

  .story-content {
    --story-logo-gap: 0;
    --story-content-bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }

  .story-content h2 {
    font-size: 27px;
    font-weight: 500;
    line-height: 1.08;
  }

  .story-content p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.18;
  }

  .story-content strong {
    font-weight: 500;
  }

  .story-button {
    width: 100%;
    min-height: 60px;
    margin-top: 16px;
    padding: 18px 16px;
    border-radius: 12px;
  }

  .story-signature {
    left: 18%;
    right: auto;
    top: 51.6%;
    bottom: auto;
    gap: 3px;
    padding: 9px 12px 9px 9px;
    border-width: 1px;
    border-radius: 7px;
    text-align: right;
    backdrop-filter: blur(1.5px);
  }

  .partner-logos {
    margin-top: auto;
    gap: 5px;
  }

  .partner-logos div {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 21px;
  }

  .partner-logos div + div {
    gap: 24px;
  }

  .partner-logos img {
    width: auto;
    max-width: none;
    max-height: none;
  }

  .partner-logos div:first-child img:nth-child(1) {
    width: 58px;
  }

  .partner-logos div:first-child img:nth-child(2) {
    width: 63px;
  }

  .partner-logos div:first-child img:nth-child(3) {
    width: 50px;
  }

  .partner-logos div:first-child img:nth-child(4) {
    width: 54px;
  }

  .partner-logos div:nth-child(2) img:nth-child(1) {
    width: 54px;
  }

  .partner-logos div:nth-child(2) img:nth-child(2) {
    width: 46px;
  }

  .partner-logos div:nth-child(2) img:nth-child(3) {
    width: 57px;
  }

  .story-signature strong {
    font-size: 16px;
    line-height: 1.07;
  }

  .story-signature span {
    font-size: 13px;
    line-height: 1.07;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .signup-card {
    padding: 18px;
  }

  .signup-copy h2 {
    font-size: 26px;
  }

  .site-footer {
    gap: 24px;
    padding: 36px 0;
  }

  .site-footer nav {
    width: 100%;
    display: grid;
    gap: 12px;
  }

  .site-footer a {
    white-space: normal;
  }
}

/* Desktop largo: subtítulo do card em linha única */
@media (min-width: 1181px) {
  .sticky-copy {
    max-width: none;
  }

  .sticky-copy strong {
    white-space: nowrap;
  }

  .sticky-copy p {
    white-space: nowrap;
  }
}

/* Desktop: bloco de texto da história mais largo + degradê estendido */
@media (min-width: 861px) {
  .story-content {
    width: min(660px, 56%);
  }

  .story-gradient {
    background: linear-gradient(108deg, #fff 22%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 68%);
  }
}

/* Modal do formulário (RD Station) */
body.modal-open {
  overflow: hidden;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.form-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.form-modal__panel {
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.form-modal.is-open .form-modal__panel {
  transform: translateY(0);
  opacity: 1;
}

.form-modal__inner {
  position: relative;
  width: 500px;
  transform: scale(var(--modal-scale, 1));
  transform-origin: center center;
  border-radius: 23px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.form-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.form-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Ajuste pontual: centraliza verticalmente a bandeira do seletor de país
   (componente select2 do RD Station, que a renderiza colada no topo) */
.form-modal .select2-container.phone-country .select2-choice {
  display: flex;
  align-items: center;
}

.form-modal .select2-container.phone-country .select2-chosen {
  display: flex;
  align-items: center;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .form-modal,
  .form-modal__panel {
    transition: opacity 120ms ease, visibility 120ms ease;
  }

  .form-modal__panel {
    transform: none;
  }
}
