/* =========================================================================
   TEOTONIO & ADVOGADOS ASSOCIADOS — HOME
   01 RESET · 02 TOKENS · 03 TYPOGRAPHY · 04 GLOBAL LAYOUT · 05 HEADER
   06 HERO · 07 NEEDS · 08 POSITIONING · 09 PROCESS · 10 PREVIDENCIARY
   11 PRACTICE AREAS · 12 INSTITUTIONAL · 13 PROFESSIONALS · 14 TRUST
   15 CONTENT · 16 FAQ · 17 LOCATION · 18 CTA · 19 FOOTER
   20 RESPONSIVE · 21 UTILITIES
   ========================================================================= */

/* 01 RESET =============================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, address { margin: 0; }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; }

/* 02 TOKENS ============================================================== */
:root {
  --color-black: #0C0C0C;
  --color-gold: #B37E21;
  --color-gold-light: #CDAA47;
  --color-navy: #030626;
  --color-gray: #A6A6A6;
  --color-white: #FFFFFF;
  --color-offwhite: #FBFBFB;
  --color-text: #1C1B1B;
  --color-text-secondary: #504536;
  --color-border: #E5E5E5;
  --color-invert-text: #E8E6E3;
  --color-footer-text: #C9C7D4;

--font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
--font-sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-height: 85px;
  --section-space: clamp(60px, 8vw, 112px);

  --ease: 220ms ease;
}

/* 03 TYPOGRAPHY ========================================================== */

body {
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 400; text-wrap: pretty; }
p { text-wrap: pretty; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.eyebrow--gold-light { color: var(--color-gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.22;
  color: var(--color-black);
}
.section-title--invert { color: var(--color-white); }

.lead {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-secondary);
}
.lead--invert { color: var(--color-invert-text); }
.lead + .lead { margin-top: 20px; }

.need-text { font-size: 16px; line-height: 24px; color: var(--color-text-secondary); }

.text-highlight {
  background: var(--color-gold-light);
  color: var(--color-black);
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.micro-proof {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.micro-proof--invert { color: var(--color-gray); border: 0; padding-top: 0; margin-top: 28px; }

.statement {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--color-black);
  max-width: 760px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-left: 24px;
  border-left: 1px solid var(--color-gold);
}

.big-number {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  color: rgba(205, 170, 71, 0.45);
  margin-bottom: 20px;
}

/* 04 GLOBAL LAYOUT ======================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: var(--section-space) 0;
  scroll-margin-top: 92px;
}
.section--white { background: var(--color-white); }
.section--light { background: var(--color-offwhite); }
.section--black { background: var(--color-black); color: var(--color-white); }
.section--navy { background: var(--color-navy); color: var(--color-white); }
.section--top-rule { border-top: 1px solid var(--color-border); }

main {
  padding-top: 0;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--narrow { max-width: 680px; }
.section-head .section-title { margin-top: 20px; }
.section-head .lead { margin-top: 20px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--top { align-items: start; }
.split__copy--short { align-self: start; }
.split__media { position: relative; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.actions--tight { margin-top: 16px; }

.rule-gold { display: block; width: 48px; border-top: 1px solid var(--color-gold); margin: 28px 0; }
.rule-gold--wide { width: 56px; margin: 32px 0; }

.address {
  font-style: normal;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
  margin-top: 32px;
  padding-left: 20px;
  border-left: 1px solid var(--color-gold);
}

/* Botões ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 18px 30px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn--primary { background: var(--color-black); color: var(--color-white); border-color: var(--color-gold); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--color-gold); color: var(--color-white); }
.btn--gold { background: var(--color-gold); color: var(--color-black); border-color: var(--color-gold); }
.btn--gold:hover, .btn--gold:focus-visible { background: var(--color-gold-light); }
.btn--secondary { background: transparent; color: var(--color-black); border-color: var(--color-black); min-height: 48px; padding: 15px 22px; }
.btn--secondary:hover, .btn--secondary:focus-visible { background: var(--color-black); color: var(--color-white); }
.btn--compact { min-height: 48px; padding: 15px 22px; }
.btn--block { display: flex; width: 100%; margin-top: 20px; }

.text-link {
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
  transition: color var(--ease);
}
.text-link:hover, .text-link:focus-visible { color: var(--color-gold); }
.text-link--invert { color: var(--color-white); }
.text-link--invert:hover, .text-link--invert:focus-visible { color: var(--color-gold-light); }

/* Fotografia + planos dourados ------------------------------------------ */
.photo-accent { position: absolute; z-index: 0; }
.photo-accent--top-right {
  top: -24px; right: -24px;
  width: clamp(110px, 22%, 200px);
  height: clamp(110px, 46%, 220px);
  background: var(--color-gold);
}
.photo-accent--bottom-left {
  bottom: -24px; left: -24px;
  width: clamp(110px, 24%, 190px);
  height: clamp(110px, 34%, 200px);
  background: var(--color-gold-light);
}
.split__media img, .hero__image { position: relative; z-index: 1; }
.img-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.img-landscape { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.img-fill { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--color-border);
  background: repeating-linear-gradient(135deg, #FBFBFB 0 8px, #F3F1EE 8px 16px);
  display: grid;
  place-items: center;
  padding: 16px;
}
.image-placeholder--wide { aspect-ratio: 4 / 3; position: relative; z-index: 1; }
.image-placeholder p {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-gray);
  text-align: center;
}

/* Acessibilidade -------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--color-black);
  color: var(--color-white);
  padding: 12px 16px;
  font-size: 14px;
}
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
::selection { background: var(--color-gold-light); color: var(--color-black); }
body.menu-open { overflow: hidden; }

/* 05 HEADER ============================================================== */
/* =========================================================
   HEADER / MASTHEAD
========================================================= */

/* =========================================================
   TOPO INICIAL
========================================================= */

/* =========================================================
   NAVEGAÇÃO INICIAL
========================================================= */

.hero-topnav {
  position: relative;
  z-index: 20;

  width: 100%;

  background:
    var(--color-offwhite);

  border-bottom:
    1px solid rgba(12, 12, 12, 0.07);
}


.hero-topnav__inner {
  min-height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 32px;
}


.hero-topnav__spacer {
  flex: 1 1 auto;
}


.hero-nav {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: clamp(
    22px,
    2vw,
    32px
  );
}


.hero-nav__link {
  appearance: none;

  border: 0;

  background: none;

  padding: 12px 0;

  font-family:
    var(--font-sans);

  font-size: 14px;

  line-height: 20px;

  color:
    var(--color-text);

  cursor: pointer;

  transition:
    color var(--ease);
}


.hero-nav__link:hover,
.hero-nav__link:focus-visible {
  color:
    var(--color-gold);
}


/* Navegação do topo */
.hero-nav {

  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: clamp(
    20px,
    2vw,
    30px
  );
}


.hero-nav__link {

  appearance: none;

  border: 0;

  background: none;

  padding: 12px 0;

  font-family:
    var(--font-sans);

  font-size: 14px;

  line-height: 20px;

  letter-spacing: 0.02em;

  color:
    var(--color-text);

  cursor: pointer;

  transition:
    color var(--ease);
}


.hero-nav__link:hover,
.hero-nav__link:focus-visible {

  color:
    var(--color-gold);
}

/* =========================================================
   HEADER QUE SURGE NO SCROLL
========================================================= */

.scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  z-index: 100;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(12, 12, 12, 0.10);

  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    transform 420ms cubic-bezier(.22,.7,.25,1),
    opacity 320ms ease,
    visibility 0s linear 420ms;

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


/* Estado ativado após 200px */
.scroll-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    transform 420ms cubic-bezier(.22,.7,.25,1),
    opacity 320ms ease,
    visibility 0s;
}


.scroll-header__inner {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  padding-top: 10px;
  padding-bottom: 10px;
}


/* Marca horizontal do header fixo */
.scroll-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.scroll-header__logo img {
  width: clamp(185px, 16vw, 245px);
  max-height: 54px;
  object-fit: contain;
}


/* Mega menu */
.nav-mega {
  position: relative;
}

.nav-mega__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -24px;

  min-width: 320px;
  padding: 22px;

  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);

  display: grid;
  gap: 2px;
}

.nav-mega__panel[hidden] {
  display: none;
}

.nav-mega__panel a {
  padding: 10px 8px;

  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);

  border-bottom: 1px solid #F2F2F2;

  transition:
    color var(--ease),
    background var(--ease);
}

.nav-mega__panel a:last-child {
  border-bottom: 0;
}

.nav-mega__panel a:hover,
.nav-mega__panel a:focus-visible {
  color: var(--color-gold);
  background: var(--color-offwhite);
}


.nav-mega { position: relative; }
.nav-mega__panel {
  position: absolute;
  top: 100%;
  left: -24px;
  min-width: 320px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  padding: 24px;
  display: grid;
  gap: 2px;
}
.nav-mega__panel[hidden] { display: none; }
.nav-mega__panel a {
  font-size: 15px;
  color: var(--color-text);
  padding: 10px 8px;
  border-bottom: 1px solid #F2F2F2;
  transition: color var(--ease), background var(--ease);
}
.nav-mega__panel a:last-child { border-bottom: 0; }
.nav-mega__panel a:hover, .nav-mega__panel a:focus-visible { color: var(--color-gold); background: var(--color-offwhite); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  place-items: center;
}
.nav-toggle__bars {
  display: block;
  width: 20px;
  height: 9px;
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
}

/* =========================================================
   MOBILE NAVIGATION — FINAL
========================================================= */

.nav-mobile {
  position: fixed;

  inset: 0;

  z-index: 500;

  width: 100%;
  height: 100dvh;

  background:
    rgba(255, 255, 255, 0.985);

  overflow-y: auto;

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transform:
    translateY(-16px);

  transition:
    opacity 200ms ease,
    transform 260ms ease,
    visibility 0s linear 260ms;
}


.nav-mobile.is-open {

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform:
    translateY(0);

  transition:
    opacity 200ms ease,
    transform 260ms ease,
    visibility 0s;
}


/* Conteúdo interno */
.nav-mobile > .container {

  width: 100%;

  max-width: 680px;

  min-height: 100%;

  margin: 0 auto;

  padding:
    92px
    var(--gutter)
    40px;
}


.nav-mobile a:not(.btn) {

  display: block;

  padding:
    16px 0;

  border-bottom:
    1px solid var(--color-border);

  font-family:
    var(--font-sans);

  font-size: 17px;

  line-height: 24px;

  color:
    var(--color-text);
}


.nav-mobile .btn {

  margin-top: 28px;
}


/* Bloqueia scroll */
html.menu-open,
body.menu-open {

  overflow: hidden;
}


/* trava página */
body.menu-open {

  overflow: hidden;
}

/* =========================================================
   HAMBURGER
========================================================= */

.nav-toggle {

  display: none;

  position: relative;

  z-index: 600;

  width: 48px;
  height: 48px;

  padding: 0;

  border:
    1px solid var(--color-border);

  background:
    rgba(255, 255, 255, 0.96);

  cursor: pointer;

  place-items: center;
}


.nav-toggle__bars {

  position: relative;

  display: block;

  width: 20px;

  height: 14px;
}


.nav-toggle__bars::before,
.nav-toggle__bars::after {

  content: "";

  position: absolute;

  left: 0;

  width: 20px;

  height: 1px;

  background:
    var(--color-black);

  transform-origin: center;

  transition:
    top 220ms ease,
    transform 220ms ease;
}


.nav-toggle__bars::before {
  top: 3px;
}


.nav-toggle__bars::after {
  top: 10px;
}


/* X */
.nav-toggle.is-active
.nav-toggle__bars::before {

  top: 6px;

  transform:
    rotate(45deg);
}


.nav-toggle.is-active
.nav-toggle__bars::after {

  top: 6px;

  transform:
    rotate(-45deg);
}


.hero__mobile-toggle,
.scroll-header__toggle {
  position: relative;

  z-index: 130;

  pointer-events: auto;
}

/* =========================================================
   POSIÇÃO DO TOGGLE NA HERO MOBILE
========================================================= */

@media (max-width: 1099px) {

  .hero__container {
    position: relative;
  }


  /*
   * Fundamental:
   * evita que o botão absoluto seja posicionado
   * em relação à área da fotografia.
   */
  .hero__visual {
    position: static;
  }


  .hero__nav-row {

    position: absolute;

    top: 4px;

    right: 0;

    z-index: 50;

    width: auto;

    margin: 0;
  }


  .hero-nav {
    display: none;
  }


  .hero__mobile-toggle {
    display: grid;
  }


  .scroll-header__toggle {
    display: grid;
  }

}


@media (min-width: 1100px) {

  .hero__mobile-toggle,
  .scroll-header__toggle {

    display: none;

  }

}

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

.hero {
  position: relative;

  width: 100%;

  min-height: 100svh;

  overflow: hidden;

  background:
    var(--color-offwhite);

  border-bottom:
    1px solid var(--color-border);
}


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

.hero {
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;

  background: var(--color-offwhite);
  border-bottom: 1px solid var(--color-border);

  padding:
    clamp(28px, 2.5vw, 42px)
    0
    clamp(64px, 6vw, 92px);
}


/* Hero um pouco mais larga que as demais seções */
.hero__container {
  width: 100%;
  max-width: 1540px;

  margin-inline: auto;

  display: grid;
  grid-template-columns:
    minmax(0, 59fr)
    minmax(0, 41fr);

  gap: clamp(44px, 4vw, 68px);

  align-items: start;
}


/* ==========================================================================
   COLUNA ESQUERDA
   ========================================================================== */

.hero__content {
  min-width: 0;
}


/* Logo oficial 1x1 */
.hero__brand {
  display: block;

  width: clamp(190px, 15vw, 238px);
}


.hero__brand img {
  display: block;

  width: 100%;
  height: auto;
}


/* Conteúdo verbal */
.hero__message {
  width: 100%;

  margin-top:
    clamp(20px, 2.2vw, 32px);
}


.hero__eyebrow {
  max-width: 620px;
}


/* Título */
.hero__title {
  width: 100%;

  font-family: var(--font-serif);

  font-size:
    clamp(46px, 4.1vw, 66px);

  line-height: 1.07;
  letter-spacing: -0.026em;

  color: var(--color-black);
}


/* Subtítulo */
.hero__lead {

  margin-top: 28px;

  font-family: var(--font-sans);

  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;

  color: var(--color-text-secondary);
}


/* CTAs */
.hero__actions {
  display: flex;
  flex-wrap: wrap;

  align-items: center;

  gap: 16px 26px;

  margin-top: 34px;
}


.hero__micro {
  width: 100%;
  max-width: 540px;

  margin-top: 28px;
  padding-top: 16px;

  border-top: 1px solid var(--color-border);

  font-size: 13px;
  line-height: 20px;

  color: var(--color-text-secondary);
}


/* ==========================================================================
   COLUNA DIREITA
   ========================================================================== */

.hero__visual {
  position: relative;

  min-width: 0;
}


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

.hero__nav-row {
  position: relative;
  z-index: 10;

  display: flex;

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

  /*
   * O menu pode avançar para a esquerda sem aumentar
   * a largura da fotografia.
   */
  width: calc(100% + 250px);
  margin-left: -250px;

  margin-bottom:
    clamp(34px, 3vw, 48px);
}


.hero-nav {
  display: flex;

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

  gap: clamp(15px, 1.2vw, 22px);

  white-space: nowrap;
}


.hero-nav__link {
  appearance: none;

  border: 0;
  background: transparent;

  padding: 9px 0;

  font-family: var(--font-sans);

  font-size: 13px;
  line-height: 20px;

  color: rgba(28, 27, 27, 0.72);

  white-space: nowrap;

  cursor: pointer;

  transition: color var(--ease);
}


.hero-nav__link:hover,
.hero-nav__link:focus-visible {
  color: var(--color-gold);
}


/* CTA discreto do menu */
.hero-nav__cta {
  display: inline-flex;

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

  min-height: 40px;

  padding: 9px 16px;

  border: 1px solid var(--color-black);

  font-family: var(--font-sans);

  font-size: 11px;
  font-weight: 600;

  line-height: 16px;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--color-black);

  white-space: nowrap;

  transition:
    background var(--ease),
    color var(--ease);
}


.hero-nav__cta:hover,
.hero-nav__cta:focus-visible {
  background: var(--color-black);
  color: var(--color-white);
}


/* ==========================================================================
   FOTOGRAFIA
   ========================================================================== */

.hero__media {
  position: relative;

  width: 100%;

  padding-top: 18px;
  padding-right: 18px;
}


.hero__image {
  position: relative;
  z-index: 2;

  display: block;

  width: 100%;

  /*
   * Ratio controla melhor responsividade que altura em vh.
   */
  aspect-ratio: 4 / 5;

  height: auto;

  object-fit: cover;

  object-position: center center;
}


/* Plano dourado */
.hero__gold-block {
  position: absolute;

  z-index: 1;

  top: 0;
  right: 0;

  width: clamp(110px, 25%, 160px);
  height: clamp(135px, 33%, 185px);

  background: var(--color-gold);
}

/* 07 NEEDS =============================================================== */
.need-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.need-featured {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color var(--ease), background var(--ease);
}

/* ==========================================================================
   IMAGEM — CARD PREVIDENCIÁRIO
   ========================================================================== */

.need-featured__media {
  display: block;

  width: min(350px, 100%);

  margin-top: 32px;

  overflow: hidden;
}


.need-featured__media img {
  display: block;

width: min(350px, 100%);

  aspect-ratio: 270 / 370;

  object-fit: cover;

  object-position: center;

  transition:
    transform 420ms ease;
}


/* Microinteração discreta */
.need-featured:hover
.need-featured__media img {

  transform:
    scale(1.015);
}

.need-featured:hover, .need-featured:focus-visible { border-color: var(--color-gold); background: var(--color-white); }
.need-featured__number { font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--color-gold); }
.need-featured .eyebrow { margin-top: 28px; }
.need-featured__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--color-black);
  margin-top: 14px;
}
.need-featured .need-text { margin-top: 16px; line-height: 25px; }
.need-featured__cta { margin-top: auto; padding-top: 28px; }

.need-cards {
  flex: 2 1 540px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.need-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  padding: 24px 22px 26px;
  transition: border-color var(--ease), background var(--ease);
}
.need-card:hover, .need-card:focus-visible { border-color: var(--color-gold); background: var(--color-offwhite); }
.need-card__head { display: flex; gap: 14px; align-items: baseline; }
.need-card__number { font-family: var(--font-serif); font-size: 15px; color: var(--color-gray); }
.need-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 28px;
  color: var(--color-black);
  margin-top: 12px;
}
.need-card .need-text { margin-top: 12px; }
.need-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: auto;
  padding-top: 22px;
  transition: color var(--ease);
}
.need-card:hover .need-card__cta { color: var(--color-gold); }

/* 08 POSITIONING ========================================================= */
.split--media-first .split__media { order: -1; }

/* 09 PROCESS ============================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px);
}
.process-step { position: relative; border-top: 1px solid var(--color-border); padding: 26px 24px 0 0; }
.process-step::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 5px; height: 5px;
  background: var(--color-gold);
}
.process-step__number { font-family: var(--font-serif); font-size: clamp(34px, 3.4vw, 44px); line-height: 1; color: var(--color-gold); }
.process-step__title { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--color-black); margin-top: 20px; }
.process-step .need-text { margin-top: 12px; }

/* 10 PREVIDENCIARY ======================================================= */
#previdenciario .split { align-items: start; gap: clamp(40px, 6vw, 80px); }
.topic-list { border-top: 1px solid rgba(205, 170, 71, 0.4); align-self: start; }
.topic-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: 17px;
  transition: color var(--ease), border-color var(--ease);
}
.topic-list__item span:last-child { transition: transform var(--ease); }
.topic-list__item:hover, .topic-list__item:focus-visible { color: var(--color-gold-light); border-bottom-color: var(--color-gold); }
.topic-list__item:hover span:last-child { transform: translateX(4px); }

/* 11 PRACTICE AREAS ====================================================== */
.practice-list { border-top: 1px solid var(--color-border); }
.practice-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--ease);
}
.practice-item:hover, .practice-item:focus-visible { border-bottom-color: var(--color-gold); }
.practice-item__head { display: flex; gap: 20px; align-items: baseline; }
.practice-item__number { font-family: var(--font-serif); font-size: 15px; color: var(--color-gray); }
.practice-item__title { font-family: var(--font-serif); font-size: 24px; line-height: 32px; color: var(--color-black); }
.practice-item__body { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.practice-item__arrow { color: var(--color-gold); transition: transform var(--ease); }
.practice-item:hover .practice-item__arrow { transform: translateX(4px); }

/* 12 INSTITUTIONAL ======================================================= */
.attributes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
  margin-top: 48px;
}
.attribute { background: var(--color-offwhite); padding: 24px 20px 28px; }
.attribute__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-black);
}
.attribute__text { font-size: 15px; line-height: 23px; color: var(--color-text-secondary); margin-top: 12px; }

/* ==========================================================================
   13 PROFESSIONALS
   ========================================================================== */

.professionals-head {
  max-width: 760px;
}


/* ==========================================================================
   COMPOSIÇÃO PRINCIPAL
   ========================================================================== */

.professionals-showcase {
  display: grid;

  grid-template-columns:
    minmax(250px, 27%)
    minmax(0, 73%);

  gap:
    clamp(32px, 4vw, 56px);

  align-items: start;
}


/* ==========================================================================
   FUNDADOR
   ========================================================================== */

.professional-founder {
  min-width: 0;
}


.professional-founder__image {
  position: relative;

  display: block;

  padding-top: 16px;
  padding-left: 16px;
}


.professional-founder__image img {
  position: relative;

  z-index: 2;

  width: 100%;

  aspect-ratio: 3 / 4;

  object-fit: cover;

  object-position: center top;
}


/* detalhe geométrico sutil */
.professional-founder__accent {
  position: absolute;

  z-index: 1;

  top: 0;
  left: 0;

  width: 42%;
  height: 42%;

  border:
    1px solid var(--color-gold);
}


.professional-founder__content {
  padding-top: 22px;
}


.professional__label {
  margin-top: 0;
}


.professional-founder__name {
  margin-top: 10px;

  font-family:
    var(--font-serif);

  font-size:
    clamp(22px, 2vw, 28px);

  line-height: 1.25;

  color:
    var(--color-black);
}


.professional__role {
  margin-top: 7px;

  font-size: 14px;

  line-height: 22px;

  color:
    var(--color-text-secondary);
}


.professional__link {
  display: inline-block;

  margin-top: 16px;
}


/* ==========================================================================
   CARROSSEL
   ========================================================================== */

.professionals-carousel {
  min-width: 0;
}


.professionals-carousel__head {
  min-height: 48px;

  display: flex;

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

  gap: 24px;

  margin-bottom: 18px;

  padding-bottom: 12px;

  border-bottom:
    1px solid var(--color-border);
}


.professionals-carousel__caption {
  font-size: 12px;

  font-weight: 600;

  line-height: 16px;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  color:
    var(--color-text-secondary);
}


.professionals-carousel__controls {
  display: flex;

  gap: 8px;
}


.professionals-carousel__button {
  width: 40px;
  height: 40px;

  display: grid;

  place-items: center;

  padding: 0;

  border:
    1px solid var(--color-border);

  background:
    transparent;

  color:
    var(--color-black);

  cursor: pointer;

  transition:
    border-color var(--ease),
    color var(--ease),
    background var(--ease);
}


.professionals-carousel__button:hover,
.professionals-carousel__button:focus-visible {
  border-color:
    var(--color-gold);

  color:
    var(--color-gold);
}


/* VIEWPORT */

.professionals-carousel__viewport {
  width: 100%;

  overflow: hidden;

  outline: none;
}


/* TRACK */

.professionals-carousel__track {
  display: flex;

  gap: 24px;

  will-change: transform;

  transition:
    transform 620ms
    cubic-bezier(.22,.65,.28,1),
    opacity 300ms ease;
}


/* fade mínimo durante movimento */
.professionals-carousel__track.is-moving {
  opacity: 0.88;
}

/* ==========================================================================
   CARROSSEL — TOUCH
   ========================================================================== */

.professionals-carousel__viewport {
  touch-action:
    pan-y;

  cursor:
    grab;
}


.professionals-carousel__viewport:active {
  cursor:
    grabbing;
}


.professionals-carousel__track {
  user-select:
    none;
}


.professional-slide {
  flex-shrink: 0;
}


/* ==========================================================================
   CARD
   ========================================================================== */

.professional-slide {
  flex:
    0 0
    calc((100% - 48px) / 3);

  min-width: 0;
}


.professional-slide__image {
  display: block;

  overflow: hidden;

  background:
    var(--color-offwhite);
}


.professional-slide__image img {
  width: 100%;

  aspect-ratio: 3 / 4;

  object-fit: cover;

  object-position: center top;

  transition:
    transform 500ms ease;
}


.professional-slide:hover
.professional-slide__image img {
  transform:
    scale(1.015);
}


.professional-slide .professional__label {
  margin-top: 18px;
}


.professional-slide__name {
  margin-top: 9px;

  font-family:
    var(--font-serif);

  font-size:
    clamp(19px, 1.6vw, 23px);

  line-height: 1.3;

  color:
    var(--color-black);
}


/* pequeno dado inferior */

.professionals-carousel__hint {
  margin-top: 20px;

  font-size: 13px;

  line-height: 20px;

  color:
    var(--color-gray);
}


/* CTA da seção */

.professionals-footer {
  display: flex;

  justify-content: flex-end;

  margin-top:
    clamp(40px, 5vw, 60px);

  padding-top: 28px;

  border-top:
    1px solid var(--color-border);
}

/* 14 TRUST =============================================================== */
.channel-list { border-top: 1px solid rgba(205, 170, 71, 0.4); align-self: start; }
.channel { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.channel:last-child { border-bottom: 0; }
.channel__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray);
}
.channel__value { font-size: 18px; color: var(--color-white); margin-top: 8px; }

/* 15 CONTENT ============================================================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.article-card { border-top: 1px solid var(--color-black); padding-top: 24px; }
.article-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 30px;
  color: var(--color-black);
  margin-top: 16px;
}

/* 16 FAQ ================================================================= */
.faq { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__trigger {
  width: 100%;
  min-height: 48px;
  background: transparent;
  border: 0;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  cursor: pointer;
}
.faq-item__question { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--color-black); }
.faq-item__icon { font-size: 20px; line-height: 26px; color: var(--color-gold); }
.faq-item__panel { padding: 0 48px 28px 0; }
.faq-item__panel[hidden] { display: none; }
.faq-item__panel p { font-size: 16px; line-height: 26px; color: var(--color-text-secondary); max-width: 62ch; }

/* 18 CTA ================================================================= */
.final-cta { padding: clamp(72px, 11vw, 144px) 0; overflow: hidden; }
.final-cta__inner { position: relative; }
.final-cta__frame {
  position: absolute;
  top: 0; right: var(--gutter);
  width: 180px; height: 180px;
  border: 1px solid rgba(205, 170, 71, 0.35);
}
.final-cta__copy { position: relative; max-width: 720px; }
.final-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.18;
  color: var(--color-white);
  margin-top: 24px;
}
.final-cta .lead { margin-top: 24px; }

/* 19 FOOTER ============================================================== */
.site-footer { background: var(--color-navy); color: var(--color-white); padding: clamp(48px, 7vw, 80px) 0; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px);
}
.site-footer__logo { height: 68px; width: auto; }
.site-footer__oab {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-top: 24px;
}
.site-footer__tagline { font-size: 16px; line-height: 24px; color: var(--color-footer-text); margin-top: 12px; max-width: 26ch; }
.site-footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(205, 170, 71, 0.5);
}
.site-footer nav a, .site-footer__grid > div > a {
  display: block;
  font-size: 15px;
  color: var(--color-footer-text);
  padding: 9px 0;
  transition: color var(--ease);
}
.site-footer nav a:hover, .site-footer__grid > div > a:hover,
.site-footer nav a:focus-visible, .site-footer__grid > div > a:focus-visible { color: var(--color-gold-light); }
.site-footer__address { font-size: 15px; line-height: 23px; color: var(--color-footer-text); padding: 12px 0; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer__legal a { font-size: 14px; color: var(--color-gray); transition: color var(--ease); }
.site-footer__legal a:hover, .site-footer__legal a:focus-visible { color: var(--color-gold-light); }
.site-footer__copy { font-size: 14px; color: var(--color-gray); }

/* 20 RESPONSIVE ========================================================== */
@media (max-width: 1080px) {
  .need-cards { flex-basis: 100%; }
  .professionals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .professional-featured { grid-column: span 2; }
}

@media (max-width: 979px) {
  :root { --header-height: 69px; }
  .nav-toggle { display: grid; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--media-first .split__media { order: 0; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .img-portrait { aspect-ratio: 3 / 2; }
  .img-fill { min-height: 260px; aspect-ratio: 3 / 2; height: auto; }
}

@media (max-width: 767px) {
  :root { --section-space: clamp(56px, 9vw, 76px); }
  .need-cards { grid-template-columns: minmax(0, 1fr); }
  .practice-item { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .attributes { grid-template-columns: minmax(0, 1fr); }
  .professionals-grid, .article-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .professional-featured { grid-column: span 1; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta__frame { width: 120px; height: 120px; }
  .faq-item__panel { padding-right: 0; }
}

@media (max-width: 479px) {
  .hero__title { font-size: clamp(30px, 9vw, 36px); }
  .photo-accent--top-right { top: -16px; right: -16px; width: 96px; height: 120px; }
  .photo-accent--bottom-left { bottom: -16px; left: -16px; width: 96px; height: 110px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .need-featured__cta .btn { width: auto; }
  .statement { padding-left: 18px; }
}

/* 21 UTILITIES =========================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 400ms ease, transform 400ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.section--texture-white {
  position: relative;

  background:
    linear-gradient(
      rgba(251, 251, 251, 0.91),
      rgba(251, 251, 251, 0.91)
    ),
    url("assets/images/background-textura.jpg")
    center / cover no-repeat;
}

.section--texture-black {
  position: relative;

  background:
    linear-gradient(
      rgba(12, 12, 12, 0.84),
      rgba(12, 12, 12, 0.84)
    ),
    url("assets/images/bg_brand-wide-teotonio-adv-marmore-black.jpg")
    center / cover no-repeat;
}

.section--texture-black::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      110deg,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.02) 48%,
      rgba(0,0,0,0.22) 100%
    );
}

.section--texture-black > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 979px) {

  .hero-masthead__inner {
    min-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-brand img {
    width: 88px;
  }

  .hero-nav,
  .scroll-nav {
    display: none;
  }

  .hero-masthead__toggle,
  .scroll-header__toggle {
    display: grid;
  }

  .scroll-header__inner {
    min-height: 66px;
  }

  .scroll-header__logo img {
    width: clamp(155px, 46vw, 205px);
    max-height: 44px;
  }

}

@media (min-width: 980px) {

  .hero-masthead__toggle,
  .scroll-header__toggle {
    display: none;
  }

}

.positioning-signature {
  margin-top: 12px;
  margin-bottom: 24px;

  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.72);
}


/* =========================================================
   HEADER FIXO APÓS SCROLL
========================================================= */

.scroll-header {

  position: fixed;

  top: 0;

  left: 0;

  right: 0;

  z-index: 100;

  width: 100%;

  background:
    rgba(255, 255, 255, 0.97);

  border-bottom:
    1px solid rgba(12, 12, 12, 0.10);

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

  backdrop-filter:
    blur(12px);

  transform:
    translateY(-110%);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    transform 420ms cubic-bezier(.22,.7,.25,1),
    opacity 300ms ease,
    visibility 0s linear 420ms;
}


.scroll-header.is-visible {

  transform:
    translateY(0);

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transition:
    transform 420ms cubic-bezier(.22,.7,.25,1),
    opacity 300ms ease,
    visibility 0s;
}


.scroll-header__inner {

  min-height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 32px;

  padding-top: 8px;

  padding-bottom: 8px;
}


/* Logo horizontal */
.scroll-header__logo {

  flex: 0 0 auto;

  display: flex;

  align-items: center;
}


.scroll-header__logo img {

  width: clamp(
    205px,
    17vw,
    265px
  );

  max-height: 52px;

  object-fit: contain;
}


/* Navegação */
.scroll-nav {

  display: flex;

  align-items: center;

  justify-content: flex-end;

  gap: clamp(
    18px,
    2vw,
    28px
  );
}


.scroll-nav__link {

  appearance: none;

  border: 0;

  background: none;

  padding: 12px 0;

  font-family:
    var(--font-sans);

  font-size: 14px;

  color:
    var(--color-text);

  cursor: pointer;

  transition:
    color var(--ease);
}


.scroll-nav__link:hover,
.scroll-nav__link:focus-visible {

  color:
    var(--color-gold);
}


/* =========================================================
   MOBILE — TOPO + HERO
========================================================= */

@media (max-width: 979px) {

  .hero-masthead__inner {

    min-height: 96px;

    padding-top: 10px;

    padding-bottom: 10px;
  }


  .hero-brand img {

    width: 92px;
  }


  .hero-nav,
  .scroll-nav {

    display: none;
  }


  .hero-masthead__toggle,
  .scroll-header__toggle {

    display: grid;
  }


  .scroll-header__inner {

    min-height: 66px;
  }


  .scroll-header__logo img {

    width:
      clamp(175px, 48vw, 220px);

    max-height: 44px;
  }


  .hero {

    padding-top: 56px;

    padding-bottom: 72px;
  }


  .hero__inner {

    grid-template-columns:
      minmax(0, 1fr);

    gap: 52px;
  }


  .hero__copy {

    max-width: 100%;
  }


.hero__title {

  font-family:
    var(--font-serif);

  font-size:
    clamp(48px, 4.4vw, 66px);

  line-height:
    1.08;

  letter-spacing:
    -0.025em;
}


  .hero__media {

    padding-top: 16px;

    padding-right: 16px;
  }

}


@media (max-width: 479px) {

  .hero-brand img {

    width: 82px;
  }


  .hero {

    padding-top: 48px;

    padding-bottom: 64px;
  }


  .hero__title {

    font-size:
      clamp(34px, 9vw, 40px);

    line-height: 1.14;
  }


  .hero .actions {

    align-items: stretch;
  }


  .hero .btn {

    width: 100%;
  }


  .hero .photo-accent--top-right {

    width: 110px;

    height: 140px;
  }

}

.nav-mobile {
  position: fixed;

  top: 66px;
  left: 0;
  right: 0;

  z-index: 120;

  max-height:
    calc(100dvh - 66px);

  overflow-y: auto;

  background:
    var(--color-white);

  border-top:
    1px solid var(--color-border);

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

@media (max-width: 979px) {

  .hero-topnav__inner {
    min-height: 66px;
  }


  .hero-topnav__spacer {
    display: block;
  }


  .hero-nav {
    display: none;
  }


  .hero-topnav__toggle,
  .scroll-header__toggle {
    display: grid;
  }


  .hero {
    padding-top: 42px;

    padding-bottom: 72px;
  }


  .hero__inner {
    grid-template-columns:
      minmax(0, 1fr);

    gap: 56px;
  }


  .hero__brand {
    width:
      clamp(
        125px,
        34vw,
        160px
      );

    margin-bottom: 32px;
  }


  .hero__title {

    font-size:
      clamp(
        36px,
        9vw,
        48px
      );
  }


  .hero__media {
    padding-top: 18px;

    padding-right: 18px;
  }

}

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

@media (max-width: 979px) {

  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__layout {
    display: grid;

    grid-template-columns:
      minmax(0, 62%)
      minmax(0, 38%);

    gap:
      clamp(40px, 3vw, 56px);

    align-items: start;
  }

  .hero__message {
    width: 100%;

    margin-top:
      clamp(20px, 0vw, 4px);
  }

  .hero__brand {
    display: block;

    width:
      clamp(190px, 15vw, 240px);
  }

  .hero__title {
    font-family:
      var(--font-serif);

    font-size:
      clamp(48px, 4.4vw, 66px);

    line-height:
      1.08;

    letter-spacing:
      -0.025em;

    color:
      var(--color-black);
  }

  .hero__lead {
    margin-top: 30px;

    font-size: 18px;

    line-height: 29px;

    color:
      var(--color-text-secondary);
  }

  .hero__image {
    position: relative;

    z-index: 2;

    display: block;

    width: 100%;

    height:
      clamp(460px, 52vh, 590px);

    object-fit: cover;

    object-position:
      center 48%;
  }

  .hero__gold-block {
    position: absolute;

    z-index: 1;

    top: 0;
    right: 0;

    width:
      clamp(120px, 24%, 170px);

    height:
      clamp(140px, 30%, 200px);

    background:
      var(--color-gold);
  }

} /* FECHA @media max-width: 979px */

/* ==========================================================================
   HERO — DESKTOP INTERMEDIÁRIO
   ========================================================================== */

@media (max-width: 1279px) and (min-width: 1100px) {

  .hero__container {
    grid-template-columns:
      minmax(0, 56fr)
      minmax(0, 44fr);

    gap: 44px;
  }


  .hero__brand {
    width: clamp(170px, 16vw, 205px);
  }


  .hero__message {
    margin-top: 20px;
  }


  .hero__title {

    font-size:
      clamp(44px, 4vw, 56px);
  }




  .hero__nav-row {
    width: calc(100% + 180px);
    margin-left: -180px;

    margin-bottom: 32px;
  }


  .hero-nav {
    gap: 15px;
  }


  .hero-nav__link {
    font-size: 12px;
  }


  .hero-nav__cta {
    padding-inline: 13px;

    font-size: 10px;
  }


  .hero__image {
    aspect-ratio: 1.08 / 1;
  }

}

/* ==========================================================================
   HERO — NOTEBOOK / TABLET HORIZONTAL
   ========================================================================== */

@media (max-width: 1099px) {

  .hero {
    padding-top: 28px;
    padding-bottom: 64px;
  }


  .hero__container {
    grid-template-columns:
      minmax(0, 55fr)
      minmax(0, 45fr);

    gap: 38px;
  }


  /* Menu horizontal sai */
  .hero-nav {
    display: none;
  }


  /* Hamburger aparece */
  .hero__mobile-toggle {
    display: grid;
  }


  .hero__nav-row {
    position: absolute;

    top: 0;
    right: 0;

    width: auto;
    margin: 0;

    z-index: 20;
  }


  .hero__brand {
    width:
      clamp(150px, 19vw, 185px);
  }


  .hero__message {
    margin-top: 20px;
  }


  .hero__title {

    font-size:
      clamp(40px, 5vw, 52px);
  }


  .hero__lead {

    font-size: 16px;
  }


  .hero__actions {
    margin-top: 30px;
  }


  .hero__media {
    padding-top: 70px;
  }


  .hero__image {
    aspect-ratio: 0.95 / 1;
  }

}

/* ==========================================================================
   HERO — TABLET VERTICAL / MOBILE
   ========================================================================== */

@media (max-width: 899px) {

  .hero {
    padding-top: 24px;
    padding-bottom: 0;
  }


  .hero__container {
    display: block;
  }


  .hero__content {
    width: 100%;
  }


  .hero__brand {
    width:
      clamp(130px, 27vw, 165px);
  }


  .hero__message {

    margin-top: 20px;
  }


  .hero__eyebrow {
    max-width: 100%;
  }


  .hero__title {

    font-size:
      clamp(38px, 7.5vw, 50px);
  }




  .hero__visual {
    margin-top: 52px;
  }


  .hero__nav-row {
    position: absolute;

    top: 0;
    right: 0;
  }


  .hero__media {
    padding-top: 16px;
    padding-right: 16px;
  }


  .hero__image {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-position: center center;
  }


  .hero__gold-block {
    width: 120px;
    height: 150px;
  }

}

@media (max-width: 1099px) {

  .professionals-showcase {
    grid-template-columns:
      minmax(220px, 32%)
      minmax(0, 68%);

    gap: 32px;
  }


  .professional-slide {
    flex:
      0 0
      calc((100% - 20px) / 2);
  }


  .professionals-carousel__track {
    gap: 20px;
  }

}

@media (max-width: 767px) {

  .professionals-carousel {
    /*
     * Permite visualmente respirar
     * após o fundador.
     */
    width: 100%;
    min-width: 0;
  }


  .professionals-carousel__viewport {
    width:
      calc(100% + var(--gutter));

    padding-right:
      var(--gutter);
  }


  .professionals-carousel__hint {
    margin-top: 16px;
  }

}

/* ==========================================================================
   HERO — MOBILE
   ========================================================================== */

@media (max-width: 599px) {

  .hero {
    padding-top: 20px;
  }


  .hero__brand {
    width:
      clamp(120px, 34vw, 145px);
  }


  .hero__message {
    margin-top: 20px;
  }


  .hero__eyebrow {
    max-width: 100ch;

    font-size: 11px;
    line-height: 15px;
  }


  .hero .rule-gold {
    margin: 22px 0;
  }


  .hero__title {

    font-size:
      clamp(34px, 10.5vw, 43px);

    line-height: 1.1;
  }


  .hero__lead {
    margin-top: 24px;

    font-size: 16px;
    line-height: 26px;
  }


  .hero__actions {
    display: grid;

    grid-template-columns: 1fr;

    gap: 18px;

    margin-top: 30px;
  }


  .hero__actions .btn {
    width: 100%;
  }


  .hero__actions .text-link {
    width: fit-content;
  }


  .hero__micro {
    margin-top: 26px;
  }


  .hero__visual {
    margin-top: 42px;
  }


  .hero__image {
    aspect-ratio: 1 / 0.82;
  }


  .hero__gold-block {
    width: 90px;
    height: 112px;
  }

@media (max-width: 1079px) {

  .need-featured__media {
    display: none;
  }

}

@media (max-width: 767px) {

  .professionals-showcase {
    grid-template-columns:
      minmax(0, 1fr);

    gap: 48px;
  }


  .professional-founder {
    max-width: 360px;
  }


  .professional-founder__image {
    padding-top: 14px;
    padding-left: 14px;
  }


  .professionals-carousel__head {
    margin-bottom: 16px;
  }


  .professionals-carousel__track {
    gap: 16px;
  }


  .professional-slide {
    flex:
      0 0
      86%;
  }


  /*
   * Deixa aparecer um pedaço do próximo card.
   * Importante para comunicar que existe carrossel.
   */
  .professionals-carousel__viewport {
    overflow: hidden;
  }


  .professionals-footer {
    justify-content: stretch;
  }


  .professionals-footer .btn {
    width: 100%;
  }

}

/* ==========================================================================
   MOBILE MENU — CONTROLE HERO x HEADER FIXO
   ========================================================================== */

@media (max-width: 1099px) {

  /*
   * Estado inicial:
   * menu da Hero visível.
   */
  body:not(.scroll-header-active)
  .hero__mobile-toggle {
    display: grid !important;
  }


  /*
   * Antes do scroll, o toggle do
   * header fixo não deve existir visualmente.
   */
  body:not(.scroll-header-active)
  .scroll-header__toggle {
    display: none !important;
  }


  /*
   * Depois dos 200px:
   * elimina o botão da Hero.
   */
  body.scroll-header-active
  .hero__mobile-toggle {
    display: none !important;
  }


  /*
   * E passa a utilizar somente
   * o botão do header fixo.
   */
  body.scroll-header-active
  .scroll-header__toggle {
    display: grid !important;
  }

}

/* ==========================================================================
   MOBILE MENU — REFINAMENTO FINAL
   ========================================================================== */


/* --------------------------------------------------------------------------
   BOTÃO
   -------------------------------------------------------------------------- */

.nav-toggle {
  display: none;

  position: relative;

  z-index: 600;

  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  padding: 0;
  margin: 0;

  border:
    1px solid rgba(12, 12, 12, 0.14);

  border-radius: 0;

  background:
    rgba(255, 255, 255, 0.96);

  color:
    var(--color-black);

  cursor: pointer;

  place-items: center;

  appearance: none;
  -webkit-appearance: none;

  transition:
    border-color 220ms ease,
    background-color 220ms ease;
}


/* Focus / hover */
.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color:
    var(--color-gold);

  background:
    var(--color-white);

  outline: none;
}


/* --------------------------------------------------------------------------
   ÍCONE — DUAS LINHAS
   -------------------------------------------------------------------------- */

.nav-toggle__bars {
  position: relative;

  display: block;

  width: 22px;
  height: 12px;

  padding: 0;
  margin: 0;

  /*
   * Remove completamente estilos antigos.
   */
  border: 0 !important;
  background: transparent !important;
}


/* As duas linhas */
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";

  position: absolute;

  left: 50%;

  width: 22px;
  height: 1.5px;

  background:
    var(--color-black);

  transform:
    translateX(-50%);

  transform-origin:
    center center;

  transition:
    top 240ms ease,
    transform 240ms ease,
    width 240ms ease;
}


/* linha superior */
.nav-toggle__bars::before {
  top: 2px;
}


/* linha inferior */
.nav-toggle__bars::after {
  top: 9px;
}


/* --------------------------------------------------------------------------
   ESTADO ABERTO — X
   -------------------------------------------------------------------------- */

.nav-toggle.is-active
.nav-toggle__bars::before {
  top: 5.25px;

  transform:
    translateX(-50%)
    rotate(45deg);
}


.nav-toggle.is-active
.nav-toggle__bars::after {
  top: 5.25px;

  transform:
    translateX(-50%)
    rotate(-45deg);
}




/* --------------------------------------------------------------------------
   MENU MOBILE
   -------------------------------------------------------------------------- */

.nav-mobile {
  position: fixed;

  inset: 0;

  z-index: 500;

  width: 100%;
  height: 100dvh;

  overflow-y: auto;

  overscroll-behavior:
    contain;

  background:
    rgba(255, 255, 255, 0.985);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transform:
    translateY(-8px);

  transition:
    opacity 200ms ease,
    transform 260ms ease,
    visibility 0s linear 260ms;
}


/* Aberto */
.nav-mobile.is-open {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform:
    translateY(0);

  transition:
    opacity 200ms ease,
    transform 260ms ease,
    visibility 0s;
}


/* --------------------------------------------------------------------------
   CONTEÚDO DO MENU
   -------------------------------------------------------------------------- */

.nav-mobile > .container {
  width: 100%;

  max-width: 680px;

  min-height: 100%;

  margin:
    0 auto;

  padding:
    86px
    var(--gutter)
    40px;
}


/* Links */
.nav-mobile a:not(.btn) {
  display: block;

  padding:
    15px 0;

  border-bottom:
    1px solid var(--color-border);

  font-family:
    var(--font-sans);

  font-size: 16px;

  line-height: 24px;

  color:
    var(--color-text);

  transition:
    color var(--ease),
    padding-left var(--ease);
}


/* Primeiro link */
.nav-mobile a:not(.btn):first-child {
  border-top:
    1px solid var(--color-border);
}


/* Feedback discreto */
.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn):focus-visible {
  color:
    var(--color-gold);

  padding-left:
    4px;
}


/* CTA */
.nav-mobile .btn {
  margin-top:
    28px;
}


/* Página não rola atrás do menu */
html.menu-open,
body.menu-open {
  overflow: hidden;
}


/* --------------------------------------------------------------------------
   HERO / HEADER — QUAL HAMBURGER APARECE
   -------------------------------------------------------------------------- */

@media (max-width: 1099px) {

  .hero-nav,
  .scroll-nav {
    display: none;
  }


  /*
   * Antes dos 200px:
   * toggle da Hero.
   */
  body:not(.scroll-header-active)
  .hero__mobile-toggle {
    display: grid !important;
  }


  body:not(.scroll-header-active)
  .scroll-header__toggle {
    display: none !important;
  }


  /*
   * Depois dos 200px:
   * toggle do header fixo.
   */
  body.scroll-header-active
  .hero__mobile-toggle {
    display: none !important;
  }


  body.scroll-header-active
  .scroll-header__toggle {
    display: grid !important;
  }


  /*
   * EXCEÇÃO:
   * se o menu estiver aberto,
   * mantém exatamente o botão ativo visível.
   */
  body.menu-open
  .nav-toggle.is-active {
    display: grid !important;
  }


  /*
   * Evita o botão da Hero ficar
   * posicionado relativamente à fotografia.
   */
  .hero__container {
    position: relative;
  }


  .hero__visual {
    position: static;
  }


  .hero__nav-row {
    position: absolute;

    top: 4px;
    right: 0;

    z-index: 50;

    width: auto;

    margin: 0;
  }

}


/* --------------------------------------------------------------------------
   DESKTOP
   -------------------------------------------------------------------------- */

@media (min-width: 1100px) {

  .hero__mobile-toggle,
  .scroll-header__toggle {
    display: none !important;
  }

}


/* --------------------------------------------------------------------------
   MOBILE PEQUENO
   -------------------------------------------------------------------------- */

@media (max-width: 599px) {

  .nav-toggle {
    width: 42px;
    height: 42px;

    flex-basis: 42px;
  }


  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    width: 20px;
  }


  body.menu-open
  .nav-toggle.is-active {
    top: 16px !important;

    width: 42px;
    height: 42px;
  }


  .nav-mobile > .container {
    padding-top:
      78px;
  }

}

/* ==========================================================================
   MOBILE MENU — CORREÇÃO DO ÍCONE DE FECHAR
   ========================================================================== */

/*
 * Estado padrão: duas linhas
 */
.nav-toggle .nav-toggle__bars {
  position: relative;

  display: block;

  width: 22px;
  height: 14px;

  padding: 0;
  margin: 0;

  border: 0 !important;
  background: transparent !important;
}


.nav-toggle .nav-toggle__bars::before,
.nav-toggle .nav-toggle__bars::after {
  content: "";

  position: absolute;

  left: 50%;

  width: 22px;
  height: 1.5px;

  background: var(--color-black);

  transform-origin: center;

  transition:
    top 220ms ease,
    transform 220ms ease;
}


/* linha superior */
.nav-toggle .nav-toggle__bars::before {
  top: 2px;

  transform:
    translateX(-50%);
}


/* linha inferior */
.nav-toggle .nav-toggle__bars::after {
  top: 10px;

  transform:
    translateX(-50%);
}


/* ==========================================================================
   MENU ABERTO — TRANSFORMA EM X
   Usa aria-expanded, não depende de .is-active
   ========================================================================== */

.nav-toggle[aria-expanded="true"]
.nav-toggle__bars::before {
  top: 6px;

  transform:
    translateX(-50%)
    rotate(45deg);
}


.nav-toggle[aria-expanded="true"]
.nav-toggle__bars::after {
  top: 6px;

  transform:
    translateX(-50%)
    rotate(-45deg);
}


/* ==========================================================================
   BOTÃO DE FECHAR SEMPRE ACIMA DO MENU
   ========================================================================== */

@media (max-width: 1099px) {



  /*
   * Evita que o segundo hamburger apareça.
   */
  body.menu-open:not(.scroll-header-active)
  .scroll-header__toggle {
    display: none !important;
  }


  /*
   * Menu aberto depois dos 200px:
   * mantém somente o toggle do header fixo.
   */
  body.menu-open.scroll-header-active
  .scroll-header__toggle[aria-expanded="true"] {
    display: grid !important;

    position: fixed !important;

    top: 14px !important;
    right: var(--gutter) !important;

    z-index: 1001 !important;

    width: 44px;
    height: 44px;

    background: var(--color-white);

    border:
      1px solid rgba(12, 12, 12, 0.18);
  }


  /*
   * Nesse estado, o botão da Hero precisa desaparecer.
   */
  body.menu-open.scroll-header-active
  .hero__mobile-toggle {
    display: none !important;
  }

}

/* ==========================================================================
   MOBILE MENU — CORREÇÃO DEFINITIVA DE CAMADAS
   ========================================================================== */

@media (max-width: 1099px) {

  /*
   * O overlay do menu está em z-index: 500.
   * Quando o menu abre, o container que possui o botão
   * precisa subir INTEIRO acima desse overlay.
   */

  body.menu-open
  .scroll-header {
    z-index: 900 !important;
  }


  body.menu-open
  .hero__nav-row {
    z-index: 900 !important;
  }


  /*
   * Botão ativo acima de tudo dentro dessas camadas.
   */
  body.menu-open
  .nav-toggle[aria-expanded="true"] {
    z-index: 1000 !important;

    display: grid !important;

    visibility: visible !important;

    opacity: 1 !important;

    pointer-events: auto !important;
  }


  /*
   * ANTES DOS 200px
   * Hero é responsável pelo X.
   */
  body.menu-open:not(.scroll-header-active)
  .hero__mobile-toggle[aria-expanded="true"] {

    display: grid !important;

    position: fixed !important;

    top: 18px !important;

    right: var(--gutter) !important;

    width: 44px;
    height: 44px;

    background:
      var(--color-white);

    border:
      1px solid rgba(12, 12, 12, 0.18);
  }


  /*
   * Esconde o botão do header nesse estado.
   */
  body.menu-open:not(.scroll-header-active)
  .scroll-header__toggle {
    display: none !important;
  }


  /*
   * Hero não participa depois dos 200px.
   */
  body.menu-open.scroll-header-active
  .hero__mobile-toggle {
    display: none !important;
  }

}


.planning-image {
  position: relative;
  min-height: 420px;

  background-color: var(--navy);
  background-image:
    linear-gradient(
      rgba(3,6,38,.08),
      rgba(3,6,38,.20)
    ),
    url("https://teotonio.adv.br/assets/images/fachada.jpg");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* detalhe arquitetônico azul preservado */
.planning-image::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(205,170,71,.38);
  pointer-events: none;
}

/* assinatura azul-marinho */
.planning-image::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  background: var(--navy);
}


@media (max-width:850px) {
  .planning-image {
    min-height: 300px;
    background-position: center center;
  }

  .planning-image::before {
    inset: 14px;
  }
}