/* ============================================================
   Dr. João P. Schneider · Medicina Preventiva
   Identidade: Manual de Identidade Visual v1.0 (abril/2026)
   Schneider Ink · Bone White · Copper Signal · Fraunces + Inter
   ============================================================ */

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

:root {
  /* Paleta verde do take (exemplo site.mov) — amostrada dos frames,
     ajustada para WCAG AA. Nomes de token mantidos do sistema original:
     --ink = verde profundo, --copper = sage-forest (acento), --clay = sage claro */
  --ink: #202A24;
  --ink-deep: #1B241F;
  --ink-night: #161E19;
  --bone: #F2EFE7;
  --copper: #5F7563;
  --copper-dark: #4E6252;

  /* Secundárias */
  --cambridge: #566853;
  --sage: #8FA48D;
  --clay: #ADBFAD;
  --charcoal: #343A33;
  --linen: #E4E0D2;

  /* Texto sobre Ink */
  --bone-90: rgba(242, 239, 231, 0.9);
  --bone-72: rgba(242, 239, 231, 0.72);
  --bone-55: rgba(242, 239, 231, 0.55);
  --bone-line: rgba(242, 239, 231, 0.14);

  /* Tipografia do site de referência (drbronislaujassek.com.br) */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;

  /* Ritmo */
  --max: 1140px;
  --pad: clamp(24px, 5vw, 80px);
  --section-y: clamp(80px, 10vw, 120px);

  /* Movimento */
  --dur-fast: 150ms;
  --dur: 300ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--bone);
  overflow-x: hidden;
  padding-bottom: 0;
}
.cta-short { display: none; }

h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

img {
  max-width: 100%;
  height: auto;
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
}

::selection { background: var(--copper); color: var(--bone); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 500;
  background: var(--ink);
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 4px;
  transition: top var(--dur-fast) ease-out;
}
.skip-link:focus { top: 16px; }

/* Reveals: só escondem quando JS + motion OK (progressive enhancement) */
html.motion .reveal,
html.motion .reveal-hero { opacity: 0; }

/* ============ BOTTOM NAV ============ */
.bottom-nav {
  position: fixed;
  bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: max-content;
  max-width: calc(100% - 24px);
}
@media (max-width: 820px) {
  .bottom-nav {
    top: max(14px, calc(env(safe-area-inset-top, 0px) + 8px));
    bottom: auto;
  }
}
.bottom-nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(22, 30, 25, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--bone-line);
  border-radius: 60px;
  padding: 6px 6px 6px 22px;
}
.bottom-nav-logo {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--bone);
  text-decoration: none;
  margin-right: 8px;
  white-space: nowrap;
}
.bottom-nav-links { display: flex; align-items: center; }
.bottom-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--bone-55);
  text-decoration: none;
  padding: 0 14px;
  border-radius: 40px;
  transition-property: color, background-color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
  white-space: nowrap;
}
.bottom-nav-links a:hover,
.bottom-nav-links a.ativo {
  color: var(--bone);
  background: rgba(242, 239, 231, 0.08);
}
.bottom-nav-cta {
  background: var(--copper);
  color: var(--bone) !important;
  font-weight: 600 !important;
  padding: 0 22px !important;
  margin-left: 6px;
}
.bottom-nav-cta:hover { background: var(--copper-dark) !important; }

@media (max-width: 820px) {
  .bottom-nav { width: calc(100% - 20px); max-width: none; }
  .bottom-nav-logo { display: none; }
  .bottom-nav-inner { width: 100%; justify-content: space-between; padding: 5px 5px 5px 6px; gap: 0; }
  .bottom-nav-links { flex: 1; justify-content: space-between; }
  .bottom-nav-links a { padding: 0 8px; font-size: 12.5px; min-height: 42px; }
  .bottom-nav-cta { padding: 0 16px !important; margin-left: 4px; flex-shrink: 0; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
}
@media (max-width: 400px) {
  .bottom-nav-links a[href="#metodo"] { display: none; }
  .bottom-nav-links a { padding: 0 6px; }
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 4px; /* Manual: 4px, sem sombra */
  transition-property: background-color, border-color, color, transform;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--copper); color: var(--bone); }
.btn-primary:hover { background: var(--copper-dark); }
.btn-ghost {
  color: var(--bone-72);
  border: 1px solid var(--bone-line);
  font-weight: 500;
}
.btn-ghost:hover { color: var(--bone); border-color: rgba(242, 239, 231, 0.4); }
.btn-outline {
  color: var(--bone-90);
  border: 1px solid rgba(242, 239, 231, 0.28);
  font-weight: 500;
}
.btn-outline:hover { border-color: var(--copper); color: var(--bone); background: rgba(95, 117, 99, 0.12); }
.btn-full { width: 100%; }

/* ============ SEÇÕES ============ */
.section-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--pad);
}
.section-wrap-x {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-dark); /* 4.6:1 sobre Bone — AA para texto pequeno */
  margin-bottom: 20px;
}
#metodo .section-label,
#agendar .section-label {
  color: var(--clay); /* 7:1 sobre Ink */
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 400; /* DM Serif Display só existe em 400 */
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 22px;
}
.section-subtitle {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 400;
  color: var(--bone-55);
  line-height: 1.7;
  max-width: 560px;
}

/* ============ HERO ============ */
#inicio {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 88px 0 108px; /* folga inferior para a nav flutuante */
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 231, 0.06);
  pointer-events: none;
}
.hero-orb-1 { width: 620px; height: 620px; top: -200px; right: -160px; }
.hero-orb-2 { width: 380px; height: 380px; bottom: -120px; left: 42%; border-color: rgba(95, 117, 99, 0.12); }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px; /* hero mais largo que as seções, como no take */
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(0px, 1.2vw, 18px); /* colunas próximas: o título cruza a área desvanecida da foto */
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 22px;
}
.hero-name {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bone-55);
  margin-bottom: 18px;
}
#inicio h1 {
  font-family: var(--serif);
  font-size: clamp(27px, 3.5vw, 46px); /* headline longa estilo do take */
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.14;
  color: var(--bone);
  margin-bottom: 26px;
  max-width: 580px;
}
#inicio h1 em { font-style: italic; color: var(--clay); }
.hero-desc {
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 400;
  color: var(--bone-55);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(173, 191, 173, 0.75);
  letter-spacing: 0.01em;
}

.hero-copy { position: relative; z-index: 2; }
.hero-photo {
  position: relative;
  justify-self: end;
  align-self: center;
  /* como no print: foto um pouco menor, translúcida, fundida no verde,
     com o texto sobrepondo a borda desvanecida */
  width: min(100%, 460px);
  margin-left: -64px;
  /* mais translúcida e integrada ao verde (pedido do Dr. João) */
  opacity: 0.72;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 68%, transparent 96%),
    linear-gradient(to right, transparent 0%, #000 38%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 68%, transparent 96%),
    linear-gradient(to right, transparent 0%, #000 38%);
  mask-composite: intersect;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -6% -14%;
  background: radial-gradient(52% 44% at 56% 34%, rgba(173, 191, 173, 0.16), transparent 72%);
  pointer-events: none;
}
.hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  outline: none;
  /* menos contraste e saturação: a foto "assenta" no fundo verde */
  filter: saturate(0.82) contrast(0.9) brightness(1.02);
}

@media (max-width: 900px) {
  #inicio { padding: 96px 0 88px; overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; padding: 0 var(--pad); }
  /* mobile: foto vira BACKGROUND sutil da seção — mesma técnica do #agendar */
  #inicio::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../imgs/inicio-mobile-8114.webp');
    background-repeat: no-repeat;
    /* foto menor, ancorada no canto direito, sem competir com o texto */
    background-position: 130% 20%;
    background-size: 78% auto;
    opacity: 0.42;
    pointer-events: none;
  }
  /* overlay verde forte, garantindo contraste do texto */
  #inicio::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(to right, rgba(32,42,36,0.94) 0%, rgba(32,42,36,0.78) 45%, rgba(32,42,36,0.55) 100%),
      linear-gradient(to bottom, rgba(32,42,36,0.30) 0%, rgba(32,42,36,0.55) 78%, var(--ink) 100%);
    pointer-events: none;
  }
  .hero-photo { display: none; }
  .hero-copy { position: relative; z-index: 2; }
  /* botão fantasma no verde: fica invisível — trocar por outline sólido */
  .hero-actions .btn-ghost {
    background-color: rgba(22, 30, 25, 0.6);
    border: 1px solid rgba(242, 239, 231, 0.32);
    color: var(--bone);
  }
  .hero-signature {
    color: rgba(242, 239, 231, 0.85);
    text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  }
  .hero-eyebrow { margin-bottom: 14px; }
  #inicio h1 { font-size: clamp(24px, 6.4vw, 34px); }
  .hero-desc { margin-bottom: 28px; }
  .hero-actions { margin-bottom: 26px; }
}
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  #inicio::after { background-size: 118% auto; background-position: center -6%; }
}

/* ============ MARQUEE ============ */
#marquee {
  background: var(--ink);
  border-top: 1px solid var(--bone-line);
  border-bottom: 1px solid var(--bone-line);
  padding: 17px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 38s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}
.marquee-group span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(173, 191, 173, 0.62);
  white-space: nowrap;
}
.marquee-group .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0.55;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
#marquee:hover .marquee-track { animation-play-state: paused; }

/* ============ SOBRE ============ */
#sobre { background: var(--bone); }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin-top: 56px;
}
.sobre-photo {
  position: sticky;
  top: 48px;
  border-radius: 2px;
  overflow: hidden;
}
.sobre-photo img { display: block; width: 100%; height: auto; }
.sobre-photo figcaption {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #676B60;
  letter-spacing: 0.06em;
  padding-top: 12px;
}
.sobre-intro {
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 27px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.42;
  color: var(--ink);
  margin-bottom: 26px;
}
.sobre-text p {
  font-size: 16px;
  font-weight: 400;
  color: #454A41;
  line-height: 1.75;
}
.sobre-text p + p { margin-top: 22px; }
.sobre-credenciais {
  list-style: none;
  margin-top: 40px;
  border-top: 1px solid var(--linen);
}
.sobre-credenciais li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid var(--linen);
  position: relative;
}
.sobre-credenciais li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 27px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}
.credencial-titulo { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.credencial-sub { font-size: 13px; font-weight: 400; color: #676B60; line-height: 1.5; }

@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { position: static; max-width: 480px; }
}

/* ============ MÉTODO ============ */
#metodo {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.metodo-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 231, 0.05);
  top: -260px;
  right: -220px;
  pointer-events: none;
}
#metodo .section-title { color: var(--bone); }
.metodo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bone-line);
  border: 1px solid var(--bone-line);
  margin-top: 56px;
}
.metodo-card {
  background: rgba(27, 36, 31, 0.6);
  padding: 44px 40px;
  transition-property: background-color;
  transition-duration: var(--dur);
  transition-timing-function: ease-out;
}
.metodo-card:hover { background: rgba(95, 117, 99, 0.13); }
.metodo-card .metodo-num {
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 400;
  color: rgba(173, 191, 173, 0.28);
  line-height: 1;
  margin-bottom: 22px;
}
.metodo-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 12px;
  line-height: 1.3;
}
.metodo-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--bone-55);
  line-height: 1.7;
}
.metodo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--bone-line);
}
.metodo-stats dt {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  font-weight: 500;
  color: var(--clay);
  margin-bottom: 6px;
}
.metodo-stats dd {
  font-size: 13px;
  color: var(--bone-55);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .metodo-grid { grid-template-columns: 1fr; }
  .metodo-card { padding: 34px 28px; }
  .metodo-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============ ATUAÇÃO · SCROLL HORIZONTAL ============ */
#atuacao { background: var(--bone); contain: paint; }
.hscroll-label { padding-top: var(--section-y); padding-bottom: 40px; }
.hscroll { padding-bottom: var(--section-y); overflow: hidden; }
.hscroll-outer { position: relative; }
.hscroll-track {
  display: flex;
  gap: 18px;
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}
.hscroll-card {
  width: 320px;
  min-height: 400px;
  flex-shrink: 0;
  background: #F7F5EE;
  border: 1px solid var(--linen);
  border-radius: 2px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition-property: border-color, transform;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease-out);
}
.hscroll-card:hover { border-color: var(--clay); transform: translateY(-3px); }
.hscroll-num {
  font-family: var(--serif);
  font-size: 42px;
  color: rgba(32, 42, 36, 0.12);
  line-height: 1;
  margin-bottom: 22px;
}
.hscroll-icon { width: 30px; height: 30px; color: var(--copper); margin-bottom: 18px; }
.hscroll-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.22;
}
.hscroll-card > p {
  font-size: 14px;
  color: #4C5146;
  line-height: 1.68;
}
.hscroll-progress {
  margin: 26px var(--pad) 0;
  height: 1px;
  background: var(--linen);
}
.hscroll-progress-bar {
  height: 100%;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
}

/* Mobile e tablets: scroll nativo com snap */
@media (max-width: 899px) {
  .hscroll-outer {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .hscroll-outer::-webkit-scrollbar { display: none; }
  .hscroll-card { scroll-snap-align: center; width: min(78vw, 320px); min-height: 380px; }
  .hscroll-progress { display: none; }
}

/* ============ FAMÍLIA ============ */
#familia { background: var(--bone); border-top: 1px solid var(--linen); }
.familia-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.familia-lead {
  font-size: clamp(16px, 1.8vw, 18px);
  color: #454A41;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 30px;
}
.familia-list {
  list-style: none;
  margin-bottom: 36px;
}
.familia-list li {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--linen);
  position: relative;
}
.familia-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 1.5px;
  background: var(--copper);
}
.familia-actions { max-width: 480px; }
.familia-actions .btn { margin-bottom: 18px; }
.familia-nota {
  font-size: 13px;
  color: #676B60;
  line-height: 1.65;
}
.familia-photo {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.familia-photo img { display: block; width: 100%; height: auto; }
.familia-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(242, 239, 231, 0.06);
  pointer-events: none;
}
@media (max-width: 900px) {
  .familia-grid { grid-template-columns: 1fr; }
  .familia-photo { order: -1; max-width: 480px; }
  .familia-actions .btn { width: 100%; }
}

/* ============ CIÊNCIA ============ */
#ciencia { background: var(--linen); }
.ciencia-wrap { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.ciencia-frase {
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 30px;
}
.ciencia-frase em { font-style: italic; color: var(--copper-dark); }
.ciencia-fontes {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--cambridge);
}

/* ============ EDUCATIVO ============ */
#educativo { background: var(--bone); border-top: 1px solid var(--linen); }
#educativo .section-title em { font-style: italic; color: var(--copper); }
.edu-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.edu-subtitle {
  font-size: 15.5px;
  color: #676B60;
  line-height: 1.7;
  max-width: 360px;
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.edu-card {
  background: #F7F5EE;
  border: 1px solid var(--linen);
  border-radius: 2px;
  padding: 30px 26px;
  transition-property: border-color, transform;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease-out);
}
.edu-card:hover { border-color: var(--sage); transform: translateY(-2px); }
.edu-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin-bottom: 12px;
}
.edu-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}
.edu-card > p:last-child {
  font-size: 13.5px;
  color: #4C5146;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .edu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .edu-grid { grid-template-columns: 1fr; }
}

/* ============ AGENDAMENTO ============ */
#agendar {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.agendar-bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  background-image: url('../imgs/agendamento-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.7);
  will-change: transform;
}
#agendar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(27, 36, 31, 0.93);
}
#agendar .section-wrap { position: relative; z-index: 2; }
#agendar .section-title { color: var(--bone); }
.agendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 52px;
}
.agendar-card {
  background: rgba(22, 30, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bone-line);
  border-radius: 4px;
  padding: 42px 38px;
  transition-property: border-color, background-color;
  transition-duration: var(--dur);
  transition-timing-function: ease-out;
}
.agendar-card:hover { border-color: rgba(173, 191, 173, 0.4); background: rgba(22, 30, 25, 0.72); }
.agendar-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  border: 1px solid rgba(173, 191, 173, 0.32);
  border-radius: 2px;
  padding: 6px 12px;
  margin-bottom: 24px;
}
.agendar-card h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--bone);
  margin-bottom: 14px;
  line-height: 1.18;
}
.agendar-desc {
  font-size: 14.5px;
  color: var(--bone-55);
  line-height: 1.7;
  margin-bottom: 26px;
}
.agendar-details {
  list-style: none;
  margin-bottom: 30px;
}
.agendar-details li {
  font-size: 13.5px;
  color: var(--bone-72);
  line-height: 1.55;
  padding: 8px 0 8px 22px;
  position: relative;
}
.agendar-details li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 16px;
  width: 8px;
  height: 1.5px;
  background: var(--copper);
}
.agendar-details-mono li {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.agendar-alt-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) {
  .agendar-grid { grid-template-columns: 1fr; }
  .agendar-card { padding: 34px 26px; }
}

/* ============ FOOTER ============ */
footer { background: var(--ink-night); padding: 56px var(--pad) 120px; }
@media (min-width: 821px) {
  footer { padding-bottom: 110px; }
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(242, 239, 231, 0.08);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--bone);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
}
.footer-endosso {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 16px;
}
.footer-info {
  font-size: 13px;
  font-weight: 400;
  color: var(--bone-55);
  line-height: 1.7;
}
.footer-links { display: flex; gap: 14px; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(242, 239, 231, 0.14);
  color: var(--bone-55);
  transition-property: border-color, color;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.footer-social:hover { border-color: var(--copper); color: var(--clay); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-copy, .footer-disclaimer {
  font-size: 12px;
  font-weight: 400;
  color: rgba(242, 239, 231, 0.55); /* ≥4.5:1 sobre Ink Night — AA */
  line-height: 1.6;
}

/* ============ WHATSAPP FLUTUANTE ============ */
.wa-float {
  position: fixed;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  right: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
@media (min-width: 821px) {
  .wa-float { bottom: 24px; right: 24px; }
}
.wa-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.32);
  transition-property: transform, box-shadow;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
}
.wa-float-btn:hover { transform: scale(1.07); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.44); }
.wa-tooltip {
  background: rgba(22, 30, 25, 0.92);
  color: var(--bone);
  font-size: 12px;
  padding: 7px 13px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition-property: opacity, transform;
  transition-duration: var(--dur-fast);
  transition-timing-function: ease-out;
  pointer-events: none;
}
.wa-float:hover .wa-tooltip,
.wa-float:focus-within .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ============ MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
