/* ========================================
   HELEM FRANCESCHINI — Site Pessoal
   Paleta: Safira, Azul, Off-white, Alabastro, Âmbar, Ônix
   Tipografia: Inter (títulos) + Frank Ruhl Libre (corpo)
   ======================================== */

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--safira);
  color: var(--offwhite);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

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

:root {
  --safira: #17374E;
  --safira-mid: #1e4a67;
  --azul: #8FB8CC;
  --offwhite: #FFFDF8;
  --alabastro: #EFEBDB;
  --ambar: #DDBA8D;
  --onix: #2A2926;
  --cinza: #999999;
  --cinza-light: #e8e4d8;

  --font-display: 'Inter', sans-serif;
  --font-body: 'Frank Ruhl Libre', serif;

  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  background: var(--offwhite);
  color: var(--onix);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 0.5px solid transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(42, 41, 38, 0.08);
  box-shadow: 0 1px 20px rgba(23, 55, 78, 0.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--offwhite);
  transition: color 0.3s;
}

.nav.scrolled .nav-logo-text {
  color: var(--safira);
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(239, 235, 219, 0.5);
  transition: color 0.3s;
  position: relative;
}

.nav.scrolled .nav-link {
  color: var(--cinza);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--ambar);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--offwhite);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
  color: var(--safira);
}

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

/* Nav Social Icons */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(239, 235, 219, 0.15);
}

.nav.scrolled .nav-socials {
  border-left-color: rgba(42, 41, 38, 0.1);
}

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(239, 235, 219, 0.4);
  transition: color 0.3s;
}

.nav-social:hover {
  color: var(--ambar);
}

.nav.scrolled .nav-social {
  color: var(--cinza);
}

.nav.scrolled .nav-social:hover {
  color: var(--safira);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--offwhite);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--safira);
}

.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

.nav-toggle.open span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.open span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--safira);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--offwhite);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.mobile-link:hover {
  color: var(--ambar);
}

.mobile-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.mobile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(143, 184, 204, 0.2);
  color: rgba(239, 235, 219, 0.5);
  transition: all 0.3s ease;
}

.mobile-social:hover {
  border-color: var(--ambar);
  color: var(--ambar);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--safira);
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.22);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-logo-bg {
  position: absolute;
  right: -350px;
  bottom: -120px;
  width: 700px;
  height: auto;
  fill: #DDBA8D;
  opacity: 0.60;
}

@media (max-width: 900px) {
  .hero-logo-bg {
    width: 550px;
    right: -280px;
    bottom: -100px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--offwhite);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.eyebrow-line {
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--offwhite);
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  color: rgba(239, 235, 219, 0.4);
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-name {
  text-transform: uppercase;
  color: var(--ambar);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  color: rgba(239, 235, 219, 0.65);
  line-height: 1.85;
  max-width: 600px;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239, 235, 219, 0.3);
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.scroll-indicator {
  width: 20px;
  height: 32px;
  border: 1px solid rgba(239, 235, 219, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 3px;
  height: 6px;
  background: var(--ambar);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── SECTIONS ── */
.section {
  padding: 7rem 0;
}

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

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

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

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

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cinza);
}

.section-eyebrow .eyebrow-line {
  background: var(--cinza);
}

.eyebrow-ambar {
  color: var(--ambar);
}

.line-ambar {
  background: var(--ambar) !important;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.title-dark {
  color: var(--onix);
}

.title-dark em {
  font-style: italic;
  color: var(--safira);
}

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

.title-light em {
  font-style: italic;
  color: var(--ambar);
}

.prose {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--onix);
  max-width: 660px;
  margin-bottom: 1.15rem;
}

.prose:last-child {
  margin-bottom: 0;
}

.prose-light {
  color: rgba(239, 235, 219, 0.88);
}

/* ── ABOUT GRID ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-eyebrow-mobile {
  display: none;
}

/* About Photo */
.about-photo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.about-photo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

/* Marquee Carousel */
.marquee-wrapper {
  margin-top: 4rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 55s linear infinite;
}

.marquee-track-reverse {
  animation: marqueeScrollReverse 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  padding-right: 1rem;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cinza);
  white-space: nowrap;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.2rem;
  border-left: 2px solid var(--cinza-light);
}

.marquee-item strong {
  color: var(--safira);
  font-weight: 600;
  margin-right: 0.4rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── CAREER HIGHLIGHTS ── */
.about-divider {
  border: none;
  border-top: 1px solid var(--cinza-light);
  margin: 3.5rem 0;
}

.career-highlights-title {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--onix);
  margin-bottom: 2rem;
}

.career-section {
  margin-bottom: 1.75rem;
}

.career-cat {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ambar);
  margin-bottom: 0.75rem;
}

.career-item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 0.5px solid rgba(42, 41, 38, 0.06);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--onix);
  line-height: 1.7;
}

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

.career-item-ruled {
  border-top: 1px solid rgba(42, 41, 38, 0.15);
  padding-top: 0.85rem;
  margin-top: -0.75rem;
}

.career-item strong {
  font-weight: 500;
  color: var(--safira);
}

.career-year {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cinza);
  letter-spacing: 0.06em;
  min-width: 60px;
  flex-shrink: 0;
}

.career-link {
  color: var(--safira);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 55, 78, 0.2);
  transition: border-color 0.2s;
}

.career-link:hover {
  border-color: var(--safira);
}

.career-link strong {
  color: inherit;
}

.career-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: none;
  border: 1px solid var(--cinza-light);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--safira);
  transition: all 0.3s ease;
}

.career-toggle:hover {
  background: var(--safira);
  color: var(--offwhite);
  border-color: var(--safira);
}

.career-toggle-icon {
  transition: transform 0.3s ease;
}

.career-toggle[aria-expanded="true"] .career-toggle-icon {
  transform: rotate(180deg);
}

@media (max-width: 600px) {
  .career-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .career-year {
    min-width: unset;
  }
}

/* ── BELIEFS GRID ── */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.belief-card {
  padding: 2rem;
  background: rgba(255, 253, 248, 0.06);
  border-radius: 12px;
  border: 0.5px solid rgba(143, 184, 204, 0.12);
  transition: transform 0.3s ease, background 0.3s ease;
}

.belief-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 253, 248, 0.1);
}

.belief-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ambar);
  margin-bottom: 0.75rem;
}

.belief-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(239, 235, 219, 0.88);
  line-height: 1.75;
}

/* ── CONVICTIONS ── */
.convictions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
}

.conviction {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 253, 248, 0.04);
  border-radius: 10px;
  border-left: 2px solid var(--ambar);
  transition: background 0.3s ease;
}

.conviction:hover {
  background: rgba(255, 253, 248, 0.08);
}

.conviction-marker {
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--ambar);
  border-radius: 50%;
  margin-top: 0.6rem;
}

.conviction p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(239, 235, 219, 0.88);
  line-height: 1.8;
}

/* ── ATUAÇÃO (video bg) ── */
.section-atuacao {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background: var(--safira);
}

.atuacao-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.atuacao-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 55, 78, 0.82);
  z-index: 1;
}

.atuacao-content {
  position: relative;
  z-index: 2;
}

/* ── AREAS GRID ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.area-card-glass {
  padding: 2rem;
  background: rgba(255, 253, 248, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 0.5px solid rgba(143, 184, 204, 0.12);
  transition: transform 0.3s ease, background 0.3s ease;
}

.area-card-glass:hover {
  transform: translateY(-4px);
  background: rgba(255, 253, 248, 0.12);
}

.area-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ambar);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.area-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.area-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(239, 235, 219, 0.85);
  line-height: 1.75;
}

/* ── HIGHLIGHTS ── */
.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 0.5px solid rgba(143, 184, 204, 0.12);
  transition: padding-left 0.3s ease;
}

.highlight:first-child {
  border-top: 0.5px solid rgba(143, 184, 204, 0.12);
}

.highlight:hover {
  padding-left: 1rem;
}

.highlight-year {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ambar);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 70px;
  padding-top: 0.2rem;
}

.highlight-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--offwhite);
  margin-bottom: 0.25rem;
}

.highlight-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(239, 235, 219, 0.65);
  line-height: 1.7;
  max-width: 480px;
}

/* ── CTA PALESTRA ── */
.section-cta-palestra {
  position: relative;
  background: var(--onix);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-palestra-collage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 0;
}

.collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.cta-palestra-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--safira) 0%,
    rgba(23, 55, 78, 0.72) 20%,
    rgba(23, 55, 78, 0.72) 80%,
    rgba(23, 55, 78, 0.88) 100%
  );
  z-index: 1;
}

.section-cta-palestra .cta-container {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .cta-palestra-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

.cta-container {
  text-align: center;
  padding: 2rem 2rem;
}

.cta-palestra-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--offwhite);
  line-height: 1.25;
  max-width: 680px;
  margin: 0 auto 1rem;
}

.cta-palestra-title em {
  font-style: italic;
  color: var(--ambar);
}

.cta-palestra-sub {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  color: rgba(239, 235, 219, 0.6);
  margin-bottom: 2.5rem;
}

.palestra-temas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2rem auto 3rem;
  max-width: 750px;
}

.palestra-tema {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(239, 235, 219, 0.7);
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(221, 186, 141, 0.25);
  background: transparent;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(10px);
  animation: temaFadeIn 0.6s ease forwards;
}

.palestra-tema:nth-child(1) { animation-delay: 0.1s; }
.palestra-tema:nth-child(2) { animation-delay: 0.25s; }
.palestra-tema:nth-child(3) { animation-delay: 0.4s; }
.palestra-tema:nth-child(4) { animation-delay: 0.55s; }
.palestra-tema:nth-child(5) { animation-delay: 0.7s; }
.palestra-tema:nth-child(6) { animation-delay: 0.85s; }
.palestra-tema:nth-child(7) { animation-delay: 1.0s; }

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

.palestra-tema-dark {
  color: rgba(239, 235, 219, 0.7);
  border-color: rgba(239, 235, 219, 0.2);
}

.palestra-tema-dark:hover,
.palestra-tema-dark.active {
  color: var(--ambar);
  border-color: var(--ambar);
  background: rgba(221, 186, 141, 0.1);
}

.palestra-desc-dark {
  color: rgba(239, 235, 219, 0.65);
}

.palestra-temas-dark {
  margin: 2rem auto 0;
}

.palestra-tema:hover,
.palestra-tema.active {
  color: var(--ambar);
  border-color: var(--ambar);
  background: rgba(221, 186, 141, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.palestra-desc {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--offwhite);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.palestra-desc.visible {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--offwhite);
  background: var(--ambar);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(221, 186, 141, 0.4);
}

/* ── CONTACT ── */
.contact-grid {
  max-width: 540px;
}

.contact-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(239, 235, 219, 0.78);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ambar);
  margin-bottom: 2rem;
  position: relative;
  transition: color 0.2s;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ambar);
  opacity: 0.3;
  transition: opacity 0.2s;
}

.contact-email:hover::after {
  opacity: 1;
}

.contact-location {
  margin-bottom: 2rem;
}

.location-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cinza);
  margin-bottom: 0.5rem;
}

.location-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(239, 235, 219, 0.78);
}

a.location-link {
  display: inline-block;
  transition: color 0.2s;
}

a.location-link:hover {
  color: var(--ambar);
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(143, 184, 204, 0.2);
  color: rgba(239, 235, 219, 0.5);
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--ambar);
  color: var(--ambar);
  transform: translateY(-2px);
}

/* ── WHAT NOW (split CTA) ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 380px;
}

.contact-question {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(4rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--onix);
}

.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.contact-action-btn {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--offwhite);
  background: var(--onix);
  padding: 1.15rem 2.25rem;
  min-width: 275px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-action-btn:hover {
  transform: translateX(-6px);
  box-shadow: 0 4px 20px rgba(42, 41, 38, 0.15);
}

.contact-action-highlight {
  background: var(--ambar);
  color: var(--safira);
}

.contact-action-highlight:hover {
  background: #c9a474;
  box-shadow: 0 4px 20px rgba(221, 186, 141, 0.3);
}

@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-right {
    align-items: stretch;
  }

  .contact-action-btn {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .contact-action-btn {
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
  }
}

/* ── ESCRITÓRIO SECTION ── */
.section-escritorio {
  background: var(--onix);
  padding: 0;
  overflow: hidden;
  position: relative;
}


.section-escritorio .container {
  max-width: 100%;
  padding: 0;
}

.escritorio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 560px;
}

.escritorio-image {
  position: relative;
  overflow: hidden;
}

.escritorio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--onix) 0%, transparent 20%, transparent 80%, var(--onix) 100%);
  pointer-events: none;
}

.escritorio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.escritorio-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
}

.escritorio-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--offwhite);
  margin-bottom: 2rem;
}

.escritorio-title em {
  font-style: italic;
  color: var(--ambar);
  display: block;
  font-size: 0.65em;
  margin-top: 0.25rem;
}

.prose-escritorio {
  color: rgba(239, 235, 219, 0.78);
  max-width: none;
}

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

  .escritorio-image {
    height: 300px;
  }

  .escritorio-image::after {
    background: linear-gradient(to bottom, transparent 0%, transparent 85%, var(--onix) 100%);
  }

  .escritorio-content {
    padding: 3rem 2rem;
  }
}

@media (max-width: 600px) {
  .escritorio-image {
    height: 240px;
  }

  .escritorio-content {
    padding: 2.5rem 1.25rem;
  }
}

/* ── FOOTER ── */
.footer {
  background: #1a1a18;
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 16px;
  width: auto;
  opacity: 0.25;
  filter: brightness(0) invert(1);
}

.footer-center {
  display: flex;
  align-items: center;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(239, 235, 219, 0.3);
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  color: var(--ambar);
}

.footer-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: rgba(239, 235, 219, 0.25);
  letter-spacing: 0.04em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  html {
    scroll-behavior: auto;
  }

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

/* Career expandable */
.career-expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.career-expandable.open {
  max-height: 5000px;
  transition: max-height 0.8s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-socials {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-eyebrow-desktop {
    display: flex;
  }

  .about-eyebrow-mobile {
    display: none;
  }

  .about-photo {
    overflow: hidden;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }

  .about-photo img {
    max-width: none;
    width: 100%;
    max-height: 500px;
    min-height: 750px;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
  }

  .marquee-item {
    font-size: 0.75rem;
  }

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

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

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .section {
    padding: 5rem 0;
  }

  .highlight {
    gap: 1.25rem;
  }

  .highlight-year {
    min-width: 55px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-escritorio {
    padding: 0;
  }

  .hero-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* ── MOBILE: Bigger titles ── */
  .section-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .escritorio-title {
    font-size: 2.2rem;
  }

  .contact-question {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.4rem;
  }

  /* ── MOBILE: Bigger body text ── */
  .prose {
    font-size: 1.15rem;
    line-height: 1.9;
  }

  .hero-subtitle {
    font-size: 1rem;
    color: rgba(239, 235, 219, 0.6);
    line-height: 1.9;
  }

  .belief-text {
    font-size: 1.05rem;
  }

  .conviction p {
    font-size: 1.1rem;
  }

  .area-desc {
    font-size: 1rem;
  }

  .highlight-content h3 {
    font-size: 1.05rem;
  }

  .highlight-content p {
    font-size: 0.95rem;
  }

  .belief-title {
    font-size: 1.1rem;
  }

  .area-title {
    font-size: 1.15rem;
  }

  /* ── MOBILE: Higher contrast on dark backgrounds ── */
  .prose-light {
    color: rgba(239, 235, 219, 0.9);
  }

  .prose-escritorio {
    color: rgba(239, 235, 219, 0.85);
  }

  .belief-text {
    color: rgba(239, 235, 219, 0.88);
  }

  .conviction p {
    color: rgba(239, 235, 219, 0.9);
  }

  .highlight-content p {
    color: rgba(239, 235, 219, 0.6);
  }

  .contact-text {
    color: rgba(239, 235, 219, 0.8);
  }


  .area-card-glass {
    padding: 1.75rem;
  }

  .section-atuacao {
    padding: 5rem 0;
  }

  .belief-card {
    padding: 1.5rem;
  }

  .highlight {
    flex-direction: column;
    gap: 0.5rem;
  }
}
