/* === Dr. Philipe Saraiva — Oftalmologia === */

:root {
  /* Palette: "Sereno" (default) — navy + soft sky + warm white + sage */
  --ink: #0B2545;
  --ink-soft: #1E3A5F;
  --ink-muted: #506070;
  --sky: #E8F1F7;
  --sky-deep: #C9DCE9;
  --cream: #FBFAF7;
  --white: #FFFFFF;
  --sage: #7FA399;
  --sage-deep: #5C8579;
  --sage-text: #4D7266; /* AA em fundos claros para texto pequeno (eyebrow) */
  --line: #E6EAF0;
  --line-soft: #EFF2F6;

  /* Type — two families only */
  --font-display: "Newsreader", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px;

  /* Radius */
  --r-md: 16px; --r-lg: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11,37,69,0.04);
  --shadow-md: 0 1px 2px rgba(11,37,69,0.04), 0 12px 32px -12px rgba(11,37,69,0.10);
  --shadow-lg: 0 1px 2px rgba(11,37,69,0.04), 0 32px 64px -24px rgba(11,37,69,0.18);

  /* Page */
  --page-bg: var(--cream);
  --content-max: 1200px;
}

/* Theme variants */
[data-theme="aurora"] {
  --ink: #0E2A47;
  --sky: #EAF3F0;
  --sky-deep: #CFE3DC;
  --sage: #6B9E8E;
  --cream: #F8F6F1;
}
[data-theme="porcelain"] {
  --ink: #1A2D4A;
  --sky: #F1F5F9;
  --sky-deep: #DCE6F0;
  --sage: #4F7CAC;
  --cream: #FFFFFF;
  --line: #EDF1F5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* === Reusable === */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-text, var(--sage-deep));
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--sage);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
.body-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 56ch;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), background 200ms, color 200ms, box-shadow 200ms, border-color 200ms;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: var(--white);
  border-color: var(--ink);
}
.btn .arrow {
  width: 16px; height: 16px;
  display: inline-block;
}

/* === Skip link === */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: top 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, background 200ms;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav.open {
  background: color-mix(in srgb, var(--cream) 96%, transparent);
  box-shadow: 0 4px 20px -6px rgba(11, 37, 69, 0.12);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0;
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center;
  gap: 36px;
}
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 450;
  position: relative;
  transition: color 180ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
  font-weight: 550;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--sage-deep);
}
.nav-links a:focus-visible,
.nav-burger:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}
.nav-cta .btn { height: 42px; padding: 0 20px; font-size: 14px; }
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  color: var(--ink);
  transition: border-color 150ms, background 150ms;
  position: relative;
}
.nav-burger:hover {
  border-color: var(--sage);
}
.nav-burger.open {
  border-color: var(--sage);
  background: color-mix(in srgb, var(--sage) 8%, transparent);
}

/* Animated hamburger → X */
.nav-burger .burger-bar {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 160ms ease;
}
.nav-burger .burger-bar:nth-child(1) { top: 14px; }
.nav-burger .burger-bar:nth-child(2) { top: 20px; }
.nav-burger .burger-bar:nth-child(3) { top: 26px; }

.nav-burger.open .burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-burger.open .burger-bar:nth-child(2) {
  opacity: 0;
}
.nav-burger.open .burger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav link app highlight */
.nav-link-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sage-deep) !important;
  font-weight: 500 !important;
}
.nav-link-app i { font-size: 15px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
/* Hide primary CTA from header when mobile-cta bar is active */
@media (max-width: 720px) {
  .nav-cta-schedule { display: none; }
}

/* === Mobile nav menu (dropdown) === */
.nav-mobile {
  display: none;
}

@media (max-width: 860px) {
  .nav-mobile {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    z-index: 49;
    padding: 8px 0 20px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav-mobile.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-mobile,
  .nav-burger .burger-bar {
    transition: none;
  }
}
.nav-links-mobile {
  display: flex;
  flex-direction: column;
}
.nav-links-mobile a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 16px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 450;
}
.nav-links-mobile a:last-of-type {
  border-bottom: none;
}
.nav-links-mobile a:hover { color: var(--ink); }
.nav-links-mobile a.active {
  color: var(--ink);
  font-weight: 550;
  border-bottom-color: var(--sage-deep);
}
.nav-links-mobile a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  color: var(--ink);
}
.nav-links-mobile .nav-link-app {
  color: var(--sage-deep) !important;
  font-weight: 500 !important;
}
.nav-mobile-cta {
  margin-top: 16px;
}
.nav-mobile-cta .btn {
  width: 100%;
  height: 48px;
  justify-content: center;
  font-size: 15px;
}

/* === Hero === */
.hero {
  padding: 56px 0 100px;
  position: relative;
  overflow: hidden;
}
/* Fundo do hero: gradiente CSS sempre presente (fallback); o canvas WebGL
   (hero-canvas.jsx) é um realce progressivo desenhado por cima dele. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 12% -10%, color-mix(in srgb, var(--sky) 85%, transparent), transparent 60%),
    radial-gradient(900px 480px at 88% 8%, color-mix(in srgb, var(--sage) 14%, transparent), transparent 65%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1200ms ease;
}
.hero-canvas.is-on { opacity: 0.7; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(44px, 6.2vw, 80px);
  margin: 0 0 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--sage-deep);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 50ch;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 56px;
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.hero-trust-item:first-child { border-left: none; padding-left: 0; }
.hero-trust-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}
.hero-trust-label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.hero-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 5/6;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.hero-portrait-frame {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: var(--sky);
  overflow: hidden;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.02) saturate(0.92);
  will-change: transform;
  transform: scale(1.08);
}
.hero-portrait-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,37,69,0.18));
  pointer-events: none;
}
.hero-card {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--white);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  min-width: 230px;
  z-index: 2;
}
.hero-card-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 20%, transparent);
}
.hero-card-text {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.hero-card-text strong { color: var(--ink); font-weight: 500; display: block; font-size: 14px; }
.hero-credentials {
  position: absolute;
  right: -16px; top: 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  z-index: 2;
  box-shadow: var(--shadow-md);
  text-align: right;
}
.hero-credentials span { display: block; opacity: 0.65; font-size: 10px; margin-bottom: 2px;}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-portrait { max-width: 460px; margin: 0 auto; aspect-ratio: 1/1.1; }
  .hero-card { left: 0; }
  .hero-credentials { right: 0; }
}
@media (max-width: 560px) {
  .hero { padding: 32px 0 64px; }
  .hero-trust { gap: 18px; }
  .hero-trust-item { padding-left: 14px; }
}

/* === Section base === */
.section {
  padding: 120px 0;
  position: relative;
}
.section-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}
.section-title {
  font-size: clamp(36px, 4.6vw, 56px);
  margin: 16px 0 0;
}
.section-lead {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

/* === Sobre Médico === */
.about {
  background: var(--sky);
}
.about-single {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.about-content h2 { margin: 12px 0 28px; }
.about-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 62ch;
}
.about-credentials {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.credential-chip {
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  min-width: 140px;
}
.credential-chip-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.credential-chip-value {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1;
}
.about-meta {
  margin-top: 40px;
  display: flex; gap: 28px;
  flex-wrap: wrap;
}
.about-meta-item {
  display: flex; gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
}
.about-meta-item svg { flex-shrink: 0; margin-top: 2px; color: var(--sage-deep); }

/* === Affiliations / Official seals === */
.affiliations {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.affiliations-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 20px;
}
.affiliations-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.affiliation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 22px;
  height: 84px;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms, border-color 240ms;
}
.affiliation:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-deep);
}
.affiliation-logo {
  display: block;
  width: auto;
  object-fit: contain;
}
.affiliation-logo-cbo { height: 56px; }
.affiliation-logo-amb { height: 44px; border-radius: 4px; }

@media (max-width: 860px) {
  .affiliations-row { gap: 20px; }
}

/* === Olho Seco === */
.dryeye {
  background: var(--cream);
}
.dryeye-intro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 16px;
  margin-bottom: 80px;
}
.dryeye-stat {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.dryeye-stat-num {
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.dryeye-stat-num small { font-size: 24px; color: var(--sage-deep); vertical-align: top; margin-left: 2px; }
.dryeye-stat-label {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 28ch;
}

.symptoms-title {
  font-size: 26px;
  font-family: var(--font-display);
  margin: 0 0 32px;
  color: var(--ink);
}
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.symptom-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 28px 32px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms, border-color 220ms;
  position: relative;
  overflow: hidden;
}
.symptom-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -10%, color-mix(in srgb, var(--sage) 14%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 360ms;
  pointer-events: none;
}
.symptom-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-deep);
}
.symptom-card:hover::after { opacity: 1; }
.symptom-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sky);
  display: grid; place-items: center;
  color: var(--ink);
  margin-bottom: 22px;
}
.symptom-icon svg { width: 24px; height: 24px; display: block; }
.symptom-name {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
}
.symptom-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.dryeye-app {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 32px;
}
.dryeye-app-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--sky);
  display: grid; place-items: center;
  color: var(--ink);
}
.dryeye-app-icon svg { width: 28px; height: 28px; display: block; }
.dryeye-app-text { flex: 1; }
.dryeye-app-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--ink);
}
.dryeye-app-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 64ch;
}
.dryeye-app .btn { flex-shrink: 0; }

@media (max-width: 860px) {
  .dryeye-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .symptoms-grid { grid-template-columns: 1fr 1fr; }
  .dryeye-app { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 520px) {
  .symptoms-grid { grid-template-columns: 1fr; }
}

/* === Conjuntivocálase === */
.conjuntivocalase {
  background: var(--sky);
}
.conj-content {
  margin-bottom: 32px;
}
.conj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.conj-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 24px 26px;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms, border-color 200ms;
}
.conj-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-deep);
}
.conj-item-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--ink);
}
.conj-item p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* Publication / book card (discreet Amazon CTA, follows dryeye-app pattern) */
.publication-card {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
}
.publication-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--sky);
  display: grid; place-items: center;
  color: var(--ink);
}
.publication-icon svg { width: 24px; height: 24px; display: block; }
.publication-text { flex: 1; min-width: 0; }
.publication-note {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
}
.publication-note em {
  font-style: italic;
  color: var(--ink);
}
.publication-btn {
  flex-shrink: 0;
  font-size: 14px;
  height: 46px;
  padding: 0 20px;
}
.publication-btn .arrow { display: none; }
.publication-more {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: center;
}
.publication-more:hover { color: var(--ink); }

@media (max-width: 860px) {
  .conj-grid { grid-template-columns: 1fr; }
  .publication-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .publication-btn { width: 100%; justify-content: center; }
}
@media (max-width: 520px) {
  .conj-item { padding: 20px; }
}

/* === Diferenciais === */
.differentials {
  background: var(--ink);
  color: var(--cream);
  border-radius: 32px;
  margin: 0 28px;
  padding: 120px 0;
}
.differentials .container { padding: 0 60px; }
.differentials .eyebrow { color: color-mix(in srgb, var(--sage) 85%, white); }
.differentials .eyebrow::before { background: var(--sage); }
.differentials .section-title { color: var(--cream); }
.differentials .section-lead { color: color-mix(in srgb, var(--cream) 70%, var(--ink)); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: color-mix(in srgb, var(--cream) 14%, var(--ink));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
}
.diff-card {
  background: var(--ink);
  padding: 40px 36px 44px;
  display: flex; flex-direction: column;
  min-height: 240px;
  transition: background 280ms;
  position: relative;
}
.diff-card:hover {
  background: color-mix(in srgb, var(--cream) 5%, var(--ink));
}
.diff-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: color-mix(in srgb, var(--sage) 90%, white);
  letter-spacing: 0.08em;
  margin-bottom: 60px;
}
.diff-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  color: var(--cream);
  margin: 0 0 12px;
}
.diff-desc {
  font-size: 14px;
  color: color-mix(in srgb, var(--cream) 65%, var(--ink));
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 960px) {
  .differentials { margin: 0; border-radius: 0; padding: 80px 0; }
  .differentials .container { padding: 0 24px; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card { min-height: auto; padding: 32px 28px; }
  .diff-num { margin-bottom: 24px; }
}

/* === CTA === */
.cta {
  padding: 140px 0;
  text-align: center;
}
.cta-title {
  font-size: clamp(36px, 5.2vw, 64px);
  max-width: 18ch;
  margin: 24px auto 24px;
  line-height: 1.08;
}
.cta-title em { font-style: italic; color: var(--sage-deep); }
.cta-sub {
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 52ch;
  margin: 0 auto 44px;
}
.cta-actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.cta-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 8px;
}

/* === Contato === */
.contact {
  background: var(--sky);
  padding: 120px 0 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-info h2 { margin: 12px 0 24px; }
.contact-info p { font-size: 17px; color: var(--ink-soft); margin-bottom: 36px; max-width: 44ch; }
.contact-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 36px; }
.contact-row {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.contact-row:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.contact-row-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.contact-row-value {
  font-size: 16px;
  color: var(--ink);
  font-weight: 450;
}
.contact-map {
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 480px;
  background: var(--sky-deep);
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-map { min-height: 320px; }
}

/* === Footer === */
.footer {
  background: var(--sky);
  padding: 40px 0 56px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-text { font-size: 13px; color: var(--ink-muted); }
.footer-creds { font-size: 13px; color: var(--ink-muted); letter-spacing: 0.04em; }

/* === Floating WhatsApp === */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  display: flex; align-items: center; gap: 0;
  background: #25D366;
  color: white;
  border-radius: 999px;
  padding: 14px 14px;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0,0,0,0.08);
  transition: padding 240ms cubic-bezier(.2,.7,.2,1), transform 200ms;
}
.wa-float:hover {
  padding: 14px 22px 14px 14px;
  transform: translateY(-2px);
}
.wa-float-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.wa-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  transition: max-width 240ms cubic-bezier(.2,.7,.2,1), margin 240ms;
  margin-left: 0;
}
.wa-float:hover .wa-float-label {
  max-width: 200px;
  margin-left: 10px;
}
@media (max-width: 560px) {
  .wa-float { bottom: 16px; right: 16px; padding: 12px; }
}

/* === Reveal animation === */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* Decorative pulse */
@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.9; }
}
.hero-card-dot { animation: softPulse 2.4s ease-in-out infinite; }

/* Shimmer on hero card */
.hero-card {
  position: absolute;
  overflow: hidden;
  isolation: isolate;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    color-mix(in srgb, var(--sage) 22%, transparent) 48%,
    color-mix(in srgb, var(--sky-deep) 35%, transparent) 52%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: heroCardShimmer 4.6s ease-in-out 1.6s infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-card > * { position: relative; z-index: 1; }
@keyframes heroCardShimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* Parallax do retrato (transform inline via JS): transição suave do drift */
.hero-portrait img {
  transition: transform 80ms linear;
}

/* === Mobile sticky CTA === */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  gap: 10px;
  box-shadow: 0 -8px 24px -10px rgba(11,37,69,0.10);
}
.mobile-cta .btn {
  flex: 1;
  height: 48px;
  padding: 0 14px;
  font-size: 14px;
}
.mobile-cta .btn-wa {
  background: #25D366;
  color: white;
  flex: 0 0 auto;
  width: 48px;
  padding: 0;
}
.mobile-cta .btn-wa:hover { background: #1FB855; transform: translateY(-1px); }

@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: 80px; }
}

/* === FAQ === */
.faq { background: var(--white); }
.faq-list {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 200ms;
}
.faq-item:hover { background: var(--sky); }
.faq-open { background: var(--sky); }
.faq-q-heading { margin: 0; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
}
.faq-question:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  border-radius: 6px;
}
.faq-q {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--sage-deep);
  background: var(--white);
  transition: background 200ms, color 200ms;
}
.faq-open .faq-icon {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.faq-answer {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
  padding: 0 40px 24px 0;
  max-width: 72ch;
}
@media (max-width: 720px) {
  .faq-q { font-size: 15px; }
  .faq-question { padding: 20px 0; }
}

/* === Equipamentos === */
.equipment {
  background: var(--sky);
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.equipment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms;
}
.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.equipment-card-visual {
  position: relative;
  height: 240px;
  background: linear-gradient(
    160deg,
    var(--white) 0%,
    color-mix(in srgb, var(--eq-accent, var(--sage)) 10%, var(--sky)) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.equipment-card-visual img {
  max-width: 78%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.equipment-card:hover .equipment-card-visual img {
  transform: scale(1.04);
}
.equipment-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
  z-index: 1;
}
.equipment-card-body {
  padding: 28px 28px 32px;
}
.equipment-card-header {
  margin-bottom: 14px;
}
.equipment-name {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.1;
}
.equipment-subtitle {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.equipment-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.equipment-credit {
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: right;
}

@media (max-width: 960px) {
  .equipment-grid { grid-template-columns: 1fr; gap: 16px; }
  .equipment-card-visual { height: 200px; }
}
@media (max-width: 560px) {
  .equipment-card-visual { height: 180px; }
  .equipment-card-body { padding: 20px 22px 24px; }
}

/* === Como Funciona === */
.how-it-works {
  background: var(--cream);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step-card {
  position: relative;
  padding: 0 28px 0 0;
  display: flex;
  flex-direction: column;
}
.step-card:last-child { padding-right: 0; }
.step-connector {
  position: absolute;
  top: 27px;
  left: calc(44px + 16px);
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--line) 100%);
}
.step-card:last-child .step-connector { display: none; }
.step-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--sky);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--sage-deep);
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-icon svg { width: 26px; height: 26px; display: block; }
.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
  font-weight: 500;
  margin-bottom: 10px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.2;
}
.step-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 26ch;
}
.steps-cta {
  margin-top: 64px;
  text-align: center;
}

@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .step-connector { display: none; }
  .step-card { padding-right: 0; }
}
@media (max-width: 520px) {
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-desc { max-width: none; }
}

/* === Depoimentos === */
.testimonials {
  background: var(--white);
}
.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.testimonials-google {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.google-card {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.google-stars {
  font-size: 28px;
  color: #FBBC04;
  letter-spacing: 2px;
  line-height: 1;
}
.google-score {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.google-label {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.google-btn {
  width: 100%;
  justify-content: space-between;
}
.google-trust-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.google-trust-note svg { flex-shrink: 0; color: var(--sage); }

.testimonials-video {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.instagram-wrapper {
  border-radius: var(--r-lg);
  overflow: hidden;
}
/* Facade do embed: cartão leve mostrado até o visitante pedir o vídeo */
.instagram-facade {
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(640px 320px at 20% -10%, color-mix(in srgb, var(--sage) 12%, transparent), transparent 60%),
    var(--sky);
  transition: border-color 200ms, box-shadow 200ms, transform 200ms cubic-bezier(.2,.7,.2,1);
}
.instagram-facade:hover {
  border-color: var(--sky-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.instagram-facade:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
.instagram-facade-icon svg {
  color: var(--sage-deep);
  display: block;
}
.instagram-facade-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
}
.instagram-facade-sub {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.instagram-facade-play {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
}
.instagram-facade-play svg { flex-shrink: 0; }
.instagram-facade-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--ink-muted);
  max-width: 34ch;
  line-height: 1.45;
  text-align: center;
}
.testimonials-video-caption a {
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.instagram-wrapper .instagram-media {
  border-radius: var(--r-md) !important;
  width: 100% !important;
}
.testimonials-video-caption {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
  padding-left: 4px;
}

@media (max-width: 860px) {
  .testimonials-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* === Footer update === */
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-links a {
  color: var(--ink-muted);
  transition: color 180ms;
}
.footer-links a:hover { color: var(--ink); }

/* === Barra de progresso de leitura (CSS scroll-driven animation) === */
/* Só existe onde animation-timeline é suportado; sem JS, sem fallback necessário. */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 58; /* abaixo do wa-float (60); acima do mobile-cta (55) */
    background: linear-gradient(90deg, var(--sage-deep), var(--sage));
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: scrollProgress linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
  }
  @keyframes scrollProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* === Movimento reduzido (global) === */
/* Quem pede menos movimento recebe a página completa, estática e imediata:
   sem reveal, sem pulso/shimmer, sem canvas, sem smooth scroll. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-card-dot { animation: none; }
  .hero-card::before { animation: none; content: none; }
  .hero-canvas { display: none; }
  .scroll-progress { display: none; }
  .hero-portrait img { transition: none; }
}
