/* PALETA E BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Faixa + header fixos: âncoras não ficam escondidas atrás do menu */
  scroll-padding-top: clamp(88px, 18vw, 118px);
}

/* Acessibilidade: atalho para leitores de ecrã e teclado (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  clip: auto;
  overflow: visible;
  white-space: normal;
  background: #0b0f17;
  color: #ffe39b;
  border: 2px solid var(--gold, #e4c56e);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Foco visível para teclado (melhora sobre o outline por defeito do browser) */
:focus-visible {
  outline: 2px solid var(--gold, #e4c56e);
  outline-offset: 3px;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #151a24 0, #05070b 45%, #020308 100%);
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 320px) {
  body {
    min-width: 320px;
  }
}

p {
  margin: 0;
}

.iber-landing {
  overflow-x: hidden;
  --bg-main: #05070b;
  --bg-card: #0b0f17;
  --bg-card-soft: #10141e;
  --gold: #e4c56e;
  --gold-strong: #d4af37;
  --text-main: #ffffff;
  --text-muted: #b0b6c5;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.75);
  --scarcity-strip-height: 42px;
}

/* Faixa de escassez – colada ao header, sem sobrepor; altura fixa para encaixe perfeito */
.scarcity-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--scarcity-strip-height);
  min-height: var(--scarcity-strip-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 max(12px, env(safe-area-inset-left)) 0 max(12px, env(safe-area-inset-right));
  padding-top: max(0px, env(safe-area-inset-top));
  box-sizing: border-box;
  background: linear-gradient(90deg, #0d0f14 0%, #1a1510 30%, #1f1a0a 50%, #1a1510 70%, #0d0f14 100%);
  border-bottom: 1px solid rgba(228, 197, 110, 0.25);
  z-index: 91;
}

.scarcity-strip-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scarcityScroll 28s linear infinite;
  will-change: transform;
}

.scarcity-text {
  white-space: nowrap;
  padding-right: 3rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(10px, 2vw, 13px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(228, 197, 110, 0.3);
}

@keyframes scarcityScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scarcity-strip-track {
    animation: none;
  }
  .scarcity-strip-track .scarcity-text:last-child {
    display: none;
  }
}

/* Faixa + header: responsivo em todas as telas */
@media (max-width: 640px) {
  .iber-landing {
    --scarcity-strip-height: 38px;
  }
  .scarcity-text {
    font-size: 10px;
    letter-spacing: 0.06em;
    padding-right: 2rem;
  }
  .scarcity-strip-track {
    animation-duration: 22s;
  }
}

@media (max-width: 380px) {
  .iber-landing {
    --scarcity-strip-height: 36px;
  }
  .scarcity-text {
    font-size: 9px;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1920px) {
  .iber-landing {
    --scarcity-strip-height: 46px;
  }
  .scarcity-text {
    font-size: 14px;
  }
}

/* CABEÇALHO – colado logo abaixo da faixa (sem gap, sem sobrepor) */
.iber-header {
  position: fixed;
  top: var(--scarcity-strip-height);
  left: 0;
  right: 0;
  z-index: 80;
  padding: 14px 18px;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
  background: linear-gradient(to bottom, rgba(5, 7, 11, 0.96), rgba(5, 7, 11, 0.7), transparent);
  backdrop-filter: blur(18px);
}

/* Conteúdo inicia logo abaixo do bloco faixa + header */
.iber-landing {
  padding-top: var(--scarcity-strip-height);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.iber-logo-img {
  display: block;
  height: 48px;
  width: auto;
}

@media (min-width: 900px) {
  .iber-logo-img {
    height: 44px;
  }
}

@media (max-width: 480px) {
  .iber-logo-img {
    height: 36px;
  }
}

.iber-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
}

.iber-nav a {
  text-decoration: none;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.iber-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-toggle-input {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: #ffffff;
  border-radius: 999px;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
  }

  .iber-nav {
    position: fixed;
    inset: 60px 16px auto 16px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(21, 26, 36, 1), rgba(5, 7, 11, 0.98));
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-toggle-input:checked ~ .iber-nav {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .iber-nav a {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
}

/* SEÇÕES E TIPOGRAFIA */
.iber-section {
  position: relative;
  padding: 80px 20px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
}

/* Linha flare branca entre seções – brilho central que afina nas pontas */
.iber-section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 15%,
    rgba(255, 255, 255, 0.2) 35%,
    rgba(255, 255, 255, 0.5) 48%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.5) 52%,
    rgba(255, 255, 255, 0.2) 65%,
    rgba(255, 255, 255, 0.06) 85%,
    transparent 100%
  );
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.2),
    0 0 40px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.iber-section:nth-of-type(2) {
  animation-delay: 0.12s;
}
.iber-section:nth-of-type(3) {
  animation-delay: 0.18s;
}
.iber-section:nth-of-type(4) {
  animation-delay: 0.24s;
}
.iber-section:nth-of-type(5) {
  animation-delay: 0.3s;
}
.iber-section:nth-of-type(6) {
  animation-delay: 0.36s;
}
.iber-section:nth-of-type(7) {
  animation-delay: 0.42s;
}

.iber-section.authority {
  background: #08090b;
}

@media (min-width: 992px) {
  .iber-section {
    padding: 110px 40px;
  }
}

.iber-section .section-header {
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.iber-section h1,
.iber-section h2,
.iber-section h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.iber-section h2 {
  font-size: clamp(22px, 3vw, 30px);
}

/* HERO FULLSCREEN COM BACKGROUND */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 20px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(0, 0, 0, 0.4), transparent 55%),
    linear-gradient(to bottom, rgba(5, 7, 11, 0.9) 0%, rgba(5, 7, 11, 0.7) 40%, rgba(5, 7, 11, 0.96) 100%),
    url("../images/hero-enrico-iber-select.png") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left, rgba(0, 0, 0, 0.5) 0, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 70px;
  }

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

.hero-copy h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(14px, 2.1vw, 16px);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero-sub {
    margin: 0 auto;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .hero-ctas {
    justify-content: center;
  }
}

/* BOTÕES */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 38px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  color: #111;
  background: linear-gradient(135deg, #f5d58b 0%, #e4c56e 40%, #d4af37 100%);
  background-size: 200% 200%;
  box-shadow:
    0 0 0 1px rgba(228, 197, 110, 0.35),
    0 0 24px rgba(228, 197, 110, 0.45);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-position 0.35s ease, transform 0.2s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Fio de flare dourado em volta – mais forte no centro, fina para as pontas */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(228, 197, 110, 0.15) 12%,
    rgba(228, 197, 110, 0.65) 35%,
    rgba(228, 197, 110, 0.9) 50%,
    rgba(228, 197, 110, 0.65) 65%,
    rgba(228, 197, 110, 0.15) 88%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.95;
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(228, 197, 110, 0.5),
    0 0 36px rgba(228, 197, 110, 0.95);
  border-color: var(--gold-strong);
}

.btn-primary:hover::before {
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(228, 197, 110, 0.25) 12%,
    rgba(228, 197, 110, 0.75) 35%,
    rgba(255, 220, 130, 1) 50%,
    rgba(228, 197, 110, 0.75) 65%,
    rgba(228, 197, 110, 0.25) 88%,
    transparent 100%
  );
}

/* Lâminas de reflexo a passar continuamente */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120%;
  left: -10%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 42%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.45) 58%,
    transparent 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: shimmerBlade 2.6s ease-in-out 0s infinite;
}

@keyframes shimmerBlade {
  0% {
    transform: translateX(-100%);
    opacity: 0.6;
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after {
    animation: none;
    opacity: 0.5;
  }
}

.btn-primary.full {
  width: 100%;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  background: transparent;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
  
  /* TRÍADE DE AUTORIDADE – textura fibra de carbono */
  .authority-inner {
    max-width: min(980px, 94vw);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 32px) clamp(20px, 5vw, 40px);
    border-radius: clamp(12px, 2.5vw, 16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background-color: #0f1114;
    background-image:
      repeating-linear-gradient(
        45deg,
        transparent 0,
        transparent 2px,
        rgba(255, 255, 255, 0.035) 2px,
        rgba(255, 255, 255, 0.035) 3px
      ),
      repeating-linear-gradient(
        -45deg,
        transparent 0,
        transparent 2px,
        rgba(255, 255, 255, 0.035) 2px,
        rgba(255, 255, 255, 0.035) 3px
      );
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    text-align: center;
  }
  .authority-text {
    font-size: clamp(10px, 1.8vw, 13px);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
  }
  .authority-logos {
    display: flex;
    gap: clamp(24px, 5vw, 48px);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 clamp(8px, 2vw, 16px);
  }
  .authority-logos img {
    height: clamp(52px, 12vw, 110px);
    width: auto;
    max-height: 110px;
    object-fit: contain;
    opacity: 0.92;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  }

  /* Carrossel de times – authority: imagens inteiras dentro do container, sem aumentar nada */
  .authority-carousel {
    position: relative;
    width: 100%;
    max-width: min(980px, 94vw);
    margin: 0 auto;
    padding: 0 clamp(36px, 6vw, 52px);
    overflow: hidden;
    box-sizing: border-box;
  }

  .authority-track {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: clamp(8px, 1.5vw, 16px) 0;
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 0;
  }

  .authority-track::-webkit-scrollbar {
    display: none;
  }

  .authority-slide {
    flex: 0 0 auto;
    width: clamp(64px, 14vw, 100px);
    height: clamp(64px, 14vw, 100px);
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
  }

  .authority-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-sizing: border-box;
    opacity: 0.92;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    display: block;
  }

  .authority-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: auto;
    width: clamp(36px, 8vw, 44px);
    height: clamp(36px, 8vw, 44px);
    border-radius: 50%;
    border: 1px solid rgba(228, 197, 110, 0.5);
    background: rgba(10, 12, 16, 0.9);
    color: var(--gold);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .authority-arrow:hover {
    background: rgba(228, 197, 110, 0.15);
    border-color: var(--gold);
  }

  .authority-arrow-prev {
    left: 0;
  }

  .authority-arrow-next {
    right: 0;
  }

  @media (max-width: 640px) {
    .authority-carousel {
      padding: 0 40px;
    }
    .authority-slide {
      width: clamp(56px, 18vw, 80px);
      height: clamp(56px, 18vw, 80px);
    }
  }

  @media (max-width: 380px) {
    .authority-carousel {
      padding: 0 32px;
    }
    .authority-arrow {
      width: 32px;
      height: 32px;
      font-size: 20px;
    }
    .authority-slide {
      width: 52px;
      height: 52px;
    }
  }

  /* EMBAIXADOR – carrossel */
  .iber-section.ambassador {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: auto;
    padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-right));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .iber-section.ambassador .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(24px, 4vw, 48px);
    flex-shrink: 0;
  }

  .ambassador-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  .ambassador-carousel {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .ambassador-slides {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-height: 100%;
    flex: 1;
    min-height: 0;
  }

  .ambassador-slide {
    display: none;
    animation: ambassadorFadeIn 0.4s ease;
    height: auto;
  }

  .ambassador-slide.active {
    display: flex;
    align-items: center;
    min-height: 0;
  }

  @keyframes ambassadorFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .ambassador-slide .grid-2 {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
    min-height: 0;
  }

  .ambassador-slide .ambassador-copy {
    min-width: 0;
    min-height: 0;
  }

  .ambassador-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(228, 197, 110, 0.5);
    background: rgba(10, 12, 16, 0.85);
    color: var(--gold);
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .ambassador-arrow:hover {
    background: rgba(228, 197, 110, 0.15);
    border-color: var(--gold);
  }

  .ambassador-arrow-prev {
    left: 0;
  }

  .ambassador-arrow-next {
    right: 0;
  }

  @media (max-width: 1100px) {
    .ambassador-carousel {
      padding: 0 48px;
    }
    .ambassador-arrow-prev { left: 4px; }
    .ambassador-arrow-next { right: 4px; }
  }

  .ambassador-media {
    min-width: 0;
    overflow: hidden;
    border-radius: 28px;
    -webkit-border-radius: 28px;
    clip-path: inset(0 round 28px);
    -webkit-clip-path: inset(0 round 28px);
    aspect-ratio: 4 / 5;
    width: 100%;
    max-height: clamp(320px, 72vh, 640px);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
  }

  .ambassador-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 28px;
    -webkit-border-radius: 28px;
    box-shadow: var(--shadow-soft);
  }

  .ambassador-copy h2 {
    font-size: clamp(24px, 3.2vw, 40px);
    margin-bottom: clamp(12px, 1.5vw, 20px);
    line-height: 1.25;
  }

  .ambassador-copy p {
    color: var(--text-muted);
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  }

  .ambassador-highlight {
    margin-top: clamp(12px, 1.8vw, 20px);
    padding-left: 18px;
    border-left: 2px solid var(--gold);
    color: var(--text-main);
    font-size: clamp(14px, 1.5vw, 16px);
  }

  .ambassador-copy .link-secondary {
    margin-top: clamp(12px, 1.8vw, 20px);
    font-size: 14px;
  }

  @media (max-width: 900px) {
    .ambassador-slide .grid-2 {
      grid-template-columns: 1fr;
      gap: clamp(20px, 3vw, 32px);
    }
    .ambassador-carousel { height: auto; min-height: 0; }
    .ambassador-media {
      aspect-ratio: 3 / 4;
      max-height: clamp(300px, 66vh, 520px);
      border-radius: 24px;
      -webkit-border-radius: 24px;
      clip-path: inset(0 round 24px);
      -webkit-clip-path: inset(0 round 24px);
    }
    .ambassador-media img {
      border-radius: 24px;
      -webkit-border-radius: 24px;
    }
  }

  @media (max-width: 640px) {
    .iber-section.ambassador {
      padding: max(20px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
    }
    .ambassador-carousel { padding: 0 44px; height: auto; min-height: 0; }
    .ambassador-arrow-prev { left: 0; }
    .ambassador-arrow-next { right: 0; }
    .ambassador-media {
      aspect-ratio: 10 / 13;
      max-height: clamp(260px, 58vh, 420px);
      border-radius: 20px;
      -webkit-border-radius: 20px;
      clip-path: inset(0 round 20px);
      -webkit-clip-path: inset(0 round 20px);
    }
    .ambassador-media img {
      border-radius: 20px;
      -webkit-border-radius: 20px;
    }
    .ambassador-copy h2 {
      font-size: clamp(22px, 5.5vw, 28px);
    }
    .ambassador-copy p {
      font-size: clamp(14px, 4vw, 16px);
      -webkit-line-clamp: 4;
    }
    .ambassador-highlight {
      font-size: clamp(13px, 3.5vw, 15px);
    }
  }

  @media (max-width: 380px) {
    .iber-section.ambassador {
      padding-top: max(16px, env(safe-area-inset-top));
      padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
    .ambassador-carousel { height: auto; min-height: 0; }
    .ambassador-media {
      aspect-ratio: 1 / 1.35;
      max-height: clamp(220px, 52vh, 320px);
      border-radius: 16px;
      -webkit-border-radius: 16px;
      clip-path: inset(0 round 16px);
      -webkit-clip-path: inset(0 round 16px);
    }
    .ambassador-media img {
      border-radius: 16px;
      -webkit-border-radius: 16px;
    }
  }

  .grid-2 {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (max-width: 900px) {
    .grid-2 {
      grid-template-columns: 1fr;
    }
  }
  .link-secondary {
    display: inline-flex;
    margin-top: 18px;
    font-size: 13px;
    color: var(--gold);
    text-decoration: none;
  }
  .link-secondary:hover {
    text-decoration: underline;
  }
  
  /* MÉTODO / CARDS */
  .cards-3 {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
  @media (max-width: 900px) {
    .cards-3 {
      grid-template-columns: 1fr;
    }
  }
  .iber-card {
    background: radial-gradient(circle at top, rgba(228, 197, 110, 0.08), #0b0f17);
    border-radius: var(--radius-lg);
    padding: 0;
    border: 1px solid rgba(228, 197, 110, 0.35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
  }

  .iber-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 1px solid rgba(228, 197, 110, 0.2);
  }

  .iber-card-media .iber-card-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85);
  }

  .card-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    width: 400px;
    height: 400px;
  }

  .card-icon-overlay img {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9))
            drop-shadow(0 8px 24px rgba(0, 0, 0, 0.75))
            drop-shadow(0 0 40px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 2px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 3px rgba(228, 197, 110, 0.5));
  }

  .card-icon-overlay .icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid var(--gold);
    background: transparent;
  }

  .iber-card-copy {
    padding: 20px 20px 24px;
    text-align: center;
  }

  .iber-card-copy h3 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .iber-card-copy p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  .iber-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .iber-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
  }
  
  /* ÍCONES SIMPLES (PLACEHOLDER) */
  .icon {
    width: 24px;
    height: 24px;
    border-radius: 10px;
    border: 1px solid rgba(228, 197, 110, 0.7);
  }

  .iber-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    border-color: rgba(228, 197, 110, 0.4);
  }

  /* ========== MÉTODO SELECT – escudos/placas douradas (insígnias, sem imagens) ========== */
  .iber-section.metodo {
    position: relative;
    background: #0a0c10;
  }

  .metodo-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-top: 1px solid rgba(228, 197, 110, 0.12);
    border-bottom: 1px solid rgba(228, 197, 110, 0.12);
  }

  .iber-section.metodo .section-header,
  .method-cards,
  .method-cta {
    position: relative;
    z-index: 1;
  }

  .iber-section.metodo .section-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .method-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    justify-items: center;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
  }

  /* Opção 2 — Badge premium: conteúdo centralizado e responsivo */
  .iber-card.method-panel {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 260px;
    min-height: 0;
    margin: 0 auto;
  }

  .iber-card.method-panel:hover {
    transform: translateY(-4px);
  }

  .iber-card.method-panel:hover .method-panel-frame {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  }

  /* Moldura: ao centro; badge preenche a altura */
  .method-panel-frame {
    width: 240px;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
    padding: 6px;
    background: linear-gradient(180deg, #fff3b0 0%, #c79c2b 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
  }

  /* Badge: todo o conteúdo ao centro */
  .method-panel-badge {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg, #f5d67a 0%, #d4af37 40%, #a67613 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
    padding: 10px 10px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Brilho radial (igual à imagem) */
  .method-panel-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 60%
    );
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
    pointer-events: none;
  }

  /* Inner: tudo ao centro (horizontal e vertical) */
  .method-panel-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px 10px 4px;
    text-align: center;
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
    gap: 0;
    min-height: 0;
    margin: 0 auto;
  }

  /* Estrelas: ao centro */
  .method-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 12px auto 4px;
    flex-shrink: 0;
    min-height: 1.5em;
    padding: 2px 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .method-stars span {
    font-size: clamp(12px, 2.5vw, 14px);
    color: #0d0f14;
    line-height: 1;
    display: inline-block;
  }

  .method-stars span:nth-child(1) { transform: translateY(0.18em); }
  .method-stars span:nth-child(2) { transform: translateY(0.08em); }
  .method-stars span:nth-child(3) { transform: translateY(0); }
  .method-stars span:nth-child(4) { transform: translateY(0.08em); }
  .method-stars span:nth-child(5) { transform: translateY(0.18em); }

  /* Ícone: ao centro; img centralizada */
  .method-panel-icon {
    width: 100%;
    max-width: 200px;
    height: 192px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -18px auto -28px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .method-panel-icon img {
    width: 100%;
    height: 100%;
    max-width: 192px;
    max-height: 192px;
    object-fit: contain;
    object-position: center;
    filter: brightness(0);
    opacity: 0.88;
    transform: translateY(-12px);
    display: block;
    margin: 0 auto;
  }

  /* Copy: ao centro, alinhado ao ícone */
  .method-panel-badge .iber-card-copy {
    padding: 0;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    margin-top: -36px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 1 auto;
    min-height: 5.75em;
    box-sizing: border-box;
  }

  .method-panel-badge .iber-card-copy h3 {
    font-size: clamp(11px, 2.2vw, 13px);
    font-weight: 700;
    color: #111;
    margin: 0 auto 4px;
    text-transform: none;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.25;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
  }

  .method-panel-badge .iber-card-copy p {
    font-size: clamp(10px, 2vw, 11px);
    line-height: 1.4;
    color: #1a1a1a;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    box-sizing: border-box;
  }

  .method-cta {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .method-cta-text {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
  }

  .method-cta .btn-primary {
    min-width: 280px;
  }

  @media (max-width: 900px) {
    .method-cards {
      grid-template-columns: 1fr;
      gap: 24px;
      justify-items: center;
    }
    .iber-card.method-panel {
      max-width: 260px;
    }
  }

  @media (max-width: 640px) {
    .iber-section.metodo .section-header {
      margin-bottom: 28px;
    }
    .method-cards {
      gap: 20px;
    }
    .iber-card.method-panel {
      max-width: 220px;
    }
    .method-panel-frame {
      width: 220px;
      max-width: 100%;
      padding: 5px;
    }
    .method-panel-badge {
      padding: 8px 8px 20px;
    }
    .method-panel-inner {
      max-width: 180px;
      padding: 2px 8px 4px;
    }
    .method-stars {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      margin: 10px 0 4px 0;
      min-height: 1.25em;
      width: 100%;
      text-align: center;
      flex-shrink: 0;
      padding: 2px 0;
    }
    .method-stars span {
      font-size: 12px;
      color: #0d0f14;
      line-height: 1;
      display: inline-block;
    }
    .method-stars span:nth-child(1),
    .method-stars span:nth-child(5) { transform: translateY(0.16em); }
    .method-stars span:nth-child(2),
    .method-stars span:nth-child(4) { transform: translateY(0.06em); }
    .method-stars span:nth-child(3) { transform: translateY(0); }
    .method-panel-icon {
      width: 100%;
      max-width: 180px;
      height: 168px;
      margin: -14px auto -24px;
    }
    .method-panel-icon img {
      max-width: 168px;
      max-height: 168px;
    }
    .method-panel-badge .iber-card-copy {
      max-width: 180px;
      margin-top: -28px;
      padding: 0;
      flex: 1 1 auto;
      min-height: 5.25em;
      margin-left: auto;
      margin-right: auto;
    }
    .method-panel-badge .iber-card-copy h3 {
      font-size: 12px;
      line-height: 1.25;
      margin: 0 auto 4px;
      text-align: center;
      flex-shrink: 0;
    }
    .method-panel-badge .iber-card-copy p {
      font-size: 10px;
      line-height: 1.35;
      margin: 0 auto;
      text-align: center;
      display: -webkit-box;
      -webkit-line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .method-cta {
      margin-top: 32px;
    }
    .method-cta .btn-primary {
      min-width: 0;
      width: 100%;
      max-width: 320px;
    }
  }
  
  /* DEPOIMENTOS / REELS */
  .reels-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
  @media (max-width: 1100px) {
    .reels-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 640px) {
    .reels-grid {
      grid-template-columns: 1fr;
    }
  }
  .reel-card {
    background: #0b0f17;
    border-radius: 24px;
    padding: 16px 16px 20px;
    border: 1px solid var(--border-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .reel-thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
  }

.reel-video-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.25s ease;
}

.reel-iframe-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.reel-thumb.is-playing .reel-iframe-wrapper {
  pointer-events: auto;
  z-index: 2;
}

.reel-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

  .reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: radial-gradient(circle, #f5d58b 0, #d4af37 50%, #b9932a 100%);
    cursor: pointer;
    box-shadow: 0 0 26px rgba(228, 197, 110, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

.reel-play-icon {
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #111111;
  /* Desloca o triângulo para o centro óptico do botão (base do triângulo à direita) */
  transform: translateX(2px);
}

.reel-thumb.is-playing .reel-play {
  opacity: 0;
  pointer-events: none;
}

.reel-thumb.is-playing .reel-video-poster {
  opacity: 0;
  pointer-events: none;
}
  .reel-card h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .reel-card p {
    font-size: 12px;
    color: var(--text-muted);
  }

  .reel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    border-color: rgba(228, 197, 110, 0.35);
  }
  
  /* RESULTADOS – topázio flutuante nas laterais (3D, flare e brilho) */
  .iber-section.resultados {
    position: relative;
    overflow: hidden;
  }

  .resultados-topazio {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
  }

  /* Esquerda: maior, entrando pela lateral – posição mais alta */
  .resultados-topazio-left {
    top: 15%;
    left: clamp(-12%, -80px, -20px);
    width: clamp(180px, 26vw, 320px);
    height: clamp(220px, 32vw, 420px);
    transform: translateY(0);
  }

  /* Direita: menor, saindo/entrando pela lateral – posição mais baixa */
  .resultados-topazio-right {
    top: 55%;
    right: clamp(-12%, -80px, -20px);
    width: clamp(120px, 16vw, 220px);
    height: clamp(155px, 22vw, 290px);
    transform: translateY(0);
  }

  .resultados-topazio-right .resultados-topazio-img {
    transform: scaleX(-1);
  }

  .resultados-topazio-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 40px rgba(228, 197, 110, 0.25));
    transition: transform 0.4s ease;
  }

  .iber-section.resultados:hover .resultados-topazio-left .resultados-topazio-img {
    transform: rotateY(-8deg) rotateZ(-2deg);
  }

  .iber-section.resultados:hover .resultados-topazio-right .resultados-topazio-img {
    transform: scaleX(-1) rotateY(8deg) rotateZ(2deg);
  }

  /* Brilho dourado suave por detrás da imagem */
  .resultados-topazio-glow {
    position: absolute;
    inset: -15%;
    z-index: 0;
    background: radial-gradient(
      ellipse 80% 80% at 50% 50%,
      rgba(228, 197, 110, 0.2) 0%,
      rgba(228, 197, 110, 0.08) 40%,
      transparent 70%
    );
    pointer-events: none;
  }

  .iber-section.resultados .section-header,
  .iber-section.resultados .results-grid {
    position: relative;
    z-index: 1;
  }

  /* RESULTADOS – grid de cards */
  .results-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  @media (max-width: 900px) {
    .results-grid {
      grid-template-columns: 1fr;
    }
  }
  .result-card {
    background: #0b0f17;
    border-radius: 22px;
    border: 1px solid var(--border-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .result-card-media {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    background: #05070b;
  }

  .result-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .result-copy {
    padding: 18px 18px 20px;
  }
  .result-copy h3 {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .result-copy p {
    font-size: 12px;
    color: var(--text-muted);
  }

  .result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    border-color: rgba(228, 197, 110, 0.35);
  }

  @media (max-width: 900px) {
    .resultados-topazio-left {
      top: 12%;
      left: clamp(-15%, -60px, -15px);
      width: clamp(130px, 22vw, 220px);
      height: clamp(170px, 28vw, 300px);
    }
    .resultados-topazio-right {
      top: 58%;
      right: clamp(-15%, -60px, -15px);
      width: clamp(85px, 14vw, 150px);
      height: clamp(110px, 18vw, 200px);
    }
    .resultados-topazio-glow {
      opacity: 0.9;
    }
  }

  @media (max-width: 640px) {
    .resultados-topazio-left {
      top: 8%;
      left: -25%;
      width: clamp(100px, 28vw, 160px);
      height: clamp(130px, 36vw, 210px);
    }
    .resultados-topazio-right {
      top: 62%;
      right: -22%;
      width: clamp(70px, 20vw, 120px);
      height: clamp(90px, 26vw, 155px);
    }
    .resultados-topazio-glow {
      inset: -20%;
      opacity: 0.8;
    }
  }

  @media (max-width: 380px) {
    .resultados-topazio-left {
      top: 5%;
      left: -30%;
      width: 75px;
      height: 98px;
      opacity: 0.9;
    }
    .resultados-topazio-right {
      top: 65%;
      right: -28%;
      width: 55px;
      height: 72px;
      opacity: 0.85;
    }
  }

  /* CANDIDATURA / FORMULÁRIO */
  .candidatura-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: center;
  }

  .candidatura-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }

  .candidatura-logo-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    display: block;
    animation: logoSalto 2.2s ease-in-out infinite;
  }

  @keyframes logoSalto {
    0%, 100% { transform: translateY(0); }
    20% { transform: translateY(-14px); }
    40% { transform: translateY(0); }
    55% { transform: translateY(-7px); }
    70% { transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .candidatura-logo-img {
      animation: none;
    }
  }

  .candidatura-confirmacao {
    display: none;
    background: radial-gradient(circle at top, rgba(228, 197, 110, 0.18), rgba(11, 15, 23, 0.92) 58%);
    border: 1px solid rgba(228, 197, 110, 0.35);
    border-radius: 28px;
    padding: clamp(22px, 4vw, 36px);
    box-shadow:
      0 22px 60px rgba(0, 0, 0, 0.92),
      0 0 35px rgba(228, 197, 110, 0.14);
    text-align: center;
    animation: confirmFadeUp 0.38s ease forwards;
  }

  .candidatura.is-confirmed .confirmacao-loading {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
    border: 0;
    visibility: hidden;
  }

  .confirmacao-sucesso-final {
    margin-top: clamp(16px, 3vw, 22px);
    margin-bottom: clamp(12px, 2vw, 18px);
    padding: clamp(16px, 3vw, 22px);
    border-radius: 16px;
    border: 1px solid rgba(228, 197, 110, 0.42);
    background: rgba(5, 7, 11, 0.72);
    color: rgba(240, 244, 255, 0.95);
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    line-height: 1.65;
    text-align: center;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
    outline: none;
  }

  .confirmacao-sucesso-final:focus-visible {
    outline: 2px solid var(--gold, #e4c56e);
    outline-offset: 3px;
  }

  .confirmacao-sucesso-final strong {
    display: block;
    margin-bottom: 8px;
    color: #f5e6b0;
    font-size: clamp(1rem, 2.5vw, 1.12rem);
    letter-spacing: 0.02em;
  }

  .candidatura-confirmacao h3 {
    font-size: clamp(20px, 4vw, 32px);
    margin: 8px 0 14px;
  }

  .candidatura-confirmacao p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 auto 20px;
    max-width: 62ch;
  }

  .confirmacao-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }

  .confirmacao-pill {
    border: 1px solid rgba(228, 197, 110, 0.26);
    background: rgba(5, 7, 11, 0.75);
    color: #f3e3b1;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: clamp(11px, 1.8vw, 13px);
    letter-spacing: 0.04em;
  }

  /* Estado de transição: logo gira no eixo e sai */
  .candidatura.is-transitioning .candidatura-inner,
  .candidatura.is-confirmed .candidatura-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 26px;
    text-align: center;
  }

  .candidatura.is-transitioning .candidatura-content,
  .candidatura.is-confirmed .candidatura-content {
    width: 100%;
    max-width: min(920px, 96vw);
  }

  .candidatura.is-transitioning .candidatura-copy,
  .candidatura.is-transitioning .candidatura-form,
  .candidatura.is-confirmed .candidatura-copy,
  .candidatura.is-confirmed .candidatura-form {
    display: none;
  }

  .candidatura.is-transitioning .candidatura-confirmacao {
    display: none;
  }

  .candidatura.is-confirmed .candidatura-confirmacao {
    display: block;
  }

  .candidatura.is-transitioning .candidatura-logo,
  .candidatura.is-confirmed .candidatura-logo {
    position: relative;
    width: min(360px, 72vw);
    aspect-ratio: 1 / 1;
  }

  .candidatura.is-transitioning .candidatura-logo::before,
  .candidatura.is-confirmed .candidatura-logo::before {
    content: "";
    position: absolute;
    inset: -16%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 231, 165, 0.4) 0%, rgba(228, 197, 110, 0.16) 42%, transparent 72%);
    filter: blur(3px);
    animation: goldenPulse 2.2s ease-in-out infinite;
    pointer-events: none;
  }

  .candidatura.is-transitioning .candidatura-logo-img,
  .candidatura.is-confirmed .candidatura-logo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    filter:
      drop-shadow(0 0 8px rgba(255, 220, 130, 0.85))
      drop-shadow(0 0 28px rgba(228, 197, 110, 0.85));
  }

  .candidatura.is-transitioning .candidatura-logo::before {
    animation: goldenPulse 0.5s ease-in-out 2;
  }

  .candidatura.is-transitioning .candidatura-logo-img {
    animation: logoEixoRapidoSaida 0.52s cubic-bezier(0.22, 0.78, 0.2, 1) forwards, brilhoOuro 0.22s ease-in-out 1;
  }

  .candidatura.is-confirmed .candidatura-logo {
    display: none;
  }

  @keyframes logoGiroDourado {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(360deg) scale(1); }
  }

  @keyframes logoEixoRapidoSaida {
    0% {
      opacity: 1;
      transform: rotateY(0deg) scale(1);
    }
    70% {
      opacity: 1;
      transform: rotateY(540deg) scale(1.03);
    }
    100% {
      opacity: 0;
      transform: rotateY(720deg) scale(0.45);
    }
  }

  @keyframes brilhoOuro {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 220, 130, 0.75)) drop-shadow(0 0 24px rgba(228, 197, 110, 0.75)); }
    50% { filter: drop-shadow(0 0 14px rgba(255, 239, 180, 1)) drop-shadow(0 0 40px rgba(228, 197, 110, 1)); }
  }

  @keyframes goldenPulse {
    0%, 100% { opacity: 0.72; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
  }

  @keyframes confirmFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .confirmacao-loading {
    margin: 8px auto 20px;
    width: 100%;
    max-width: 640px;
    border-radius: 18px;
    border: 1px solid rgba(228, 197, 110, 0.2);
    background: rgba(5, 7, 11, 0.58);
    padding: clamp(14px, 2.5vw, 18px);
  }

  .confirmacao-loading-title {
    font-size: clamp(11px, 1.7vw, 13px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f3e3b1;
    margin: 0 0 14px;
  }

  .confirmacao-loading-row + .confirmacao-loading-row {
    margin-top: 10px;
  }

  .confirmacao-loading-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: clamp(10px, 1.6vw, 12px);
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.05em;
  }

  .confirmacao-loading-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
    border: 1px solid rgba(228, 197, 110, 0.14);
  }

  .confirmacao-loading-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #f5d58b 0%, #e4c56e 42%, #d4af37 100%);
    box-shadow: 0 0 18px rgba(228, 197, 110, 0.55);
    animation: barraGamificada 0.48s cubic-bezier(0.18, 0.85, 0.2, 1) forwards;
  }

  .confirmacao-loading-row:nth-child(2) .confirmacao-loading-fill {
    animation-delay: 0.06s;
  }

  .confirmacao-loading-row:nth-child(3) .confirmacao-loading-fill {
    animation-delay: 0.12s;
  }

  .confirmacao-loading-row:nth-child(4) .confirmacao-loading-fill {
    animation-delay: 0.18s;
  }

  @keyframes barraGamificada {
    0% { width: 0; }
    55% { width: 72%; }
    85% { width: 92%; }
    100% { width: 100%; }
  }

  .candidatura-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
  }

  @media (max-width: 900px) {
    .candidatura-inner {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .candidatura-logo {
      order: -1;
    }
    .candidatura-logo-img {
      max-width: 280px;
      margin: 0 auto;
    }
  }

  @media (max-width: 640px) {
    .candidatura-inner {
      gap: 28px;
    }
    .candidatura-logo-img {
      max-width: 220px;
    }

    .confirmacao-pillars {
      grid-template-columns: 1fr;
    }
  }

  .candidatura-form {
    background: radial-gradient(circle at top, rgba(228, 197, 110, 0.09), #0b0f17);
    border-radius: 28px;
    padding: 28px 26px 30px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    width: 100%;
  }

  .iber-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .iber-form h3 {
    font-size: 13px;
    margin: 8px 0 4px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px 16px;
    margin-bottom: 2px;
  }

  .field {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .field-full {
    grid-column: 1 / -1;
  }
  .iber-form .field:not(.form-consent) > label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 5px;
    color: var(--text-muted);
  }

  .field-helper {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.03em;
  }
  .iber-form input:not([type="checkbox"]),
  .iber-form select,
  .iber-form textarea {
    width: 100%;
    border-radius: 12px;
    background: #05070b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-main);
    min-height: 44px;
  }

  .iber-form input[type="checkbox"] {
    width: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 4px;
  }

  .iber-form textarea {
    min-height: 110px;
    resize: vertical;
  }

  .iber-form button.btn-primary.full {
    margin-top: 4px;
  }
  .iber-form input:not([type="checkbox"]):focus,
  .iber-form input:not([type="checkbox"]):focus-visible,
  .iber-form select:focus,
  .iber-form select:focus-visible,
  .iber-form textarea:focus,
  .iber-form textarea:focus-visible {
    outline: none;
    border-color: rgba(228, 197, 110, 0.8);
    box-shadow: 0 0 0 1px rgba(228, 197, 110, 0.4);
  }
  .form-note {
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-muted);
  }

  .form-legal-intro {
    font-size: 11px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 6px 0 4px;
  }

  .form-legal-intro a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .form-consent {
    margin-top: 2px;
  }

  .form-consent--inline {
    margin-top: 10px;
    text-align: center;
    width: 100%;
    align-items: center;
  }

  .form-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0;
    font-weight: 400;
  }

  .form-consent-label--inline {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    max-width: min(560px, 94vw);
    text-align: left;
  }

  .form-consent-label--inline .form-consent-text {
    flex: 0 1 auto;
    min-width: 0;
    padding-right: 0;
    text-align: center;
  }

  .form-consent-label input[type="checkbox"] {
    width: auto;
    min-height: 0;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--gold);
  }

  .form-consent-label--inline input[type="checkbox"] {
    margin-top: 1px;
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .candidatura .form-consent-label--inline {
    min-height: 0;
  }

  .form-consent-text a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  @media (max-width: 900px) {
    .candidatura-form {
      padding: 24px 20px 26px;
    }

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

  @media (max-width: 480px) {
    .candidatura-form {
      border-radius: 22px;
      padding: 18px 14px 20px;
    }

    .iber-form h3 {
      font-size: 12px;
      margin: 6px 0 2px;
    }

    .iber-form input,
    .iber-form select,
    .iber-form textarea {
      border-radius: 10px;
      padding: 12px 12px;
    }
  }

.candidatura-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.95);
  border-color: rgba(228, 197, 110, 0.35);
}

/* ========== FAQ – SEÇÃO ELEGANTE ========== */
.iber-section.faq {
  background: linear-gradient(180deg, #05070b 0%, #0a0d14 50%, #05070b 100%);
  position: relative;
}

.iber-section.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(228, 197, 110, 0.02) 40px,
    rgba(228, 197, 110, 0.02) 41px
  );
  pointer-events: none;
}

.iber-section.faq .section-header .eyebrow {
  letter-spacing: 0.2em;
}

.iber-section.faq .section-header h2 {
  color: var(--gold);
  font-size: clamp(20px, 2.8vw, 28px);
}

.iber-section.faq .section-header p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(11, 15, 23, 0.85);
  border: 1px solid rgba(228, 197, 110, 0.25);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(228, 197, 110, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.faq-item[open] {
  border-color: rgba(228, 197, 110, 0.5);
  box-shadow: 0 0 0 1px rgba(228, 197, 110, 0.2);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px 20px 52px;
  position: relative;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-item summary::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::before {
  transform: translateY(-40%) rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-item p {
  padding: 0 24px 22px 52px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ========== RODAPÉ ========== */
.iber-footer {
  position: relative;
  padding: 48px 24px 28px;
  background: #05070b;
  border-top: 1px solid rgba(228, 197, 110, 0.2);
  overflow: hidden;
}

.iber-footer-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 35px,
    rgba(228, 197, 110, 0.03) 35px,
    rgba(228, 197, 110, 0.03) 36px
  );
  pointer-events: none;
}

/* Nosso Parceiro – destaque no rodapé */
.iber-footer-parceiro {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.iber-footer-parceiro-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.iber-footer-parceiro-logo {
  height: clamp(32px, 5vw, 44px);
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.iber-footer-parceiro-logo:hover {
  opacity: 1;
}

.iber-footer-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.iber-footer-logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.iber-footer-logos img {
  height: 28px;
  width: auto;
  filter: grayscale(1) brightness(1.3);
  opacity: 0.9;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.iber-footer-logos img:hover {
  opacity: 1;
  filter: grayscale(0.8) brightness(1.4);
}

.iber-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  flex: 1 1 auto;
  min-width: 0;
}

.iber-footer-nav a {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.iber-footer-nav a:hover {
  color: var(--gold);
}

.iber-footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.iber-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(228, 197, 110, 0.4);
  color: var(--gold);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.iber-social-link:hover {
  background: rgba(228, 197, 110, 0.15);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.iber-footer-copy {
  position: relative;
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.iber-footer-copy p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.iber-footer-copy p + p {
  margin-top: 6px;
}

.iber-footer-legal {
  margin-top: 10px !important;
}

.iber-footer-legal a {
  color: var(--gold);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

@media (max-width: 900px) {
  .iber-footer-inner {
    gap: 28px;
  }

  .iber-footer-nav {
    order: 1;
    width: 100%;
    padding: 0 8px;
    gap: 6px 20px;
  }

  .iber-footer-nav a {
    font-size: 12px;
  }

  .iber-footer-logos {
    order: 2;
  }

  .iber-footer-social {
    order: 3;
  }
}

@media (max-width: 640px) {
  .iber-footer-parceiro {
    margin-bottom: 24px;
    padding-bottom: 20px;
    gap: 10px;
  }

  .iber-footer-parceiro-label {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .iber-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .iber-footer-nav {
    order: 1;
    width: 100%;
    justify-content: center;
    gap: 10px 18px;
  }

  .iber-footer-logos {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .iber-footer-logos img {
    height: 24px;
  }

  .iber-footer-social {
    order: 3;
  }
}

/* ANIMAÇÃO DE ENTRADA SUAVE */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FLARE DOURADO NO BOTÃO HERO */
@keyframes flareSweep {
  0% {
    opacity: 0;
    transform: translateX(-140%);
  }
  25% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(140%);
  }
}

/* AJUSTES DE TIPOGRAFIA E LAYOUT NO MOBILE */
@media (max-width: 600px) {
  .iber-section {
    padding: 70px 18px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7vw, 32px);
  }

  .authority-inner {
    border-radius: 26px;
  }
}

/* ========== RESPONSIVIDADE GLOBAL – TODOS OS FORMATOS DE TELA ========== */

/* Telas muito pequenas (ex.: 320px–479px) */
@media (max-width: 479px) {
  .iber-header {
    padding: 12px 14px;
  }

  .iber-section {
    padding: 60px 16px 50px;
  }

  .hero {
    padding: 90px 16px 60px;
  }

  .hero-inner {
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(22px, 8vw, 28px);
  }

  .hero-sub {
    font-size: 14px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 12px 24px;
    font-size: 13px;
    min-height: 44px;
  }

  .authority-inner {
    padding: 18px 16px 22px;
    border-radius: 16px;
    gap: 18px;
  }

  .authority-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .authority-logos img {
    height: clamp(48px, 18vw, 72px);
  }

  .grid-2 {
    gap: 28px;
  }

  .ambassador-copy h2 {
    font-size: clamp(22px, 5vw, 26px);
  }

  .cards-3 {
    gap: 20px;
  }

  .iber-card-copy {
    padding: 16px 16px 20px;
  }

  .iber-card-copy h3 {
    font-size: 12px;
  }

  .iber-card-copy p {
    font-size: 12px;
  }

  .card-icon-overlay {
    width: 280px;
    height: 280px;
  }

  .card-icon-overlay img {
    max-width: 280px;
    max-height: 280px;
  }

  .card-icon-overlay .icon {
    width: 22px;
    height: 22px;
  }

  .reels-grid {
    gap: 18px;
  }

  .reel-card {
    padding: 12px 12px 16px;
  }

  .reel-card h3 {
    font-size: 12px;
  }

  .reel-card p {
    font-size: 11px;
  }

  .results-grid {
    gap: 18px;
  }

  .result-copy {
    padding: 14px 14px 18px;
  }

  .result-copy h3 {
    font-size: 12px;
  }

  .result-copy p {
    font-size: 11px;
  }

  .candidatura-inner {
    gap: 28px;
  }

  .candidatura-form {
    padding: 20px 18px 24px;
    border-radius: 22px;
  }

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

  .iber-form input,
  .iber-form select,
  .iber-form textarea {
    padding: 12px 14px;
    font-size: 16px; /* evita zoom no iOS */
  }

  .section-header.center p,
  .section-header p {
    font-size: 14px;
  }
}

/* Tablets em portrait (480px–767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .iber-section {
    padding: 75px 20px 60px;
  }

  .cards-3 {
    gap: 22px;
  }

  .reels-grid {
    gap: 20px;
  }

  .results-grid {
    gap: 22px;
  }

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

/* Tablets em landscape e desktop pequeno (768px–1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .iber-section {
    padding: 90px 28px 70px;
  }

  .hero-inner {
    max-width: 720px;
  }

  .cards-3 {
    gap: 24px;
  }

  .candidatura-inner {
    gap: 32px;
  }
}

/* Desktop (1024px+) – containers limitados para leitura */
@media (min-width: 1024px) {
  .header-inner,
  .hero-inner,
  .authority-inner,
  .grid-2,
  .cards-3,
  .reels-grid,
  .results-grid,
  .candidatura-inner {
    max-width: min(1180px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Telas grandes (1440px+) */
@media (min-width: 1440px) {
  .iber-section {
    padding: 120px 40px 100px;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 100px;
  }
}

/* Imagens e mídia nunca estouram o container */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.iber-card-media .iber-card-photo {
  height: 100%;
}

.result-card-media img {
  height: 100%;
  object-fit: contain;
}

video,
iframe {
  max-width: 100%;
}

iframe {
  vertical-align: top;
}

/* ========== RESPONSIVIDADE FLUIDA – UI/UX EM TODAS AS TELAS ========== */

/* Containers e grids: evita overflow em flex/grid */
.iber-landing {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header-inner,
.hero-inner,
.authority-inner,
.candidatura-inner,
.candidatura-content,
.candidatura-copy,
.iber-section .section-header,
.faq-list {
  min-width: 0;
}

.cards-3 > *,
.reels-grid > *,
.results-grid > *,
.method-cards > *,
.grid-2 > * {
  min-width: 0;
}

/* Texto longo: quebra elegante sem estourar */
.iber-section h1,
.iber-section h2,
.iber-section h3,
.section-header h2,
.faq-item summary,
.eyebrow {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Hero: CTAs flexíveis em telas pequenas */
.hero-ctas {
  width: 100%;
  max-width: 100%;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

/* Seções: padding horizontal com safe-area (não altera top/bottom) */
.iber-section {
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

@media (max-width: 640px) {
  .iber-section {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

@media (max-width: 479px) {
  .iber-section {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
}

/* FAQ: mais legível em mobile */
@media (max-width: 640px) {
  .faq-item summary {
    padding: 16px 18px 16px 44px;
    font-size: 12px;
  }

  .faq-item p {
    padding: 0 18px 18px 44px;
    font-size: 13px;
  }

  .faq-item summary::before {
    left: 18px;
  }
}

@media (max-width: 479px) {
  .faq-item summary {
    padding: 14px 14px 14px 40px;
    font-size: 11px;
  }

  .faq-item p {
    padding: 0 14px 16px 40px;
    font-size: 12px;
  }

  .faq-item summary::before {
    left: 14px;
  }
}

/* Depoimentos (reels): gaps e cards fluidos */
@media (max-width: 480px) {
  .reels-grid {
    gap: 16px;
  }

  .reel-card {
    padding: 14px 14px 18px;
  }
}

/* Resultados: card único em coluna */
.results-grid {
  width: 100%;
}

.result-card {
  min-width: 0;
}

/* Método: mesmas configurações nos três cartões (380px) */
@media (max-width: 380px) {
  .method-panel-frame {
    width: 100%;
    max-width: 200px;
  }

  .method-panel-badge {
    padding: 8px 8px 18px;
  }

  .method-panel-inner {
    max-width: 180px;
    padding: 2px 8px 4px;
  }

  .method-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 8px 0 4px 0;
    min-height: 1.2em;
    width: 100%;
    text-align: center;
    flex-shrink: 0;
    padding: 2px 0;
  }

  .method-stars span {
    font-size: 11px;
    color: #0d0f14;
    line-height: 1;
    display: inline-block;
  }

  .method-stars span:nth-child(1),
  .method-stars span:nth-child(5) { transform: translateY(0.16em); }
  .method-stars span:nth-child(2),
  .method-stars span:nth-child(4) { transform: translateY(0.06em); }
  .method-stars span:nth-child(3) { transform: translateY(0); }

  .method-panel-icon {
    width: 100%;
    max-width: 180px;
    height: 148px;
    margin: -10px auto -20px;
  }
  .method-panel-icon img {
    max-width: 148px;
    max-height: 148px;
  }

  .method-panel-badge .iber-card-copy {
    max-width: 180px;
    margin-top: -24px;
    padding: 0;
    flex: 1 1 auto;
    min-height: 4.75em;
    margin-left: auto;
    margin-right: auto;
  }

  .method-panel-badge .iber-card-copy h3 {
    font-size: 11px;
    line-height: 1.25;
    margin: 0 auto 4px;
    text-align: center;
    flex-shrink: 0;
  }

  .method-panel-badge .iber-card-copy p {
    font-size: 10px;
    line-height: 1.35;
    margin: 0 auto;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .iber-card.method-panel {
    max-width: 100%;
  }
}

/* Método: telas muito pequenas – ícone e copy alinhados */
@media (max-width: 360px) {
  .iber-card.method-panel {
    max-width: 100%;
  }

  .method-panel-frame {
    width: 100%;
    max-width: 180px;
  }

  .method-panel-inner {
    max-width: 100%;
  }

  .method-panel-icon {
    width: 100%;
    max-width: 100%;
    height: 132px;
    margin: -8px auto -16px;
  }

  .method-panel-icon img {
    max-width: 132px;
    max-height: 132px;
  }

  .method-panel-badge .iber-card-copy {
    max-width: 100%;
  }
}

/* Candidatura: logo e formulário em coluna pequena */
.candidatura-form {
  min-width: 0;
}

/* Rodapé: safe-area e toques confortáveis */
.iber-footer {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

@media (max-width: 640px) {
  .iber-footer {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

/* Telas muito pequenas (320px–380px): ajustes finos */
@media (max-width: 380px) {
  .iber-section {
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(20px, 8.5vw, 26px);
  }

  .hero-sub {
    font-size: 13px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 14px 24px;
    font-size: 14px;
  }

  .authority-inner {
    padding: 14px 14px 18px;
  }

  .authority-logos img {
    height: 44px;
  }

  .section-header.center h2,
  .iber-section .section-header h2 {
    font-size: clamp(18px, 5.5vw, 22px);
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .candidatura-logo-img {
    max-width: 180px;
  }

  .method-cta .btn-primary {
    max-width: 100%;
  }
}

/* Áreas clicáveis mínimas em touch */
@media (pointer: coarse) {
  .iber-nav a {
    padding: 10px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .btn-primary,
  .btn-ghost {
    min-height: 50px;
  }

  .ambassador-arrow {
    min-width: 44px;
    min-height: 44px;
  }

  .authority-arrow {
    min-width: 44px;
    min-height: 44px;
  }

  .reel-play {
    min-width: 48px;
    min-height: 48px;
  }

  .faq-item summary {
    padding: 14px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .iber-social-link {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ========== RESPONSIVIDADE 100% – TODAS AS TELAS (smartwatch, tablet, desktop, TV) ========== */
/* Padrões: legibilidade, UI/UX, safe-area, touch targets, sem alterar estrutura ou seções. */

/* —— Smartwatches (até 240px) – layout mínimo, tudo em coluna, sem overflow —— */
@media (max-width: 240px) {
  .iber-landing {
    --scarcity-strip-height: 32px;
  }

  .scarcity-strip {
    padding-left: max(6px, env(safe-area-inset-left));
    padding-right: max(6px, env(safe-area-inset-right));
  }

  .scarcity-text {
    font-size: 8px;
    letter-spacing: 0.05em;
    padding-right: 1.5rem;
  }

  .iber-header {
    padding: max(8px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-right));
  }

  .iber-logo-img {
    height: 22px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .iber-section {
    padding: 28px max(6px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-right));
  }

  .iber-section .section-header {
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .hero {
    padding: 56px 8px 36px;
    min-height: 100vh;
  }

  .hero-copy h1 {
    font-size: 14px;
  }

  .hero-sub {
    font-size: 10px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 12px 16px;
    font-size: 12px;
    width: 100%;
  }

  .iber-section h2 {
    font-size: 13px;
  }

  .section-header h2 {
    font-size: 13px;
  }

  .authority-carousel {
    padding: 0 max(6px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-right));
  }

  .authority-slide {
    width: 40px;
    height: 40px;
  }

  .authority-arrow {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .authority-text {
    font-size: 10px;
  }

  .method-cards {
    gap: 8px;
  }

  .method-panel-frame {
    max-width: 140px;
  }

  .reels-grid {
    gap: 10px;
  }

  .reel-card {
    padding: 10px;
  }

  .reel-play {
    width: 40px;
    height: 40px;
  }

  .reel-play-icon {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }

  .reel-card h3 {
    font-size: 10px;
  }

  .reel-card p {
    font-size: 9px;
  }

  .candidatura-inner {
    gap: 20px;
  }

  .form-grid {
    gap: 10px;
  }

  .faq-item summary {
    padding: 10px 8px 10px 32px;
    font-size: 9px;
  }

  .faq-item p {
    padding: 0 8px 12px 32px;
    font-size: 9px;
  }

  .faq-item summary::before {
    left: 8px;
  }

  /* Rodapé smartwatch: tudo em coluna, centralizado e alinhado */
  .iber-footer {
    padding-top: 14px;
    padding-left: max(6px, env(safe-area-inset-left));
    padding-right: max(6px, env(safe-area-inset-right));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    text-align: center;
  }

  .iber-footer-parceiro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    gap: 6px;
  }

  .iber-footer-parceiro-label {
    font-size: 7px;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .iber-footer-parceiro-logo {
    height: 20px;
    width: auto;
    display: block;
  }

  .iber-footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .iber-footer-logos {
    order: 1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .iber-footer-logos img {
    height: 18px;
    width: auto;
    display: block;
  }

  .iber-footer-nav {
    order: 2;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 6px;
  }

  .iber-footer-nav a {
    font-size: 7px;
    letter-spacing: 0.02em;
    padding: 4px 2px;
  }

  .iber-footer-social {
    order: 3;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .iber-social-link {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .iber-social-link svg {
    width: 14px;
    height: 14px;
    display: block;
  }

  .iber-footer-copy {
    margin-top: 14px;
    padding-top: 14px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .iber-footer-copy p {
    font-size: 7px;
    line-height: 1.4;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .iber-footer-copy p + p {
    margin-top: 4px;
  }

  .header-inner {
    gap: 10px;
  }

  .hero-inner {
    max-width: 100%;
  }

  .ambassador-media,
  .ambassador-copy {
    min-width: 0;
  }

  .resultados-topazio-left,
  .resultados-topazio-right {
    display: none;
  }
}

/* —— Smartwatches e telas muito pequenas (241px–319px) —— */
@media (max-width: 319px) {
  .iber-landing {
    --scarcity-strip-height: 34px;
  }

  .iber-header {
    padding-top: max(10px, env(safe-area-inset-top));
    padding-bottom: 10px;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .iber-logo-img {
    height: 26px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .iber-section {
    padding: 36px max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right));
  }

  .iber-section .section-header {
    margin-bottom: 20px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .hero {
    padding: 70px 10px 44px;
    min-height: 100vh;
  }

  .hero-copy h1 {
    font-size: clamp(16px, 7vw, 22px);
  }

  .hero-sub {
    font-size: 11px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 13px 20px;
    font-size: 13px;
    width: 100%;
  }

  .iber-section h2 {
    font-size: clamp(15px, 4.2vw, 19px);
  }

  .section-header h2 {
    font-size: clamp(15px, 4.2vw, 19px);
  }

  .authority-carousel {
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }

  .authority-slide {
    width: 46px;
    height: 46px;
  }

  .authority-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .authority-text {
    font-size: 11px;
  }

  .method-cards {
    gap: 10px;
  }

  .method-panel-frame {
    max-width: 160px;
  }

  .reels-grid {
    gap: 12px;
  }

  .reel-card {
    padding: 12px;
  }

  .reel-card h3 {
    font-size: 11px;
  }

  .reel-card p {
    font-size: 10px;
  }

  .candidatura-inner {
    gap: 24px;
  }

  .faq-item summary {
    padding: 12px 10px 12px 38px;
    font-size: 10px;
  }

  .faq-item p {
    padding: 0 10px 14px 38px;
    font-size: 10px;
  }

  .faq-item summary::before {
    left: 10px;
  }

  /* Rodapé 241–319px: coluna, centralizado e alinhado */
  .iber-footer {
    padding-top: 18px;
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    text-align: center;
  }

  .iber-footer-parceiro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding-bottom: 18px;
    gap: 8px;
  }

  .iber-footer-parceiro-label {
    font-size: 8px;
    letter-spacing: 0.14em;
    text-align: center;
  }

  .iber-footer-parceiro-logo {
    height: 22px;
    display: block;
  }

  .iber-footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .iber-footer-logos {
    order: 1;
    justify-content: center;
    align-items: center;
    gap: 18px;
    width: 100%;
  }

  .iber-footer-logos img {
    height: 20px;
    display: block;
  }

  .iber-footer-nav {
    order: 2;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 5px 10px;
  }

  .iber-footer-nav a {
    font-size: 8px;
    letter-spacing: 0.03em;
    padding: 5px 3px;
  }

  .iber-footer-social {
    order: 3;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .iber-footer .iber-social-link {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .iber-footer .iber-social-link svg {
    width: 15px;
    height: 15px;
    display: block;
  }

  .iber-footer-copy {
    margin-top: 18px;
    padding-top: 18px;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .iber-footer-copy p {
    font-size: 8px;
    line-height: 1.45;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .iber-footer-copy p + p {
    margin-top: 5px;
  }

  .header-inner {
    gap: 12px;
  }

  .hero-inner {
    max-width: 100%;
  }

  .resultados-topazio-left,
  .resultados-topazio-right {
    display: none;
  }
}

/* —— Tablets em retrato (640px–767px) —— */
@media (min-width: 640px) and (max-width: 767px) {
  .iber-section {
    padding: 70px max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right));
  }

  .hero-inner {
    max-width: 560px;
  }

  .section-header h2 {
    font-size: clamp(24px, 3.5vw, 28px);
  }
}

/* —— Tablets em paisagem (768px–1023px) —— */
@media (min-width: 768px) and (max-width: 1023px) {
  .iber-section {
    padding: 85px max(28px, env(safe-area-inset-left)) max(28px, env(safe-area-inset-right));
  }

  .hero-copy h1 {
    font-size: clamp(32px, 4vw, 42px);
  }
}

/* —— Desktop largo (1280px–1439px) —— */
@media (min-width: 1280px) and (max-width: 1439px) {
  .header-inner,
  .hero-inner,
  .authority-inner,
  .candidatura-inner,
  .iber-footer-inner,
  .iber-footer-parceiro,
  .iber-footer-copy {
    max-width: min(1180px, 88vw);
  }
}

/* —— Telas grandes / TV (1920px+) – conteúdo limitado para legibilidade —— */
@media (min-width: 1920px) {
  .iber-landing {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  .iber-section {
    padding: 140px 56px 120px;
  }

  .iber-section .section-header {
    max-width: 800px;
    margin-bottom: 56px;
  }

  .hero {
    padding-top: 160px;
    padding-bottom: 120px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 2.8vw, 52px);
  }

  .hero-sub {
    font-size: clamp(16px, 1.1vw, 18px);
    max-width: 600px;
  }

  .section-header h2 {
    font-size: clamp(28px, 2vw, 36px);
  }

  .header-inner,
  .hero-inner,
  .authority-inner,
  .candidatura-inner,
  .cards-3,
  .reels-grid,
  .results-grid,
  .method-cards,
  .iber-footer-inner,
  .iber-footer-parceiro,
  .iber-footer-copy {
    max-width: min(1280px, 72vw);
  }
}

/* —— 4K / Ultra-wide (2560px+) —— */
@media (min-width: 2560px) {
  .iber-landing {
    max-width: 2560px;
  }

  .iber-section {
    padding: 160px 80px 140px;
  }

  .header-inner,
  .hero-inner,
  .authority-inner,
  .candidatura-inner,
  .cards-3,
  .reels-grid,
  .results-grid,
  .method-cards,
  .iber-footer-inner,
  .iber-footer-parceiro,
  .iber-footer-copy {
    max-width: min(1440px, 70vw);
  }
}

/* —— Legibilidade: comprimento de linha em parágrafos (evita linhas longas) —— */
.ambassador-copy p,
.candidatura-copy p,
.faq-item p {
  max-width: 65ch;
}

.iber-card-copy p {
  max-width: 65ch;
}

/* —— Safe-area em todos os containers principais —— */
.iber-header {
  padding-left: max(18px, env(safe-area-inset-left));
  padding-right: max(18px, env(safe-area-inset-right));
}

.iber-footer {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* —— Evitar overflow horizontal em qualquer viewport —— */
html {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.iber-landing {
  overflow-x: hidden;
  width: 100%;
}

/* —— Tipografia fluida em elementos chave (reforço) —— */
.eyebrow {
  font-size: clamp(9px, 1.8vw, 12px);
}

@media (min-width: 1024px) {
  .eyebrow {
    font-size: 11px;
  }
}

/* —— Formulário e inputs responsivos —— */
input,
select,
textarea {
  max-width: 100%;
}

.form-grid {
  width: 100%;
}

/* —— Imagens e vídeos nunca estouram —— */
.iber-section img,
.iber-section video,
.iber-section iframe {
  max-width: 100%;
  height: auto;
}

.ambassador-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* —— Formulário: organização final e responsividade total —— */
.candidatura .candidatura-form {
  width: 100%;
  max-width: 100%;
}

.candidatura .iber-form {
  width: 100%;
}

.candidatura .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: clamp(10px, 1.8vw, 16px);
  align-items: start;
}

.candidatura .field {
  min-width: 0;
}

.candidatura .field-full {
  grid-column: 1 / -1;
}

.candidatura .iber-form .field:not(.form-consent) > label {
  min-height: 2.2em;
}

.candidatura .iber-form input,
.candidatura .iber-form select,
.candidatura .iber-form textarea {
  width: 100%;
}

.candidatura .iber-form input[type="checkbox"] {
  width: auto;
  min-height: 0;
  padding: 0;
}

.candidatura .field-helper {
  overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
  .candidatura .form-grid {
    grid-template-columns: 1fr;
  }

  .candidatura .iber-form .field:not(.form-consent) > label {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .candidatura .candidatura-form {
    border-radius: 20px;
    padding: 18px 14px 20px;
  }

  .candidatura .iber-form {
    gap: 10px;
  }

  .candidatura .iber-form h3 {
    margin-top: 6px;
  }
}

@media (max-width: 360px) {
  .candidatura .candidatura-form {
    padding: 14px 10px 16px;
  }

  .candidatura .iber-form input:not([type="checkbox"]),
  .candidatura .iber-form select,
  .candidatura .iber-form textarea {
    font-size: 16px;
    padding: 11px 10px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .candidatura .candidatura-form {
    padding: 16px 14px 18px;
  }

  .candidatura .iber-form {
    gap: 8px;
  }
}

@media (min-width: 1600px) {
  .candidatura .candidatura-form {
    max-width: 960px;
    margin-inline: auto;
  }

  .candidatura .form-grid {
    gap: 14px 18px;
  }
}

/* —— Redução de movimento (acessibilidade) —— */
@media (prefers-reduced-motion: reduce) {
  .iber-section {
    animation: none;
    transform: none;
  }

  .candidatura.is-transitioning .candidatura-logo::before,
  .candidatura.is-transitioning .candidatura-logo-img,
  .candidatura.is-confirmed .candidatura-logo::before,
  .candidatura.is-confirmed .candidatura-logo-img,
  .confirmacao-loading-fill,
  .candidatura-confirmacao {
    animation: none;
  }
}