/* ==========================================================================
   RHF TALENTOS — JACIARA SANTOS — DESIGN TOKENS
   Paleta: navy profundo + dourado + papel cru
   Tipografia: Fraunces (display) / Manrope (corpo) / IBM Plex Mono (rótulos)
   Assinatura visual: motivo de bússola / rosa-dos-ventos (herdado da marca)
   ========================================================================== */

:root {
  --navy-900: #0c1a30;
  --navy-800: #132646;
  --navy-700: #1c355c;
  --gold-500: #c6a15b;
  --gold-300: #e3cb98;
  --gold-100: #f3e9d3;
  --paper: #faf7f1;
  --cream: #f2ece0;
  --ink: #20232b;
  --ink-soft: #565a63;
  --white: #ffffff;
  --line: rgba(12, 26, 48, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1180px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
  --ease: cubic-bezier(.16, .8, .24, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: 5px;
  border: 2px solid var(--navy-900);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-300);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .6s cubic-bezier(.19, 1, .22, 1), transform .6s cubic-bezier(.19, 1, .22, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Eyebrow / structural labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 1.1rem;
  display: inline-block;
}

.eyebrow-light {
  color: var(--gold-300);
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.18;
  color: var(--navy-900);
}

.title-light {
  color: var(--white);
}

.section-lede {
  margin-top: 1rem;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-rhf {
  border-color: var(--gold-500);
  color: var(--gold-300);
}

.btn-rhf:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn-ghost {
  border-color: var(--navy-900);
  color: var(--navy-900);
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  background: var(--navy-900);
  color: var(--white);
}

/* ==========================================================================
     PÁGINA DO LIVRO
     ========================================================================== */
.book-hero {
  padding-top: clamp(9rem, 14vw, 11.5rem);
}

.book-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.book-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1rem;
}

.book-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-100);
  margin-top: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}

.book-hero-desc {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 52ch;
}

.book-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.book-cta .btn svg {
  width: 18px;
  height: 18px;
}

.book-cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-cover {
  position: relative;
  width: min(100%, 320px);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(230, 201, 135, 0.35);
  outline-offset: -1px;
}

.book-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.book-formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.book-format-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.book-format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(12, 26, 48, 0.1);
}

.book-format-icon {
  width: 42px;
  height: 42px;
  color: var(--gold-500);
}

.book-format-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-900);
}

.book-format-card p {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.96rem;
  flex-grow: 1;
}

.book-author-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.book-author-grid .founder-frame {
  aspect-ratio: 4/5;
}

@media (max-width: 900px) {
  .book-hero-grid {
    grid-template-columns: 1fr;
  }

  .book-cover-wrap {
    order: -1;
    margin-bottom: 1rem;
  }

  .book-cover {
    width: min(100%, 240px);
  }

  .book-formats-grid {
    grid-template-columns: 1fr;
  }

  .book-author-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
     HEADER
     ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.scrolled {
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0;
  box-shadow: 0 6px 24px rgba(12, 26, 48, 0.08);
}

/* Header sempre com fundo — usado nas páginas sem hero escuro (blog, blog-post, livro) */
.site-header--solid,
.site-header--solid.scrolled {
  background: rgba(250, 247, 241, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(12, 26, 48, 0.07);
}

/* Header com fundo navy no topo e creme ao scrollar (blog.html) */
.site-header--navy-top {
  background: var(--navy-900);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.site-header--navy-top.scrolled {
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(12, 26, 48, 0.08);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: box-shadow .4s;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 4px 14px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.site-header.scrolled .brand-mark {
  box-shadow: 0 0 0 2px rgba(12, 26, 48, 0.08), 0 4px 14px rgba(12, 26, 48, 0.08);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}

.brand-word strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color .4s;
}

.brand-word em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.site-header:not(.scrolled) .brand-word strong {
  color: var(--white);
}

/* No header sólido, brand sempre escura — especificidade reforçada para vencer :not(.scrolled) */
.site-header--solid .brand-word strong,
.site-header--solid:not(.scrolled) .brand-word strong {
  color: var(--navy-900);
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
  transition: color .4s;
}

.site-header.scrolled .main-nav a {
  color: var(--navy-900);
}

/* Links sempre escuros no header sólido — apenas desktop; mobile usa o drawer branco */
@media (min-width: 761px) {
  .site-header--solid .main-nav a {
    color: var(--navy-900);
  }
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold-500);
  transition: width .3s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--gold-300) !important;
}

.header-cta {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.site-header.scrolled .header-cta {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

/* CTA sempre escuro no header sólido */
.site-header--solid .header-cta {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.header-cta:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  backdrop-filter: blur(6px);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(198, 161, 91, 0.5);
}

.site-header.scrolled .nav-toggle {
  background: rgba(12, 26, 48, 0.07);
  border-color: rgba(12, 26, 48, 0.18);
}

.site-header.scrolled .nav-toggle:hover {
  background: rgba(198, 161, 91, 0.12);
  border-color: var(--gold-500);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  margin: 3px 0;
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .3s;
}

.site-header.scrolled .nav-toggle span {
  background: var(--navy-900);
}

/* Toggle sempre escuro no header sólido */
.site-header--solid .nav-toggle {
  background: rgba(12, 26, 48, 0.07);
  border-color: rgba(12, 26, 48, 0.18);
}

.site-header--solid .nav-toggle:hover {
  background: rgba(198, 161, 91, 0.12);
  border-color: var(--gold-500);
}

.site-header--solid .nav-toggle span {
  background: var(--navy-900);
}

/* Quando aberto: sempre branco (menu navy atras) */
.nav-toggle.open span {
  background: var(--white) !important;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 26, 48, 0.45);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
     HERO
     ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 70% 20%, var(--navy-700), var(--navy-900) 65%);
  color: var(--white);
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.hero-compass {
  position: absolute;
  right: -18%;
  top: 50%;
  transform: translateY(-50%);
  width: min(70vw, 900px);
  aspect-ratio: 1;
  opacity: 0.9;
  pointer-events: none;
}

.compass-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.compass-circle-outer {
  fill: none;
  stroke: rgba(230, 201, 135, 0.25);
  stroke-width: 1;
}

.compass-circle-inner {
  fill: none;
  stroke: rgba(230, 201, 135, 0.14);
  stroke-width: 1;
}

.compass-rotator {
  transform-origin: 300px 300px;
  animation: spin 90s linear infinite;
}

.compass-star {
  fill: rgba(198, 161, 91, 0.55);
}

.compass-star-b {
  fill: rgba(198, 161, 91, 0.22);
}

.compass-center {
  fill: var(--gold-500);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.12;
  max-width: 16ch;
  color: var(--white);
  font-weight: 400;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-300);
  font-weight: 500;
}

.hero-sub {
  margin-top: 1.8rem;
  max-width: 46ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-cue-line {
  width: 1.5px;
  height: 38px;
  background: var(--gold-500);
  transform-origin: top;
  animation: scrollCueAnim 2.2s cubic-bezier(.16, 1, .3, 1) infinite;
}

@keyframes scrollCueAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ==========================================================================
     BEARING INDICATOR (assinatura interativa fixa)
     ========================================================================== */
.bearing-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.bearing-indicator.visible {
  opacity: 1;
}

.bearing-svg {
  width: 56px;
  height: 56px;
}

.bearing-ring {
  fill: rgba(255, 255, 255, 0.5);
  stroke: rgba(12, 26, 48, 0.15);
  stroke-width: 2;
}

.bearing-ring-progress {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transform-origin: 50px 50px;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bearing-needle {
  transform-origin: 50px 50px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.needle-shape {
  fill: var(--navy-800);
}

.needle-hub {
  fill: var(--gold-500);
}

.bearing-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  transition: color 0.35s ease;
}

@media (max-width: 1080px) {
  .bearing-indicator {
    display: none;
  }
}

/* ==========================================================================
     SECTIONS — GENERIC
     ========================================================================== */
.section {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.section-light {
  background: var(--paper);
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

/* ---------- QUEM SOMOS ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.about-copy p {
  margin-bottom: 1.3rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-copy .lede {
  font-size: 1.25rem;
  color: var(--navy-900);
  line-height: 1.5;
  font-family: var(--font-display);
  font-weight: 400;
}

.about-copy .lede strong {
  color: var(--gold-500);
  font-style: italic;
  font-weight: 500;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.pillar-mark {
  color: var(--gold-500);
  font-size: 0.9rem;
}

.pillar h3 {
  font-size: 1.15rem;
  margin: 0.5rem 0 0.4rem;
  color: var(--navy-900);
}

.pillar p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- FUNDADORA ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.founder-portrait {
  position: relative;
}

.founder-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy-800);
}

.founder-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 201, 135, 0.35);
  outline: 10px solid var(--navy-900);
  outline-offset: -10px;
  pointer-events: none;
}

.founder-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.founder-stat {
  position: absolute;
  bottom: -1.6rem;
  left: -1.6rem;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.founder-stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 600;
}

.founder-stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.founder-lede {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--gold-100);
  margin-bottom: 1.6rem;
  font-weight: 400;
}

.founder-text {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.credential-tags li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(230, 201, 135, 0.3);
  color: var(--gold-300);
  border-radius: 20px;
  transition: all 0.35s var(--ease);
}

.credential-tags li:hover {
  border-color: var(--gold-500);
  background: rgba(198, 161, 91, 0.12);
  transform: translateY(-2px);
  color: var(--white);
}

/* ---------- SERVIÇOS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  position: relative;
  background: var(--white);
  padding: 2.6rem 2.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(12, 26, 48, 0.045);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform .4s cubic-bezier(.25, .8, .25, 1),
    box-shadow .4s cubic-bezier(.25, .8, .25, 1),
    border-color .4s cubic-bezier(.25, .8, .25, 1);
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .65s cubic-bezier(.19, 1, .22, 1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 60px rgba(12, 26, 48, 0.13);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.7rem;
  background: var(--gold-100);
  transition:
    background .6s cubic-bezier(.19, 1, .22, 1),
    transform .6s cubic-bezier(.19, 1, .22, 1);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  transform: scale(1.08) rotate(-6deg);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .6s cubic-bezier(.19, 1, .22, 1);
}

.service-card:hover .service-icon svg {
  transform: rotate(6deg);
}

.service-icon svg .fill {
  fill: var(--navy-900);
  stroke: none;
}

.service-icon svg .s2 {
  stroke: var(--navy-700);
}

/* ---------- IDEOLOGIA ---------- */
.ideology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3.5rem;
}

.ideology-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--navy-900);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.ideology-tag::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--gold-500);
}

.ideology-block p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1.02rem;
}

.values-wrap {
  border-top: 1px solid var(--line);
  padding-top: 2.8rem;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.values-list li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.7rem 1.2rem;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}

.values-list li:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(12, 26, 48, 0.1);
}

/* ---------- DIFERENCIAL ---------- */
.differential {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  overflow: hidden;
}

.differential::before {
  content: '✦';
  position: absolute;
  top: -4rem;
  right: 6%;
  font-size: 16rem;
  color: rgba(230, 201, 135, 0.05);
  font-family: var(--font-display);
  pointer-events: none;
}

.differential-quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.4;
  max-width: 20ch;
  color: var(--white);
  font-weight: 400;
  margin-top: 1.2rem;
}

.differential-quote em {
  color: var(--gold-300);
  font-style: italic;
}

.differential-text {
  margin-top: 1.8rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- CONTATO ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  box-shadow: 0 30px 60px rgba(12, 26, 48, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.form-field label .optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  width: 100%;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.15);
}

.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23565a63' stroke-width='1.6'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.15);
}

.custom-select-arrow {
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(-45deg) translateY(-2px);
  transition: transform 0.35s var(--ease), border-color 0.3s;
  transform-origin: center center;
  margin-right: 0.2rem;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(135deg) translateY(2px);
  border-color: var(--gold-500);
}

.custom-select-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(12, 26, 48, 0.12);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: all 0.35s var(--ease);
  overflow: hidden;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-select-option {
  position: relative;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.custom-select-option:hover {
  background: var(--paper);
  color: var(--navy-900);
  padding-left: 1.5rem;
}

.custom-select-option.selected {
  color: var(--navy-900);
  font-weight: 600;
  background: var(--gold-100);
}

.custom-select-option.selected::before {
  content: '◆';
  position: absolute;
  left: 0.4rem;
  color: var(--gold-500);
  font-size: 0.7rem;
}

.btn-submit {
  align-self: flex-start;
  position: relative;
  padding-right: 2.4rem;
}

.btn-submit .btn-spinner {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  border-radius: 50%;
  border: 2px solid rgba(12, 26, 48, 0.25);
  border-top-color: var(--navy-900);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.btn-submit.is-loading .btn-spinner {
  opacity: 1;
  animation: spin-btn .7s linear infinite;
}

.btn-submit.is-loading {
  cursor: progress;
  opacity: 0.85;
}

@keyframes spin-btn {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
  transition: color .3s var(--ease);
}

.form-status-pending {
  color: var(--ink-soft);
}

.form-status-success {
  color: #2f7a4d;
}

.form-status-error {
  color: #b64435;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-side-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.2rem;
}

.contact-mini {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  transition: border-color .5s cubic-bezier(.19, 1, .22, 1), transform .5s cubic-bezier(.19, 1, .22, 1), box-shadow .5s cubic-bezier(.19, 1, .22, 1);
}

.contact-mini:hover {
  border-color: var(--gold-500);
  transform: translateX(4px);
  box-shadow: 0 20px 40px rgba(12, 26, 48, 0.07);
}

.contact-mini-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.contact-mini-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-900);
}

.contact-mini-email {
  font-size: 0.84rem;
  color: var(--ink-soft);
  word-break: break-all;
}

/* ==========================================================================
     BANCO DE TALENTOS / ENVIO DE CURRÍCULO
     ========================================================================== */

/* Link especial na nav */
/* ============ HEADER ACTIONS (Currículo + Unidade RHF) ============ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn-cta-curriculo {
  color: var(--gold-300);
  border: 1px solid rgba(198, 161, 91, 0.4);
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn-cta-curriculo:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.site-header.scrolled .btn-cta-curriculo {
  color: var(--gold-500);
  border-color: var(--gold-500);
}

.site-header.scrolled .btn-cta-curriculo:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

/* O link de Currículo dentro do menu principal só aparece no menu mobile */
.nav-cta-mobile-only {
  display: none;
}

.main-nav a.nav-link-highlight {
  color: var(--gold-300) !important;
  border: 1px solid rgba(198, 161, 91, 0.4);
  padding: 0.3rem 0.8rem !important;
  border-radius: 4px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease) !important;
}

.main-nav a.nav-link-highlight:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900) !important;
}

.site-header.scrolled .main-nav a.nav-link-highlight {
  color: var(--gold-500) !important;
  border-color: var(--gold-500);
}

.site-header.scrolled .main-nav a.nav-link-highlight:hover {
  background: var(--gold-500);
  color: var(--navy-900) !important;
}

.main-nav a.nav-link-highlight::after {
  display: none !important;
}

.curriculo-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(198, 161, 91, 0.3);
}

.curriculo-section::before {
  content: '';
  position: absolute;
  top: 8%;
  left: -10%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(198, 161, 91, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.curriculo-section::after {
  content: '◆';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-size: 0.65rem;
  color: var(--gold-500);
  background: var(--navy-900);
  border: 1px solid rgba(198, 161, 91, 0.5);
  border-radius: 50%;
  z-index: 2;
}

.curriculo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* --- Info (esquerda) --- */
.curriculo-title {
  color: var(--white) !important;
  margin-bottom: 1.2rem;
}

.curriculo-title em {
  font-style: italic;
  color: var(--gold-300);
}

.curriculo-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 2.8rem;
}

.curriculo-steps {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.curriculo-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  background: rgba(198, 161, 91, 0.1);
  border: 1px solid rgba(198, 161, 91, 0.3);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.step-body strong {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--white);
}

.step-body span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Formulário (direita) --- */
.curriculo-form {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.curriculo-form .form-field label {
  color: var(--gold-300);
}

.curriculo-form .form-field input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.curriculo-form .form-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.curriculo-form .form-field input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.15);
}

.required-mark {
  color: var(--gold-500);
  font-style: normal;
  margin-left: 0.1rem;
}

/* --- Área de upload (drag-and-drop) --- */
.file-drop-zone {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--gold-500);
  background: rgba(198, 161, 91, 0.07);
}

.file-drop-zone.has-file {
  border-style: solid;
  border-color: var(--gold-500);
  background: rgba(198, 161, 91, 0.08);
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.file-drop-content {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.file-icon {
  width: 44px;
  height: 44px;
  color: var(--gold-300);
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

.file-drop-text {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.file-drop-link {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.file-drop-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.3);
}

/* Estado: arquivo selecionado */
.file-chosen {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-size: 0.92rem;
  justify-content: center;
  flex-wrap: wrap;
}

.file-chosen svg {
  width: 20px;
  height: 20px;
  color: #4caf88;
  flex-shrink: 0;
}

.file-chosen span {
  word-break: break-all;
  max-width: 240px;
  font-size: 0.9rem;
  color: var(--gold-100);
}

.file-remove-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
  z-index: 3;
  position: relative;
  flex-shrink: 0;
}

.file-remove-btn:hover {
  background: rgba(182, 68, 53, 0.3);
  border-color: #b64435;
  color: #e86c5a;
}

/* Botão de envio */
.btn-curriculo-submit {
  align-self: flex-start;
  position: relative;
  padding-right: 2.4rem;
  font-size: 1rem;
  padding: 1rem 2rem;
}

.btn-curriculo-submit .btn-spinner {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  border-radius: 50%;
  border: 2px solid rgba(12, 26, 48, 0.25);
  border-top-color: var(--navy-900);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.btn-curriculo-submit.is-loading .btn-spinner {
  opacity: 1;
  animation: spin-btn 0.7s linear infinite;
}

.btn-curriculo-submit.is-loading {
  cursor: progress;
  opacity: 0.85;
}

/* Nota de privacidade */
.curriculo-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.curriculo-privacy svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold-500);
  opacity: 0.7;
}

/* Responsive: currículo */
@media (max-width: 980px) {
  .curriculo-grid {
    grid-template-columns: 1fr;
  }

  .curriculo-desc {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .main-nav a.nav-link-highlight {
    border: none;
    padding: 0.9rem 0 !important;
    color: var(--gold-300) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }

  .main-nav a.nav-link-highlight:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
     FOOTER
     ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.55);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.6rem 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.footer-brand img {
  width: clamp(40px, 9vw, 56px);
  height: clamp(40px, 9vw, 56px);
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 260px;
}

.footer-nav a {
  font-size: 0.85rem;
  transition: color .3s;
}

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

.footer-meta {
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.6;
  flex-shrink: 0;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.3rem;
}

/* ==========================================================================
     RESPONSIVE
     ========================================================================== */
@media (max-width: 980px) {

  .about-grid,
  .founder-grid,
  .ideology-grid {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    max-width: 340px;
    margin: 0 auto 3rem;
  }

  .about-pillars {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
    margin-top: 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(80vw, 300px);
    background: var(--navy-900);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    z-index: 99;
    border-left: 1px solid rgba(198, 161, 91, 0.25);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  }

  .main-nav::before {
    content: 'RHF TALENTOS · JACIARA SANTOS';
    position: absolute;
    top: 1.8rem;
    left: 2rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: var(--gold-500);
    opacity: 0.7;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color .3s var(--ease), padding-left .3s var(--ease);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--white);
    padding-left: 0.5rem;
  }

  /* Sobrescreve a cor do header scrolled — links do drawer sempre brancos */
  .site-header.scrolled .main-nav a,
  .site-header--solid .main-nav a,
  .site-header--navy-top .main-nav a {
    color: rgba(255, 255, 255, 0.75);
  }

  .site-header.scrolled .main-nav a:hover,
  .site-header.scrolled .main-nav a.active,
  .site-header--solid .main-nav a:hover,
  .site-header--solid .main-nav a.active,
  .site-header--navy-top .main-nav a:hover,
  .site-header--navy-top .main-nav a.active {
    color: var(--white);
  }

  .main-nav a::after {
    background: var(--gold-500);
    bottom: -1px;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .nav-cta-mobile-only {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .hero-compass {
    width: 130vw;
    right: -40%;
    opacity: 0.55;
  }

  .hero {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .founder-stat {
    left: 0;
    bottom: -1.2rem;
    padding: 1rem 1.2rem;
  }

  /* Ocultar scroll-cue em mobile — sem espaço e fica sobreposto */
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 420px) {
  .credential-tags li {
    font-size: 0.66rem;
    padding: 0.4rem 0.75rem;
  }
}

/* ==========================================================================
     ESTILOS ADICIONAIS — CARDS DE SERVIÇO CLICÁVEIS
     ========================================================================== */
.service-card-clickable {
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.service-card-cta {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  transition: color 0.3s;
}

.service-card:hover .service-card-cta {
  color: var(--navy-900);
}

.contact-whatsapp-box {
  border-left: 3px solid #25d366;
}

/* ==========================================================================
     BLOG — COMPONENTES E GRIDS
     ========================================================================== */
.blog-preview-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
  min-width: 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(12, 26, 48, 0.02);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  min-width: 0;
  max-width: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(12, 26, 48, 0.08);
  border-color: var(--gold-300);
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-900);
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, var(--navy-700), var(--navy-900));
}

.blog-card-img-placeholder::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: rgba(198, 161, 91, 0.35);
}

.blog-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-100);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--navy-900);
  margin-bottom: 0.8rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  height: 4.8rem;
  overflow: hidden;
  flex-grow: 1;
  overflow-wrap: anywhere;
}

@media (max-width: 400px) {
  .blog-preview-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .blog-card-body {
    padding: 1.35rem;
  }
}

.blog-card-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-top: auto;
  transition: color 0.3s;
}

.blog-card:hover .blog-card-link {
  color: var(--navy-900);
}

.blog-preview-footer {
  text-align: center;
  margin-top: 3.5rem;
}

.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.blog-empty-state a {
  color: var(--gold-500);
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
     PÁGINA DE LISTAGEM DE BLOG (blog.html)
     ========================================================================== */
.blog-page-hero {
  padding: clamp(8rem, 12vw, 10rem) 0 4rem;
  background: radial-gradient(ellipse at 50% 10%, var(--navy-800), var(--navy-900) 80%);
  color: var(--white);
  text-align: center;
  border-bottom: 3px solid var(--gold-500);
}

.blog-page-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.blog-page-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-filters-wrap {
  background: var(--cream);
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 70px;
  z-index: 10;
}

.blog-filters {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.1rem;
}

.blog-filters::-webkit-scrollbar {
  display: none;
}

.blog-filter-btn {
  font-family: var(--font-body);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s var(--ease);
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(12, 26, 48, 0.12);
}

.blog-list-section {
  padding: 4rem 0 6rem;
}

.blog-no-posts {
  text-align: center;
  padding: 6rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.blog-no-posts-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.blog-no-posts-icon {
  font-size: 3rem;
  color: var(--gold-500);
}

.blog-no-posts h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy-900);
}

.blog-no-posts p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-cta-section {
  background: var(--navy-900);
  padding: 6rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.blog-cta-box {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.blog-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

.blog-cta-sub {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
     PÁGINA DO ARTIGO INDIVIDUAL (blog-post.html)
     ========================================================================== */
.post-main {
  padding-top: 70px;
  min-height: 80vh;
}

.post-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
  gap: 1.5rem;
  color: var(--ink-soft);
}

.post-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--line);
  border-top-color: var(--gold-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.post-not-found {
  text-align: center;
  padding: 8rem 0;
}

.post-not-found h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--navy-900);
  margin: 1rem 0;
}

.post-hero {
  padding: 5rem 0 3.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.post-breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.post-breadcrumb a {
  color: var(--gold-500);
}

.post-breadcrumb a:hover {
  color: var(--navy-900);
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.post-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  max-width: 25ch;
}

.post-author {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.post-author strong {
  color: var(--navy-900);
}

.post-cover-wrap {
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.post-cover-fig {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(12, 26, 48, 0.12);
  border: 1px solid var(--line);
  margin: 0;
}

.post-cover-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .post-cover-fig {
    aspect-ratio: 3/2;
    border-radius: 8px;
  }

  .post-cover-wrap {
    margin-top: 1.5rem;
  }
}

.post-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.post-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink);
}

.post-body p {
  margin-bottom: 1.1rem;
}

/* Corrige o espaçamento duplicado: o editor (Quill) salva linhas em branco
   como <p><br></p> — sem esta regra, cada uma delas soma +1.8rem de margem
   por cima do espaço que os parágrafos normais já têm. */
.post-body p:empty,
.post-body p:has(> br:only-child) {
  margin: 0;
  height: 0;
  overflow: hidden;
}

.post-body h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--navy-900);
}

.post-body h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  color: var(--navy-900);
}

.post-body ul,
.post-body ol {
  margin-bottom: 1.8rem;
  padding-left: 1.5rem;
}

.post-body ul {
  list-style: square;
}

.post-body li {
  margin-bottom: 0.6rem;
}

.post-body blockquote {
  border-left: 4px solid var(--gold-500);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy-800);
}

/* Sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.post-sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(12, 26, 48, 0.02);
}

.post-sidebar-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  border: 2px solid var(--gold-300);
}

.post-sidebar-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.post-sidebar-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.post-sidebar-more {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.post-sidebar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

.post-related-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(12, 26, 48, 0.06);
  transition: transform 0.3s;
}

.post-related-item:last-child {
  border-bottom: none;
}

.post-related-item:hover {
  transform: translateX(4px);
}

.post-related-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.post-related-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.4;
}

.post-related-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-soft);
}

/* ============ TEMPO DE LEITURA ============ */
.post-reading-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
}

/* ============ ÍNDICE DO ARTIGO (TOC) ============ */
.post-toc {
  font-size: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.post-toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-300) 100%);
}

.post-toc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.post-toc-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.post-sidebar-title--toc {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-900);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
  font-weight: 600;
}

.post-sidebar-title--muted {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.post-toc-list {
  list-style: none;
  counter-reset: toc-counter;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.post-toc-list>li {
  counter-increment: toc-counter;
}

.post-toc-list>li>a {
  display: block;
  padding-left: 1.8rem;
  color: var(--navy-900);
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}

.post-toc-list>li>a::before {
  content: counter(toc-counter) ".";
  color: var(--gold-500);
  font-family: var(--font-mono);
  position: absolute;
  left: 0;
}

.post-toc-list>li>a:hover {
  color: var(--gold-500);
  text-decoration: none;
  transform: translateX(3px);
}

.post-toc-sublist {
  list-style: none;
  margin: 0.4rem 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.post-toc-sublist a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.post-toc-sublist a:hover {
  color: var(--gold-500);
  text-decoration: none;
}

/* ============ WRAPPER DO TOC (MOBILE) ============ */
.post-toc-wrap {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  box-shadow: 0 4px 20px rgba(12, 26, 48, 0.02);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.post-toc-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-300) 100%);
}

.post-toc-wrap.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .post-toc-wrap {
    display: none;
    max-width: calc(100% - 2 * var(--gutter));
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5rem;
    box-sizing: border-box;
  }
  .post-toc-wrap.is-visible {
    display: block;
  }
  #postTocDesktop {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .post-toc-wrap {
    display: none !important;
  }
}

/* ============ TÓPICOS / TAGS DO ARTIGO ============ */
.post-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.post-tag-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--navy-900);
  background: var(--gold-100);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}

.post-tag-chip:hover {
  background: var(--gold-500);
  color: #fff;
}

/* ============ FAQS DO ARTIGO ============ */
.post-faq-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(12, 26, 48, 0.03);
}

.post-faq-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.post-faq-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.post-faq-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy-900);
  margin: 0;
}

.post-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.post-faq-details {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.post-faq-details[open] {
  border-color: var(--gold-300);
}

.post-faq-question {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.post-faq-question::-webkit-details-marker {
  display: none;
}

.post-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-500);
  transition: transform 0.2s;
}

.post-faq-details[open] .post-faq-question::after {
  transform: rotate(45deg);
}

.post-faq-details[open] .post-faq-question {
  background: var(--gold-100);
}

.post-faq-question:hover {
  background: var(--gold-50);
}

.post-faq-answer {
  padding: 0 1.2rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Rolagem suave ao clicar em um item do índice */
.post-body {
  scroll-margin-top: 100px;
}

.post-body h2,
.post-body h3 {
  scroll-margin-top: 100px;
}

html {
  scroll-behavior: smooth;
}
