/* ============================================
   Dr. David Dias — Osteopatia em Anápolis
   style.css — Production build
   ============================================ */

/* === VARIABLES === */
:root {
  --petroleo-escuro: #0F5D73;
  --petroleo-medio: #1C6F86;
  --turquesa: #7FC6C0;
  --verde-agua: #CFE8E4;
  --bege: #E8DFD3;
  --bege-claro: #F2EBE0;
  --terra: #C4A88A;
  --creme: #F8F2E8;
  --texto: #1A2418;
  --texto-sec: #5C6B5A;
  --footer-bg: #0a3f4f;
  --easing-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 80px;
}

/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: clip;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--texto);
  background: var(--creme);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* === PAGE LOAD CURTAIN === */
.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--creme);
  z-index: 9999;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 1.2s var(--easing-spring);
}

.page-curtain.lifted {
  transform: translateY(-100%);
}

/* === SR-ONLY (accessibility) === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--petroleo-escuro);
  color: var(--creme);
  padding: 12px 24px;
  z-index: 1000;
  font-size: 14px;
  font-weight: 500;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 8px;
}

/* === CONTAINER === */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}

/* === SECTION EYEBROW (reusable) === */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 24px;
}

/* === FOCUS STYLES === */
:focus-visible {
  outline: 2px solid var(--turquesa);
  outline-offset: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--easing-spring),
              transform 1.2s var(--easing-spring);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--easing-spring),
              transform 0.8s var(--easing-spring);
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 480ms; }

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.5s ease,
              padding 0.4s ease,
              border-color 0.4s ease,
              transform 0.5s var(--easing-spring),
              backdrop-filter 0.4s ease,
              -webkit-backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
  transform: translateY(0);
}

nav.scrolled {
  background: rgba(248, 242, 232, 0.95);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 16px 0;
  border-bottom-color: rgba(15, 93, 115, 0.08);
}

nav.nav-hidden {
  transform: translateY(-100%);
}

/* Dark veil behind transparent nav — ensures readability over any hero photo */
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  bottom: -40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

nav.scrolled::before {
  opacity: 0;
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 201;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
  color: var(--petroleo-escuro);
  letter-spacing: 0.3px;
  transition: color 0.4s ease;
}

/* --- Nav transparent state (over hero) --- */
nav:not(.scrolled) .logo-text {
  color: var(--creme);
}

nav:not(.scrolled) .nav-links a {
  color: rgba(248, 242, 232, 0.8);
}

nav:not(.scrolled) .nav-links a:hover {
  color: var(--creme);
}

nav:not(.scrolled) .nav-links a::after {
  background: var(--creme);
}

nav:not(.scrolled) .nav-cta {
  color: var(--creme) !important;
  border-bottom-color: rgba(248, 242, 232, 0.6);
}

nav:not(.scrolled) .hamburger-line {
  background: var(--creme);
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  color: var(--texto);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.4s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--petroleo-escuro);
  transition: width 0.3s var(--easing-spring);
}

.nav-links a:hover { color: var(--petroleo-escuro); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  color: var(--petroleo-escuro) !important;
  font-weight: 500 !important;
  border-bottom: 1.5px solid var(--petroleo-escuro);
  padding-bottom: 2px;
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 201;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--petroleo-escuro);
  transition: transform 0.4s var(--easing-spring),
              opacity 0.3s ease,
              width 0.3s var(--easing-spring),
              background 0.4s ease;
  transform-origin: center;
}

.hamburger:hover .hamburger-line:nth-child(2) {
  width: 70%;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--creme);
  z-index: 200;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.4s var(--easing-spring),
              transform 0.4s var(--easing-spring),
              visibility 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mobile-menu-content {
  width: 100%;
  padding: 120px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--petroleo-escuro);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--easing-spring),
              transform 0.4s var(--easing-spring),
              color 0.3s;
}

.mobile-menu-link:hover {
  color: var(--petroleo-medio);
}

.mobile-menu.open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open li:nth-child(1) .mobile-menu-link { transition-delay: 80ms; }
.mobile-menu.open li:nth-child(2) .mobile-menu-link { transition-delay: 160ms; }
.mobile-menu.open li:nth-child(3) .mobile-menu-link { transition-delay: 240ms; }
.mobile-menu.open li:nth-child(4) .mobile-menu-link { transition-delay: 320ms; }
.mobile-menu.open li:nth-child(5) .mobile-menu-link { transition-delay: 400ms; }

.mobile-menu-cta {
  color: var(--turquesa) !important;
  font-style: italic;
}

.mobile-menu-footer {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: var(--texto-sec);
  opacity: 0.6;
  letter-spacing: 1px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% 0 0 0;
  z-index: 0;
  overflow: hidden;
  height: 115%;
  will-change: transform;
}

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.95) contrast(1.02) brightness(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 24, 0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--creme);
  text-align: center;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 7vw, 120px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--creme);
  margin-bottom: 64px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

/* Hero buttons — 3 minimal CTAs */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.hero-btn {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--creme);
  border: 1px solid rgba(248, 242, 232, 0.35);
  padding: 18px 44px;
  transition: background 0.4s var(--easing-spring),
              border-color 0.4s var(--easing-spring),
              transform 0.4s var(--easing-spring),
              color 0.4s var(--easing-spring);
}

.hero-btn:hover {
  background: rgba(248, 242, 232, 0.12);
  border-color: rgba(248, 242, 232, 0.7);
  transform: translateY(-2px);
}

.hero-btn--primary {
  background: var(--creme);
  color: var(--petroleo-escuro);
  border-color: var(--creme);
  font-weight: 500;
}

.hero-btn--primary:hover {
  background: var(--turquesa);
  border-color: var(--turquesa);
  color: var(--petroleo-escuro);
  transform: translateY(-2px);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  background: var(--petroleo-escuro);
  color: var(--creme);
  padding: 32px 0;
  overflow: hidden;
  border-top: 1px solid rgba(248, 242, 232, 0.1);
  border-bottom: 1px solid rgba(248, 242, 232, 0.1);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 0;
  animation: marquee 40s linear infinite;
}

.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.marquee-item em {
  font-style: italic;
  color: var(--turquesa);
  margin: 0 0.25em;
}

.marquee-item::after {
  content: '\2726';
  color: var(--turquesa);
  font-size: 16px;
  opacity: 0.7;
  padding: 0 40px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   MANIFESTO — Interactive service words
   ============================================ */
.manifesto {
  padding: 200px 0;
  background: var(--creme);
  position: relative;
  overflow: hidden;
}

.manifesto-lines {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto-line {
  position: relative;
  display: block;
  cursor: default;
  /* Reveal animation base */
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s var(--easing-spring),
              transform 1s var(--easing-spring);
}

.manifesto-line.in {
  opacity: 1;
  transform: translateY(0);
}

/* Text layer — ABOVE images */
.manifesto-line-text {
  position: relative;
  z-index: 2;
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 10vw, 150px);
  font-weight: 400;
  font-style: italic;
  color: var(--petroleo-escuro);
  line-height: 1.1;
  letter-spacing: -3px;
  transition: color 0.4s ease, opacity 0.4s ease;
}

/* Staggered alignment */
.manifesto-line--left .manifesto-line-text   { text-align: left; padding-left: 4%; }
.manifesto-line--right .manifesto-line-text  { text-align: right; padding-right: 4%; }
.manifesto-line--center .manifesto-line-text { text-align: center; }

/* Hover: dim siblings, active goes white over dark image */
.manifesto-lines:hover .manifesto-line-text {
  opacity: 0.15;
  color: var(--texto-sec);
}

.manifesto-lines:hover .manifesto-line:hover .manifesto-line-text {
  opacity: 1;
  color: var(--creme);
}

/* ---- Full-section background wipe ---- */
.manifesto-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: clip-path;
  transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.manifesto-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) brightness(0.4);
}

/* Wipe directions — hidden by default */
.manifesto-bg--1 { clip-path: inset(0 100% 0 0); }
.manifesto-bg--2 { clip-path: inset(0 0 0 100%); }
.manifesto-bg--3 { clip-path: inset(0 100% 0 0); }

/* Active state (toggled via JS) */
.manifesto-bg.active { clip-path: inset(0 0 0 0); }

/* ---- Mobile carousel (hidden on desktop) ---- */
.manifesto-carousel { display: none; }

/* Shared carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--texto-sec);
  opacity: 0.25;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
}

.carousel-dot.active {
  opacity: 1;
  transform: scale(1.4);
  background: var(--petroleo-escuro);
}

/* ============================================
   ATUAÇÃO
   ============================================ */
.atuacao {
  padding: 140px 0;
  background: var(--bege-claro);
}

.atuacao-header {
  margin-bottom: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.atuacao-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 1;
  color: var(--petroleo-escuro);
  letter-spacing: -2px;
}

.atuacao-header h2 em { font-style: italic; }

.atuacao-header p {
  font-size: 17px;
  color: var(--texto-sec);
  line-height: 1.7;
  max-width: 480px;
}

/* Service cards */
.servico {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
  margin-bottom: 160px;
}

.servico:nth-child(odd) .servico-img-wrap { order: 2; }
.servico:last-child { margin-bottom: 0; }

.servico-img-wrap {
  position: sticky;
  top: 120px;
}

.servico-img {
  aspect-ratio: 3/4;
  background: var(--bege);
  overflow: hidden;
}

.servico-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1.6s var(--easing-spring);
}

.servico-img-wrap:hover .servico-img img {
  transform: scale(1.06);
}

.servico-num {
  position: absolute;
  top: -32px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 96px;
  font-weight: 400;
  color: var(--terra);
  opacity: 0.7;
  z-index: 2;
}

.servico:nth-child(odd) .servico-num { right: -16px; }
.servico:nth-child(even) .servico-num { left: -16px; }

.servico-content {
  padding-top: 80px;
  padding-bottom: 160px;
}

.servico-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--petroleo-escuro);
  letter-spacing: -1.2px;
  margin-bottom: 40px;
}

.servico-content h3 em { font-style: italic; }

.servico-content .section-eyebrow {
  margin-bottom: 24px;
}

.servico-content p {
  font-size: 16px;
  color: var(--texto-sec);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.servico-points li {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--petroleo-escuro);
  padding: 18px 0;
  border-bottom: 1px solid rgba(15, 93, 115, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding-left 0.3s var(--easing-spring);
}

.servico-points li:first-child {
  border-top: 1px solid rgba(15, 93, 115, 0.12);
}

.servico-points li:hover { padding-left: 12px; }

.servico-points li span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--texto-sec);
  font-weight: 500;
}

.servico-points {
  margin: 40px 0 56px;
}

.servico-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--petroleo-escuro);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  border-bottom: 1px solid var(--petroleo-escuro);
  padding-bottom: 6px;
  transition: gap 0.4s var(--easing-spring),
              color 0.3s;
}

.servico-cta::after {
  content: '\2192';
  font-style: normal;
  transition: transform 0.4s var(--easing-spring);
}

.servico-cta:hover {
  gap: 20px;
  color: var(--petroleo-medio);
}

.servico-cta:hover::after { transform: translateX(4px); }

/* ============================================
   VITRINE
   ============================================ */
.vitrine {
  padding: 160px 0;
  background: var(--creme);
}

.vitrine-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.vitrine-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1;
  color: var(--petroleo-escuro);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.vitrine-header h2 em { font-style: italic; }

.vitrine-header p {
  font-size: 16px;
  color: var(--texto-sec);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.vitrine-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 24px;
  align-items: center;
}

.vitrine-card {
  position: relative;
  aspect-ratio: 9/16;
  background: var(--bege);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s var(--easing-spring);
}

.vitrine-card--offset {
  aspect-ratio: 8/16;
}

.vitrine-card:hover {
  transform: translateY(-6px);
}

.vitrine-card--offset:hover {
  transform: translateY(-6px);
}

.vitrine-video,
.vitrine-card img,
.vitrine-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1.6s var(--easing-spring);
}

.vitrine-card:hover .vitrine-video,
.vitrine-card:hover img,
.vitrine-card:hover video {
  transform: scale(1.05);
}

.vitrine-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 36, 24, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  color: var(--creme);
  z-index: 2;
}

.vitrine-card-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--turquesa);
  margin-bottom: 12px;
  font-weight: 500;
}

.vitrine-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  color: var(--creme);
  letter-spacing: -1px;
}

/* ============================================
   DEPOIMENTO (1 vídeo + texto)
   ============================================ */
.depoimento {
  padding: 160px 0;
  background: var(--petroleo-escuro);
  color: var(--creme);
  position: relative;
  overflow: hidden;
}

.depoimento-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 30%,
    rgba(127, 198, 192, 0.08) 0%,
    transparent 50%
  );
  will-change: transform;
}

.depoimento-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.depoimento-video-wrap {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: rgba(248, 242, 232, 0.05);
}

.depoimento-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.depoimento-sound-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(248, 242, 232, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 242, 232, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--creme);
  transition: background 0.3s var(--easing-spring),
              transform 0.3s var(--easing-spring);
  z-index: 3;
}

.depoimento-sound-toggle:hover {
  background: rgba(248, 242, 232, 0.3);
  transform: scale(1.08);
}

.depoimento-sound-toggle .icon-unmuted { display: none; }

.depoimento-sound-toggle.unmuted .icon-muted { display: none; }
.depoimento-sound-toggle.unmuted .icon-unmuted { display: block; }

.depoimento-text-wrap {
  position: relative;
}

.depoimento-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 120px;
  line-height: 0.4;
  color: var(--turquesa);
  display: block;
  margin-bottom: 32px;
}

.depoimento-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--creme);
  letter-spacing: -0.3px;
  margin-bottom: 40px;
}

.depoimento-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 242, 232, 0.15);
  font-style: normal;
}

.depoimento-author-name {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--turquesa);
  font-weight: 500;
}

.depoimento-author-type {
  font-size: 13px;
  color: rgba(248, 242, 232, 0.6);
  letter-spacing: 1px;
}

/* ============================================
   SOBRE
   ============================================ */
.sobre {
  padding: 200px 0;
  background: var(--creme);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 80px;
  align-items: start;
}

.sobre-image {
  aspect-ratio: 4/5;
  background: var(--bege);
  overflow: hidden;
  position: sticky;
  top: 120px;
}

.sobre-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.sobre-content {
  padding-top: 24px;
}

.sobre-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  color: var(--petroleo-escuro);
  letter-spacing: -2.5px;
  margin-bottom: 56px;
}

.sobre-content h2 em { font-style: italic; }

.sobre-content p {
  font-size: 17px;
  color: var(--texto-sec);
  line-height: 1.85;
  margin-bottom: 28px;
}

.sobre-destaque {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic;
  font-size: 28px !important;
  color: var(--petroleo-escuro) !important;
  font-weight: 400;
  margin-bottom: 40px !important;
  line-height: 1.4 !important;
}

.formacao {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 93, 115, 0.15);
}

.formacao h4 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 24px;
  font-weight: 500;
}

.formacao li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 93, 115, 0.08);
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  color: var(--petroleo-escuro);
  display: flex;
  justify-content: space-between;
  transition: padding-left 0.3s var(--easing-spring);
}

.formacao li:hover { padding-left: 8px; }

.formacao li span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--texto-sec);
  font-weight: 500;
  text-transform: uppercase;
}

/* ============================================
   COMO CHEGAR
   ============================================ */
.como-chegar {
  background: var(--bege-claro);
}

.como-chegar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.como-chegar-info {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--creme);
}

.como-chegar-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--petroleo-escuro);
  letter-spacing: -1.5px;
  margin-bottom: 56px;
}

.como-chegar-info h2 em { font-style: italic; }

.como-chegar-detalhes {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.detalhe-item {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(15, 93, 115, 0.12);
}

.detalhe-item:last-child { border-bottom: none; }

.detalhe-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--texto-sec);
  margin-bottom: 8px;
  font-weight: 500;
}

.detalhe-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--petroleo-escuro);
  font-weight: 400;
  line-height: 1.3;
}

.btn-rota {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--petroleo-escuro);
  border-bottom: 1px solid var(--petroleo-escuro);
  padding-bottom: 4px;
  transition: gap 0.4s var(--easing-spring),
              color 0.3s;
}

.btn-rota:hover {
  gap: 18px;
  color: var(--petroleo-medio);
  border-color: var(--petroleo-medio);
}

.btn-rota .icon-arrow {
  transition: transform 0.4s var(--easing-spring);
}

.btn-rota:hover .icon-arrow {
  transform: translate(2px, -2px);
}

.como-chegar-mapa {
  position: relative;
  min-height: 640px;
  background: var(--bege);
}

.como-chegar-mapa iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(0.85) contrast(0.95);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  padding: 200px 0;
  background: var(--petroleo-escuro);
  color: var(--creme);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(127, 198, 192, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.cta-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(150px, 20vw, 280px);
  font-weight: 400;
  color: var(--turquesa);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
  letter-spacing: 8px;
}

.cta-final-content {
  position: relative;
  z-index: 2;
}

.cta-final-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--turquesa);
  margin-bottom: 32px;
}

.cta-final h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.95;
  color: var(--creme);
  letter-spacing: -2.5px;
  max-width: 1200px;
  margin: 0 auto 56px;
}

.cta-final h2 em {
  font-style: italic;
  color: var(--turquesa);
}

.cta-final-text {
  font-size: 18px;
  color: rgba(248, 242, 232, 0.8);
  max-width: 540px;
  margin: 0 auto 80px;
  line-height: 1.7;
}

.btn-large {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--turquesa);
  color: var(--petroleo-escuro);
  padding: 28px 56px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 500;
  transition: background 0.4s var(--easing-spring),
              transform 0.4s var(--easing-spring),
              box-shadow 0.4s var(--easing-spring),
              gap 0.4s var(--easing-spring);
}

.btn-large:hover {
  background: var(--creme);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.3);
  gap: 22px;
}

.btn-large:active {
  transform: translateY(-1px);
}

.btn-large .icon-arrow {
  transition: transform 0.4s var(--easing-spring);
}

.btn-large:hover .icon-arrow {
  transform: translate(2px, -2px);
}

.contato-grid {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 56px;
  border-top: 1px solid rgba(248, 242, 232, 0.2);
  text-align: left;
}

.contato-item-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--turquesa);
  margin-bottom: 8px;
}

.contato-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--creme);
}

.contato-item-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  opacity: 0.7;
}

.contato-link {
  color: var(--creme);
  border-bottom: 1px solid rgba(248, 242, 232, 0.3);
  transition: border-color 0.3s;
}

.contato-link:hover {
  border-color: var(--turquesa);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--footer-bg);
  color: rgba(248, 242, 232, 0.7);
  padding: 56px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--creme);
}

.footer-info {
  margin-top: 4px;
  opacity: 0.85;
}

.footer-sub {
  margin-top: 2px;
  opacity: 0.7;
  font-size: 12px;
}

.footer-copy {
  opacity: 0.6;
}

/* ============================================
   RESPONSIVE (968px)
   ============================================ */
@media (max-width: 968px) {
  :root {
    --nav-height: 64px;
  }

  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }

  /* Nav: hide links, show hamburger */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero h1 { font-size: clamp(36px, 10vw, 64px); }
  .hero-buttons {
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-btn {
    padding: 16px 32px;
    width: 100%;
    text-align: center;
  }

  /* Marquee */
  .marquee-track { gap: 48px; }
  .marquee-item { font-size: 22px; gap: 48px; }

  /* Manifesto — hide desktop, show mobile horizontal carousel */
  .manifesto { padding: 80px 0; }
  .manifesto-lines { display: none; }
  .manifesto-bg { display: none; }

  .manifesto-carousel {
    display: block;
    position: relative;
  }

  .manifesto-carousel-viewport {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 40px;
    margin-left: -24px;
    margin-right: -24px;
    scrollbar-width: none;
  }
  .manifesto-carousel-viewport::-webkit-scrollbar { display: none; }

  .manifesto-carousel-track { display: contents; }

  .manifesto-carousel-slide {
    flex-shrink: 0;
    width: calc(100vw - 96px);
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: center;
  }

  .manifesto-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
  }

  .manifesto-carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 36, 24, 0.7) 100%);
    z-index: 1;
  }

  .manifesto-carousel-label {
    position: absolute;
    bottom: 24px;
    left: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
    color: var(--creme);
    z-index: 2;
    letter-spacing: -0.5px;
  }

  /* Atuação */
  .atuacao { padding: 100px 0; }
  .atuacao-header {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }
  .servico {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }
  .servico:nth-child(odd) .servico-img-wrap { order: 0; }
  .servico:last-child { margin-bottom: 0; }
  .servico-img-wrap { position: relative; top: auto; }
  .servico-content { padding-top: 0; padding-bottom: 0; }

  /* Reveal mais rápido no mobile para evitar espaço vazio */
  .reveal {
    transform: translateY(20px);
    transition: opacity 0.6s var(--easing-spring),
                transform 0.6s var(--easing-spring);
  }
  .sobre-image { position: relative; top: auto; }

  /* Vitrine — horizontal carousel */
  .vitrine { padding: 80px 0; }
  .vitrine-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    max-width: none;
    padding: 0 40px;
    margin-left: -24px;
    margin-right: -24px;
    scrollbar-width: none;
  }
  .vitrine-grid::-webkit-scrollbar { display: none; }

  .vitrine-card {
    flex-shrink: 0;
    width: calc(100vw - 96px);
    aspect-ratio: 1;
    border-radius: 20px;
    scroll-snap-align: center;
  }
  .vitrine-card--offset { transform: none; }
  .vitrine-card--offset:hover { transform: none; }
  .vitrine-card:hover { transform: none; }

  /* Depoimento */
  .depoimento { padding: 100px 0; }
  .depoimento-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .depoimento-video-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
  .depoimento-mark { font-size: 80px; }
  .depoimento-quote { font-size: clamp(24px, 5vw, 32px); }

  /* Sobre */
  .sobre { padding: 100px 0; }
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sobre-image { position: static; }

  /* Como chegar */
  .como-chegar-grid {
    grid-template-columns: 1fr;
  }
  .como-chegar-info {
    padding: 80px 24px;
  }
  .como-chegar-mapa {
    min-height: 400px;
    aspect-ratio: 1;
  }

  /* CTA */
  .cta-final { padding: 120px 0; }
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .btn-large {
    padding: 24px 40px;
    font-size: 22px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
    scroll-behavior: auto !important;
  }

  .marquee-track {
    animation-play-state: paused !important;
  }

  .hero-bg {
    will-change: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .mobile-menu-link {
    opacity: 1;
    transform: none;
  }
}
