.fce-banner {
  --fce-transition: 2000ms;
  background: #153b64;
  color: #fff;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* O widget de shortcode fica dentro de um container flex do Elementor. O antigo
 * Loop Carousel recebia largura por CSS próprio; o shortcode precisa declarar
 * a mesma ocupação para não colapsar a zero. */
.elementor-element-e5f9ded,
.elementor-element-e5f9ded > .elementor-widget-container,
.elementor-element-e5f9ded .elementor-shortcode {
  flex: 0 0 100% !important;
  max-width: none !important;
  width: 100% !important;
}

.fce-banner__viewport,
.fce-banner__slide,
.fce-banner__picture,
.fce-banner__image,
.fce-banner__wash {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.fce-banner__slide {
  pointer-events: none;
  z-index: 1;
}

.fce-banner__slide.is-active {
  pointer-events: auto;
  z-index: 2;
}

.fce-banner__picture,
.fce-banner__wash {
  opacity: 0;
  transition: opacity var(--fce-transition) ease-in-out;
}

.fce-banner__slide.is-active .fce-banner__picture,
.fce-banner__slide.is-active .fce-banner__wash {
  opacity: 1;
}

.fce-banner .fce-banner__image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 8s ease-out;
  width: 100%;
}

.fce-banner__slide.is-active .fce-banner__image { transform: scale(1); }

.fce-banner__wash {
  background: linear-gradient(90deg, #0055a4 0%, #fff 50%, #ef4135 100%);
  mix-blend-mode: multiply;
  opacity: .62;
  z-index: 3;
}

.fce-banner__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 110px 7vw 150px;
  position: absolute;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: none;
  z-index: 5;
}

/* A fotografia faz o crossfade completo de 2 s, mas o conteúdo textual entra
 * uma única vez. Assim nomes e CTAs de duas experiências nunca se sobrepõem. */
.fce-banner__slide.is-active .fce-banner__content {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

.fce-banner__title {
  align-items: baseline;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-family: "Varela Round", "Trebuchet MS", sans-serif;
  font-size: clamp(2.7rem, 5.1vw, 5rem);
  font-weight: 600;
  gap: .18em;
  justify-content: center;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.fce-banner__lead {
  animation: fce-gradient 10s ease infinite;
  background: linear-gradient(270deg, #25b0f5, #f54f7b, #fff, #25b0f5);
  background-clip: text;
  background-size: 600% 600%;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.28));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fce-banner .fce-banner__title,
.fce-banner .fce-banner__name {
  color: #fff !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.58));
  opacity: 1 !important;
}

.fce-banner__cta {
  backdrop-filter: blur(8px);
  background: rgba(188,12,52,.9);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  color: #fff;
  display: inline-flex;
  font-family: "Varela Round", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 28px;
  padding: 13px 22px;
  text-decoration: none;
  transform: translateY(8px);
  transition: background .25s ease, transform .25s ease;
}

.fce-banner .fce-banner__cta { color: #fff !important; opacity: 1 !important; }

.fce-banner__cta:hover,
.fce-banner__cta:focus-visible {
  background: #bc0c34;
  color: #fff;
  outline: 3px solid rgba(255,255,255,.8);
  outline-offset: 3px;
  transform: translateY(4px);
}

.fce-banner__waves {
  bottom: -1px;
  height: clamp(85px, 11vw, 155px);
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 8;
}

.fce-banner__waves svg { display: block; height: 100%; width: 100%; }
.fce-banner__wave--back { fill: rgba(255,255,255,.62); }
.fce-banner__wave--middle { fill: rgba(232,241,246,.93); }
.fce-banner__wave--front { fill: #fff; }

.fce-banner__control {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.fce-banner__control:focus {
  background: #fff;
  border: 0;
  border-radius: 4px;
  clip: auto;
  clip-path: none;
  color: #173c63;
  height: auto;
  padding: 10px 14px;
  top: 120px;
  width: auto;
  z-index: 20;
}

.fce-banner__control--previous:focus { left: 20px; }
.fce-banner__control--next:focus { right: 20px; }
.fce-sr-only { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.fce-banner-empty { padding: 32px; text-align: center; }

@keyframes fce-gradient {
  0%,100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 767px) {
  .fce-banner { min-height: 650px; }
  .fce-banner__content { padding: 90px 22px 130px; }
  .fce-banner__title { font-size: clamp(2rem, 9vw, 3rem); gap: .16em; }
  .fce-banner__cta { font-size: .92rem; margin-top: 22px; padding: 12px 18px; }
  .fce-banner__waves { height: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .fce-banner__picture, .fce-banner__wash { transition-duration: .01ms; }
  .fce-banner__content, .fce-banner__image, .fce-banner__lead { animation: none; transition: none; }
}
