/* ========================================
   TOKENS
   ======================================== */
:root {
  --bg-cream:       #F6F3ED;
  --bg-beige:       #EFEBE3;
  --bg-white:       #FFFFFF;
  --bg-navy:        #0B0B3B;
  --bg-navy-deep:   #07072A;
  --navy:           #0B0B3B;
  --navy-soft:      #2E2E5E;
  --navy-muted:     #6B6B8D;
  --gold:           #B8922D;
  --gold-brand:     #D4A842;
  --gold-dark:      #9A7A24;
  --gold-light:     rgba(212, 168, 66, .12);
  --gold-glow:      rgba(184, 146, 45, .25);
  --border-warm:    #DDD8CE;
  --border-navy:    rgba(255, 255, 255, .08);
  --white:          #FFFFFF;
  --white-soft:     rgba(255, 255, 255, .85);
  --white-muted:    rgba(255, 255, 255, .5);

  --font-display: 'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --space-xs:  clamp(.5rem, 1vw, .75rem);
  --space-sm:  clamp(.75rem, 1.5vw, 1.25rem);
  --space-md:  clamp(1.5rem, 3vw, 2.5rem);
  --space-lg:  clamp(3rem, 6vw, 5rem);
  --space-xl:  clamp(5rem, 10vw, 8rem);
  --space-2xl: clamp(7rem, 14vw, 12rem);
}


/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--navy);
  background: var(--bg-cream);
  line-height: 1.75;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .3;
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Scroll reveal */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s cubic-bezier(.16, 1, .3, 1) var(--delay, 0s),
    transform .7s cubic-bezier(.16, 1, .3, 1) var(--delay, 0s);
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   SCROLL PROGRESS
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-brand));
  z-index: 100;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  opacity: var(--progress-visible, 0);
  transition: opacity .3s ease;
}


/* ========================================
   SHARED: CTA BUTTON
   ======================================== */
.btn-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--bg-cream);
  background: var(--gold);
  border: none;
  padding: 1.15em 2.8em;
  border-radius: 3px;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  animation: ctaPulse 4s ease-in-out infinite 3s;
}
.btn-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
  animation: none;
}
.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px var(--gold-glow);
  animation: none;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 146, 45, .3); }
  50% { box-shadow: 0 0 0 8px rgba(184, 146, 45, 0); }
}


/* ========================================
   VELVET TEXTURE (navy sections)
   ======================================== */
.hero::before,
.paraquem::before,
.ctafinal::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(46, 46, 94, .18) 0%, transparent 35%, rgba(7, 7, 42, .12) 100%),
    radial-gradient(ellipse at 35% 30%, rgba(46, 46, 94, .12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(7, 7, 42, .1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero,
.paraquem,
.ctafinal {
  box-shadow: inset 0 0 150px rgba(0, 0, 0, .1);
}


/* ========================================
   HEADER
   ======================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px clamp(1.5rem, 5vw, 6rem);
}

.header__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.header__logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .65;
  transition: opacity .3s ease;
}
.header__logo:hover { opacity: 1; }


/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--bg-navy);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-lg)) clamp(1.5rem, 5vw, 6rem) calc(var(--space-lg) + 50px);
  position: relative;
  overflow: hidden;
}

/* Ambient glows */
.hero__glow {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(184, 146, 45, .07) 0%, transparent 60%);
  pointer-events: none;
  animation: glowDrift 10s ease-in-out infinite;
  z-index: 0;
}
.hero__glow--b {
  top: auto;
  bottom: -25%;
  right: auto;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 146, 45, .04) 0%, transparent 60%);
  animation-delay: -5s;
  animation-duration: 13s;
}
@keyframes glowDrift {
  0%, 100% { opacity: 1; transform: translate(0, 0); }
  50% { opacity: .6; transform: translate(-15px, 15px); }
}

/* Diagonal bottom */
.hero__angle {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--bg-cream);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

/* Layout — centered */
.hero__inner {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-brand);
  background: rgba(212, 168, 66, .06);
  border: 1px solid rgba(212, 168, 66, .12);
  padding: .55em 1.3em;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.hero__badge-live {
  width: 7px;
  height: 7px;
  background: var(--gold-brand);
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 66, .5); }
  50% { box-shadow: 0 0 0 6px rgba(212, 168, 66, 0); }
}

.hero__pre {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-brand);
  margin-bottom: var(--space-xs);
  letter-spacing: .01em;
  position: relative;
  padding-bottom: var(--space-xs);
}

.hero__pre::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-brand), transparent);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero__careers {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--white-soft);
  margin-bottom: var(--space-lg);
}
.hero__careers strong {
  color: var(--gold-brand);
  font-weight: 400;
}

.hero__author {
  font-size: clamp(.95rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--white-muted);
  margin-bottom: var(--space-xs);
}
.hero__author strong {
  color: var(--white);
  font-weight: 700;
}

.hero__sub {
  font-size: clamp(.95rem, 1.15vw, 1.05rem);
  line-height: 1.75;
  color: var(--white-muted);
  max-width: 580px;
  margin-bottom: var(--space-lg);
}

.hero__alert { justify-content: center; }

.hero__cta-area {
  margin-bottom: var(--space-md);
}
.hero__guarantee {
  margin-top: var(--space-sm);
  font-size: .8rem;
  color: var(--white-muted);
  opacity: .6;
}

.hero__alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gold-brand);
  opacity: .8;
}
.hero__alert svg { flex-shrink: 0; opacity: .7; }


/* ========================================
   DESCOBRIR
   ======================================== */
.descobrir {
  background: var(--bg-cream);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
  position: relative;
}

.descobrir__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.descobrir__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}
.descobrir__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--gold);
  opacity: .6;
}

.descobrir__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 1.5vw, 1.25rem);
}

.descobrir__card:nth-child(1) { grid-column: 1 / 4; }
.descobrir__card:nth-child(2) { grid-column: 4 / 6; }
.descobrir__card:nth-child(3) { grid-column: 1 / 3; }
.descobrir__card:nth-child(4) { grid-column: 3 / 6; }

.descobrir__card {
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 4px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
}
.descobrir__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11, 11, 59, .06);
}

.descobrir__num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 6vw, 5.5rem);
  color: var(--bg-beige);
  line-height: 1;
  position: absolute;
  top: -6px;
  right: 14px;
  pointer-events: none;
  user-select: none;
}

.descobrir__card-title {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}
.descobrir__card p {
  font-size: clamp(.88rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: var(--navy-muted);
  position: relative;
  z-index: 1;
}

.descobrir__card:nth-child(1)::after,
.descobrir__card:nth-child(4)::after {
  content: '';
  position: absolute;
  top: 20px; left: 0; bottom: 20px;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
  opacity: .35;
}


/* ========================================
   AUTORA
   ======================================== */
.autora {
  background: var(--bg-white);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
  position: relative;
}

.autora__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
  position: relative;
}

.autora__inner::after {
  content: '';
  position: absolute;
  left: 43%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-warm) 20%, var(--border-warm) 80%, transparent);
  pointer-events: none;
}

.autora__image-wrap {
  position: sticky;
  top: calc(50vh - 200px);
  align-self: start;
  max-width: 420px;
}
.autora__image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px 6px 80px 6px;
  position: relative;
  z-index: 1;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.autora__image-wrap--landscape img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.autora__image-wrap:hover img { transform: scale(1.03); }

.autora__frame {
  position: absolute;
  top: 12px; left: 12px; right: -12px; bottom: -12px;
  border: 2px solid var(--gold);
  border-radius: 6px 6px 80px 6px;
  opacity: .15;
  pointer-events: none;
}
.autora__frame--landscape {
  border-radius: 6px;
}

.autora__content { padding-top: var(--space-lg); }

.autora__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(.75rem, .9vw, .85rem);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.autora__label-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.autora__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.autora__text {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.85;
  color: var(--navy-soft);
  margin-bottom: var(--space-md);
}
.autora__text--quote {
  position: relative;
  padding-left: 1.5rem;
}
.autora__text--quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: .2;
  position: absolute;
  top: -.4em;
  left: -.1rem;
  line-height: 1;
}


/* ========================================
   PARA QUEM
   ======================================== */
.paraquem {
  background: var(--bg-navy);
  clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
  margin-top: -50px;
  padding: calc(var(--space-2xl) + 50px) clamp(1.5rem, 5vw, 6rem) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.paraquem__glow {
  position: absolute;
  top: 20%; left: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184, 146, 45, .05) 0%, transparent 60%);
  pointer-events: none;
  animation: glowDrift 12s ease-in-out infinite;
  z-index: 0;
}

.paraquem__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.paraquem__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-xl);
}
.paraquem__title em {
  font-style: italic;
  color: var(--gold-brand);
}

.paraquem__list {
  display: flex;
  flex-direction: column;
}
.paraquem__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 28px 20px;
  margin: 0 -20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s ease;
}
.paraquem__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.paraquem__item:hover {
  background: rgba(255, 255, 255, .02);
}

.paraquem__num {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold);
  opacity: .4;
  transition: opacity .3s ease;
}
.paraquem__item:hover .paraquem__num { opacity: .7; }

.paraquem__item p {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  color: var(--white-soft);
}
.paraquem__item strong {
  color: var(--white);
  font-weight: 700;
  letter-spacing: .01em;
}


/* ========================================
   CTA FINAL
   ======================================== */
.ctafinal {
  background: var(--bg-navy-deep);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
  position: relative;
  overflow: hidden;
}

.ctafinal__gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(var(--bg-navy), var(--bg-navy-deep));
  pointer-events: none;
}
.ctafinal__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184, 146, 45, .06) 0%, transparent 60%);
  pointer-events: none;
  animation: ctaGlow 15s ease-in-out infinite;
  z-index: 0;
}
@keyframes ctaGlow {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: .5; transform: translate(-50%, -50%) scale(1.15); }
}

.ctafinal__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ctafinal__line {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: .35;
  margin: 0 auto var(--space-md);
}

.ctafinal__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.ctafinal__headline span { color: var(--gold-brand); }

.ctafinal__text {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  color: var(--white-muted);
  margin-bottom: var(--space-lg);
}
.ctafinal__text strong { color: var(--white); }
.ctafinal__text--gold { color: var(--gold-brand) !important; }

.ctafinal__cta-area { display: flex; flex-direction: column; align-items: center; }
.ctafinal__sub {
  margin-top: var(--space-sm);
  font-size: .8rem;
  color: var(--white-muted);
  opacity: .5;
}


/* ========================================
   FAQ
   ======================================== */
.faq {
  background: var(--bg-cream);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
}

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

.faq__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}
.faq__title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: var(--gold);
  opacity: .6;
}

.faq__item {
  border-bottom: 1px solid var(--border-warm);
}
.faq__item:first-child {
  border-top: 1px solid var(--border-warm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}
.faq__question::-webkit-details-marker { display: none; }

.faq__question span:first-child { position: relative; }
.faq__question span:first-child::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .4s cubic-bezier(.16, 1, .3, 1);
}
.faq__question:hover span:first-child::after { width: 100%; }

.faq__icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--navy);
  border-radius: 1px;
}
.faq__icon::before {
  width: 14px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px; height: 14px;
  transform: translate(-50%, -50%);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}
.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.16, 1, .3, 1);
}
.faq__answer p {
  padding-bottom: 24px;
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--navy-muted);
}


/* ========================================
   RODAPE
   ======================================== */
.rodape {
  background: var(--bg-cream);
  padding: var(--space-lg) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border-warm);
}
.rodape__inner {
  max-width: 1360px;
  margin: 0 auto;
  text-align: center;
}
.rodape__inner p {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--navy-muted);
}


/* ========================================
   POPUP
   ======================================== */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.popup.is-open {
  opacity: 1;
  visibility: visible;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 42, .75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.popup__card {
  position: relative;
  background: var(--bg-cream);
  border-radius: 8px;
  width: 100%;
  max-width: 440px;
  padding: clamp(2rem, 3vw, 2.75rem);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, .35),
    0 4px 20px rgba(0, 0, 0, .2);
  transform: translateY(20px) scale(.97);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.popup.is-open .popup__card {
  transform: translateY(0) scale(1);
}

.popup__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--navy-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.popup__close:hover {
  background: var(--bg-beige);
  color: var(--navy);
}

.popup__header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.popup__header-line {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-brand));
  border-radius: 2px;
  margin: 0 auto var(--space-sm);
}

.popup__eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-muted);
  margin-bottom: 8px;
}

.popup__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  color: var(--navy);
}

/* Popup form */
.popup__field { margin-bottom: 14px; }

.popup__field label {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-muted);
  margin-bottom: 5px;
  transition: color .2s ease, transform .2s ease;
}
.popup__field:has(input:focus) label {
  color: var(--gold);
  transform: translateY(-2px);
}

.popup__field input {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--navy);
  background: var(--bg-white);
  border: 1px solid var(--border-warm);
  border-radius: 3px;
  padding: .8em 1em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.popup__field input::placeholder {
  color: var(--navy-muted);
  opacity: .4;
}
.popup__field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.popup__cta {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--bg-cream);
  background: var(--gold);
  border: none;
  padding: 1.1em;
  border-radius: 3px;
  cursor: pointer;
  margin-top: var(--space-sm);
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.popup__cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.popup__cta:active {
  transform: translateY(0);
}
.popup__cta:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.popup__note {
  text-align: center;
  font-size: .75rem;
  color: var(--navy-muted);
  margin-top: 12px;
}

/* Success state */
.popup__success {
  text-align: center;
  padding: var(--space-md) 0;
  display: none;
}
.popup__success.is-visible { display: block; }
.popup__success-icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.popup__success h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.popup__success p {
  font-size: .95rem;
  color: var(--navy-muted);
  line-height: 1.6;
}

/* Body lock when popup is open */
body.popup-open { overflow: hidden; }


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .descobrir__grid { grid-template-columns: 1fr 1fr; }
  .descobrir__card:nth-child(1),
  .descobrir__card:nth-child(2),
  .descobrir__card:nth-child(3),
  .descobrir__card:nth-child(4) { grid-column: auto; }

  .autora__inner { grid-template-columns: 1fr; text-align: center; }
  .autora__inner::after { display: none; }
  .autora__image-wrap { position: static; max-width: 360px; margin: 0 auto; }
  .autora__frame { display: none; }
  .autora__content { padding-top: var(--space-md); }
  .autora__text--quote { padding-left: 0; }
  .autora__text--quote::before { display: none; }

  .paraquem__inner { max-width: 620px; }
  .ctafinal__inner { max-width: 600px; }
}

@media (max-width: 600px) {
  .hero {
    padding-top: calc(70px + var(--space-md));
    padding-bottom: calc(var(--space-md) + 40px);
  }
  .hero__pre { font-size: clamp(1.1rem, 5vw, 1.4rem); }
  .hero__headline { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero__careers { font-size: clamp(1rem, 4.5vw, 1.3rem); margin-bottom: var(--space-md); }
  .hero__author { font-size: clamp(.85rem, 3.5vw, 1rem); }
  .hero__sub { font-size: clamp(.88rem, 3.5vw, 1rem); }
  .hero__angle { height: 35px; }
  .hero__badge { font-size: .65rem; padding: .5em 1em; }

  .btn-cta { width: 100%; text-align: center; padding: 1.1em 1.5em; font-size: .9rem; }

  .descobrir__grid { grid-template-columns: 1fr; }
  .descobrir__card:nth-child(1),
  .descobrir__card:nth-child(2),
  .descobrir__card:nth-child(3),
  .descobrir__card:nth-child(4) { grid-column: auto; }

  .autora__image-wrap { max-width: 100%; }
  .autora__image-wrap--landscape { max-width: 100%; }
  .autora__image-wrap img { border-radius: 6px 6px 60px 6px; }
  .autora__image-wrap--landscape img { border-radius: 6px; }
  .autora__title { font-size: clamp(1.5rem, 5vw, 2rem); }

  .paraquem { clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--space-2xl) + 35px); }
  .paraquem__title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .paraquem__item { grid-template-columns: 1fr; gap: 6px; padding: 20px 16px; margin: 0 -16px; }
  .paraquem__num { font-size: .7rem; }

  .ctafinal__headline { font-size: clamp(1.5rem, 5.5vw, 1.85rem); }
  .ctafinal__text { font-size: clamp(.9rem, 3.5vw, 1rem); }
  .ctafinal__gradient { height: 80px; }

  .faq__title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .faq__question { padding: 20px 0; font-size: clamp(.9rem, 3.5vw, 1rem); }
  .faq__answer p { padding-bottom: 20px; font-size: clamp(.85rem, 3.2vw, .95rem); }

  .popup { padding: 16px; }
  .popup__card { padding: clamp(1.5rem, 5vw, 2rem); border-radius: 6px; }
  .popup__title { font-size: 1.3rem; }
  .popup__field input { font-size: 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
