/* Hero — full-bleed graphite band like the other sections. The question owns
   the left column; a portrait of Jocimar sits vertically centered in the right
   column on the same container grid. */
.sec-hero {
  --hero-header: 84px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(185, 119, 58, .20) 0%, rgba(185, 119, 58, 0) 70%),
    radial-gradient(45% 70% at 0% 100%, rgba(138, 85, 38, .22) 0%, rgba(138, 85, 38, 0) 70%),
    var(--grafite);
  color: var(--branco);
}
/* oversized brand question mark as a quiet backdrop texture */
.sec-hero::before {
  content: "?";
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: -0.32em;
  font: 200 clamp(380px, 52vw, 820px)/1 var(--font);
  color: rgba(255, 255, 255, .025);
  pointer-events: none;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: center;
  min-height: clamp(600px, calc(100svh - var(--hero-header)), 860px);
  padding-block: clamp(56px, 7vw, 104px);
}

.hero-title {
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -0.045em;
  color: var(--branco);
  max-width: 8.4em;
  text-wrap: balance;
}
.hero-title-accent {
  position: relative;
  font-weight: 500;
  color: var(--caramelo);
  white-space: nowrap;
}
.hero-title-accent::after {
  content: "";
  position: absolute;
  left: .02em;
  right: .02em;
  bottom: -.02em;
  height: .07em;
  border-radius: 99px;
  background: var(--caramelo);
  opacity: .5;
  transform-origin: left center;
  animation: hero-underline 1.1s var(--ease) .8s both;
}

.hero-lead {
  margin-top: clamp(24px, 2.6vw, 36px);
  max-width: 30em;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}

.hero-region {
  margin: clamp(18px, 2vw, 24px) 0 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--caramelo-claro);
}

.hero-actions {
  margin-top: clamp(30px, 3.2vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 26px 0 8px;
  border-radius: 999px;
  background: var(--creme);
  color: var(--grafite);
  font: 500 17px/1 var(--font);
  text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(42, 42, 46, .6);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.hero-cta-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--caramelo-profundo);
  color: var(--branco);
  transition: transform .4s var(--ease);
}
.hero-cta-icon svg { width: 22px; height: 22px; }
.hero-cta-arrow { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.hero-cta:hover { background: var(--branco); }
.hero-cta:hover .hero-cta-arrow { transform: translateX(4px); }
.hero-cta:hover .hero-cta-icon { transform: rotate(-8deg) scale(1.05); }
.hero-cta:active { transform: scale(.98); }
.hero-cta:focus-visible { outline: 2px solid var(--caramelo-claro); outline-offset: 4px; }


/* ---------- Portrait ---------- */
.hero-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--caramelo-profundo);
  box-shadow: 0 40px 90px -50px rgba(185, 119, 58, .5);
}
.hero-img {
  --hx: 0px;
  --hy: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform: translate3d(var(--hx), var(--hy), 0) scale(1.04);
  transition: transform 1.2s var(--ease);
  animation: hero-settle 2.4s var(--ease) both;
  filter: saturate(.88) contrast(1.04);
}
/* warm grade + floor shade so the caption reads */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 42, 46, 0) 55%, rgba(42, 42, 46, .7) 100%),
    linear-gradient(0deg, rgba(185, 119, 58, .10), rgba(185, 119, 58, .10));
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(20px, 2.4vw, 32px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 18px;
  border-radius: 16px;
  background: rgba(42, 42, 46, .42);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  animation: hero-rise .9s var(--ease) .7s both;
}
.hero-caption-num {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--caramelo-claro);
}
.hero-caption-text {
  display: grid;
  gap: 3px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .22);
  line-height: 1.2;
}
.hero-caption-text strong { font-size: 15px; font-weight: 500; color: var(--branco); }
.hero-caption-text span { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ---------- Motion ---------- */
.hero-in { animation: hero-rise .9s var(--ease) var(--d, 0s) both; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes hero-settle { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes hero-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero-in, .hero-img, .hero-caption, .hero-title-accent::after { animation: none; }
  .hero-img { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .hero-stage { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
  .hero-caption-num { font-size: 32px; }
}

/* ---------- Mobile: question first, portrait below, still full-bleed ---------- */
@media (max-width: 820px) {
  .sec-hero { --hero-header: 68px; }
  .sec-hero::before { font-size: 120vw; bottom: auto; top: -0.2em; }
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-block: 44px 56px;
  }
  .hero-title { font-size: clamp(42px, 12vw, 60px); line-height: 1; max-width: 9ch; }
  .hero-lead { margin-top: 16px; font-size: 15.5px; line-height: 1.55; }
  .hero-region { margin-top: 14px; font-size: 12.5px; letter-spacing: 0; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .hero-cta { width: 100%; min-height: 58px; padding-right: 20px; font-size: 16px; }
  .hero-cta-icon { width: 42px; height: 42px; }
  .hero-cta-arrow { margin-left: auto; }

  .hero-media { aspect-ratio: 1 / 1; }
  .hero-caption { padding: 12px 16px; }
  .hero-caption-num { font-size: 30px; }
}

/* ==========================================================================
   Layout: the portrait becomes the backdrop of the whole section,
   with Jocimar's face on the right; the copy sits on the left, clear of the
   face, over a graphite wash that keeps it legible.
   ========================================================================== */
.hero--centro .hero-stage { grid-template-columns: minmax(0, 1fr); }
.hero--centro .hero-copy { max-width: 640px; }
.hero--centro .hero-lead { color: rgba(255, 255, 255, .86); }
.hero--centro .hero-media {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(47%, 820px);
  aspect-ratio: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  /* the photo is cropped tight on Jocimar's left, so fade only a thin edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
}
.hero--centro .hero-img { object-position: 50% 0%; }
/* graphite wash: darker toward the centered copy, open over the face */
.hero--centro .hero-media::after {
  background:
    linear-gradient(90deg, rgba(42, 42, 46, .35) 0%, rgba(42, 42, 46, .1) 40%, rgba(42, 42, 46, .15) 100%),
    linear-gradient(180deg, rgba(42, 42, 46, 0) 60%, rgba(42, 42, 46, .6) 100%);
}
.hero--centro .hero-caption { left: auto; text-align: left; }
.hero--centro .hero-title,
.hero--centro .hero-lead { text-shadow: 0 2px 30px rgba(42, 42, 46, .6); }

@media (max-width: 820px) {
  .hero--centro .hero-media {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero--centro .hero-img { object-position: 50% 0%; }
  .hero--centro .hero-caption { display: none; }
  .hero--centro .hero-media::after {
    background: linear-gradient(180deg, rgba(42, 42, 46, .55) 0%, rgba(42, 42, 46, .82) 55%, rgba(42, 42, 46, .92) 100%);
  }
}
