/* ===== Dentariis — Design Tokens ===== */
:root {
  /* Paleta puxada do ambiente real da clínica (marmorizado/madeira) + azul da identidade Dentariis + verde-esmeralda da equipe */
  --cream: #f7f4ee;
  --cream-2: #efe9df;
  --taupe: #a89785;
  --taupe-dark: #7d6f60;
  --graphite: #2b2622;
  --graphite-soft: #4a423b;
  --ink: #052a73;
  --ink-2: #0a3690;
  --navy: #052a73;
  --navy-soft: #0a3690;
  --navy-line: rgba(5, 42, 115, 0.14);
  --emerald: #14532d;
  --emerald-soft: #2d6a4f;
  --gold: #b6874f;
  --gold-soft: #d8b98a;
  --line: rgba(5, 42, 115, 0.12);
  --line-on-dark: rgba(247, 244, 238, 0.14);
  --white: #ffffff;

  --font-serif: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-soft: 0 20px 60px -30px rgba(28, 24, 21, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(28, 24, 21, 0.25);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

* { box-sizing: border-box; margin: 0; padding: 0; }

#particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
header, main, footer, .wa-float, .wa-modal-overlay { position: relative; z-index: 1; }

html { scroll-behavior: smooth; }

h1, h2, h3, h4, em, i, .sig-mark, .marquee-track span, .stars, .service-chip-arrow {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "swsh" 0, "salt" 0, "calt" 0;
}

body {
  font-family: var(--font-sans);
  color: var(--graphite);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.grain {
  position: relative;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--graphite-soft); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #a3763f; transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--graphite);
}
.btn-outline:hover { border-color: var(--graphite); background: rgba(43,38,34,0.04); }

.btn-whatsapp {
  background: #1f2a22;
  color: #fff;
}
.btn-whatsapp:hover { background: #16201a; transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(0,0,0,0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-name span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--graphite-soft);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 20px; font-size: 13.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px; height: 34px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: all 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 78px 0 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 60%, var(--cream-2) 100%);
  overflow: hidden;
}
#heroShader {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.hero-orbit-1 {
  width: 420px; height: 420px;
  top: 8%;
  left: 6%;
  background: radial-gradient(circle, rgba(182, 135, 79, 0.16), rgba(182, 135, 79, 0) 70%);
  animation: orbitFloat1 22s ease-in-out infinite;
}
.hero-orbit-2 {
  width: 260px; height: 260px;
  bottom: 6%;
  left: 42%;
  background: radial-gradient(circle, rgba(5, 42, 115, 0.10), rgba(5, 42, 115, 0) 70%);
  animation: orbitFloat2 28s ease-in-out infinite;
}
@keyframes orbitFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -24px) rotate(8deg); }
}
@keyframes orbitFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-24px, 20px) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit { animation: none; }
}
@media (max-width: 720px) {
  .hero-orbit-1 { width: 240px; height: 240px; }
  .hero-orbit-2 { width: 160px; height: 160px; }
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 78px 40px 80px 0;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 3.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--gold);
  position: relative;
}
.hero-sub {
  font-size: 17.5px;
  color: var(--graphite-soft);
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-signature .sig-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--emerald);
  flex-shrink: 0;
}
.hero-signature p { font-size: 13.5px; color: var(--graphite-soft); line-height: 1.5; }
.hero-signature strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,17,14,0.28) 0%, transparent 32%);
  pointer-events: none;
}
.hero-visual img {
  width: 100%; height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: 50% 15%;
}
.hero-tag {
  position: absolute;
  top: 32px; right: 32px;
  z-index: 2;
  background: rgba(28, 24, 21, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(247,244,238,0.18);
  border-radius: 40px;
  padding: 9px 18px 9px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag .avatars { display: flex; }
.hero-tag .avatars img {
  width: 28px; height: 28px;
  min-height: 0;
  border-radius: 50%;
  border: 2px solid rgba(247,244,238,0.85);
  object-fit: cover;
  margin-left: -8px;
}
.hero-tag .avatars img:first-child { margin-left: 0; }
.hero-tag span { font-size: 12px; color: var(--cream); font-weight: 500; }

.hero-badge {
  position: absolute;
  left: 32px; bottom: 32px;
  z-index: 2;
  background: rgba(247,244,238,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: var(--shadow-card);
  max-width: calc(100% - 64px);
}
.hero-badge .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--emerald-soft);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(45,106,79,0.18);
}
.hero-badge div { font-size: 12.5px; line-height: 1.4; color: var(--graphite-soft); }
.hero-badge strong { display: block; font-size: 13.5px; color: var(--ink); }

.hero-cro-strip {
  border-top: 1px solid var(--line);
  background: var(--cream-2);
}
.hero-cro-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
}
.hero-cro-strip p { font-size: 12.5px; color: var(--graphite-soft); }
.hero-cro-strip strong { color: var(--ink); font-weight: 600; }
.hero-cro-strip .rt-badge {
  font-size: 11.5px;
  color: var(--graphite-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 14px;
  white-space: nowrap;
}

/* ===== Marquee de especialidades ===== */
.specialty-marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.js .marquee-track { animation-play-state: running; }
.marquee-track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--cream);
  opacity: 0.55;
  white-space: nowrap;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.marquee-track span::after {
  content: '✦';
  font-style: normal;
  font-size: 10px;
  color: var(--gold-soft);
  opacity: 0.8;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Section shared ===== */
.section { padding: 108px 0; }
.section-cream2 { background: var(--cream-2); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-head {
  max-width: 620px;
  margin-bottom: 60px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
}
.section-head p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--graphite-soft);
}
.section-dark .section-head h2, .section-dark .section-head p { color: var(--cream); }
.section-dark .section-head p { opacity: 0.72; }

/* ===== Diferenciais ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.diff-card {
  position: relative;
  background: var(--cream);
  padding: 32px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: background 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  z-index: 1;
}
.diff-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.diff-card:hover .diff-icon { background: var(--ink); color: var(--gold-soft); }
.diff-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--emerald-soft);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.diff-icon svg { width: 21px; height: 21px; }
.diff-card-text h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.diff-card-text p { font-size: 13.5px; color: var(--graphite-soft); line-height: 1.5; }

/* ===== Serviços (compacto) ===== */
.services-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(182,135,79,0.35);
}
.service-chip-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.service-chip-icon svg { width: 18px; height: 18px; }
.service-chip-name { font-size: 14.5px; font-weight: 600; color: var(--ink); flex-grow: 1; }
.service-chip-arrow {
  font-size: 14px;
  color: var(--graphite-soft);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.service-chip:hover .service-chip-arrow { opacity: 1; transform: translateX(0); color: var(--gold); }

.services-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.services-cta p { font-size: 14.5px; color: var(--graphite-soft); }

/* ===== Sobre / Equipe ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}
.gallery-item:nth-child(2) { margin-top: 28px; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 42, 115, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-zoom svg {
  width: 22px; height: 22px;
  color: #fff;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }
.about-copy p { font-size: 16px; color: var(--graphite-soft); margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }

.equipe-block {
  margin-top: 130px;
  padding-top: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  transition: box-shadow 0.3s ease;
}
.team-card:hover { box-shadow: var(--shadow-card); }
.team-photo { width: 42%; flex-shrink: 0; aspect-ratio: 3/4; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.team-info h3 { font-size: 19px; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.team-info p { font-size: 13.5px; color: var(--graphite-soft); }
.team-cro { display: inline-block; margin-top: 12px; font-size: 11.5px; color: var(--graphite-soft); border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; }

/* ===== Confiança editorial (banner emocional) ===== */
.trust-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.trust-banner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(0.6) contrast(1.05) brightness(0.62);
}
.trust-banner-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5,42,115,0.72) 0%, rgba(5,42,115,0.55) 100%);
  mix-blend-mode: multiply;
}
.trust-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,20,58,0.95) 0%, rgba(3,20,58,0.6) 55%, rgba(3,20,58,0.3) 100%);
}
.trust-banner .container {
  position: relative;
  padding-bottom: 64px;
}
.trust-banner-copy { max-width: 620px; }
.trust-banner-copy .eyebrow { color: var(--gold-soft); }
.trust-banner-copy h2 { color: var(--cream); font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 16px; text-wrap: balance; }
.trust-banner-copy p { color: var(--cream); opacity: 0.82; font-size: 16px; max-width: 520px; }
.trust-google {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(247,244,238,0.1);
  border: 1px solid rgba(247,244,238,0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
}
.trust-google .stars { font-size: 15px; }
.trust-google span { font-size: 13px; color: var(--cream); opacity: 0.85; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--gold);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 240px; padding-bottom: 26px; }
.faq-a p { font-size: 14.5px; color: var(--graphite-soft); max-width: 640px; }

/* ===== Contato ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.contact-info {
  background: var(--ink);
  color: var(--cream);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-info h3 { color: var(--cream); font-size: 24px; margin-bottom: 14px; }
.contact-info > p { opacity: 0.72; font-size: 14.5px; margin-bottom: 32px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail .ic { color: var(--gold-soft); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-size: 13px; opacity: 0.6; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-detail span, .contact-detail a { font-size: 15px; }
.contact-social { display: flex; gap: 12px; margin-top: 28px; }
.contact-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,238,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-social a:hover { background: rgba(247,244,238,0.1); border-color: var(--gold-soft); }

.contact-map { position: relative; min-height: 340px; background: var(--cream-2); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.02); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--graphite-soft); }
.field input, .field select {
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182,135,79,0.15);
}
.form-note { font-size: 12px; color: var(--graphite-soft); margin-top: 14px; opacity: 0.75; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247,244,238,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 30px; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--font-serif); font-size: 18px; }
.footer-col p { font-size: 13.5px; opacity: 0.65; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,238,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: rgba(247,244,238,0.1); border-color: var(--gold-soft); }
.footer-col h4 { font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.5; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; opacity: 0.8; transition: opacity 0.2s ease; }
.footer-col a:hover { opacity: 1; color: var(--gold-soft); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  opacity: 0.55;
}

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1f2a22;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.4);
  transition: transform 0.25s ease;
  animation: pulse-wa 2.8s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(0,0,0,0.4), 0 0 0 0 rgba(31,42,34,0.4); }
  50% { box-shadow: 0 14px 34px -10px rgba(0,0,0,0.4), 0 0 0 12px rgba(31,42,34,0); }
}

/* ===== Modal WhatsApp ===== */
.wa-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(5, 42, 115, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-expo);
}
.wa-modal-overlay.open { opacity: 1; pointer-events: auto; }

.wa-modal {
  background: var(--cream);
  border-radius: var(--radius-md);
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-soft);
  padding: 36px 32px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-out-expo);
}
.wa-modal-overlay.open .wa-modal { transform: translateY(0) scale(1); }

.wa-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--graphite-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.wa-modal-close:hover { background: var(--cream-2); color: var(--ink); }
.wa-modal-close svg { width: 16px; height: 16px; }

.wa-modal-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #1f2a22;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.wa-modal-icon svg { width: 22px; height: 22px; }
.wa-modal h3 { font-size: 21px; margin-bottom: 6px; }
.wa-modal > p { font-size: 14px; color: var(--graphite-soft); margin-bottom: 26px; }
.wa-modal .field { margin-bottom: 16px; }
.wa-modal .btn { width: 100%; padding: 15px; }

/* ===== Lightbox de fotos ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(3, 20, 58, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out-expo);
}
.lightbox-overlay.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,238,0.3);
  background: rgba(247,244,238,0.1);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(247,244,238,0.2); }
.lightbox-close svg { width: 18px; height: 18px; }

/* ===== Botão + painel "sobre o projeto" ===== */
.project-info-btn {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 290;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 16px 10px 12px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-info-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.project-info-btn svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.info-modal {
  max-width: 760px;
}
.info-modal h3 { font-size: 24px; margin-bottom: 4px; }
.info-modal .info-sub { font-size: 14px; color: var(--graphite-soft); margin-bottom: 30px; }

/* ===== Barras comparativas ===== */
.compare-bars { display: flex; flex-direction: column; gap: 16px; }
.compare-row { display: grid; grid-template-columns: 108px 1fr 34px; align-items: center; gap: 12px; }
.compare-row .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.compare-row .label.dim { color: var(--graphite-soft); font-weight: 500; }
.compare-track { height: 10px; border-radius: 6px; background: var(--cream-2); overflow: hidden; }
.compare-fill {
  height: 100%;
  border-radius: 6px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out-expo);
}
.wa-modal-overlay.open .compare-fill { transform: scaleX(1); }
.compare-row:nth-child(1) .compare-fill { transition-delay: 0.1s; }
.compare-row:nth-child(2) .compare-fill { transition-delay: 0.2s; }
.compare-row:nth-child(3) .compare-fill { transition-delay: 0.3s; }
.compare-row:nth-child(4) .compare-fill { transition-delay: 0.4s; }
.compare-fill.gold { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.compare-fill.muted { background: var(--taupe); }
.compare-row .pct { font-size: 12.5px; color: var(--graphite-soft); text-align: right; font-variant-numeric: tabular-nums; }

/* ===== Tabela de recursos vs concorrentes ===== */
.feature-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.feature-table th, .feature-table td { padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.feature-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--graphite-soft); font-weight: 700; }
.feature-table td:first-child, .feature-table th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.feature-table th:not(:first-child) { color: var(--graphite-soft); }
.feature-table th.highlight { color: var(--gold); }
.feature-table .yes { color: var(--emerald-soft); }
.feature-table .no { color: var(--graphite-soft); opacity: 0.45; }
.feature-table tr:last-child td { border-bottom: none; }
.feature-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.feature-table-wrap table { min-width: 460px; }

/* ===== Cards de valor ===== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-card {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.value-card .num { font-family: var(--font-serif); font-size: 26px; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.value-card .lbl { font-size: 11.5px; color: var(--graphite-soft); line-height: 1.4; }

.info-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emerald-soft);
  background: rgba(45,106,79,0.1);
  border-radius: 20px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
}
.info-footnote {
  font-size: 11px;
  color: var(--graphite-soft);
  opacity: 0.7;
  margin-top: 10px;
  line-height: 1.5;
}

/* ===== Argumento de caixa (destaque poderoso) ===== */
.cash-argument {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  margin-bottom: 32px;
  overflow: hidden;
}
.cash-argument::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,135,79,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cash-kicker {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  margin-bottom: 12px;
}
.cash-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.28;
  color: var(--cream);
  margin-bottom: 16px;
  text-wrap: balance;
}
.cash-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--cream);
  opacity: 0.78;
  margin-bottom: 24px;
  max-width: 620px;
}
.cash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(247,244,238,0.14);
}
.cash-stat { display: flex; flex-direction: column; gap: 6px; }
.cash-num {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gold-soft);
  line-height: 1;
}
.cash-lbl {
  font-size: 11.5px;
  color: var(--cream);
  opacity: 0.65;
  line-height: 1.4;
}

.info-section { margin-bottom: 28px; }
.info-section:last-child { margin-bottom: 0; }
.info-section h4 {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 14px;
}
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--graphite-soft);
  line-height: 1.55;
}
.info-item .check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--emerald-soft);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.info-item .check svg { width: 11px; height: 11px; }
.info-item strong { color: var(--ink); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0.001;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Entrada premium da hero (dispara no load, sem depender de scroll) ===== */
.hero-in {
  opacity: 1;
  transform: none;
}
.js .hero-in {
  opacity: 0.001;
  transform: translateY(24px);
  filter: blur(6px);
  animation: heroIn 1s var(--ease-out-expo) forwards;
  animation-delay: var(--d, 0s);
}
.hero-in-scale {
  opacity: 1;
  transform: none;
}
.js .hero-in-scale {
  opacity: 0.001;
  transform: scale(1.06);
  animation: heroInScale 1.3s var(--ease-out-expo) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroInScale {
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-in, .js .hero-in-scale { animation: none; opacity: 1; transform: none; filter: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { min-height: 420px; }
  .hero-copy { padding: 44px 0 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .equipe-block { margin-top: 90px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
}

@media (max-width: 720px) {
  .nav-links, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header .container { height: 58px; }
  .hero { padding: 74px 0 0; }
  .hero-copy { padding: 20px 0 24px; }
  .hero-copy h1 { font-size: 1.7rem; line-height: 1.14; margin-bottom: 12px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 18px; }
  .hero-visual img { min-height: 210px; object-position: 50% 22%; }
  .hero-tag { top: 12px; right: 12px; padding: 5px 11px 5px 5px; }
  .hero-tag span { font-size: 10px; }
  .hero-tag .avatars img { width: 22px; height: 22px; }
  .hero-badge { left: 12px; bottom: 12px; padding: 8px 12px; }
  .hero-badge strong { font-size: 12px; }
  .hero-badge div { font-size: 10.5px; }
  .hero-actions { flex-direction: row; gap: 10px; margin-bottom: 16px; }
  .hero-actions .btn { width: auto; flex: 1; padding: 12px 14px; font-size: 13.5px; }
  .hero-signature { padding-top: 14px; gap: 10px; }
  .hero-signature .sig-mark { font-size: 20px; }
  .hero-signature p { font-size: 11.5px; }
  .section { padding: 76px 0; }
  .equipe-block { margin-top: 64px; }
  .gallery-item:nth-child(2) { margin-top: 16px; }
  .diff-grid { grid-template-columns: 1fr; }
  .services-grid-compact {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    grid-auto-columns: minmax(102px, 1fr);
    column-gap: 8px;
    row-gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-grid-compact::-webkit-scrollbar { display: none; }
  .service-chip {
    scroll-snap-align: start;
    flex-direction: column;
    text-align: center;
    padding: 14px 8px;
    gap: 8px;
  }
  .service-chip-name { font-size: 12px; line-height: 1.25; }
  .service-chip-arrow { display: none; }
  .services-cta { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { padding: 36px 26px; }
  .contact-map { min-height: 240px; }
  .wa-modal { padding: 28px 22px; }
  .project-info-btn { left: 14px; bottom: 14px; padding: 9px 12px 9px 10px; font-size: 10.5px; gap: 6px; max-width: calc(100vw - 28px); }
  .project-info-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .value-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .value-card { padding: 12px 8px; }
  .value-card .num { font-size: 20px; }
  .value-card .lbl { font-size: 10px; }
  .compare-row { grid-template-columns: 80px 1fr 30px; gap: 8px; }
  .cash-argument { padding: 24px 20px; }
  .cash-stats { grid-template-columns: 1fr; gap: 14px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer-top .footer-col:first-child { grid-column: 1 / -1; }

  .mobile-menu {
    position: fixed;
    top: 66px; left: 0; right: 0; bottom: 0;
    background-color: #f7f4ee;
    opacity: 1;
    z-index: 250;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
  }
  .mobile-menu.open { visibility: visible; }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a {
    font-family: var(--font-serif);
    font-size: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { margin-top: 24px; }
}

@media (min-width: 721px) {
  .mobile-menu { display: none; }
}
