/* ==========================================================================
   Dr. Pascoal Nabuco — Médico Veterinário
   ========================================================================== */

:root {
  --ink: #12100c;
  --ink-2: #1a1712;
  --ink-3: #241f18;
  --paper: #fbf8f2;
  --bone: #f4eee3;
  --sand: #ece3d4;
  --sand-2: #dccfba;
  --text: #1d1a15;
  --muted: #6d6456;
  --muted-light: rgba(244, 238, 227, .66);
  --gold: #b9915a;
  --gold-light: #dcc08f;
  --gold-deep: #8d6a33;
  --line: rgba(29, 26, 21, .1);
  --line-dark: rgba(244, 238, 227, .12);
  --wa: #25d366;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sign: "Mrs Saint Delafield", "Brush Script MT", cursive;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 64px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: .7em 1.1em; border-radius: 10px;
  background: var(--gold-light); color: var(--ink); font-weight: 700;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.eyebrow-line { width: 34px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.nowrap { white-space: nowrap; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--gold-light); }

h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-lead { margin-top: 22px; font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.section-head-center .section-lead { margin-inline: auto; }
.section-dark .section-lead { color: var(--muted-light); }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: .95em 1.6em;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--btn-pad);
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em; line-height: 1.2;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-sm { --btn-pad: .7em 1.15em; font-size: .88rem; }
.btn-lg { --btn-pad: 1.05em 1.85em; font-size: 1rem; }
.btn-xl { --btn-pad: 1.2em 2.3em; font-size: 1.1rem; }

.btn-gold {
  color: #17130d;
  background: linear-gradient(135deg, #e6cb98 0%, #c9a061 48%, #a97e3e 100%);
  box-shadow: 0 14px 34px -14px rgba(201, 160, 97, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(201, 160, 97, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-gold:hover::after { transform: translateX(120%); }

.btn-ghost { color: var(--bone); border-color: rgba(244, 238, 227, .28); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }
.btn-ghost svg { transition: transform .35s var(--ease); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-dark { color: var(--bone); background: var(--ink); box-shadow: 0 14px 30px -16px rgba(18, 16, 12, .8); }
.btn-dark svg { color: var(--gold-light); }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-3); }

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .95rem; color: var(--gold-light);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.text-link svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link-dark { color: var(--gold-deep); margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--bone);
  transition: background-color .4s, height .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(18, 16, 12, .93);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-color: var(--line-dark);
}
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; color: var(--gold-light); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: .005em; }
.brand-text small { font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light); margin-top: 5px; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a:not(.btn) {
  position: relative; font-size: .92rem; font-weight: 600; color: rgba(244, 238, 227, .82);
  transition: color .25s;
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-menu a:not(.btn):hover { color: #fff; }
.nav-menu a:not(.btn):hover::after, .nav-menu a.is-active::after { transform: scaleX(1); }
.nav-menu a.is-active { color: #fff; }
.nav-menu-cta { display: none; }

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(244, 238, 227, .06); border: 1px solid var(--line-dark);
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--bone);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100svh, 980px);
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(56px, 7vw, 96px);
  display: flex; align-items: center;
  color: var(--bone);
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 42%, rgba(201, 160, 97, .22), transparent 62%),
    radial-gradient(40% 50% at 8% 100%, rgba(201, 160, 97, .08), transparent 70%),
    linear-gradient(180deg, #15120e 0%, #0f0d0a 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/topo.svg") center / cover no-repeat;
  opacity: .085;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 55%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 55%, #000 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  max-width: 13ch;
}
.hero h1 em { color: var(--gold-light); display: inline; }
.hero-lead { margin-top: 26px; max-width: 540px; font-size: 1.15rem; color: var(--muted-light); }
.hero-lead strong { color: var(--bone); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-trust {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px;
  margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line-dark);
}
.hero-trust li { display: flex; align-items: flex-start; gap: 12px; font-size: .84rem; color: var(--muted-light); line-height: 1.4; }
.hero-trust svg { width: 22px; height: 22px; color: var(--gold-light); flex: none; margin-top: 1px; }
.hero-trust strong { display: block; color: var(--bone); font-size: .92rem; font-weight: 700; margin-bottom: 2px; }

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 480px);
  aspect-ratio: 4 / 5.6;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-arch, .hero-arch-line {
  position: absolute; left: 9%; right: 9%; top: 14%; bottom: 0;
  border-radius: 999px 999px 28px 28px;
}
.hero-arch {
  background:
    radial-gradient(80% 50% at 50% 18%, rgba(220, 192, 143, .28), transparent 70%),
    linear-gradient(180deg, #3a3126 0%, #241e17 55%, #16130f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.hero-arch-line {
  transform: translate(16px, -16px);
  border: 1px solid rgba(220, 192, 143, .38);
  border-bottom-color: transparent;
}
.hero-portrait {
  position: relative; z-index: 1;
  width: 96%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
}
.hero-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; color: var(--bone);
  background: rgba(26, 23, 18, .72);
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8);
}
.hero-chip-top { top: 44%; right: -8%; }
.pulse-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--wa); }
.pulse-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2s var(--ease) infinite;
}
.hero-id {
  position: absolute; z-index: 2; left: -6%; bottom: 9%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 18px;
  background: rgba(244, 238, 227, .94); color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
}
.hero-id svg { width: 46px; height: 46px; color: var(--gold-deep); flex: none; }
.hero-id strong { display: block; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; }
.hero-id span { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, #a97e3e, #d3b07a 50%, #a97e3e);
  color: #17130d;
  border-block: 1px solid rgba(0, 0, 0, .2);
}
.ticker-track {
  display: flex; width: max-content; align-items: center; gap: 28px;
  padding: 16px 0;
  animation: ticker 48s linear infinite;
}
.ticker span { font-size: .82rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.ticker i { font-style: normal; opacity: .55; font-size: .8rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 140px) 0; }
.section-light { background: var(--paper); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--bone); overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/topo.svg") center / cover no-repeat;
  opacity: .05;
}
.section-dark > .container { position: relative; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 34px 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s;
}
/* brilho dourado que segue o cursor */
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(220, 192, 143, .26), transparent 65%);
  opacity: 0; transition: opacity .5s var(--ease);
}
/* filete dourado no topo */
.service::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #e6cb98, #c9a061 50%, #a97e3e);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.service-icon {
  position: relative;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(220, 192, 143, .32), rgba(185, 145, 90, .12));
  color: var(--gold-deep);
  transition: color .4s, box-shadow .6s var(--ease), transform .6s var(--ease);
}
.service-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, #e6cb98, #a97e3e);
  opacity: 0; transition: opacity .45s var(--ease);
}
.service-icon svg { position: relative; width: 28px; height: 28px; transition: transform .6s var(--ease); }
.service-num { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: rgba(29, 26, 21, .32); transition: color .4s; }
.service h3 { font-size: 1.42rem; line-height: 1.2; margin-bottom: 14px; }
.service h3 small {
  display: block; margin-top: 6px;
  font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-deep);
}
.service p { color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.tags li {
  padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--bone); color: var(--muted);
  transition: background-color .4s, color .4s;
}
.service-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .92rem; font-weight: 700; color: var(--gold-deep);
  align-self: flex-start;
}
/* o cartão inteiro é clicável */
.service-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service-link span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease);
}
.service-link svg { width: 1.1em; height: 1.1em; transition: transform .5s var(--ease); }
.service-urgent .btn { position: relative; z-index: 2; margin-top: auto; align-self: flex-start; }

.service-urgent {
  cursor: pointer;
  background: var(--ink); color: var(--bone); border-color: var(--ink);
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(201, 160, 97, .22), transparent 60%);
}
.service-urgent::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 160, 97, .28), transparent 65%); }
.service-urgent p { color: var(--muted-light); }
.service-urgent .service-icon { color: var(--ink); }
.service-urgent .service-icon::before { opacity: 1; }
.service-urgent .service-num { color: rgba(244, 238, 227, .35); }
.service-urgent .tags li { background: rgba(244, 238, 227, .08); color: var(--muted-light); }

@media (hover: hover) {
  .chips button:hover { border-color: rgba(220, 192, 143, .55); }
  .service:hover {
    transform: translateY(-6px);
    border-color: rgba(185, 145, 90, .5);
    box-shadow: 0 2px 6px rgba(60, 45, 20, .04), 0 32px 60px -30px rgba(60, 45, 20, .42);
  }
  .service:hover::before { opacity: 1; }
  .service:hover::after { transform: scaleX(1); }
  .service:hover .service-icon { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 0 7px rgba(201, 160, 97, .14), 0 10px 22px -10px rgba(169, 126, 62, .8); }
  .service:hover .service-icon::before { opacity: 1; }
  .service:hover .service-icon svg { transform: rotate(-10deg) scale(1.08); }
  .service:hover .service-num { color: var(--gold-deep); }
  .service:hover .tags li { background: rgba(220, 192, 143, .26); color: var(--gold-deep); }
  .service:hover .service-link span { background-size: 100% 1px; }
  .service:hover .service-link svg { transform: translateX(6px); }

  .service-urgent:hover { border-color: rgba(220, 192, 143, .45); box-shadow: 0 32px 60px -28px rgba(0, 0, 0, .6); }
  .service-urgent:hover .service-num { color: var(--gold-light); }
  .service-urgent:hover .tags li { background: rgba(244, 238, 227, .12); color: var(--bone); }
}
/* teclado: mesmo destaque ao focar o link do cartão */
.service:focus-within { border-color: rgba(185, 145, 90, .5); }
.service:focus-within::after { transform: scaleX(1); }
.service:focus-within .service-link span { background-size: 100% 1px; }

/* ---------- Espécies ---------- */
.species { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.species-card {
  display: grid; grid-template-columns: 40% 1fr;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  transition: border-color .4s, transform .5s var(--ease);
}
.species-card:hover { border-color: rgba(220, 192, 143, .35); transform: translateY(-4px); }
.species-media { position: relative; margin: 0; min-height: 100%; overflow: hidden; }
.species-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 35%;
  filter: saturate(.92) contrast(1.04);
  transition: transform 1.2s var(--ease);
}
.species-card:hover .species-media img { transform: scale(1.05); }
.species-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--ink-2) 100%), linear-gradient(0deg, rgba(18, 16, 12, .45), transparent 40%);
}
.species-body { padding: 36px 34px 34px 22px; display: flex; flex-direction: column; }
.species-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.species-body h3 { font-size: 1.55rem; line-height: 1.2; margin: 14px 0 22px; }
.checklist { display: grid; gap: 11px; margin-bottom: 28px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(244, 238, 227, .85); }
.checklist svg {
  width: 22px; height: 22px; padding: 4px; flex: none; border-radius: 50%;
  color: var(--ink); background: var(--gold-light);
}
.species-body .text-link { margin-top: auto; align-self: flex-start; }

.species-more {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: .9fr 1.5fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(30px, 4vw, 44px);
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(201, 160, 97, .14), transparent 60%),
    var(--ink-2);
}
.species-more-intro h3 { font-size: 1.55rem; line-height: 1.2; margin: 14px 0 14px; }
.species-more-intro p { color: var(--muted-light); font-size: .98rem; margin-bottom: 24px; }
.species-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.species-mini li {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px;
  border-radius: 18px;
  background: rgba(244, 238, 227, .035);
  border: 1px solid var(--line-dark);
  transition: border-color .4s, background-color .4s, transform .5s var(--ease);
}
.species-mini li:hover { border-color: rgba(220, 192, 143, .4); background: rgba(244, 238, 227, .06); transform: translateY(-4px); }
.species-mini-num { font-family: var(--font-display); font-style: italic; font-size: .95rem; color: rgba(244, 238, 227, .35); }
.species-mini strong { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.9rem; line-height: 1.1; color: var(--gold-light); }
.species-mini li > span:last-child { font-size: .9rem; line-height: 1.5; color: var(--muted-light); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-media { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.about-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 28px 28px;
  background:
    radial-gradient(70% 50% at 50% 20%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(180deg, #d6c7ad, #b9a585);
  box-shadow: 0 40px 80px -40px rgba(60, 45, 20, .55);
}
.about-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.about-media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid rgba(141, 106, 51, .45);
  border-radius: 999px 999px 28px 28px;
  pointer-events: none;
}
.about-badge {
  position: absolute; right: -10px; bottom: 34px;
  display: grid; place-content: center; text-align: center;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--ink); color: var(--bone);
  box-shadow: 0 20px 40px -18px rgba(18, 16, 12, .8);
  border: 1px solid rgba(220, 192, 143, .4);
  outline: 6px solid var(--sand);
}
.about-badge span { font-size: .66rem; font-weight: 800; letter-spacing: .26em; color: var(--gold-light); }
.about-badge strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-top: 4px; }

.about-copy > p:not(.eyebrow) { color: #4f483d; margin-top: 18px; font-size: 1.08rem; }
.about-copy h2 { margin-bottom: 8px; }
.values { display: grid; gap: 18px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(29, 26, 21, .14); }
.values li { display: flex; gap: 16px; align-items: flex-start; }
.values svg {
  width: 46px; height: 46px; padding: 11px; flex: none; border-radius: 50%;
  color: var(--gold-deep); background: rgba(255, 255, 255, .6); border: 1px solid rgba(141, 106, 51, .25);
}
.values strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 2px; }
.values span { color: var(--muted); font-size: .96rem; }

.signature { margin-top: 38px; display: flex; flex-direction: column; }
.signature-name { font-family: var(--font-sign); font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1; color: var(--gold-deep); transform: rotate(-3deg); transform-origin: left; }
.signature-role { margin-top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Como funciona ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(141, 106, 51, .55) 0 6px, transparent 6px 12px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; margin: 0 auto 26px;
  width: 62px; height: 62px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gold-deep);
  background: var(--paper);
  border: 1px solid rgba(141, 106, 51, .5);
  box-shadow: 0 0 0 8px var(--paper);
  transition: background .4s, color .4s;
}
.step:hover .step-num { background: var(--ink); color: var(--gold-light); }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; max-width: 260px; margin-inline: auto; }
.steps-cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Região ---------- */
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips button {
  padding: 8px 15px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .84rem; font-weight: 600; color: rgba(244, 238, 227, .85);
  border: 1px solid var(--line-dark); background: rgba(244, 238, 227, .03);
  transition: color .3s, background-color .3s, border-color .3s;
}
.chips button.is-on { color: var(--ink); background: var(--gold-light); border-color: var(--gold-light); }
.chips button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.region-map { margin: 0; position: relative; }
.region-map::before {
  content: ""; position: absolute; inset: 8% 10%;
  background: radial-gradient(closest-side, rgba(201, 160, 97, .22), transparent);
  filter: blur(20px);
}
.region-map svg { position: relative; width: 100%; height: auto; overflow: visible; }
.territory {
  fill: rgba(201, 160, 97, .3); cursor: pointer;
  stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round;
  transition: fill .35s var(--ease), opacity .35s var(--ease);
}
.territory:nth-child(even) { fill: rgba(201, 160, 97, .4); }
.has-active .territory { opacity: .4; }
.has-active .territory.is-on { opacity: 1; fill: var(--gold-light); }
.map-shape {
  fill: none; pointer-events: none;
  stroke: var(--gold-light); stroke-width: 1.6; stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(201, 160, 97, .25));
}
.region-map figcaption {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light);
}
.region-map figcaption svg { width: 18px; height: 18px; color: var(--gold-light); }

/* ---------- Dúvidas ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 26px 56px 26px 0;
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; line-height: 1.3;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 16px; height: 1.6px;
  background: var(--gold-deep); transition: transform .4s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq-body { padding: 0 48px 28px 0; }
.faq-body p { color: var(--muted); }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .45s var(--ease), content-visibility .45s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 160px) 0; background: var(--ink); color: var(--bone); text-align: center; }
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 50% 110%, rgba(201, 160, 97, .35), transparent 70%),
    radial-gradient(30% 40% at 50% 0%, rgba(201, 160, 97, .08), transparent 70%);
}
.cta-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/topo.svg") center / cover no-repeat; opacity: .07;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-emblem { width: 70px; height: 70px; color: var(--gold-light); margin-bottom: 30px; }
.cta-final h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.cta-final h2 em { color: var(--gold-light); }
.cta-final p { margin-top: 22px; max-width: 520px; font-size: 1.15rem; color: var(--muted-light); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 30px; margin-top: 42px; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--bone); }
.cta-phone svg { width: 22px; height: 22px; color: var(--gold-light); }
.cta-phone:hover { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { background: #0c0a08; color: var(--muted-light); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer-brand .brand { color: var(--bone); margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.footer-col h4 { font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col span { display: inline-flex; align-items: center; gap: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 26px 90px 32px 0; border-top: 1px solid rgba(244, 238, 227, .08); font-size: .82rem;
}
.footer-motto { letter-spacing: .26em; text-transform: uppercase; font-size: .72rem; font-weight: 700; color: var(--gold-light); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: flex-end; gap: 12px; }
.wa-button {
  position: relative; display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .65), 0 4px 12px rgba(0, 0, 0, .2);
  transition: transform .35s var(--ease);
}
.wa-button svg { width: 32px; height: 32px; }
.wa-button::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.4s var(--ease) infinite;
}
.wa-button:hover { transform: scale(1.07); }
.wa-bubble {
  position: relative; width: 250px; margin-bottom: 8px;
  padding: 16px 18px; border-radius: 16px 16px 4px 16px;
  background: #fff; color: var(--text); font-size: .86rem; line-height: 1.45;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom right; pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.wa-bubble strong { display: block; font-size: .92rem; margin-bottom: 3px; }
.wa-float.show-bubble .wa-bubble { opacity: 1; transform: none; pointer-events: auto; }
.wa-bubble-close {
  position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 1.2rem; line-height: 1;
}
.wa-bubble-close:hover { background: var(--bone); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition: none; animation: rise .9s var(--ease) var(--d, 0s) both; }

/* ---------- Animations ---------- */
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu { gap: 22px; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .species-card { grid-template-columns: 1fr; }
  .species-media { min-height: 0; height: 240px; }
  .species-media::after { background: linear-gradient(0deg, var(--ink-2) 0%, transparent 55%); }
  .species-body { padding: 8px 30px 32px; }
  .species-more { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .nav { gap: 12px; }
  .nav-menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 100px var(--gutter) 40px;
    background: rgba(18, 16, 12, .98);
    opacity: 0; visibility: hidden;
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav-menu a:not(.btn) { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--bone); padding: 6px 0; }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-menu-cta { display: inline-flex; margin-top: 26px; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .hero-visual { width: min(100%, 440px); margin-top: 8px; }
  .hero-chip-top { right: 0; }
  .hero-id { left: 0; }

  .services { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 400px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .region-grid { grid-template-columns: 1fr; }
  .region-map { max-width: 520px; margin-inline: auto; width: 100%; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .hero-trust { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .services, .species, .species-mini { grid-template-columns: 1fr; }
  .species-mini li { padding: 18px 20px; gap: 4px; }
  .species-mini strong { font-size: 1.6rem; }
  .service { padding: 28px 24px 26px; }
  .steps { grid-template-columns: 1fr; text-align: left; row-gap: 0; }
  .step { display: grid; grid-template-columns: 62px 1fr; column-gap: 20px; padding: 0 0 34px; text-align: left; }
  .step::before {
    content: ""; position: absolute; left: 31px; top: 62px; bottom: 0; width: 1px;
    background: repeating-linear-gradient(180deg, rgba(141, 106, 51, .55) 0 6px, transparent 6px 12px);
  }
  .step:last-child::before { display: none; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: center; margin: 14px 0 6px; }
  .step p { margin: 0; }
  .about-badge { width: 104px; height: 104px; right: 0; }
  .about-badge strong { font-size: 1.7rem; }
  .faq summary { font-size: 1.12rem; padding: 22px 44px 22px 0; }
  .faq-body { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; padding: 26px 0 108px; }
  .btn-xl { --btn-pad: 1.1em 1.8em; font-size: 1.02rem; }
  .wa-bubble { display: none; }
  .eyebrow { letter-spacing: .2em; gap: 12px; }
  .region-map figcaption { letter-spacing: .1em; font-size: .72rem; }
}

@media (max-width: 420px) {
  .nav-cta { display: none; }
  .brand-text strong { font-size: 1.06rem; }
  .hero-chip-top { font-size: .72rem; padding: 8px 12px; }
  .hero-id { padding: 10px 14px 10px 10px; }
  .hero-id svg { width: 38px; height: 38px; }
  .hero-id strong { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
