@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand palette and shared design tokens */
  --brand: #eb4e40;
  --brand-dark: #d12624;
  --brand-soft: #fff2ec;
  --accent: #ecd285;
  --ink: #2a1f20;
  --text: #3a2a2b;
  --muted: #7a6360;
  --line: #ead7cf;
  --bg: #f5f0eb;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --header-height: 104px;
}

* {
  box-sizing: border-box;
}

/* Base document styles */
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  background:
    linear-gradient(rgba(240, 78, 62, 0.4), rgba(240, 78, 62, 0.9)),
    url("../img/Fundo-optimized.webp") center/cover no-repeat;
  border-bottom: 0;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9932f 0%, #f5de8a 35%, #fff3bf 50%, #e4bc60 68%, #be852a 100%);
  pointer-events: none;
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: auto;
  display: block;
}

.brand-logo--aviludo {
  height: 88px;
}

.brand-logo--campaign {
  height: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 9px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav a {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.2rem 0.25rem;
  transition: opacity 0.2s ease;
}

.header-nav a:hover {
  opacity: 0.82;
}

/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  min-height: calc(100svh - var(--header-height));
  padding: 6rem 0 4.5rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(239, 211, 137, 0.36), transparent 36%),
    radial-gradient(circle at 78% 58%, rgba(235, 78, 64, 0.34), transparent 44%),
    radial-gradient(circle at 15% 12%, rgba(235, 78, 64, 0.3), transparent 40%),
    linear-gradient(158deg, #5a2730 0%, #7d2f32 45%, #3f2831 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  grid-template-areas:
    "copy media"
    "actions media";
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.hero-kicker,
.section-kicker {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: #2f3a4d;
}

.hero h1 {
  margin: 1.15rem 0 0;
  font-size: clamp(2.35rem, 4.8vw, 4.3rem);
  line-height: 1.02;
  color: #f9fcff;
  max-width: 14ch;
}

.hero-lead {
  margin: 1.65rem 0 0;
  color: #f5ded6;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.54;
  max-width: 60ch;
}

.hero-lines {
  margin: 2.55rem 0 0;
  color: #f9fcff;
  font-size: clamp(1.2rem, 2.2vw, 1.95rem);
  line-height: 1.2;
  font-weight: 800;
}

.hero-value {
  color: #eb4f40;
  font-weight: 900;
}

.hero-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-inline-42 {
  width: min(186px, 36vw);
  height: auto;
  border-radius: 10px;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.84rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(240, 78, 62, 0.3);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.05);
}

.btn-light {
  color: #3a2a2b;
  border-color: #e7d6cd;
  background: #ffffff;
}

.btn-light:hover {
  background: #fff6f2;
}

.hero-media--logo {
  grid-area: media;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  min-height: 0;
}

.hero-actions--layout {
  grid-area: actions;
  margin-top: 0.2rem;
}

.hero-video-dummy {
  width: auto;
  height: min(88vh, 700px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  box-shadow: 0 18px 40px rgba(36, 24, 27, 0.44), 0 0 0 1px rgba(233, 196, 122, 0.12);
}

.hero--v2 .hero-media--logo {
  min-height: 0;
}

.hero--v2 .hero-video-dummy {
  width: min(100%, 720px);
}

/* Wrapper de posicionamento para o botão de som */
.hero-video-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

/* Botão mute/unmute sobre o vídeo */
.video-sound-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
}

.video-sound-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.08);
}

/* Estado inicial: muted → mostra xmark, oculta volume-high */
.video-sound-btn .fa-volume-high { display: none !important; }

/* Estado unmuted → mostra volume-high, oculta xmark */
.video-sound-btn.is-unmuted .fa-volume-xmark { display: none !important; }
.video-sound-btn.is-unmuted .fa-volume-high { display: inline-block !important; }

/* Generic section styles */
.section {
  padding: 6.3rem 0;
}

.section-soft {
  background: #fff8f4;
}

.section-head h2 {
  margin: 0.65rem 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.03;
}

.section-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.campaign-copy {
  color: var(--ink);
  font-weight: 800;
}

.campaign-copy .hero-value {
  color: #eb4f40;
}

/* Participation and mechanics */
.mechanics-lead {
  margin: 0 auto 3rem;
  text-align: center;
  font-size: clamp(1.55rem, 3.1vw, 2.25rem);
  font-weight: 900;
  color: var(--ink);
  /* max-width: 28ch; */
}

#participar {
  position: relative;
  background: #ffffff;
}

.participar-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.participar-card {
  position: relative;
  border: 1px solid #d5deea;
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 1.35rem 1.3rem 1.45rem;
  text-align: center;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.participar-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(240, 78, 62, 0), rgba(240, 78, 62, 0.35), rgba(240, 78, 62, 0));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.participar-card:hover {
  transform: none;
  border-color: #d5deea;
  box-shadow: none;
}

.participar-card:hover::after {
  opacity: 0;
}

.participar-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 999px;
  background: #f04e3e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(240, 78, 62, 0.28);
  animation: iconFloat 3.2s ease-in-out infinite;
}

.participar-card h3 {
  margin: 1.3rem 0 0;
  color: #1a263b;
  font-size: clamp(1.05rem, 1.5vw, 1.38rem);
  line-height: 1.26;
}

.participar-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.participar-card:nth-child(2) .participar-icon {
  animation-delay: 0.2s;
}

.participar-card:nth-child(3) .participar-icon {
  animation-delay: 0.4s;
}

.participar-card:nth-child(4) .participar-icon {
  animation-delay: 0.6s;
}

.participar-card:nth-child(5) .participar-icon {
  animation-delay: 0.8s;
}

.participar-card:nth-child(6) .participar-icon {
  animation-delay: 1s;
}

.stats-strip {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat-pill {
  border: 3px solid transparent;
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  min-height: 100px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #c9932f 0%, #f5de8a 35%, #fff3bf 50%, #e4bc60 68%, #be852a 100%) border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.stat-pill strong {
  color: #c42b1f;
  font-size: 2rem;
  line-height: 1;
}

.stat-pill span {
  color: #7a5f5a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.mechanics-flow {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.mechanic-node {
  border: 1px solid rgba(240, 78, 62, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(240, 78, 62, 0.4), rgba(240, 78, 62, 0.9)),
    url("../img/Fundo-optimized.webp") center/cover no-repeat;
  color: #ffffff;
  padding: 1.25rem 1.15rem;
  min-height: 220px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.mechanic-node:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(206, 47, 35, 0.34);
}

.mechanic-node__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff1ed;
  color: #d3382b;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.mechanic-node h4 {
  margin: 0.85rem 0 0;
  color: #ffffff;
  font-size: 1.42rem;
  line-height: 1.2;
}

.mechanic-node p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.5;
}

#mecanica {
  margin-top: 3rem;
  padding-top: 3.4rem;
  padding-bottom: 1rem;
  border-top: 0;
}

/* FAQ section */
#faq {
  background: #ffffff;
  border-top: 0;
  border-bottom: 0;
  padding-top: 6.6rem;
  padding-bottom: 6.6rem;
}

.faq-accordion {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.faq-trigger {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3a2a2b;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: left;
  padding: 1.05rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-trigger span {
  flex: 1;
}

.faq-chevron {
  width: 1.05rem;
  height: 1.05rem;
  color: #f04e3e;
  transition: transform 0.24s ease;
  flex: 0 0 auto;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.24s ease;
}

.faq-item.is-open .faq-panel {
  opacity: 1;
}

.faq-panel p {
  margin: 0;
  padding: 0.45rem 1.1rem 1rem;
  color: #7a6360;
  line-height: 1.56;
}

/* Regulation and contact blocks */
.section-regulamento {
  background: #fce6d8;
  border-top: 1px solid #f2cbc5;
  border-bottom: 1px solid #f2cbc5;
}

.regulamento-card {
  border: 1px solid #ecd8cf;
  border-radius: 24px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: #ffffff;
}

.regulamento-card h2 {
  margin: 0.65rem 0 0;
  color: #2a1f20;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.regulamento-card p {
  margin: 0.95rem 0 0;
  color: #7a6360;
  max-width: 68ch;
  line-height: 1.58;
}

.regulamento-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-contactos {
  background: #fce6d8;
  border-top: 1px solid #ecd8cf;
  border-bottom: 1px solid #ecd8cf;
}

.contactos-grid {
  margin-top: 0.8rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: block;
  text-align: center;
}

.contacto-card h3 {
  margin: 0.2rem 0 0;
  color: #2a1f20;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  line-height: 1.3;
}

.contacto-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #f04e3e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contacto-icon .icon {
  width: 1.08rem;
  height: 1.08rem;
}

.contacto-card p {
  margin: 0;
  color: #7a6360;
}

.contacto-value {
  color: #2a1f20 !important;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 1rem !important;
  overflow-wrap: anywhere;
}

.contacto-meta {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.85rem !important;
  margin-bottom: 0.25rem !important;
}

.contacto-email-inline {
  display: inline-block;
  margin-top: 1.15rem;
  color: #2a1f20;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contacto-email-inline:hover {
  color: #cf2e21;
}

/* CTA strip and footer */
.cta {
  padding: 3.5rem 0;
  color: #ffffff;
  background:
    linear-gradient(rgba(240, 78, 62, 0.4), rgba(240, 78, 62, 0.9)),
    url("../img/Fundo-optimized.webp") center/cover no-repeat;
  border-top: 2px solid var(--brand);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.section-kicker--on-dark {
  color: #ffb5aa;
}

.cta h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.07;
}

.cta p {
  margin: 0.8rem 0 0;
  color: #f1d9cf;
  font-size: 1.08rem;
}

.btn-icon-only {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
}

.btn-icon-only .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.cta-top-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  animation: ctaArrowFloat 1.35s ease-in-out infinite;
}

.cta-top-link .icon {
  width: 1.3rem;
  height: 1.3rem;
}

@keyframes ctaArrowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.landing-footer {
  background: #000000;
  color: #ffffff;
  padding: 0.85rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
}

.footer-legal a {
  color: #ffffff;
  font-weight: 700;
}

.footer-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner p a,
.footer-links a {
  color: #ffffff;
  font-weight: 700;
}

.footer-inner p a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.footer-links span {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.82rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social a {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a .icon {
  width: 28px;
  height: 28px;
}

.footer-social a .icon.footer-social-fa {
  width: auto;
  height: auto;
  font-size: 1.4rem;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.cta-legal a:hover {
  text-decoration: underline;
}

/* Generic reveal animation helpers */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal[data-reveal="left"] {
  transform: translateX(24px);
}

.reveal[data-reveal="right"] {
  transform: translateX(-24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "actions";
    gap: 2rem;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-media--logo {
    min-height: 280px;
  }

  .participar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mechanics-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    min-height: 72px;
    padding: 0.55rem 0;
    align-items: center;
    gap: 0.6rem;
  }

  .brand-logo--aviludo {
    height: 42px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.6rem 1rem 0.9rem;
    background:
      linear-gradient(rgba(240, 78, 62, 0.95), rgba(240, 78, 62, 0.95)),
      url("../img/Fundo-optimized.webp") center/cover no-repeat;
    border-bottom: 1px solid rgba(236, 210, 133, 0.38);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transform-origin: top center;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .header-nav a {
    font-size: 0.95rem;
    min-height: 40px;
    padding: 0.3rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.14s ease, transform 0.14s ease;
  }

  .header-nav a:last-child {
    border-bottom: 0;
  }

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

  .site-header.is-menu-open .header-nav a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header.is-menu-open .header-nav a:nth-child(1) {
    transition-delay: 0s;
  }

  .site-header.is-menu-open .header-nav a:nth-child(2) {
    transition-delay: 0s;
  }

  .site-header.is-menu-open .header-nav a:nth-child(3) {
    transition-delay: 0s;
  }

  .section {
    padding: 4.8rem 0;
  }

  .hero {
    padding: 4rem 0 1.25rem;
  }

  .hero-grid {
    gap: 0.8rem;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    margin-top: 0.75rem;
    font-size: clamp(2.02rem, 8.8vw, 2.62rem);
    max-width: 100%;
    line-height: 1.06;
  }

  .hero-lead {
    margin-top: 1.15rem;
    font-size: 1rem;
  }

  .hero-lines {
    margin-top: 1.2rem;
    font-size: clamp(0.98rem, 4.3vw, 1.14rem);
    line-height: 1.34;
    max-width: 34ch;
  }

  .hero-actions {
    margin-top: 1.25rem;
    gap: 0.65rem;
    justify-content: center;
    width: 100%;
  }

  .hero-actions--layout {
    margin-top: 1.25rem !important;
  }

  .hero-inline-42 {
    width: min(154px, 42vw);
  }

  .hero-media--logo {
    min-height: 0;
    margin-top: 1.25rem;
    margin-bottom: 0;
  }

  .hero-video-dummy {
    width: 100%;
    height: auto;
    max-width: none;
    border-radius: 14px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero--v2 .hero-video-dummy {
    width: 100%;
    height: auto;
    max-width: none;
  }

  .stats-strip,
  .participar-grid,
  .mechanics-flow,
  .contactos-grid {
    grid-template-columns: 1fr;
  }

  .participar-card {
    padding: 1.15rem 1rem 1.2rem;
  }

  .participar-icon {
    width: 74px;
    height: 74px;
    font-size: 1.65rem;
  }

  .participar-card h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
  }

  .participar-card p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
  }

  .mechanic-node {
    min-height: 0;
    padding: 1rem;
  }

  .stat-pill strong {
    font-size: clamp(1.45rem, 7vw, 1.75rem);
    width: 100%;
    text-align: center;
  }

  .stat-pill span {
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .stat-pill {
    align-items: center;
    text-align: center;
  }

  .mechanic-node h4 {
    font-size: 1.14rem;
    line-height: 1.26;
    text-align: center;
  }

  .mechanic-node__tag {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }

  .mechanic-node p {
    font-size: 0.95rem;
    text-align: center;
  }

  .faq-trigger {
    padding: 0.95rem 0.8rem;
    font-size: 1rem;
  }

  .faq-panel p {
    padding: 0.3rem 0.8rem 0.9rem;
    font-size: 0.95rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.95rem;
  }

  .cta-right {
    align-items: center;
  }

  .btn-icon-only {
    width: 52px;
    height: 52px;
  }

  .cta-top-link {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(1180px, calc(100% - 1.4rem));
  }

  .header-nav a {
    font-size: 0.9rem;
    min-height: 38px;
    padding: 0.25rem 0.15rem;
  }

  .hero {
    padding-top: 4.2rem;
    padding-bottom: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(1.88rem, 8.7vw, 2.24rem);
    line-height: 1.08;
  }

  .hero-lines {
    margin-top: 1.05rem;
    font-size: clamp(0.94rem, 4.5vw, 1.04rem);
    line-height: 1.34;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .section-head h2 {
    font-size: clamp(1.56rem, 8.3vw, 2.1rem);
  }

  .section-note,
  .mechanics-lead,
  .cta p {
    font-size: 0.98rem;
  }

  .section-note.campaign-copy {
    font-size: clamp(1.18rem, 4.9vw, 1.42rem);
    line-height: 1.25;
    font-weight: 800;
    margin-top: 1rem;
  }

  .mechanics-lead.campaign-copy {
    font-size: clamp(1.38rem, 5.6vw, 1.72rem);
    line-height: 1.22;
    margin-bottom: 2rem;
    max-width: 22ch;
  }

  .stats-strip {
    gap: 0.7rem;
  }

  .faq-item {
    border-radius: 14px;
  }

  .regulamento-card {
    border-radius: 18px;
    padding: 1.1rem 1rem;
  }

  .contacto-email-inline {
    font-size: 0.94rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
  }

  .footer-social {
    margin-top: 0.1rem;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .faq-panel,
  .faq-trigger,
  .btn,
  .participar-card,
  .mechanic-node,
  .footer-social a,
  .participar-icon,
  .cta-top-link,
  .header-nav,
  .nav-toggle span {
    animation: none !important;
    transition: none !important;
  }
}
