@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  --rr-navy: #07111c;
  --rr-beige: #f5f1e8;
  --rr-gold: #9a7a47;
  --rr-gold-light: #c6a66b;

  --font-title: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --font-ui: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rr-beige);
  color: var(--rr-navy);
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(36px, 4vw, 45px);
}

h2 {
  font-size: clamp(32px, 3vw, 40px);
}

h3 {
  font-size: clamp(26px, 2.5vw, 34px);
}

p {
  margin: 0;
}

.eyebrow,
.subtitle,
button,
.btn,
.main-nav {
  font-family: var(--font-ui);
}


/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 22px;
  right: clamp(20px, 4vw, 72px);
  z-index: 9999;

  transition:
    top 0.35s ease,
    right 0.35s ease;
}


/* =========================
   MENU
========================= */

.main-nav {
  position: relative;

  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);

  padding: 10px 16px;

  border: 1px solid transparent;
  border-radius: 4px;

  background: rgba(7, 17, 28, 0.54);

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;

  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}


/* Quando a página começa a rolar */

.site-header.is-scrolled .main-nav {
  background: rgba(7, 17, 28, 0.88);

  border-color: rgba(198, 166, 107, 0.18);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14);
}


/* =========================
   LINKS
========================= */

.main-nav a {
  position: relative;

  color: var(--rr-beige);

  text-decoration: none;
  white-space: nowrap;

  padding: 7px 0;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}


/* Linha animada embaixo */

.main-nav a::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: 0;

  width: 0;
  height: 1px;

  background: var(--rr-gold-light);

  transform: translateX(-50%);

  transition:
    width 0.28s ease,
    opacity 0.28s ease;

  opacity: 0;
}


.main-nav a:hover {
  color: var(--rr-gold-light);
}


.main-nav a:hover::after {
  width: 100%;
  opacity: 1;
}


/* Página ativa */

.main-nav a.active {
  color: var(--rr-gold-light);
}

.main-nav a.active::after {
  width: 100%;
  opacity: 0.75;
}


/* Acessibilidade */

.main-nav a:focus-visible {
  outline: 1px solid var(--rr-gold-light);
  outline-offset: 5px;
}


/* Divisores */

.menu-divider {
  color: var(--rr-gold);
  opacity: 0.48;
  font-weight: 300;
}


/* =========================
   BOTÃO MOBILE
========================= */

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(198, 166, 107, 0.3);
  border-radius: 4px;

  background: rgba(7, 17, 28, 0.88);

  cursor: pointer;

  align-items: center;
  justify-content: center;

  padding: 0;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


.menu-toggle-lines {
  position: relative;

  width: 19px;
  height: 12px;
}


.menu-toggle-lines::before,
.menu-toggle-lines::after,
.menu-toggle-lines span {
  content: "";

  position: absolute;
  left: 0;

  width: 100%;
  height: 1px;

  background: var(--rr-beige);

  transition:
    transform 0.3s ease,
    top 0.3s ease,
    opacity 0.3s ease;
}


.menu-toggle-lines::before {
  top: 0;
}


.menu-toggle-lines span {
  top: 5px;
}


.menu-toggle-lines::after {
  top: 10px;
}


/* Menu aberto */

.site-header.menu-open .menu-toggle-lines::before {
  top: 5px;
  transform: rotate(45deg);
}


.site-header.menu-open .menu-toggle-lines span {
  opacity: 0;
}


.site-header.menu-open .menu-toggle-lines::after {
  top: 5px;
  transform: rotate(-45deg);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

  body {
    font-size: 19px;
  }

  .site-header {
    top: 14px;
    right: 14px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;

    top: 54px;
    right: 0;

    width: min(260px, calc(100vw - 28px));

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 10px 18px;

    background: rgba(7, 17, 28, 0.96);

    border: 1px solid rgba(198, 166, 107, 0.22);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;

    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.18);
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;

    padding: 15px 4px;

    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .main-nav a::after {
    left: 4px;

    transform: none;
  }

  .main-nav a:hover::after,
  .main-nav a.active::after {
    width: 28px;
  }

  .menu-divider {
    display: none;
  }
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4129 / 1307;
  min-height: 430px;
  max-height: 620px;
  overflow: hidden;

  background-color: var(--rr-navy);
  background-image: url("../img/hero-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 54% center;

  color: var(--rr-beige);
}

.hero-inner {
  position: relative;
  width: min(100%, 1700px);
  height: 100%;
  min-height: inherit;
  margin: 0 auto;
}

.hero-content {
  position: absolute;
  z-index: 2;

  left: clamp(70px, 17vw, 320px);
  top: 50%;
  transform: translateY(-47%);

  width: clamp(420px, 39vw, 650px);

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-signature {
  display: block;
  width: clamp(270px, 22vw, 370px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 0 clamp(26px, 2.2vw, 38px);
}

.hero-title {
  width: 100%;
  max-width: 680px;
  text-align: center;
  font-family: var(--font-title);
  font-size: clamp(28px, 2.05vw, 38px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--rr-beige);
}


/* =========================
   HERO ANIMATION
========================= */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-signature,
.hero-title {
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards;
}

.hero-signature {
  animation-delay: 0.15s;
}

.hero-title {
  animation-delay: 0.32s;
}


/* =========================
   HERO RESPONSIVO
========================= */

@media (max-width: 1100px) {
  .hero-content {
    left: clamp(36px, 10vw, 120px);
    width: min(52vw, 590px);
  }

  .hero-signature {
    width: clamp(230px, 26vw, 310px);
  }

  .hero-title {
    font-size: clamp(27px, 3vw, 36px);
  }
}

@media (max-width: 760px) {
  .hero {
    aspect-ratio: auto;
    min-height: 720px;
    max-height: none;
    background-size: auto 100%;
    background-position: 68% center;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(
        180deg,
        rgba(7, 17, 28, 0.08) 0%,
        rgba(7, 17, 28, 0.20) 38%,
        rgba(7, 17, 28, 0.94) 70%,
        var(--rr-navy) 100%
      );
    pointer-events: none;
  }

  .hero-inner {
    min-height: 720px;
  }

  .hero-content {
    left: 50%;
    top: auto;
    bottom: 54px;
    width: calc(100% - 40px);
    max-width: 520px;
    transform: translateX(-50%);
  }

  .hero-signature {
    width: min(64vw, 300px);
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(29px, 7.5vw, 39px);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 660px;
    background-position: 62% center;
  }

  .hero-inner {
    min-height: 660px;
  }

  .hero-content {
    bottom: 42px;
    width: calc(100% - 32px);
  }

  .hero-signature {
    width: min(66vw, 270px);
  }

  .hero-title {
    font-size: clamp(27px, 8vw, 35px);
  }
}

/* =========================
   PÚBLICOS / COMPROMISSOS
========================= */

.audiences-section {
  background: var(--rr-beige);
  color: var(--rr-navy);
  padding: clamp(54px, 5.5vw, 72px) clamp(24px, 5vw, 80px);
}

.audiences-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.audience-card {
  min-height: 390px;
  padding: clamp(30px, 3vw, 46px);
  border: 1px solid var(--rr-gold);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  background: var(--rr-navy);
}

.audience-card {
  --card-offset: 0px;
  transform: translateY(var(--card-offset));
  will-change: transform;
}

.audience-card:nth-child(1) {
  --card-start-offset: 0px;
}

.audience-card:nth-child(2) {
  --card-start-offset: 46px;
}

.audience-card:nth-child(3) {
  --card-start-offset: 92px;
}

.audience-kicker {
  margin: 0 0 28px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.12em;
  color: var(--rr-gold);
}

.audience-title {
  margin: 0 0 26px;
  font-family: var(--font-title);
  font-size: clamp(21px, 2vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--rr-beige);
}

.audience-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.55;
  color: var(--rr-gold);
}

.audiences-statement {
  max-width: 1180px;
  margin: clamp(42px, 5vw, 68px) auto 0;
  text-align: center;
  font-family: var(--font-ui);
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--rr-navy);
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .audiences-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 0;
    --card-offset: 0px !important;
  }
}

@media (max-width: 560px) {
  .audiences-section {
    padding: 52px 18px;
  }

  .audience-card {
    padding: 28px 24px;
  }

  .audience-kicker {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .audience-title {
    margin-bottom: 20px;
  }

  .audiences-statement {
    margin-top: 36px;
  }
}

/* =========================
   MANIFESTO PREVIEW
========================= */

.manifesto-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1938 / 811;
  min-height: 500px;
  max-height: 650px;
  overflow: hidden;

  background-color: var(--rr-beige);
  background-image: url("../img/manifesto-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  color: var(--rr-navy);
}

.manifesto-preview-inner {
  position: relative;
  width: min(100%, 1700px);
  height: 100%;
  min-height: inherit;
  margin: 0 auto;
}

.manifesto-preview-content {
  position: absolute;
  left: clamp(48px, 10.8vw, 208px);
  top: 50%;
  transform: translateY(-50%);

  width: min(34vw, 590px);
}

.manifesto-preview-kicker,
.manifesto-preview-link {
  font-family: var(--font-ui);
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--rr-gold);
}

.manifesto-preview-kicker {
  margin: 0 0 clamp(28px, 2.2vw, 38px);
}

.manifesto-preview-title {
  margin: 0;
  max-width: 680px;

  font-family: var(--font-title);
  font-size: clamp(28px, 2.15vw, 40px);
  font-weight: 400;
  line-height: 1.18;

  color: var(--rr-navy);
}

.manifesto-preview-copy {
  margin-top: clamp(30px, 2.4vw, 40px);
  display: grid;
  gap: clamp(28px, 2vw, 34px);

  font-family: var(--font-body);
  font-size: clamp(18px, 1.18vw, 21px);
  line-height: 1.55;
  color: rgba(7, 17, 28, 0.9);
}

.manifesto-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: clamp(28px, 2.2vw, 38px);
  padding: 6px 0;

  text-decoration: none;
  transition: color 0.25s ease;
}

.manifesto-preview-link span {
  font-size: 1.3em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.manifesto-preview-link:hover {
  color: var(--rr-gold-light);
}

.manifesto-preview-link:hover span {
  transform: translateX(5px);
}

@media (max-width: 1050px) {
  .manifesto-preview {
    aspect-ratio: auto;
    min-height: 540px;
    background-position: 61% center;
  }

  .manifesto-preview-content {
    left: clamp(28px, 6vw, 72px);
    width: min(50vw, 560px);
  }

  .manifesto-preview-title {
    font-size: clamp(26px, 3vw, 34px);
  }

  .manifesto-preview-copy br {
    display: none;
  }
}

@media (max-width: 760px) {
  .manifesto-preview {
    min-height: 680px;
    max-height: none;
    background-size: auto 100%;
    background-position: 67% center;
  }

  .manifesto-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(245, 241, 232, 0.98) 0%,
        rgba(245, 241, 232, 0.94) 54%,
        rgba(245, 241, 232, 0.38) 100%
      );
    pointer-events: none;
  }

  .manifesto-preview-content {
    z-index: 1;
    left: 24px;
    top: 50%;
    width: min(82vw, 520px);
  }

  .manifesto-preview-title br {
    display: none;
  }

  .manifesto-preview-copy {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .manifesto-preview {
    min-height: 640px;
    background-position: 70% center;
  }

  .manifesto-preview-content {
    left: 20px;
    width: calc(100% - 40px);
  }
}

/* =========================
   TRAJETÓRIA / ANOS
========================= */

.career-section {
  position: relative;
  background: var(--rr-navy);
  color: var(--rr-gold-light);
  padding: clamp(72px, 7vw, 110px) clamp(24px, 5vw, 80px) clamp(96px, 9vw, 140px);
  overflow: clip;
}

.career-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.career-row {
  display: grid;
  gap: 14px;
}

.career-row-top {
  grid-template-columns: 2fr 1fr 1fr;
  position: sticky;
  top: 34px;
  z-index: 1;
}

.career-row-bottom {
  grid-template-columns: 1.15fr 1.55fr;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.career-card {
  min-height: 300px;
  padding: clamp(24px, 2.2vw, 34px);
  border: 2px solid rgba(34, 58, 82, 0.95);
  border-radius: 16px;
  background: rgba(13, 29, 46, 0.88);
}

.career-card-wide {
  background: rgba(7, 17, 28, 0.96);
}

.career-card-medium {
  min-height: 350px;
}

.career-card-legacy {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background:
    url("../img/trajetoria-2026-martelo.webp") center right / cover no-repeat;
}

.career-legacy-content {
  position: relative;
  z-index: 1;
  width: min(48%, 470px);
}

.career-year {
  margin: 0 0 22px;
  font-family: var(--font-title);
  font-size: clamp(40px, 3.2vw, 58px);
  font-weight: 400;
  line-height: 1;

  background: linear-gradient(
    180deg,
    #d6b873 0%,
    #b9914a 48%,
    #7c5a2e 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.career-label {
  margin: 0 0 24px;
  font-family: var(--font-title);
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--rr-gold);
}

.career-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 1.05vw, 20px);
  line-height: 1.5;
  color: rgba(198, 166, 107, 0.92);
}

.career-copy-secondary {
  margin-top: 26px;
}

.career-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;

  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--rr-beige);
  text-decoration: none;
}

.career-link span {
  font-size: 1.25em;
  transition: transform 0.25s ease;
}

.career-link:hover span {
  transform: translateX(5px);
}

/* =========================
   TRAJETÓRIA MOBILE
========================= */

@media (max-width: 1050px) {
  .career-section {
    padding: 58px 0 68px;
    overflow: hidden;
  }

  .career-inner {
    width: 100%;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding: 0 24px 20px;
    scrollbar-width: none;
  }

  .career-inner::-webkit-scrollbar {
    display: none;
  }

  .career-row-top,
  .career-row-bottom {
    display: contents;
  }

  .career-card {
    flex: 0 0 min(84vw, 420px);
    min-height: 420px;
    scroll-snap-align: center;
  }

  .career-card-wide,
  .career-card-medium,
  .career-card-legacy {
    min-height: 420px;
  }

  .career-card-legacy {
    background:
      url("../img/trajetoria-2026-martelo.webp") 70% center / cover no-repeat;
  }

  .career-legacy-content {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}

@media (max-width: 560px) {
  .career-inner {
    padding-inline: 18px;
  }

  .career-card {
    flex-basis: min(86vw, 360px);
    min-height: 400px;
    padding: 26px 24px;
  }

  .career-year {
    font-size: 44px;
  }

  .career-label {
    font-size: 23px;
  }

  .career-copy {
    font-size: 18px;
  }
}

/* =========================
   VISÃO DE FUTURO PREVIEW
========================= */

.future-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1900 / 608;
  min-height: 500px;
  max-height: 650px;
  overflow: hidden;

  background-color: var(--rr-beige);
  background-image: url("../img/futuro-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  color: var(--rr-navy);
}

.future-preview-inner {
  position: relative;
  width: min(100%, 1700px);
  height: 100%;
  min-height: inherit;
  margin: 0 auto;
}

.future-preview-content {
  position: absolute;
  left: clamp(48px, 10.5vw, 200px);
  top: 50%;
  transform: translateY(-50%);

  width: min(35vw, 610px);
}

.future-preview-kicker,
.future-preview-link {
  font-family: var(--font-ui);
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--rr-gold);
}

.future-preview-kicker {
  margin: 0 0 clamp(28px, 2.2vw, 38px);
}

.future-preview-title {
  margin: 0;
  max-width: 700px;

  font-family: var(--font-title);
  font-size: clamp(30px, 2.15vw, 40px);
  font-weight: 400;
  line-height: 1.12;

  color: var(--rr-navy);
}

.future-preview-copy {
  margin-top: clamp(30px, 2.4vw, 40px);
  display: grid;
  gap: clamp(28px, 2vw, 34px);

  font-family: var(--font-body);
  font-size: clamp(18px, 1.18vw, 21px);
  line-height: 1.5;
  color: rgba(7, 17, 28, 0.92);
}

.future-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: clamp(28px, 2.2vw, 38px);
  padding: 6px 0;

  text-decoration: none;
  transition: color 0.25s ease;
}

.future-preview-link span {
  font-size: 1.3em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.future-preview-link:hover {
  color: var(--rr-gold-light);
}

.future-preview-link:hover span {
  transform: translateX(5px);
}

@media (max-width: 1050px) {
  .future-preview {
    aspect-ratio: auto;
    min-height: 590px;
    background-position: 62% center;
  }

  .future-preview-content {
    left: clamp(28px, 6vw, 72px);
    width: min(48vw, 560px);
  }

  .future-preview-title {
    font-size: clamp(27px, 3vw, 35px);
  }

  .future-preview-copy br {
    display: none;
  }
}

@media (max-width: 760px) {
  .future-preview {
    min-height: 700px;
    max-height: none;
    background-size: auto 100%;
    background-position: 67% center;
  }

  .future-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(245, 241, 232, 0.98) 0%,
        rgba(245, 241, 232, 0.95) 52%,
        rgba(245, 241, 232, 0.45) 100%
      );
    pointer-events: none;
  }

  .future-preview-content {
    z-index: 1;
    left: 24px;
    width: min(82vw, 520px);
  }

  .future-preview-title br {
    display: none;
  }

  .future-preview-copy {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .future-preview {
    min-height: 660px;
    background-position: 70% center;
  }

  .future-preview-content {
    left: 20px;
    width: calc(100% - 40px);
  }
}

/* =========================
   CASA ROMIN PREVIEW
========================= */

.casa-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1900 / 611;
  min-height: 690px;
  max-height: 760px;
  overflow: hidden;

  background-color: var(--rr-navy);
  background-image: url("../img/casa-romin-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  color: var(--rr-beige);
}

.casa-preview-inner {
  position: relative;
  width: min(100%, 1700px);
  min-height: inherit;
  height: 100%;
  margin: 0 auto;
}

.casa-preview-content {
  position: absolute;
  left: clamp(48px, 9.8vw, 190px);
  top: clamp(42px, 7.6vw, 74px);
  z-index: 2;
  width: min(31vw, 560px);
}

.casa-preview-title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(36px, 2.75vw, 52px);
  font-weight: 400;
  line-height: 1;

  background: linear-gradient(
    180deg,
    #d5b86f 0%,
    #b9924e 55%,
    #7f5e31 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.casa-preview-copy {
  margin: clamp(46px, 3.6vw, 62px) 0 0;
  font-family: var(--font-body);
  font-size: clamp(24px, 1.95vw, 42px);
  line-height: 1.5;
  color: rgba(245, 241, 232, 0.98);
}

.casa-preview-link {
  margin-top: 46px;
}


.casa-cards-grid {
  position: absolute;
  left: clamp(48px, 9.8vw, 190px);
  right: clamp(48px, 9.8vw, 190px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.casa-card {
  --card-offset: 0px;
  transform: translateY(var(--card-offset));
  will-change: transform;

  border: 1px solid rgba(31, 59, 92, 0.95);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(7, 17, 28, 0.94);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.casa-card:nth-child(1) {
  --card-start-offset: 0px;
}

.casa-card:nth-child(2) {
  --card-start-offset: 26px;
}

.casa-card:nth-child(3) {
  --card-start-offset: 52px;
}

.casa-card:nth-child(4) {
  --card-start-offset: 78px;
}

.casa-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 18px;

  background: linear-gradient(
    180deg,
    #d9bd7b 0%,
    #c7a35f 52%,
    #ae8540 100%
  );
}

.casa-card-top h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(20px, 1.55vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--rr-navy);
  text-align: center;
}

.casa-card-bottom {
  min-height: 62px;
  padding: 10px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.casa-card-bottom p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.3;
  color: var(--rr-gold-light);
}

/* =========================
   CASA ROMIN RESPONSIVO
========================= */

@media (max-width: 1250px) {
  .casa-preview {
    min-height: 760px;
    max-height: none;
    aspect-ratio: auto;
    background-position: 62% center;
  }

  .casa-preview-content {
    width: min(44vw, 560px);
  }

  .casa-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .casa-card {
    --card-offset: 0px !important;
  }
}

@media (max-width: 760px) {
  .casa-preview {
    min-height: 760px;
    background-position: 68% center;
  }

  .casa-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(7, 17, 28, 0.18) 0%,
        rgba(7, 17, 28, 0.58) 42%,
        rgba(7, 17, 28, 0.90) 70%,
        rgba(7, 17, 28, 0.96) 100%
      );
    pointer-events: none;
  }

  .casa-preview-inner {
    min-height: 760px;
  }

  .casa-preview-content {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 40px);
    padding: 44px 20px 0;
  }

  .casa-preview-title {
    position: relative;
    z-index: 1;
  }

  .casa-preview-copy {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    font-size: clamp(22px, 5.8vw, 34px);
  }

  .casa-preview-copy br {
    display: none;
  }

  .casa-preview-link {
    margin-top: 28px;
  }

  .casa-cards-grid {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;

    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 28px 20px 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .casa-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .casa-card {
    flex: 0 0 min(78vw, 310px);
    scroll-snap-align: start;
    --card-offset: 0px !important;
  }

  .casa-card-top {
    min-height: 74px;
  }

  .casa-card-top h3 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .casa-card-bottom p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .casa-preview {
    min-height: 720px;
  }

  .casa-preview-inner {
    min-height: 720px;
  }

  .casa-card {
    flex-basis: min(82vw, 290px);
  }
}

/* =========================
   RODAPÉ
========================= */

.site-footer {
  width: 100%;
  background: #07111c;
  color: #f5f1e8;
  border-top: 1px solid rgba(198, 166, 107, 0.55);
}

.footer-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 42px clamp(24px, 5vw, 80px) 30px;

  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.footer-brand {
  min-width: 0;
}

.footer-signature {
  display: block;
  width: clamp(190px, 15vw, 250px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-heading {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--rr-gold);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0;

  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(245, 241, 232, 0.88);
  text-decoration: none;
}

.footer-contact-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: var(--rr-gold-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-link:hover {
  color: var(--rr-gold-light);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social-link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(198, 166, 107, 0.42);
  border-radius: 50%;
  color: var(--rr-gold-light);
  text-decoration: none;
}

.footer-social-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-social-linkedin svg {
  fill: currentColor;
  stroke: none;
}

.footer-social-link:hover {
  border-color: var(--rr-gold-light);
  color: var(--rr-beige);
}

.footer-legal {
  justify-self: end;
  text-align: right;

  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.65;
  color: rgba(245, 241, 232, 0.68);
}

.footer-legal p {
  margin: 0;
}

.footer-legal-links {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--rr-gold-light);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--rr-beige);
}

.footer-legal-links span {
  color: rgba(154, 122, 71, 0.55);
}

.footer-domain {
  margin-top: 12px !important;
  color: var(--rr-gold);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-legal {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid rgba(198, 166, 107, 0.18);
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 22px 26px;
  }

  .footer-signature {
    width: min(62vw, 230px);
  }

  .footer-legal {
    grid-column: auto;
  }
}

/* =========================================================
   MOBILE PASS V1 — AJUSTES ESPECÍFICOS PARA TELAS PEQUENAS
   Mantém o desktop inalterado.
========================================================= */

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .main-nav {
    top: 56px;
    width: min(286px, calc(100vw - 24px));
    max-height: calc(100svh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 18px;
  }

  .main-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    font-size: 13px;
  }

  /* HOME — hero ocupa a primeira tela sem depender de altura fixa */
  .hero,
  .hero-inner {
    min-height: max(660px, 100svh);
  }

  .hero {
    background-position: 60% center;
  }

  .hero-content {
    bottom: max(42px, calc(30px + env(safe-area-inset-bottom, 0px)));
  }

  /* Os três públicos passam a ter scroll horizontal intencional. */
  .audiences-section {
    padding: 54px 0;
  }

  .audiences-inner {
    width: 100%;
  }

  .audiences-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 20px 18px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .audiences-grid::-webkit-scrollbar {
    display: none;
  }

  .audience-card {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: center;
    min-height: 430px;
    padding: 28px 24px;
  }

  .audience-kicker {
    font-size: 13px;
  }

  .audience-title {
    font-size: clamp(25px, 7vw, 32px);
  }

  .audience-text {
    font-size: 19px;
  }

  .audiences-statement {
    padding: 0 20px;
    font-size: 16px;
  }

  .audiences-statement br {
    display: none;
  }

  /* Painéis editoriais da Home */
  .manifesto-preview,
  .future-preview {
    min-height: 720px;
  }

  .manifesto-preview-content,
  .future-preview-content {
    left: 20px;
    width: calc(100% - 40px);
  }

  .manifesto-preview-title,
  .future-preview-title {
    font-size: clamp(30px, 8vw, 38px);
  }

  .manifesto-preview-copy,
  .future-preview-copy {
    font-size: 19px;
    line-height: 1.5;
  }

  /* Os cards horizontais deixam uma parte do próximo item aparente. */
  .career-card {
    flex-basis: min(86vw, 350px);
  }

  .casa-card {
    flex-basis: min(82vw, 300px);
  }

  .site-footer {
    overflow: hidden;
  }

  .footer-contact-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(27px, 8.5vw, 34px);
  }

  .manifesto-preview,
  .future-preview {
    min-height: 700px;
  }
}
