﻿/* ═══════════════════════════════════════════════════════════
   VOE – Veiga Odontologia Especializada
   Design System – Dark Modern Theme
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0a1628;
  --bg2: #0f2240;
  --bg3: #163060;
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.11);
  --ink: #f0f6ff;
  --muted: rgba(195, 220, 255, 0.65);
  --line: rgba(160, 210, 255, 0.16);
  --accent: #a8d4ff;
  --accent2: #5eaaff;
  --green: #2fbf71;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
  --focus: #a8d4ff;
  --focus-bg: rgba(160, 210, 255, 0.14);
  --error: #ff6b6b;
}

/* ── Reset ────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
}

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

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

section[id],
.section[id] {
  scroll-margin-top: 90px;
}
.muted {
  color: var(--muted);
}

a:focus,
button:focus,
.btn:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* ── Top Bar ──────────────────────────────── */
.topbar {
  background: rgba(6, 14, 28, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}

.topbar__item {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar__link {
  opacity: 0.9;
  transition: opacity 0.15s;
}
.topbar__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.2);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(47, 191, 113, 0.06);
  }
}

/* ── Header ───────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 14, 28, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand__logo {
  width: 78px;
  height: auto;
  transition: filter 0.2s;
  display: block;
  filter: brightness(1.1);
}
.brand__logo:hover {
  filter: brightness(1.3) drop-shadow(0 2px 12px rgba(144, 196, 249, 0.4));
}

/* ── Nav ──────────────────────────────────── */
.nav {
  position: relative;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.nav__toggle:hover {
  background: var(--card);
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.2s;
}

.nav__list {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 10px;
  transition:
    background 0.15s,
    color 0.15s;
  font-weight: 500;
}
.nav__list a:hover,
.nav__list a:focus {
  background: var(--card);
  color: var(--ink);
}

.nav__list .btn--primary {
  color: #fff !important;
  background: var(--accent2);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(74, 158, 255, 0.35);
}
.nav__list .btn--primary:hover,
.nav__list .btn--primary:focus {
  background: #3a8de6;
  box-shadow: 0 6px 28px rgba(74, 158, 255, 0.5);
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  padding: 8px 16px;
  font-size: 0.92rem;
}

.btn--primary {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 8px 28px rgba(74, 158, 255, 0.3);
}
.btn--primary:hover,
.btn--primary:focus {
  background: #3a8de6;
  box-shadow: 0 12px 36px rgba(74, 158, 255, 0.45);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn--secondary:hover,
.btn--secondary:focus {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.btn--ghost:hover,
.btn--ghost:focus {
  background: var(--card);
  color: var(--ink);
  border-color: var(--accent);
}

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  padding: 56px 0 48px;
  background:
    radial-gradient(
      ellipse 80% 60% at 60% -10%,
      rgba(74, 158, 255, 0.12) 0%,
      transparent 70%
    ),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(144, 196, 249, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 18px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 160px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.stat:hover {
  background: var(--card-hover);
  border-color: rgba(144, 196, 249, 0.3);
}

.stat__num {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.4rem;
}
.stat__label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.hero__card {
  border-radius: var(--radius2);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero__cardInner {
  padding: 22px;
}
.hero__card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}
.hero__card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.checklist {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.mini {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* ── Secoes ───────────────────────────────── */
.section {
  padding: 80px 0;
  background: var(--bg);
}

.section--soft {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 36px;
}

.section__head h2 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--ink);
}

.section__head p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* ── Servicos ─────────────────────────────── */
.section--servicos {
  background: linear-gradient(160deg, #0f2240 0%, #1e4578 100%);
  padding: 10px 0 24px;
  scroll-margin-top: 0;
}

.section--servicos .section__head--center {
  text-align: center;
  margin-bottom: 10px;
  justify-content: center;
}

.section--servicos .section__head--center h2 {
  color: #fff;
  font-size: 2.4rem;
  margin: 8px 0 12px;
}

.section--servicos .section__head--center p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section__label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 999px;
  border: 1px solid rgba(144, 196, 249, 0.25);
  margin-bottom: 8px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
}

.servico-card--featured {
  grid-column: span 2;
  aspect-ratio: 2.5 / 1 !important;
}
.servico-card--featured .servico-card__title {
  font-size: 1.5rem;
}
.servico-card--featured .servico-card__overlay {
  padding: 32px 28px;
}

.servico-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
  transition:
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.3s ease;
  cursor: pointer;
}

.servico-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.44);
}

.servico-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin-bottom: 0;
  border-radius: 0;
  border: none;
  max-width: none;
  aspect-ratio: unset;
  box-shadow: none;
  background: #111;
}
.servico-card:hover .servico-card__img {
  transform: scale(1.1);
}

.servico-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 15, 50, 0.88) 0%,
    rgba(5, 15, 50, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px;
  transition: background 0.3s ease;
}
.servico-card:hover .servico-card__overlay {
  background: linear-gradient(
    to top,
    rgba(5, 15, 50, 0.94) 0%,
    rgba(5, 15, 50, 0.5) 55%,
    rgba(5, 15, 50, 0.1) 100%
  );
}

.servico-card__title {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 0 0 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.servico-card__cta {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.servico-card:hover .servico-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.servicos-cta {
  text-align: center;
  margin-top: 20px;
}
.servicos-cta .btn {
  font-size: 1rem;
  padding: 14px 36px;
  box-shadow: 0 10px 32px rgba(74, 158, 255, 0.4);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover,
.btn--whatsapp:focus {
  background: #1da851;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
}

/* ── Cards genericos ──────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.card:hover {
  background: var(--card-hover);
  border-color: rgba(144, 196, 249, 0.3);
}
.card h3 {
  margin: 0 0 8px;
  color: var(--ink);
}
.card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: rgba(144, 196, 249, 0.07);
}

.twoCol {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

/* ── Diferenciais ─────────────────────────── */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: #b6cff4;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius);
  padding: 28px 22px;
  color: #111;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(144, 196, 249, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.feature:hover {
  background: #c5d9f5;
  border-color: rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feature h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 1.1rem;
  font-weight: 700;
}
.feature p {
  margin: 0;
  color: #333;
  line-height: 1.65;
  font-size: 0.97rem;
}

/* ── Tabs Procedimentos ───────────────────── */
.tabs-proc {
  max-width: 900px;
  margin: 0 auto 48px;
}

.tabs-proc__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  justify-content: center;
}

.tabs-proc__tab {
  background: none;
  border: none;
  font: inherit;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 20px 12px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  outline: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs-proc__tab:hover {
  color: var(--ink);
  background: var(--card);
}
.tabs-proc__tab[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(144, 196, 249, 0.06);
}
.tabs-proc__tab:focus {
  box-shadow: 0 0 0 2px var(--focus);
}

.tabs-proc__panel {
  display: none;
  padding: 0;
  animation: fadeIn 0.3s;
}
.tabs-proc__panel[aria-hidden="false"] {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.tabs-proc__img {
  width: 340px;
  max-width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  margin-bottom: 18px;
}

.tabs-proc__content {
  flex: 1 1 260px;
  min-width: 220px;
}
.tabs-proc__title {
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.tabs-proc__subtitle {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.tabs-proc__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ── Avaliacoes ───────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.testimonial {
  background: #b6cff4;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius);
  padding: 24px 20px;
  color: #111;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(20, 40, 80, 0.18);
  font-family: "Playfair Display", serif;
  pointer-events: none;
}
.testimonial:hover {
  background: #c5d9f5;
  border-color: rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
}
.testimonial p {
  margin: 12px 0 14px;
  line-height: 1.7;
  color: #333;
  font-size: 0.97rem;
}
.testimonial span {
  font-size: 13px;
  color: #1a3a6b;
  font-weight: 600;
}

.highlights-row {
  grid-column: 1 / -1;
}

.highlights {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  width: 100%;
}

.highlight {
  flex: 1;
  background: #b6cff4;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-left: 5px solid #1056c0;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background 0.2s;
}
.highlight:hover {
  background: #c5d9f5;
}
.highlight strong {
  color: #111;
  font-size: 0.95rem;
}
.highlight span {
  color: #333;
  font-size: 0.9rem;
}

.quoteBox {
  background: #b6cff4;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  color: #111;
}
.quoteBox__inner {
  padding: 28px 24px;
}

.quote {
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  line-height: 1.55;
  margin: 0 0 20px;
  color: #111;
}

.quoteAuthor {
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg3), var(--accent2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Sobre – Layout ───────────────────────── */
.sobre-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sobre-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.sobre-cols__text p {
  font-size: 1.13rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.sobre-cols__list ul {
  margin: 0;
  padding-left: 18px;
  list-style: square;
  font-size: 1.05rem;
  line-height: 1.7;
}

.sobre-equipe {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.sobre-equipe__foto {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  min-height: 360px;
}

.sobre-equipe__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Contato ──────────────────────────────── */
.contato-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 18px;
}

.contato-top > * {
  height: 100%;
}

.contactCards {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  height: 100%;
}

.contactCard {
  background: #b6cff4;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  color: #111;
  display: flex;
  align-items: center;
  gap: 14px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.contactCard[href]:hover {
  background: #c5d9f5;
  border-color: rgba(0, 0, 0, 0.22);
}

.contactCard__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contactCard strong {
  color: #111;
  display: block;
  margin-bottom: 2px;
}

/* Formulario */
.form {
  background: #b6cff4;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius2);
  padding: 22px;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 14px;
  font-weight: 500;
}

.form input,
.form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.5);
  outline: none;
  color: #111;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
.form input::placeholder,
.form textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}
.form input:focus,
.form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(144, 196, 249, 0.12);
}

.form-error {
  border-color: var(--error) !important;
}
.form-error-msg {
  color: var(--error);
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* ── Textos internos nos cards com fundo azul ─ */
.feature *,
.testimonial *,
.highlight *,
.quoteBox *,
.contactCard *,
.form * {
  color: inherit;
}
.feature .muted,
.testimonial .muted,
.highlight .muted,
.quoteBox .muted,
.contactCard .muted,
.form .muted {
  color: #444;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mapBox {
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 420px;
  background: var(--card);
  box-shadow: var(--shadow);
  margin-top: 28px;
}
.mapBox iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8);
  opacity: 0.85;
}

/* ── Procedimentos Grid ───────────────────── */
.procedimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.procedimento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.procedimento-card:hover {
  background: var(--card-hover);
  border-color: rgba(144, 196, 249, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.36);
}
.procedimento-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.procedimento-card__body {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.procedimento-card__title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}
.procedimento-card__subtitle {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.procedimento-card__desc {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ── Footer ───────────────────────────────── */
.footer {
  background: #040b18;
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 36px;
}
.footer__brand img {
  width: 110px;
  filter: brightness(1.2);
}
.footer__brand p {
  margin: 12px 0 0;
  color: rgba(190, 215, 255, 0.55);
  max-width: 40ch;
  font-size: 0.93rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 20px;
}
.footer__cols strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer__cols a,
.footer__cols span {
  display: block;
  margin-bottom: 8px;
  color: rgba(190, 215, 255, 0.6);
  font-size: 0.93rem;
}
.footer__cols a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer__bottomInner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: rgba(190, 215, 255, 0.4);
  font-size: 13px;
}

/* ── WhatsApp Float ───────────────────────── */
.waFloat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: #1dbf73;
  color: white;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(29, 191, 115, 0.4);
  font-weight: 700;
  font-size: 0.93rem;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.waFloat:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(29, 191, 115, 0.55);
}

/* ── Vantagens ────────────────────────────── */
.vantagens-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(144, 196, 249, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.vantagens-row::-webkit-scrollbar {
  height: 4px;
}
.vantagens-row::-webkit-scrollbar-thumb {
  background: rgba(144, 196, 249, 0.3);
  border-radius: 8px;
}

.vantagem-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 180px;
  max-width: 220px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.vantagem-card:hover {
  background: var(--card-hover);
  border-color: rgba(144, 196, 249, 0.3);
  transform: translateY(-3px);
}

.vantagem-card__img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}
.vantagem-card__title {
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 5px;
}
.vantagem-card__desc {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ── Animations ───────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1100px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .servico-card--featured {
    grid-column: span 3;
    aspect-ratio: 21/9 !important;
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .twoCol {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sobre-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sobre-equipe {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sobre-equipe__foto {
    min-height: 280px;
  }
  .contato-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer__cols {
    grid-template-columns: 1fr;
  }
  .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  section[id],
  .section[id] {
    scroll-margin-top: 70px;
  }
  .brand__logo {
    width: 54px;
  }
  .vantagem-card {
    min-width: 140px;
    max-width: 180px;
  }
}

@media (max-width: 760px) {
  .header__inner {
    min-height: 56px;
  }
  .brand__logo {
    width: 38px;
  }
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0f2240;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
    padding: 16px;
    gap: 6px;
    min-width: 200px;
    display: none;
    z-index: 200;
    backdrop-filter: blur(16px);
  }
  .nav__list.is-open {
    display: flex;
  }
  .nav__list a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }
}

@media (max-width: 700px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .servico-card--featured {
    grid-column: span 2;
    aspect-ratio: 16/9 !important;
  }
  .servico-card--featured .servico-card__title {
    font-size: 1.2rem;
  }
  .section--servicos .section__head--center h2 {
    font-size: 1.8rem;
  }
  .servico-card__overlay {
    padding: 14px 12px;
  }
  .servico-card__title {
    font-size: 0.95rem;
  }
  .tabs-proc__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(
      to right,
      transparent,
      #000 24px,
      #000 calc(100% - 24px),
      transparent
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      #000 24px,
      #000 calc(100% - 24px),
      transparent
    );
  }
  .tabs-proc__nav::-webkit-scrollbar {
    display: none;
  }
  .tabs-proc__panel[aria-hidden="false"] {
    flex-direction: column;
    gap: 18px;
  }
  .tabs-proc__img {
    width: 100%;
  }
  .procedimentos-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 54px 0;
  }
}

@media (max-width: 420px) {
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .servico-card--featured {
    grid-column: span 1;
    aspect-ratio: 4/3 !important;
  }
  .servico-card {
    aspect-ratio: 4/3;
  }
}
