/* =========================================================
   Dr. Breno Paraiso — Neurocirurgião & Neurologista
   Paleta: ciano/verde profundo (neurônio) + dourado (logo)
   ========================================================= */

:root {
  /* Deep teal / cyan base */
  --teal-985: #03201e;
  --teal-950: #04211f;
  --teal-900: #063a35;
  --teal-800: #0a4f48;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --cyan-500: #14b8a6;
  --cyan-400: #2dd4bf;
  --cyan-300: #5eead4;

  /* Gold accent (from logo) */
  --gold-600: #b88a2e;
  --gold-500: #c9a227;
  --gold-400: #d8b24a;
  --gold-300: #e6c873;

  /* Light / neutral */
  --bone: #f5f8f7;
  --bone-2: #eef3f1;
  --white: #ffffff;
  --ink: #0c2b29;
  --ink-soft: #3c5752;
  --ink-mute: #6c837f;
  --line: #e0e8e5;

  /* Dark surface helpers */
  --d-text: #e8f4f1;
  --d-mute: #9cc2bb;
  --d-line: rgba(94, 234, 212, 0.18);

  --font-serif: "Montserrat", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 4px 18px rgba(6, 58, 53, 0.08);
  --shadow-md: 0 18px 50px rgba(6, 40, 37, 0.14);
  --shadow-lg: 0 40px 90px rgba(3, 32, 30, 0.30);
  --container: 1180px;
  --gut: clamp(1.15rem, 4vw, 2rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

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

::selection { background: var(--cyan-400); color: var(--teal-950); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal-900); color: var(--d-text);
  padding: .7rem 1.1rem; border-radius: 0 0 10px 0; font-size: .85rem;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-800);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.1rem 2.1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1.3rem 2.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-800));
  color: #f4fffd;
  box-shadow: 0 14px 34px rgba(20, 184, 166, .45);
  border-color: rgba(94, 234, 212, .55);
}
.btn-primary:hover { box-shadow: 0 18px 46px rgba(20, 184, 166, .6); }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--d-text);
  border-color: rgba(232, 244, 241, .28);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--cyan-300); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(4, 27, 25, .86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--d-line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark { height: 56px; width: auto; }
.brand-text {
  font-family: var(--font-serif); font-size: 1.32rem; font-weight: 600; line-height: 1; color: var(--d-text);
  display: flex; flex-direction: column; gap: .18rem;
}
.brand-text small {
  font-family: var(--font-sans); font-size: .58rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300);
}

.nav-menu { display: flex; align-items: center; gap: 2.1rem; }
.nav-menu > ul { display: flex; gap: 1.9rem; }
.nav-menu a { font-size: .9rem; font-weight: 600; color: #dcefea; position: relative; padding: .25rem 0; text-shadow: 0 1px 10px rgba(3, 20, 18, .55); }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold-400); transition: width .28s ease;
}
.nav-menu a:hover { color: var(--d-text); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu-cta { display: none; }

.nav-cta { padding: .68rem 1.3rem; font-size: .86rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 23px; height: 2px; background: var(--d-text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 8.5rem 0 6rem; overflow: hidden; background: var(--teal-985);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
}
.hero-video {
  filter: saturate(1.1) brightness(.92);
}
/* tint verde da marca sobre o vídeo */
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: var(--teal-800); mix-blend-mode: color; opacity: .6;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 24, 22, .96) 0%, rgba(4, 31, 29, .86) 26%, rgba(4, 31, 29, .52) 52%, rgba(4, 31, 29, .3) 78%, rgba(4, 31, 29, .5) 100%),
    linear-gradient(0deg, rgba(3, 22, 20, .92), transparent 32%),
    linear-gradient(180deg, rgba(3, 22, 20, .6), transparent 24%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 40rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.8rem;
  color: var(--cyan-300); font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
}
.eyebrow-dot { flex-shrink: 0; width: 30px; height: 2px; border-radius: 2px; background: var(--gold-400); }

.hero h1 {
  color: #f3fdfb; font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 1.7rem;
}
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero-sub {
  max-width: 34rem; color: #e3f1ed; font-size: clamp(1.18rem, 2vw, 1.45rem);
  font-weight: 500; line-height: 1.55; margin-bottom: 2.8rem;
  text-shadow: 0 2px 14px rgba(3, 20, 18, .55);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
.hero-tel {
  display: inline-flex; align-items: center; gap: .5rem; color: var(--d-text);
  font-size: .98rem; font-weight: 600; letter-spacing: .01em; transition: color .2s ease;
}
.hero-tel svg { color: var(--cyan-300); }
.hero-tel:hover { color: var(--cyan-300); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid var(--d-line); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero-scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--cyan-300); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0%,100% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } }

/* ---------- Intro (abaixo da hero) ---------- */
.intro { background: var(--white); padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.intro-lead p { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.32; color: var(--ink); font-weight: 500; }
.intro-lead p strong { font-weight: 600; color: var(--teal-700); }
.intro-stats { display: grid; grid-template-columns: 1fr; gap: 0; }
.intro-stats li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.intro-stats li:first-child { border-top: 1px solid var(--line); }
.intro-stats strong {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--teal-700);
  display: inline-block; min-width: 7.5rem;
}
.intro-stats span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--teal-950); color: var(--d-mute); border-top: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line); overflow: hidden;
}
.trust-marquee { display: flex; width: max-content; animation: trust-scroll 34s linear infinite; }
.trust-marquee:hover { animation-play-state: paused; }
.trust-track {
  display: flex; align-items: center; flex-shrink: 0; list-style: none; margin: 0; padding: 0;
}
.trust-track li {
  display: flex; align-items: center; white-space: nowrap; padding: .95rem 0;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.trust-track li::after { content: "\2022"; color: var(--gold-500); margin: 0 1.7rem; font-size: .7rem; }
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust-marquee { animation: none; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trust-track[aria-hidden="true"] { display: none; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tight { padding-bottom: clamp(3.5rem, 7vw, 6rem); }

.section-head { max-width: 42rem; margin-bottom: 3.2rem; }
.section-label {
  display: inline-block; margin-bottom: .9rem; color: var(--teal-700);
  font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.section-label--gold { color: var(--gold-600); }
.section-head h2 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); color: var(--ink); margin-bottom: 1.1rem; }
.section-head p { color: var(--ink-soft); font-size: 1.16rem; line-height: 1.6; }
.section-head--light h2 { color: #f1fbf9; }
.section-head--light p { color: #cfe6e1; }

/* ---------- Cards (especialidades) ---------- */
.cards { display: grid; gap: 1.4rem; grid-template-columns: 1fr; align-items: start; }
.card {
  position: relative; padding: 0; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--teal-600), var(--cyan-400)); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(13, 148, 136, .35); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 3.2rem; height: 3.2rem; display: grid; place-items: center; margin-bottom: 1.3rem;
  border-radius: 13px; color: var(--teal-700);
  background: linear-gradient(135deg, rgba(20, 184, 166, .14), rgba(13, 148, 136, .08));
  border: 1px solid rgba(13, 148, 136, .18);
}
.card:hover .card-icon { color: var(--gold-600); }
.card h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: .96rem; line-height: 1.62; }

/* ---------- Diferenciais (dark band) ---------- */
.diff { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; overflow: hidden; background: var(--teal-985); color: var(--d-text); }
.diff-bg { position: absolute; inset: 0; z-index: 0; }
.diff-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .92; object-position: center; }
.diff-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 24, 22, .82) 0%, rgba(4, 31, 29, .5) 42%, rgba(4, 31, 29, .22) 100%),
    linear-gradient(180deg, rgba(3, 22, 20, .4), transparent 22%);
}
.diff-inner { position: relative; z-index: 2; }
.assoc-badge {
  display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.4rem;
  padding: .65rem 1.15rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--d-line);
  color: var(--d-text); font-size: .95rem; font-weight: 500; line-height: 1.35;
}
.assoc-badge svg { color: var(--gold-400); flex-shrink: 0; }
.assoc-badge strong { color: var(--gold-300); font-weight: 700; }

.diff-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.diff-item {
  padding: 1.9rem 1.7rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .045); border: 1px solid var(--d-line);
  backdrop-filter: blur(4px); transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.diff-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .075); border-color: rgba(216, 178, 74, .4); }
.diff-num {
  display: block; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600;
  color: var(--gold-400); margin-bottom: .7rem;
}
.diff-item h3 { font-size: 1.32rem; color: #f1fbf9; margin-bottom: .5rem; }
.diff-item p { color: #cfe6e1; font-size: .94rem; line-height: 1.6; }

/* ---------- Split (formação) ---------- */
.split { display: grid; gap: 2.5rem; align-items: stretch; grid-template-columns: 1fr; }
.split-media {
  position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); min-height: 360px;
}
.split-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 28% center; }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 33, 31, .55)); }
.split-tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2;
  padding: .45rem .9rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  color: var(--d-text); background: rgba(4, 33, 31, .65); border: 1px solid var(--d-line); backdrop-filter: blur(6px);
}
.split-body h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); margin: .85rem 0 1.1rem; color: var(--ink); }
.split-body > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: .5rem; }
.credentials { display: grid; gap: .2rem; margin: 1.7rem 0 2.1rem; }
.credentials li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
}
.credentials strong { font-family: var(--font-serif); font-size: 1.18rem; color: var(--teal-700); font-weight: 600; }
.credentials span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Agendamento ---------- */
.schedule { position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; background: linear-gradient(180deg, var(--bone) 0%, var(--bone-2) 100%); }
.schedule-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; align-items: start; }
.schedule-intro h2 { font-size: clamp(2.25rem, 4.2vw, 3.2rem); color: var(--ink); margin: .75rem 0 1.1rem; }
.schedule-intro > p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 2rem; max-width: 34rem; }
.schedule-info { display: grid; gap: 1.35rem; }
.schedule-info li { display: flex; gap: 1rem; align-items: flex-start; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.info-ico {
  flex-shrink: 0; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 11px;
  color: var(--teal-700); background: rgba(13, 148, 136, .1); border: 1px solid rgba(13, 148, 136, .18);
}
.schedule-info strong { display: block; color: var(--ink); font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: .12rem; }
.schedule-info a { color: var(--teal-700); font-weight: 600; }

.schedule-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-md); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 1.4rem; }
.appt-form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1.05rem; grid-template-columns: 1fr; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field .opt { color: var(--ink-mute); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: .96rem; color: var(--ink);
  padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 11px; background: var(--bone);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-600); background: var(--white);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, .14);
}
.field input.invalid, .field select.invalid { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217, 83, 79, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.appt-form .btn { margin-top: .35rem; }
.form-note { font-size: .78rem; color: var(--ink-mute); text-align: center; line-height: 1.5; }

/* ---------- Localização ---------- */
.map-wrap { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.map-wrap iframe {
  width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); filter: grayscale(.12) contrast(1.02); display: block;
}
.map-card {
  background: var(--teal-950); color: var(--d-text); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-md); align-self: start;
}
.map-card h3 { font-size: 1.55rem; color: #f1fbf9; margin-bottom: .7rem; }
.map-card > p { color: var(--d-mute); font-size: .96rem; line-height: 1.6; }
.map-meta { display: grid; gap: .15rem; margin: 1.4rem 0 1.7rem; }
.map-meta > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--d-line); }
.map-meta dt { color: var(--d-mute); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.map-meta dd { color: var(--d-text); font-weight: 600; font-size: .95rem; }
.map-meta a { color: var(--cyan-300); }

/* ---------- CTA band (Dúvidas? Fale conosco) ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--teal-985); color: var(--d-text);
}
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta-band-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 24, 22, .84), rgba(4, 31, 29, .62) 50%, rgba(3, 24, 22, .84)),
    radial-gradient(75% 130% at 50% 0%, rgba(15, 118, 110, .35), transparent 70%);
}
.cta-band-inner { position: relative; z-index: 1; max-width: 42rem; margin-inline: auto; }
.cta-band h2 { font-size: clamp(2.15rem, 4.8vw, 3.5rem); color: #f3fdfb; letter-spacing: -.01em; margin-bottom: .6rem; }
.cta-band h2 .cta-light { font-weight: 500; color: rgba(243, 253, 251, .82); }
.cta-band p { color: #d7ece7; font-size: clamp(1rem, 1.5vw, 1.18rem); margin-bottom: 1.9rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: #241f0e;
  box-shadow: 0 14px 34px rgba(216, 178, 74, .4); border-color: rgba(230, 200, 115, .55);
}
.btn-gold:hover { box-shadow: 0 18px 46px rgba(216, 178, 74, .6); }

/* ---------- Galeria Life Center (justificada, sem corte) ---------- */
.gallery { display: flex; flex-direction: column; gap: 1rem; }
.gallery figure {
  margin: 0; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  aspect-ratio: var(--ar, 1);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.gallery figure:hover img { transform: scale(1.05); }
@media (min-width: 720px) {
  .gallery { flex-direction: row; align-items: stretch; height: clamp(300px, 27vw, 380px); }
  .gallery figure { flex: var(--ar, 1) 1 0; aspect-ratio: auto; height: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-985); color: var(--d-mute); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; border-bottom: 1px solid var(--d-line); }
.footer-brand img { width: 190px; height: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .92rem; line-height: 1.65; max-width: 24rem; }
.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-sans); font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.1rem;
}
.footer-nav ul { display: grid; gap: .65rem; }
.footer-nav a { font-size: .94rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--cyan-300); }
.footer-contact p { font-size: .94rem; line-height: 1.8; }
.footer-contact a { color: var(--cyan-300); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding: 1.6rem 0 2.2rem; font-size: .82rem; color: var(--d-mute); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #1faf5a, #128c43); color: #fff;
  box-shadow: 0 12px 30px rgba(18, 140, 67, .45); transition: transform .25s ease, box-shadow .25s ease;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 38px rgba(18, 140, 67, .55); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Cards de tratamento (clicáveis / expansíveis) ---------- */
.card-toggle {
  position: relative; display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer; font-family: inherit; color: inherit;
  padding: 1.9rem 1.8rem 1.5rem;
}
.card-chevron {
  position: absolute; top: 1.6rem; right: 1.4rem; color: var(--teal-700);
  display: grid; place-items: center; transition: transform .35s ease;
}
.card.is-open .card-chevron { transform: rotate(180deg); color: var(--gold-600); }
.card-toggle .card-icon { margin-bottom: 1.2rem; }
.card-title {
  display: block; font-family: var(--font-serif); font-size: 1.38rem; font-weight: 700;
  color: var(--ink); line-height: 1.2; margin-bottom: 0.3rem; padding-right: 1.6rem;
}
.card-sub {
  display: block; font-size: 0.71rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--gold-600);
}
.card-desc { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.4, 0, .2, 1); }
.card-desc-inner { padding: 0.1rem 1.8rem 1.7rem; }
.card-desc-inner p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.62; }
.card.is-open { border-color: rgba(13, 148, 136, .4); box-shadow: var(--shadow-md); }
.card.is-open .card-icon { color: var(--gold-600); }

/* ---------- Destaque (pioneirismo) na seção História ---------- */
.cred-highlight {
  display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.2rem 0 2rem;
  padding: 1rem 1.15rem; border-radius: 12px;
  background: rgba(20, 184, 166, 0.08); border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--ink); font-size: 0.95rem; line-height: 1.5;
}
.cred-highlight svg { flex-shrink: 0; color: var(--gold-600); margin-top: 2px; }

/* ---------- Depoimentos ---------- */
.section--soft { background: var(--white); }
.section-head--center { margin-inline: auto; text-align: center; }
.quotes { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.quote {
  position: relative; padding: 2rem 1.8rem 1.6rem; border-radius: var(--radius);
  background: var(--bone); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.quote-mark {
  position: absolute; top: 0.3rem; right: 1.3rem; font-family: var(--font-serif);
  font-size: 3.4rem; line-height: 1; color: rgba(13, 148, 136, 0.18);
}
.quote > p { color: var(--ink-soft); font-size: 1rem; line-height: 1.62; margin-bottom: 1.2rem; }
.quote footer { display: flex; align-items: center; gap: 0.6rem; }
.quote-name { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.quote--placeholder { border-style: dashed; }
.quote--placeholder > p,
.quote--placeholder .quote-name { color: var(--ink-mute); }

.quote-role { font-size: 0.85rem; color: var(--ink-mute); }

/* ---------- Carrossel de depoimentos (movimento automático) ---------- */
.testi-carousel {
  position: relative; overflow: hidden; margin-top: 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.testi-marquee { display: flex; width: max-content; animation: testi-scroll 90s linear infinite; }
.testi-marquee:hover { animation-play-state: paused; }
.testi-track { display: flex; flex-shrink: 0; }
.testi-card {
  flex-shrink: 0; width: 340px; margin-right: 1.5rem; display: flex; flex-direction: column;
  position: relative; padding: 1.9rem 1.8rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.testi-card .quote-mark {
  position: absolute; top: 0.4rem; right: 1.2rem; font-family: var(--font-serif);
  font-size: 3.2rem; line-height: 1; color: rgba(13, 148, 136, 0.16);
}
.testi-text { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.62; flex: 1; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.85rem; }
.testi-avatar {
  flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(4, 33, 31, 0.18);
}
.testi-meta { display: flex; flex-direction: column; min-width: 0; }
.testi-name { font-weight: 700; color: var(--ink); font-size: 0.92rem; line-height: 1.25; }
.testi-role { font-size: 0.78rem; color: var(--ink-mute); }
@keyframes testi-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .testi-marquee { animation: none; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .testi-track[aria-hidden="true"] { display: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 880px) {
  .intro-grid { grid-template-columns: 1.4fr .9fr; gap: 4rem; }
  .schedule-grid { grid-template-columns: 1.05fr .95fr; gap: 3.2rem; }
  .map-wrap { grid-template-columns: 1.5fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .diff-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Desktop nav vs mobile nav */
@media (max-width: 940px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); z-index: 110;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 6rem 1.7rem 2rem; background: rgba(4, 27, 25, .97); backdrop-filter: blur(16px);
    border-left: 1px solid var(--d-line); box-shadow: -20px 0 60px rgba(0,0,0,.4);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu > ul { flex-direction: column; gap: 0; }
  .nav-menu > ul li { border-bottom: 1px solid var(--d-line); }
  .nav-menu > ul a { display: block; padding: 1.05rem 0; font-size: 1.05rem; }
  .nav-menu-cta { display: inline-flex; margin-top: 1.6rem; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 105; background: rgba(3, 20, 18, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s ease;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 520px) {
  .card-toggle { padding: 1.5rem 1.4rem 1.2rem; }
  .card-desc-inner { padding: 0.1rem 1.4rem 1.4rem; }
  .card-title { font-size: 1.25rem; }
}

@media (max-width: 460px) {
  .brand-text { font-size: 1.12rem; }
  .brand-text small { letter-spacing: .18em; }
  .hero-trust { grid-template-columns: 1fr; gap: 1rem; }
  .hero-trust li { display: flex; align-items: baseline; gap: .7rem; }
  .hero-trust strong { font-size: 1.4rem; margin-bottom: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-scroll span { animation: none; }
}
