/**
 * Confut Euro refactor — layout mobile-first, seções da homepage e páginas internas.
 */

/* ---------- Base / tokens ---------- */
.euro-refactor {
  --euro-orange: #e27b0c;
  --euro-orange-hover: #c96a0a;
  --euro-navy: #13294b;
  --euro-white: #fff;
  --euro-radius: 14px;
  overflow-x: hidden;
}

.euro-refactor img {
  max-width: 100%;
  height: auto;
}

/* ---------- Hero 100vh ---------- */
/* Tema: `style-event-euro.css` usa #section-hero::before (z-index) — desliga no hero refactor */
body.confut-euro-refactor .confut-euro-theme #section-hero.euro-hero::before {
  content: none !important;
  display: none !important;
}

/* Sobrescreve padding global do tema em `section` — espaço real abaixo do header absoluto */
body.confut-euro-refactor #content .euro-refactor > section.euro-hero {
  padding-top: max(6.5rem, calc(env(safe-area-inset-top, 0px) + 5.5rem));
  padding-bottom: clamp(3rem, 8vw, 4.5rem);
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 768px) {
  body.confut-euro-refactor #content .euro-refactor > section.euro-hero {
    padding-top: max(7rem, calc(env(safe-area-inset-top, 0px) + 6rem));
    padding-bottom: clamp(3.5rem, 9vh, 5.5rem);
  }
}

@media (min-width: 1200px) {
  body.confut-euro-refactor #content .euro-refactor > section.euro-hero {
    /* Mais respiro inferior “cinematográfico” sem subir o conteúdo para colidir com o header */
    padding-top: max(7.25rem, calc(env(safe-area-inset-top, 0px) + 6.25rem));
    padding-bottom: clamp(4.5rem, 11vh, 8rem);
  }
}

.euro-hero {
  position: relative;
  /* Base: uma altura de viewport; desktop/tablet aumentam abaixo */
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

/* Tablet: hero um pouco mais alta que 100vh — mais área útil e proporção menos “comprimida” */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .euro-hero {
    min-height: min(108dvh, 920px);
  }
}

/* Desktop: hero claramente mais alta + teto em ecrãs muito grandes */
@media (min-width: 1200px) {
  .euro-hero {
    min-height: min(115dvh, 1080px);
  }
}

.euro-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.euro-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 18, 40, 0.55) 0%,
    rgba(10, 18, 40, 0.78) 55%,
    rgba(10, 18, 40, 0.88) 100%
  );
}

.euro-hero__content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  width: 100%;
  /* Garante que o stack interno possa usar gap sem depender só de margin colapsada */
  padding-top: clamp(0.25rem, 1.5vh, 1.25rem);
  padding-bottom: clamp(0.25rem, 1.5vh, 1.25rem);
}

/* Stack vertical: meta → título → tagline → CTAs (espaçamento uniforme, sem “apertar”) */
body.confut-euro-refactor .euro-hero .row.justify-content-center > [class*='col-'] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.2vh, 1.5rem);
  width: 100%;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  body.confut-euro-refactor .euro-hero .row.justify-content-center > [class*='col-'] {
    gap: clamp(1.25rem, 2.8vh, 2rem);
    max-width: 52rem;
  }
}

@media (min-width: 1200px) {
  body.confut-euro-refactor .euro-hero .row.justify-content-center > [class*='col-'] {
    gap: clamp(1.5rem, 3.2vh, 2.5rem);
    max-width: 54rem;
  }
}

.euro-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.euro-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .euro-hero__meta-item {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

.euro-hero__meta-item i {
  color: var(--euro-orange);
}

.euro-hero__title {
  font-size: clamp(1.6rem, 8.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff !important;
  margin: 0;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
  text-shadow:
    0 2px 32px rgba(0, 0, 0, 0.85),
    0 1px 8px rgba(0, 0, 0, 0.9);
}

/* Tema: `.confut-euro-theme h1.text-uppercase` usa cor escura — forçar branco só no hero */
body.confut-euro-refactor .confut-euro-theme .euro-hero .euro-hero__title.text-uppercase,
body.confut-euro-refactor .confut-euro-theme .euro-hero .euro-hero__title.text-uppercase span {
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .euro-hero__title {
    font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  }
}

.euro-hero__tagline {
  font-size: clamp(0.94rem, 3.8vw, 1.28rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 clamp(0.35rem, 3vw, 1rem);
}

@media (min-width: 1200px) {
  .euro-hero__tagline {
    max-width: 44rem;
  }
}

.euro-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.85rem, 1.8vh, 1.15rem);
  width: 100%;
  max-width: 22rem;
  margin: 0;
  padding: 0 clamp(0.25rem, 2vw, 0);
}

@media (min-width: 576px) {
  .euro-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    width: auto;
    padding: 0;
    gap: clamp(0.9rem, 1.5vw, 1.25rem);
  }
}

/* Hero: mais respiro, CTAs centralizados, fundo melhor enquadrado — só ≤767px (tablet/desktop intactos) */
@media (max-width: 767.98px) {
  body.confut-euro-refactor #content .euro-refactor > section.euro-hero {
    padding-top: max(5.85rem, calc(env(safe-area-inset-top, 0px) + 5rem));
    padding-bottom: clamp(3.35rem, 11vw, 4.5rem);
  }

  .euro-hero__bg {
    background-position: center 24%;
  }

  .euro-hero .container.euro-hero__content {
    padding-left: max(1.2rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.2rem, env(safe-area-inset-right, 0px));
  }

  .euro-hero__content {
    padding-top: clamp(0.85rem, 4vw, 1.5rem);
    padding-bottom: clamp(1.1rem, 4.5vw, 1.85rem);
  }

  body.confut-euro-refactor .euro-hero .row.justify-content-center > [class*='col-'] {
    gap: clamp(1.2rem, 3.8vw, 1.75rem);
    max-width: 40rem;
  }

  .euro-hero__tagline {
    padding: 0 clamp(0.55rem, 4.5vw, 1.1rem);
    line-height: 1.72;
  }

  .euro-hero__actions {
    align-items: center;
    align-self: center;
    width: 100%;
    max-width: min(20.5rem, calc(100% - 1.75rem));
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    gap: clamp(1rem, 3vw, 1.35rem);
  }
}

/* ---------- Buttons ---------- */
.euro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  font-size: clamp(0.9rem, 3.5vw, 0.98rem);
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 576px) {
  .euro-btn {
    width: auto;
    min-width: 10.5rem;
  }
}

.euro-btn:active {
  transform: scale(0.98);
}

.euro-btn--primary {
  background: var(--euro-orange);
  color: var(--euro-white) !important;
  border-color: var(--euro-orange);
}

.euro-btn--primary:hover {
  background: var(--euro-orange-hover);
  border-color: var(--euro-orange-hover);
  color: var(--euro-white) !important;
}

.euro-btn--outline {
  background: transparent;
  color: var(--euro-white) !important;
  border-color: rgba(255, 255, 255, 0.65);
}

.euro-btn--outline:hover {
  border-color: var(--euro-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--euro-white) !important;
}

.euro-btn--lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

/* ---------- Métricas ---------- */
.euro-metrics {
  background: var(--euro-navy);
  color: var(--euro-white);
  padding: 2rem 0 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.euro-metrics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 576px) {
  .euro-metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .euro-metrics__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.euro-metrics__value {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--euro-orange);
  line-height: 1.1;
}

.euro-metrics__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  text-transform: lowercase;
  opacity: 0.92;
}

/* ---------- Faixa palavras-chave (marquee horizontal premium) ---------- */
.euro-keywords-marquee {
  --euro-kw-h: 3.65rem;
  position: relative;
  overflow: hidden;
  background: #040814;
  color: rgba(255, 255, 255, 0.92);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  min-height: var(--euro-kw-h);
  padding-block: 0;
}

.euro-keywords-marquee--premium {
  --euro-kw-h: 3.75rem;
  background: linear-gradient(180deg, #050a16 0%, #020612 45%, #010409 100%);
  border-block-color: rgba(255, 107, 53, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.euro-keywords-marquee__track {
  display: flex;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.euro-keywords-marquee__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  padding: 0.95rem 0;
  width: max-content;
  animation: euroKwMarqueeX 58s linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .euro-keywords-marquee__row {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding: 0.75rem 1rem;
    row-gap: 0.35rem;
  }
}

.euro-keywords-marquee__item {
  flex: 0 0 auto;
  font-size: clamp(0.9rem, 1.25vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

/* Separador: traço em (—), cor laranja do projeto (sem bullet/ponto) */
.euro-keywords-marquee__item::after {
  content: "\2014";
  display: inline;
  margin-left: clamp(1rem, 2.8vw, 2.5rem);
  margin-right: clamp(1rem, 2.8vw, 2.5rem);
  color: var(--euro-orange);
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: 0;
  vertical-align: 0.05em;
  opacity: 1;
}

.euro-keywords-marquee__item:last-child::after {
  display: none;
}

@keyframes euroKwMarqueeX {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 575.98px) {
  .euro-keywords-marquee {
    --euro-kw-h: 3.35rem;
  }

  .euro-keywords-marquee--premium {
    --euro-kw-h: 3.45rem;
  }

  .euro-keywords-marquee__row {
    padding: 0.8rem 0;
    animation-duration: 42s;
  }

  .euro-keywords-marquee__item {
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
    letter-spacing: 0.16em;
  }

  .euro-keywords-marquee__item::after {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    font-size: 1em;
  }
}

/* ---------- Destaque do local (full-bleed + parallax no desktop) ---------- */
/* Sobrescreve .confut-euro-theme h2.text-uppercase (azul) — título sem classe Bootstrap text-uppercase */
body.confut-euro-refactor .euro-venue-showcase h2.euro-venue-showcase__title {
  color: #fff;
  font-family: var(--event-font, system-ui, -apple-system, sans-serif);
}

.euro-venue-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: clamp(28rem, 78vh, 46rem);
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 9vw, 6.75rem) 0;
  color: #f8fafc;
}

.euro-venue-showcase__parallax {
  position: absolute;
  left: 0;
  width: 100%;
  height: 152%;
  top: -26%;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

@media (min-width: 992px) {
  .euro-venue-showcase__parallax {
    background-position: 32% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .euro-venue-showcase__parallax {
    height: 100%;
    top: 0;
    background-position: center center;
  }
}

.euro-venue-showcase__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(3, 10, 26, 0.5) 0%,
      rgba(5, 14, 32, 0.35) 42%,
      rgba(8, 18, 42, 0.82) 68%,
      rgba(10, 22, 48, 0.88) 100%
    ),
    linear-gradient(180deg, rgba(2, 6, 18, 0.25) 0%, rgba(2, 6, 18, 0.55) 100%);
  pointer-events: none;
}

.euro-venue-showcase__decor {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.euro-venue-showcase__dots {
  position: absolute;
  top: clamp(1.25rem, 4.5vw, 2.75rem);
  left: clamp(1rem, 4vw, 2.75rem);
  width: min(6.5rem, 32vw);
  height: min(7rem, 36vw);
  opacity: 0.42;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 1.5px);
  background-size: 11px 11px;
}

.euro-venue-showcase__frame {
  position: absolute;
  top: clamp(1.5rem, 5vw, 3.25rem);
  left: clamp(0.65rem, 2.5vw, 1.75rem);
  width: min(38%, 15rem);
  height: min(48%, 18rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  opacity: 0.55;
  box-shadow: 0 0 0 1px rgba(226, 123, 12, 0.08);
}

.euro-venue-showcase__accent-square {
  position: absolute;
  bottom: clamp(1.75rem, 5.5vw, 3.5rem);
  left: clamp(1rem, 4vw, 2.75rem);
  width: clamp(2.5rem, 6.5vw, 3.35rem);
  height: clamp(2.5rem, 6.5vw, 3.35rem);
  background: var(--euro-orange);
  opacity: 0.95;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.euro-venue-showcase__glow {
  position: absolute;
  top: 48%;
  right: clamp(0.5rem, 4vw, 3rem);
  width: min(26rem, 72vw);
  height: min(26rem, 72vw);
  transform: translate(15%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 130, 210, 0.22) 0%,
    rgba(19, 41, 75, 0.18) 38%,
    rgba(226, 123, 12, 0.06) 62%,
    transparent 72%
  );
}

.euro-venue-showcase__inner {
  z-index: 3;
}

.euro-venue-showcase__content {
  max-width: 38rem;
  margin-left: auto;
  margin-right: 0;
  padding: clamp(1.5rem, 3.2vw, 2.35rem) clamp(1.35rem, 2.8vw, 2rem);
  border-radius: calc(var(--euro-radius) + 2px);
  background: rgba(19, 41, 75, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.euro-venue-showcase__eyebrow {
  font-size: clamp(0.72rem, 1.65vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.85rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--euro-orange);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.euro-venue-showcase__title {
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.18;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.35rem;
  margin-top: 0;
  text-wrap: balance;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.65),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

.euro-venue-showcase__title::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--euro-orange), rgba(226, 123, 12, 0.35));
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(226, 123, 12, 0.35);
}

.euro-venue-showcase__lead {
  font-size: clamp(0.98rem, 2.05vw, 1.12rem);
  line-height: 1.82;
  letter-spacing: 0.01em;
  color: rgba(248, 250, 252, 0.96);
  margin-bottom: 0;
  max-width: 36rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991.98px) {
  .euro-venue-showcase {
    min-height: clamp(26rem, 72vh, 40rem);
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .euro-venue-showcase__content {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.15rem, 2.5vw, 1.65rem);
  }

  .euro-venue-showcase__frame {
    width: min(50%, 13rem);
    height: min(36%, 11rem);
  }

  .euro-venue-showcase__glow {
    right: -2rem;
    opacity: 0.75;
    transform: translate(8%, -50%);
  }
}

/* Venue “hub estratégico”: leitura e card mais confortáveis; decoração reduzida — só ≤767px */
@media (max-width: 767.98px) {
  .euro-venue-showcase {
    /* Mais altura útil para a foto de fundo aparecer (antes min-height:0 só seguia o card) */
    min-height: clamp(24rem, 62vh, 40rem);
    padding: clamp(2.65rem, 9vw, 3.5rem) 0 clamp(3rem, 10vw, 4rem);
  }

  /* Camada da foto maior que a secção: cover “enche” melhor o ecrã em portrait */
  .euro-venue-showcase__parallax {
    height: 122%;
    top: -11%;
    background-size: cover;
    background-position: center 38%;
  }

  @media (prefers-reduced-motion: reduce) {
    .euro-venue-showcase__parallax {
      height: 100%;
      top: 0;
      background-position: center center;
    }
  }

  .euro-venue-showcase__inner.container {
    padding-left: max(1.05rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.05rem, env(safe-area-inset-right, 0px));
  }

  .euro-venue-showcase__dots,
  .euro-venue-showcase__frame {
    display: none !important;
  }

  .euro-venue-showcase__accent-square {
    width: 1.65rem;
    height: 1.65rem;
    top: 0.85rem;
    bottom: auto;
    left: auto;
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    opacity: 0.48;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }

  .euro-venue-showcase__glow {
    right: -1.25rem;
    opacity: 0.38;
    transform: translate(18%, -42%) scale(0.78);
  }

  .euro-venue-showcase__content {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1.5rem, 5vw, 1.9rem) clamp(1.3rem, 5vw, 1.65rem);
    background: rgba(19, 41, 75, 0.56);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .euro-venue-showcase__eyebrow {
    margin-bottom: 1.05rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding-left: 0.72rem;
    border-left-width: 3px;
  }

  .euro-venue-showcase__title {
    font-size: clamp(1.12rem, 4.6vw, 1.42rem);
    line-height: 1.28;
    letter-spacing: 0.052em;
    margin-bottom: 1.2rem;
  }

  .euro-venue-showcase__title::before {
    width: 2.35rem;
    margin-bottom: 0.95rem;
  }

  .euro-venue-showcase__lead {
    font-size: clamp(0.98rem, 3.5vw, 1.06rem);
    line-height: 1.74;
    max-width: none;
    letter-spacing: 0.008em;
  }
}

@media (max-width: 575.98px) {
  .euro-venue-showcase {
    padding: 2.5rem 0 2.85rem;
  }

  .euro-venue-showcase__content {
    padding: 1.4rem 1.15rem 1.5rem;
  }

  .euro-venue-showcase__accent-square {
    width: 1.45rem;
    height: 1.45rem;
    top: 0.65rem;
    right: max(0.65rem, env(safe-area-inset-right, 0px));
    opacity: 0.42;
  }

  .euro-venue-showcase__title::before {
    width: 2.15rem;
    margin-bottom: 0.88rem;
  }
}

/* Venue: telemóveis ~521px–430px — card mais leve, menos “bloco” */
@media (max-width: 599.98px) {
  .euro-venue-showcase {
    padding: 2.25rem 0 2.55rem;
    align-items: flex-start;
  }

  .euro-venue-showcase__content {
    padding: 1.2rem 1rem 1.3rem;
    border-radius: var(--euro-radius);
    max-width: 100%;
  }

  .euro-venue-showcase__eyebrow {
    margin-bottom: 0.95rem;
  }

  .euro-venue-showcase__title {
    font-size: clamp(1.02rem, 5.1vw, 1.26rem);
    line-height: 1.24;
    letter-spacing: 0.048em;
    margin-bottom: 1rem;
  }

  .euro-venue-showcase__title::before {
    margin-bottom: 0.82rem;
  }

  .euro-venue-showcase__lead {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .euro-venue-showcase__glow {
    opacity: 0.26;
    transform: translate(24%, -36%) scale(0.62);
  }

  .euro-venue-showcase__accent-square {
    width: 1.25rem;
    height: 1.25rem;
    top: 0.55rem;
    opacity: 0.35;
  }
}

@media (max-width: 399.98px) {
  .euro-venue-showcase__inner.container {
    padding-left: max(0.8rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.8rem, env(safe-area-inset-right, 0px));
  }

  .euro-venue-showcase__content {
    padding: 1.05rem 0.9rem 1.15rem;
  }

  .euro-venue-showcase__accent-square {
    display: none !important;
  }

  .euro-venue-showcase__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    padding-left: 0.58rem;
    margin-bottom: 0.8rem;
  }

  .euro-venue-showcase__title {
    font-size: clamp(0.98rem, 5.4vw, 1.12rem);
    margin-bottom: 0.9rem;
  }

  .euro-venue-showcase__lead {
    font-size: 0.93rem;
    line-height: 1.66;
  }
}

/* ---------- Local ---------- */
.euro-location {
  padding: 4rem 0;
  background: var(--euro-white);
  color: var(--euro-navy);
}

.euro-location__kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--euro-orange);
  margin-bottom: 0.75rem;
}

.euro-location__title {
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.25;
  color: var(--euro-navy);
}

.euro-location__tagline {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2d3a4f;
  margin-bottom: 0;
  max-width: 36rem;
}

.euro-location__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2d3a4f;
}

.euro-location__visual {
  position: relative;
  border-radius: var(--euro-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(19, 41, 75, 0.12);
}

.euro-location__img--main {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.euro-location__img--secondary {
  display: none;
}

@media (min-width: 992px) {
  .euro-location__img--secondary {
    display: block;
    position: absolute;
    right: -1rem;
    bottom: -1rem;
    width: 42%;
    max-width: 260px;
    border-radius: 12px;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    aspect-ratio: 4/3;
  }
}

/* ---------- Sections ---------- */
.euro-section {
  padding: 4rem 0;
}

.euro-section--light {
  background: var(--euro-white);
}

.euro-section__title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--euro-navy);
}

.euro-section--speakers {
  position: relative;
  overflow: hidden;
}

.euro-section--speakers .euro-section__title {
  color: var(--euro-white) !important;
}

.euro-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1a33 0%, #13294b 45%, #1a3a66 100%);
  z-index: 0;
}

.euro-section--speakers .container {
  z-index: 1;
}

/* ---------- Credenciais (home + página) ---------- */
.euro-credentials {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  margin-top: 0;
}

.euro-credentials__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, #e8edf4 0%, #f4f6fa 38%, #fafbfd 100%);
  pointer-events: none;
}

.euro-credentials__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--euro-orange), transparent);
  opacity: 0.65;
}

.euro-credentials .container {
  z-index: 1;
}

.euro-credentials__head {
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.euro-credentials__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--euro-orange);
  margin-bottom: 0.65rem;
}

.euro-credentials__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--euro-navy);
  margin: 0 0 1rem;
  line-height: 1.15;
}

body.confut-euro-refactor .euro-credentials__title {
  color: var(--euro-navy);
}

.euro-credentials__title--page {
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
}

.euro-credentials__rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(90deg, var(--euro-orange), rgba(226, 123, 12, 0.25));
  border-radius: 2px;
}

.euro-credentials--page .euro-credentials__rule {
  margin-bottom: 1rem;
}

.euro-credentials__lead {
  margin: 0 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5a70;
}

.euro-credentials--page .euro-credentials__head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.euro-credentials__head--page-only .euro-credentials__intro {
  margin: 0.5rem auto 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5a70;
}

.euro-credentials__back {
  border-color: rgba(19, 41, 75, 0.35) !important;
  color: var(--euro-navy) !important;
}

.euro-credentials__back:hover {
  border-color: var(--euro-orange) !important;
  color: var(--euro-navy) !important;
  background: rgba(226, 123, 12, 0.08);
}

.euro-cred-tier-row {
  --euro-cred-tier-minh: 13.5rem;
}

.euro-cred-tier {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: var(--euro-cred-tier-minh);
  border-radius: calc(var(--euro-radius) + 4px);
  overflow: hidden;
  background: linear-gradient(165deg, #1a3358 0%, #13294b 42%, #0e1f38 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 48px rgba(19, 41, 75, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .euro-cred-tier:hover {
    transform: translateY(-6px);
    box-shadow:
      0 28px 56px rgba(19, 41, 75, 0.32),
      0 0 0 1px rgba(226, 123, 12, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(226, 123, 12, 0.35);
  }
}

.euro-cred-tier__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--euro-orange), #f0a64a);
  opacity: 0.95;
}

.euro-cred-tier--platinum .euro-cred-tier__accent {
  height: 5px;
  background: linear-gradient(90deg, #f0d78c, var(--euro-orange), #c96a0a);
  box-shadow: 0 0 20px rgba(226, 123, 12, 0.35);
}

.euro-cred-tier--corporate .euro-cred-tier__accent {
  opacity: 0.9;
}

.euro-cred-tier--standard .euro-cred-tier__accent {
  height: 3px;
  opacity: 0.85;
}

.euro-cred-tier__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  padding: clamp(1.85rem, 4vw, 2.35rem) clamp(1.35rem, 3vw, 1.85rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.euro-cred-tier__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}

.euro-cred-tier__name {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0 0 0.85rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

body.confut-euro-refactor .euro-cred-tier h3.euro-cred-tier__name {
  color: #fff !important;
}

.euro-cred-tier__note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(235, 240, 248, 0.82);
  letter-spacing: 0.02em;
  max-width: 16rem;
}

@media (max-width: 767.98px) {
  .euro-credentials {
    padding: clamp(2.75rem, 9vw, 3.5rem) 0;
  }

  .euro-cred-tier-row {
    --euro-cred-tier-minh: 12rem;
  }

  .euro-cred-tier:hover {
    transform: none;
  }
}

/* ---------- Speakers grid ---------- */
.euro-speaker-card {
  text-align: center;
}

.euro-speaker-card__photo {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.08);
}

.euro-speaker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.euro-speaker-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--euro-white);
  margin: 0 0 0.2rem;
  line-height: 1.25;
}

.euro-speaker-card__role {
  font-size: 0.72rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}

/* ---------- Vídeos (showcase home: destaque + carrossel tipo fileira) ---------- */
.euro-videos-showcase {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  color: rgba(248, 250, 252, 0.92);
}

.euro-videos-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(165deg, #060a12 0%, #0d1a2e 40%, #13294b 100%);
  pointer-events: none;
}

.euro-videos-showcase__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(226, 123, 12, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.euro-videos-showcase .container {
  position: relative;
  z-index: 1;
}

.euro-videos-showcase__head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.euro-videos-showcase__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--euro-orange);
  margin-bottom: 0.65rem;
}

.euro-videos-showcase__title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
}

body.confut-euro-refactor .euro-videos-showcase__title {
  color: #fff !important;
}

.euro-videos-showcase__rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--euro-orange), rgba(226, 123, 12, 0.2));
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(226, 123, 12, 0.25);
}

.euro-videos-showcase__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 3vw, 1.85rem);
}

.euro-videos-showcase__featured {
  width: 100%;
  max-width: min(72rem, 100%);
  margin: 0 auto;
}

.euro-video-feature__stage {
  position: relative;
  border-radius: calc(var(--euro-radius) + 8px);
  overflow: hidden;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(226, 123, 12, 0.12);
}

.euro-video-feature__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: #0a0e16;
  border-radius: inherit;
}

.euro-video-feature__thumb {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .euro-video-feature__trigger:hover .euro-video-feature__thumb {
    transform: scale(1.03);
  }
}

.euro-video-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.2) 0%, rgba(6, 10, 18, 0.65) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .euro-video-feature__trigger:hover .euro-video-feature__overlay {
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.25) 0%, rgba(6, 10, 18, 0.72) 100%);
  }
}

.euro-video-feature__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.euro-video-feature__play::before {
  content: "";
  position: absolute;
  width: clamp(4.25rem, 12vw, 5.5rem);
  height: clamp(4.25rem, 12vw, 5.5rem);
  border-radius: 50%;
  background: rgba(226, 123, 12, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 28px rgba(226, 123, 12, 0.35);
  z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
  .euro-video-feature__trigger:hover .euro-video-feature__play {
    transform: scale(1.06);
    filter: drop-shadow(0 0 12px rgba(226, 123, 12, 0.6));
  }
}

.euro-video-feature__embed {
  position: relative;
  width: 100%;
  background: #000;
}

.euro-video-feature__iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}

.euro-video-feature__caption {
  margin: 1.15rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: rgba(248, 250, 252, 0.95);
  text-align: center;
  line-height: 1.4;
}

/* Carrossel horizontal (thumbnails — scrollbar invisível, drag desktop no JS) */
.euro-videos-carousel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  max-width: min(72rem, 100%);
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .euro-videos-carousel::before,
  .euro-videos-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0.35rem;
    width: clamp(1.25rem, 4vw, 2.75rem);
    z-index: 2;
    pointer-events: none;
  }

  .euro-videos-carousel::before {
    left: calc(2.35rem + 0.2rem);
    background: linear-gradient(90deg, rgba(6, 10, 18, 0.97) 0%, rgba(6, 10, 18, 0) 100%);
  }

  .euro-videos-carousel::after {
    right: calc(2.35rem + 0.2rem);
    background: linear-gradient(270deg, rgba(6, 10, 18, 0.97) 0%, rgba(6, 10, 18, 0) 100%);
  }
}

.euro-videos-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0 0.65rem;
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .euro-videos-carousel__viewport {
    cursor: grab;
  }

  .euro-videos-carousel__viewport.is-dragging {
    cursor: grabbing;
  }
}

.euro-videos-carousel__viewport:focus-visible {
  box-shadow: 0 0 0 2px rgba(226, 123, 12, 0.55);
  border-radius: 10px;
}

.euro-videos-carousel__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.euro-videos-carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  width: max-content;
  padding: 0.35rem 0.25rem 0.5rem;
  user-select: none;
  -webkit-user-select: none;
}

.euro-videos-carousel .euro-video-thumb {
  flex: 0 0 auto;
  width: min(11rem, 78vw);
  scroll-snap-align: start;
}

@media (min-width: 480px) {
  .euro-videos-carousel .euro-video-thumb {
    width: min(11.75rem, 44vw);
  }
}

@media (min-width: 768px) {
  .euro-videos-carousel .euro-video-thumb {
    width: min(13rem, 32vw);
  }
}

@media (min-width: 992px) {
  .euro-videos-carousel .euro-video-thumb {
    width: 13.25rem;
  }
}

.euro-videos-carousel__arrow {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  align-self: center;
  margin-bottom: 0.55rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(13, 26, 46, 0.92);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 3;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .euro-videos-carousel__arrow {
    display: flex;
  }
}

@media (hover: hover) and (pointer: fine) {
  .euro-videos-carousel__arrow:hover {
    background: rgba(226, 123, 12, 0.25);
    border-color: rgba(226, 123, 12, 0.55);
    color: #fff;
    box-shadow: 0 0 18px rgba(226, 123, 12, 0.2);
  }
}

.euro-videos-carousel__arrow:focus-visible {
  outline: 2px solid var(--euro-orange);
  outline-offset: 2px;
}

.euro-video-thumb__btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0.2rem;
  margin: -0.2rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: calc(var(--euro-radius) + 2px);
  -webkit-tap-highlight-color: transparent;
}

.euro-video-thumb__media {
  position: relative;
  display: block;
  border-radius: calc(var(--euro-radius) + 2px);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition:
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.euro-video-thumb__img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.euro-video-thumb__shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.45);
  transition: background 0.3s ease;
  pointer-events: none;
}

.euro-video-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.euro-video-thumb__play::before {
  content: "";
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(226, 123, 12, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: -1;
}

.euro-video-thumb__label {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(220, 228, 240, 0.82);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .euro-video-thumb__btn:hover .euro-video-thumb__media {
    border-color: rgba(226, 123, 12, 0.5);
    box-shadow:
      0 20px 44px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(226, 123, 12, 0.35),
      0 0 24px rgba(226, 123, 12, 0.12);
    transform: translateY(-4px) scale(1.02);
  }

  .euro-video-thumb__btn:hover .euro-video-thumb__img {
    transform: scale(1.06);
  }

  .euro-video-thumb__btn:hover .euro-video-thumb__shade {
    background: rgba(4, 8, 16, 0.32);
  }

  .euro-video-thumb__btn:hover .euro-video-thumb__play {
    transform: scale(1.1);
  }

  .euro-video-thumb__btn:hover .euro-video-thumb__label {
    color: rgba(248, 250, 252, 0.95);
  }
}

.euro-video-thumb.is-active .euro-video-thumb__media {
  border-color: rgba(226, 123, 12, 0.95);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(226, 123, 12, 0.65),
    0 0 32px rgba(226, 123, 12, 0.28);
  transform: translateY(-2px);
}

.euro-video-thumb.is-active .euro-video-thumb__label {
  color: #fff;
}

.euro-video-thumb.is-active .euro-video-thumb__shade {
  background: rgba(4, 8, 16, 0.28);
}

/* Legado (outras páginas, se existirem) */
.euro-video-card__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--euro-radius);
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.euro-video-card__thumb {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.euro-video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 2.5rem;
  transition: background 0.2s;
  pointer-events: none;
}

.euro-video-card__trigger:hover .euro-video-card__play {
  background: rgba(0, 0, 0, 0.5);
}

.euro-video-card__caption {
  margin-top: 0.65rem;
  font-weight: 600;
  color: var(--euro-navy);
  font-size: 0.95rem;
}

.euro-video-card__iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: var(--euro-radius);
}

.euro-video-card__placeholder {
  aspect-ratio: 16/9;
  border-radius: var(--euro-radius);
  background: linear-gradient(145deg, #e8ecf2, #d4dbe6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.euro-video-card__placeholder-text {
  font-weight: 800;
  color: var(--euro-navy);
  margin-bottom: 0.35rem;
}

/* ---------- CTA + Social (texto branco) ---------- */
.euro-cta-social {
  background: linear-gradient(100deg, #0f1f3d 0%, #13294b 50%, #0d2847 100%) !important;
  padding: 3.5rem 0 !important;
  overflow-x: clip;
}

.euro-cta-social__row {
  min-width: 0;
}

.euro-cta-social__copy,
.euro-cta-social__actions {
  min-width: 0;
}

/* Garante contraste sobre o gradiente (evita herdar azul escuro de .confut-euro-theme h2) */
.confut-euro-theme .euro-cta-social h2.euro-cta-social__title,
.euro-cta-social__title {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
}

.confut-euro-theme .euro-cta-social p.euro-cta-social__text,
.euro-cta-social__text {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 1.05rem;
  line-height: 1.55;
}

.euro-cta-social__btn {
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(232, 98, 51, 0.32);
}

.euro-cta-social__btn:hover {
  box-shadow: 0 6px 22px rgba(232, 98, 51, 0.42);
  transform: translateY(-1px);
}

.euro-cta-social__btn:active {
  transform: scale(0.98);
}

.euro-cta-social__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .euro-cta-social__social {
    justify-content: flex-end;
  }
}

.euro-social-link {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.euro-social-link__icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.euro-social-link:hover {
  background: var(--euro-orange);
  border-color: var(--euro-orange);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 98, 51, 0.35);
}

.euro-social-link:focus-visible {
  outline: 2px solid var(--euro-orange);
  outline-offset: 3px;
}

/* ---------- Newsletter (dobra final — faixa navy, 2 colunas, painel formulário) ---------- */
.euro-newsletter {
  position: relative;
  overflow-x: clip;
  padding: clamp(3.25rem, 8vw, 5.75rem) 0 !important;
  background: linear-gradient(118deg, #0a1628 0%, #13294b 42%, #0d2847 72%, #0a1f3d 100%) !important;
  color: #fff;
}

.euro-newsletter__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 88% 12%, rgba(226, 123, 12, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 8% 88%, rgba(255, 255, 255, 0.06), transparent 50%);
}

.euro-newsletter__inner {
  z-index: 1;
}

.euro-newsletter__row {
  min-width: 0;
}

.euro-newsletter__copy,
.euro-newsletter__form-col {
  min-width: 0;
}

.euro-newsletter__header {
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.euro-newsletter__accent {
  width: 4px;
  min-height: 4.75rem;
  margin-right: 1.25rem;
  flex-shrink: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--euro-orange) 0%, #f0a030 100%);
  box-shadow: 0 0 20px rgba(226, 123, 12, 0.35);
}

.euro-newsletter__head-text {
  flex: 1;
  min-width: 0;
}

.confut-euro-theme .euro-newsletter .euro-newsletter__title,
.euro-newsletter .euro-newsletter__title {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.confut-euro-theme .euro-newsletter .euro-newsletter__subtitle,
.euro-newsletter .euro-newsletter__subtitle {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 38ch;
}

.euro-newsletter__panel {
  border-radius: var(--euro-radius);
  padding: clamp(1.35rem, 3.5vw, 2.1rem);
  background: rgba(19, 41, 75, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

@supports (backdrop-filter: blur(12px)) {
  .euro-newsletter__panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.euro-newsletter__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.45rem;
}

.euro-newsletter__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.euro-newsletter__field {
  min-width: 0;
}

.euro-newsletter__consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding-top: 0.15rem;
}

.euro-newsletter__checkbox {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background-color: #fff;
  cursor: pointer;
  accent-color: var(--euro-orange);
}

.euro-newsletter__consent-label {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 0;
}

.euro-newsletter__input {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(19, 41, 75, 0.12);
  padding: 0.7rem 1.15rem;
  background: #fff;
  color: var(--euro-navy);
  font-weight: 500;
  width: 100%;
  box-sizing: border-box;
}

.euro-newsletter__input::placeholder {
  color: #7a8799;
}

.euro-newsletter__input:focus {
  border-color: var(--euro-orange);
  box-shadow: 0 0 0 3px rgba(226, 123, 12, 0.25);
  outline: none;
}

.euro-newsletter__submit {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px;
  margin-top: 0.35rem;
  border-radius: 12px;
  font-size: 1.02rem;
  box-shadow: 0 4px 18px rgba(226, 123, 12, 0.35);
}

.euro-newsletter__submit:hover {
  box-shadow: 0 6px 22px rgba(226, 123, 12, 0.45);
}

.euro-newsletter__hint {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 1rem;
}

.euro-newsletter__feedback {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.euro-newsletter .euro-newsletter__feedback.text-success {
  color: #9ef0c0 !important;
}

.euro-newsletter .euro-newsletter__feedback.text-danger {
  color: #ffb8b8 !important;
}

/* Só mobile: texto + painel centrados; a partir de md = texto à esquerda, formulário à direita */
@media (max-width: 767.98px) {
  .euro-newsletter__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .euro-newsletter__accent {
    width: min(5rem, 42vw);
    height: 4px;
    min-height: 0;
    margin-right: 0;
    margin-bottom: 1.25rem;
  }

  .euro-newsletter__head-text {
    text-align: center;
    max-width: 36rem;
    margin-inline: auto;
  }

  .confut-euro-theme .euro-newsletter .euro-newsletter__subtitle,
  .euro-newsletter .euro-newsletter__subtitle {
    max-width: none;
    margin-inline: auto;
  }

  .euro-newsletter__panel {
    max-width: min(36rem, 100%);
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .euro-newsletter__copy {
    padding-right: clamp(0.5rem, 2vw, 1.5rem);
  }

  .euro-newsletter__form-col {
    padding-left: clamp(0.5rem, 2vw, 1.5rem);
  }
}

body.confut-euro-refactor #content .euro-refactor > section.euro-newsletter {
  padding-top: clamp(3.25rem, 8vw, 5.75rem) !important;
  padding-bottom: clamp(3.25rem, 8vw, 5.75rem) !important;
}

.text-success {
  color: #1e7e4a !important;
}

.text-danger {
  color: #c62828 !important;
}

/* ---------- Página interna: hero comum ---------- */
.euro-page-hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
  /* Base mais escura no rodapé para “colar” visualmente na faixa do FAQ (tema escuro) */
  background: linear-gradient(118deg, #0a1628 0%, #13294b 42%, #0b1018 100%);
  color: #fff;
}

.euro-page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(226, 123, 12, 0.18), transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 100%);
}

.euro-page-hero .container {
  position: relative;
  z-index: 1;
}

.confut-euro-theme .euro-page-hero .euro-page-hero__title,
.euro-page-hero__title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff !important;
  line-height: 1.15;
}

.euro-page-hero__sub {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

/* ---------- Página interna: programação ---------- */
.euro-schedule-page {
  position: relative;
  overflow-x: clip;
  min-height: min(72vh, 820px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  background: linear-gradient(155deg, #0a1628 0%, #13294b 42%, #0e2240 100%);
  color: #fff;
}

.euro-schedule-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 35%, rgba(226, 123, 12, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 88% 65%, rgba(255, 255, 255, 0.06) 0%, transparent 42%);
}

.euro-schedule-page__gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 52px,
      rgba(255, 255, 255, 0.04) 52px,
      rgba(255, 255, 255, 0.04) 53px
    );
}

.euro-schedule-page__orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.euro-schedule-page__orb--1 {
  width: min(42vw, 280px);
  height: min(42vw, 280px);
  top: 8%;
  right: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(226, 123, 12, 0.12), transparent 65%);
}

.euro-schedule-page__orb--2 {
  width: min(28vw, 160px);
  height: min(28vw, 160px);
  bottom: 12%;
  left: 5%;
  border-color: rgba(226, 123, 12, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.euro-schedule-page__inner {
  text-align: center;
  z-index: 1;
  width: 100%;
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.euro-schedule-page__context {
  margin: 0 auto 0.5rem;
  font-size: clamp(0.75rem, 1.7vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
}

.euro-schedule-page__kicker {
  margin: 0 auto;
  font-size: clamp(2.15rem, 7vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  color: #fff !important;
}

.euro-schedule-page__lead {
  margin: 1.35rem auto 0;
  max-width: 32rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.euro-schedule-page__rule {
  width: min(12rem, 55vw);
  height: 3px;
  margin: 2rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--euro-orange), transparent);
  opacity: 0.9;
}

.euro-schedule-page__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  margin-top: 2rem;
  padding: 0 0.25rem;
}

.euro-schedule-page__chip {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.euro-schedule-page__cta {
  text-align: center;
}

/* ---------- FAQ ---------- */
.euro-faq-wrap {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 4.5rem);
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 22%, #ffffff 100%);
}

.euro-faq {
  max-width: 760px;
  margin: 0 auto;
}

.euro-faq__item {
  border-bottom: 1px solid rgba(19, 41, 75, 0.1);
}

.euro-faq__item:first-child {
  border-top: 1px solid rgba(19, 41, 75, 0.1);
}

.euro-faq__question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 0;
  background: none;
  border: none;
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  font-weight: 700;
  color: var(--euro-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  min-height: 52px;
  transition: color 0.2s ease;
}

.euro-faq__question:hover {
  color: #0d2847;
}

.euro-faq__question::after {
  content: '+';
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--euro-orange);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}

.euro-faq__item.is-open .euro-faq__question::after {
  content: '−';
  transform: rotate(180deg);
}

.euro-faq__answer {
  padding: 0 0 1.25rem;
  color: #3d4f66;
  line-height: 1.68;
  font-size: 0.98rem;
}

.euro-faq__answer:not([hidden]) {
  animation: euro-faq-answer-in 0.3s ease;
}

@keyframes euro-faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.euro-faq__answer a {
  color: var(--euro-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.euro-faq__answer a:hover {
  color: var(--euro-orange-hover);
}

.euro-faq__answer[hidden] {
  display: none;
}

/* FAQ no tema escuro: .dark-scheme section (#000) vence o gradiente claro — texto claro + divisores visíveis */
body.confut-euro-refactor.dark-scheme section.euro-faq-wrap {
  background: linear-gradient(180deg, #0d1219 0%, #06090e 38%, #030508 100%) !important;
}

body.confut-euro-refactor.dark-scheme .euro-faq__item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.confut-euro-refactor.dark-scheme .euro-faq__item:first-child {
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.confut-euro-refactor.dark-scheme .euro-faq__question {
  color: rgba(255, 255, 255, 0.94);
}

body.confut-euro-refactor.dark-scheme .euro-faq__question:hover {
  color: #ffffff;
}

body.confut-euro-refactor.dark-scheme .euro-faq__answer {
  color: #9aa3b0;
  font-weight: 400;
}

@media only screen and (max-width: 576px) {
  .euro-faq-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .euro-faq-wrap .container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .euro-faq__question {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 0.75rem;
    align-items: flex-start;
    text-align: left;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .euro-faq__question::after {
    margin-top: 0.15em;
  }

  .euro-faq__answer {
    padding-right: 0.25rem;
    font-size: 0.95rem;
  }
}

/* ---------- Header refactor (layout + mobile overlay) ---------- */
body.confut-euro-refactor header:not(.euro-site-header) {
  position: static !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  width: auto !important;
  max-width: none;
  z-index: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none;
}

.euro-header__bar {
  position: relative;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(10, 18, 40, 0.88) 0%,
    rgba(10, 18, 40, 0.72) 70%,
    rgba(10, 18, 40, 0.55) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.euro-header__container {
  max-width: 1320px;
}

.euro-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  min-height: 64px;
  padding: 0.55rem 0;
}

.euro-header__brand {
  flex: 0 0 auto;
  min-width: 0;
}

.euro-header__logo-link {
  display: inline-block;
  line-height: 0;
}

.euro-header__logo-img {
  display: block;
  height: auto;
}

@media (min-width: 992px) {
  .euro-header__inner {
    display: grid;
    grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem 1.25rem;
    min-height: 64px;
    padding: 0.42rem 0;
  }

  .euro-header__brand {
    justify-self: start;
  }

  .euro-header__actions {
    justify-self: end;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .euro-header__menu.euro-nav {
    gap: 0.35rem 1.1rem;
  }

  .euro-header__menu .euro-header__menu-link {
    font-size: 0.88rem;
    padding: 0.85rem 0.15rem !important;
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__cta.euro-cta-cred {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
  }
}

.euro-header__nav {
  min-width: 0;
}

@media (min-width: 992px) {
  .euro-header__nav {
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    justify-self: center;
    width: 100%;
    max-width: 720px;
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    inset: auto !important;
  }

  .euro-header__nav-scrim {
    display: none !important;
  }

  .euro-header__nav-panel {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    inset: auto !important;
    flex: 1;
  }

  .euro-header__nav,
  .euro-header__nav-scrim,
  .euro-header__nav-panel,
  .euro-header__menu-item,
  .euro-header__toggle-bar {
    transition: none;
  }

  body.euro-nav--open .euro-header__menu-item {
    transform: none;
    opacity: 1;
  }

  /* Só mobile: rótulo + CTA no painel não aparecem na barra desktop */
  .euro-header__nav-label,
  .euro-header__nav-footer {
    display: none !important;
  }
}

@media (max-width: 991px) {
  /*
   * Menu mobile: overlay abaixo da barra (scrim não cobre logo/hamburger).
   * Logo + ações ficam acima do overlay (z-index) para o X e o CTA funcionarem.
   * Neutraliza `header.header-mobile { overflow: hidden }` do style.css do tema.
   */
  body.confut-euro-refactor header.euro-site-header.header-mobile {
    overflow: visible !important;
  }

  /*
   * CRÍTICO: backdrop-filter na barra cria containing block para position:fixed dos filhos.
   * O <nav> fica “preso” à altura da barra (~64px) → painel do menu sai do sítio / não aparece no telemóvel.
   * Fundo sólido mantém o look premium sem blur.
   */
  body.confut-euro-refactor header.euro-site-header.header-mobile .euro-header__bar {
    background: rgba(10, 18, 40, 0.97) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
  }

  body.euro-nav--open .euro-header__inner > .euro-header__brand,
  body.euro-nav--open .euro-header__inner > .euro-header__actions {
    position: relative;
    z-index: 12003;
  }

  /*
   * Painel com position:absolute + top/bottom (não flex-grow): em viewports estreitas o flex
   * com max-height:100% + min-height:0 podia colapsar o painel (lista “some”, só vê-se a hero).
   */
  .euro-header__nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12001;
    display: block !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    visibility: hidden;
    pointer-events: none;
  }

  /* Nav não intercepta cliques na barra: só scrim + painel recebem toque */
  body.euro-nav--open .euro-header__nav {
    visibility: visible;
    pointer-events: none;
  }

  body.euro-nav--open .euro-header__nav .euro-header__nav-scrim,
  body.euro-nav--open .euro-header__nav .euro-header__nav-panel {
    pointer-events: auto;
  }

  .euro-header__nav-scrim {
    display: block !important;
    position: absolute;
    z-index: 0;
    top: var(--euro-bar-h, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 0;
    background: rgba(4, 10, 24, 0.72);
    opacity: 0;
    transition: opacity 0.32s ease;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  body.euro-nav--open .euro-header__nav-scrim {
    opacity: 1;
  }

  .euro-header__nav-panel {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    top: var(--euro-bar-h, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 0;
    max-height: none;
    background: linear-gradient(188deg, #0a1428 0%, #0f2444 42%, #13294b 100%);
    padding:
      1.35rem max(1.15rem, env(safe-area-inset-right, 0px)) calc(1.35rem + env(safe-area-inset-bottom, 0px))
      max(1.15rem, env(safe-area-inset-left, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(12px);
    opacity: 0;
    transition:
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease;
    box-shadow:
      0 -8px 40px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(226, 123, 12, 0.2);
    border-top: 1px solid rgba(226, 123, 12, 0.28);
    border-radius: 16px 16px 0 0;
  }

  body.euro-nav--open .euro-header__nav-panel {
    transform: translateY(0);
    opacity: 1;
  }

  .euro-header__nav-label {
    margin: 0 0 1.1rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(226, 123, 12, 0.95);
  }

  .euro-header__nav-footer {
    margin-top: auto;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__nav-cta {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    box-sizing: border-box;
  }

  /* Tema: `header.header-mobile #mainmenu li:last-child { margin-bottom: 30px }` — remove no Euro */
  body.confut-euro-refactor header.euro-site-header.header-mobile #mainmenu.euro-header__menu .euro-header__menu-item:last-child {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 400px) {
  .euro-header__nav-panel {
    padding-top: 1.15rem;
    padding-left: max(0.92rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.92rem, env(safe-area-inset-right, 0px));
    border-radius: 12px 12px 0 0;
  }
}

.euro-header__menu.euro-nav,
#mainmenu.euro-header__menu.euro-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

@media (min-width: 992px) {
  .euro-header__menu.euro-nav,
  #mainmenu.euro-header__menu.euro-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem 1.65rem;
  }
}

@media (max-width: 991px) {
  .euro-header__menu.euro-nav,
  #mainmenu.euro-header__menu.euro-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
}

.euro-header__menu .euro-header__menu-link.menu-item,
body.confut-euro-refactor header.euro-site-header .euro-header__menu-link.menu-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 600;
  font-size: clamp(0.88rem, 2.8vw, 0.98rem);
  letter-spacing: 0.01em;
  text-decoration: none !important;
  border-radius: 8px;
  padding: 0.68rem 0.2rem !important;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

@media (min-width: 992px) {
  .euro-header__menu .euro-header__menu-link.menu-item {
    padding: 0.72rem 0.15rem !important;
  }
}

.euro-header__menu .euro-header__menu-link.menu-item.active {
  color: var(--euro-orange) !important;
}

.euro-header__menu .euro-header__menu-link.menu-item:not(.active):hover,
.euro-header__menu .euro-header__menu-link.menu-item:not(.active):focus-visible {
  color: #fff !important;
}

.euro-header__menu .euro-header__menu-link.menu-item.active:hover,
.euro-header__menu .euro-header__menu-link.menu-item.active:focus-visible {
  color: var(--euro-orange-hover) !important;
}

@media (min-width: 992px) {
  .euro-header__menu .euro-header__menu-link.menu-item {
    justify-content: center;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  }

  .euro-header__menu .euro-header__menu-item:last-child .euro-header__menu-link {
    margin-right: 0;
  }

  .euro-header__menu .euro-header__menu-link.menu-item::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0.32rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    opacity: 0.9;
  }

  .euro-header__menu .euro-header__menu-link.menu-item:hover::after,
  .euro-header__menu .euro-header__menu-link.menu-item:focus-visible::after {
    transform: scaleX(1);
  }

  .euro-header__menu .euro-header__menu-link.menu-item.active::after {
    transform: scaleX(1);
    background: var(--euro-orange);
  }
}

@media (max-width: 991px) {
  .euro-header__menu-item {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.38s ease,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.euro-nav--open .euro-header__menu-item {
    opacity: 1;
    transform: translateY(0);
  }

  body.euro-nav--open .euro-header__menu-item:nth-child(1) {
    transition-delay: 0.05s;
  }
  body.euro-nav--open .euro-header__menu-item:nth-child(2) {
    transition-delay: 0.1s;
  }
  body.euro-nav--open .euro-header__menu-item:nth-child(3) {
    transition-delay: 0.15s;
  }
  body.euro-nav--open .euro-header__menu-item:nth-child(4) {
    transition-delay: 0.2s;
  }

  .euro-header__menu .euro-header__menu-link.menu-item {
    justify-content: flex-start;
    width: 100%;
    padding: 0.85rem 0.5rem !important;
    min-height: 48px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .euro-header__menu .euro-header__menu-link.menu-item::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .euro-header__nav-scrim,
  .euro-header__nav-panel,
  .euro-header__menu-item,
  .euro-header__toggle-bar {
    transition: none !important;
  }

  body.euro-nav--open .euro-header__menu-item {
    opacity: 1;
    transform: none;
  }
}

.euro-header__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.65rem;
  flex: 0 0 auto;
}

body.confut-euro-refactor header.euro-site-header .euro-header__actions.menu_side_area {
  margin-left: 0;
}

.euro-header__toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.22s ease,
    transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.euro-header__toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.euro-header__toggle:focus-visible {
  outline: 2px solid var(--euro-orange);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .euro-header__toggle {
    display: inline-flex;
  }
}

.euro-header__toggle-box {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.euro-header__toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease,
    top 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.euro-header__toggle-bar:nth-child(1) {
  top: 0;
}

.euro-header__toggle-bar:nth-child(2) {
  top: 7px;
}

.euro-header__toggle-bar:nth-child(3) {
  top: 14px;
}

body.euro-nav--open .euro-header__toggle-bar:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

body.euro-nav--open .euro-header__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.euro-nav--open .euro-header__toggle-bar:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

body.confut-euro-refactor header.euro-site-header .euro-header__actions a.euro-cta-cred {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.25rem;
  background-color: #e27b0c;
  background-image: none;
  color: #fff;
  border: 2px solid #e27b0c;
  border-radius: 999px;
  font-weight: 700;
  width: auto;
  max-width: 100%;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(0.8rem, 2.6vw, 0.95rem);
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

body.confut-euro-refactor header.euro-site-header .euro-header__actions a.euro-cta-cred:hover {
  background-color: #c96a0a;
  border-color: #c96a0a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.confut-euro-refactor header.euro-site-header .euro-header__actions a.euro-cta-cred:active {
  transform: translateY(0);
}

body.confut-euro-refactor header.euro-site-header .euro-header__actions a.euro-cta-cred:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Header + CTA: evitar corte no telefone (≤767px); telemóveis muito estreitos abaixo */
@media (max-width: 767.98px) {
  body.confut-euro-refactor header.euro-site-header .euro-header__bar {
    overflow-x: hidden;
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__container.container {
    padding-left: max(0.65rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
  }

  .euro-header__inner {
    gap: 0.35rem 0.45rem;
    min-height: 54px;
    padding: 0.48rem 0;
  }

  .euro-header__brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .euro-header__logo-link {
    display: block;
    max-width: 100%;
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__logo-img {
    max-width: min(128px, 34vw) !important;
    width: auto !important;
    height: auto !important;
  }

  .euro-header__actions {
    flex: 0 1 auto;
    min-width: 0;
    gap: 0.35rem 0.45rem;
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__actions a.euro-cta-cred {
    padding: 0.42rem 0.68rem;
    min-height: 42px;
    font-size: clamp(0.72rem, 2.8vw, 0.84rem);
    letter-spacing: 0.012em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  }

  .euro-header__toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}

@media (max-width: 400px) {
  body.confut-euro-refactor header.euro-site-header .euro-header__logo-img {
    max-width: min(118px, 31vw) !important;
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__actions a.euro-cta-cred {
    padding: 0.38rem 0.55rem;
    min-height: 40px;
    font-size: clamp(0.68rem, 2.9vw, 0.78rem);
  }
}

@media (max-width: 359.98px) {
  body.confut-euro-refactor header.euro-site-header .euro-header__container.container {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__logo-img {
    max-width: min(108px, 30vw) !important;
  }

  body.confut-euro-refactor header.euro-site-header .euro-header__actions a.euro-cta-cred {
    padding: 0.34rem 0.48rem;
    min-height: 38px;
    font-size: clamp(0.64rem, 3.2vw, 0.74rem);
  }

  .euro-header__toggle {
    width: 42px;
    height: 42px;
  }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

/* ---------- Header sobre o hero + z-index ---------- */
body.confut-euro-refactor #wrapper {
  position: relative;
  z-index: 0;
}

body.confut-euro-refactor header.euro-site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 12000 !important;
  isolation: isolate;
  background: transparent !important;
}

body.confut-euro-refactor header.euro-site-header.smaller,
body.confut-euro-refactor header.euro-site-header.header-mobile {
  z-index: 12000 !important;
}

@media only screen and (max-width: 992px) {
  body.confut-euro-refactor header.euro-site-header.header-mobile {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
  }

  body.confut-euro-refactor header.euro-site-header.header-mobile.menu-open {
    height: auto !important;
  }

  body.confut-euro-refactor header.euro-site-header.header-mobile .euro-header__bar {
    background: rgba(10, 18, 40, 0.97) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    transform: none !important;
    filter: none !important;
  }
}

body.confut-euro-refactor.dark-scheme header.euro-site-header.smaller .euro-header__bar {
  background: rgba(19, 41, 75, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.confut-euro-refactor #content {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding-top: 0 !important;
}

/*
 * Primeira secção (credenciais, programação, FAQ): folga sob o header position:absolute.
 * — Desktop (≥993px): mais respiro para título não colar no menu.
 * — Mobile (≤992px): mantém valores atuais; !important evita perder para #content section:first-of-type do tema.
 */
@media (min-width: 993px) {
  body.confut-euro-refactor #content .euro-refactor > section:first-of-type:not(.euro-hero) {
    padding-top: max(13.75rem, calc(env(safe-area-inset-top, 0px) + 11.75rem));
  }
}

@media only screen and (max-width: 992px) {
  body.confut-euro-refactor #content .euro-refactor > section:first-of-type:not(.euro-hero) {
    padding-top: max(10.5rem, 168px, calc(env(safe-area-inset-top, 0px) + 9rem)) !important;
  }
}

body.confut-euro-refactor .euro-refactor > section {
  position: relative;
  z-index: 0;
}

body.confut-euro-refactor .euro-newsletter,
body.confut-euro-refactor .euro-newsletter__panel {
  z-index: 0;
}
