:root {
  --brand: #0e5b5a;
  --brand-2: #103f43;
  --brand-3: #d4a15f;
  --mint: #e7f3f1;
  --cream: #f6eee5;
  --ink: #173b3d;
  --muted: #688082;
  --line: #dbe8e6;
  --soft: #f6f9f8;
  --white: #fff;
  --shadow: 0 22px 70px rgba(16, 63, 67, 0.12);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.hidden {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 82px;
  padding: 14px clamp(16px, 4vw, 58px);
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 232, 230, 0.8);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #187874);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 26px #0e5b5a24;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
}
.brand small {
  font-size: 0.72rem;
  color: #6f8586;
  margin-top: 1px;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  padding: 10px 11px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  color: #436467;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--mint);
  color: var(--brand);
}
.header-actions {
  display: flex;
  gap: 8px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: #edf5f4;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.2rem;
  color: var(--brand);
  cursor: pointer;
}
.btn {
  border: 0;
  border-radius: 13px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand), #16766f);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 91, 90, 0.18);
}
.btn.ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
}
.btn.light {
  background: #fff;
  color: var(--brand);
}
.btn.secondary {
  background: var(--mint);
  color: var(--brand);
}
.btn.compact {
  padding: 10px 14px;
  font-size: 0.84rem;
}
.btn.small {
  padding: 9px 13px;
  font-size: 0.82rem;
}
.full {
  width: 100%;
}
main {
  overflow: hidden;
}
.hero,
.page-hero {
  max-width: 1450px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 110px) clamp(18px, 4vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}
.hero-copy h1,
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 4.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 14px 0 20px;
  color: #113c40;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.55rem);
}
.hero-copy > p,
.page-hero > div > p {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: #647d7f;
  max-width: 720px;
}
.eyebrow {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #b47b37;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 27px;
}
.hero-proof span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #3c6667;
  background: #f2f8f7;
  padding: 8px 10px;
  border-radius: 999px;
}
.hero-media,
.page-visual {
  position: relative;
  min-height: 520px;
}
.hero-media .photo {
  width: 82%;
  height: 500px;
  object-fit: cover;
  margin-left: auto;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.hero-illustration {
  position: absolute;
  width: 230px;
  left: 0;
  bottom: -18px;
  border-radius: 26px;
  box-shadow: 0 20px 50px #123f3f25;
  border: 8px solid #fff;
}
.floating-card {
  position: absolute;
  right: 8%;
  bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 17px;
  box-shadow: var(--shadow);
  display: grid;
}
.floating-card small {
  color: var(--muted);
}
.page-visual > img:first-child {
  width: 78%;
  margin-left: auto;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.page-visual .photo.inset {
  position: absolute;
  width: 52%;
  height: 240px;
  object-fit: cover;
  left: 0;
  bottom: 0;
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.compact-hero {
  grid-template-columns: 1.1fr 0.6fr;
}
.feature-illustration {
  width: min(520px, 100%);
  margin: auto;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.trust-strip {
  max-width: 1320px;
  margin: -20px auto 30px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #103f43;
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(16, 63, 67, 0.2);
}
.trust-strip div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-right: 1px solid #ffffff22;
}
.trust-strip div:last-child {
  border: 0;
}
.trust-strip b {
  font-size: 1.35rem;
  color: #f0c58d;
}
.trust-strip span {
  font-size: 0.82rem;
  color: #dbe9e8;
}
.section {
  padding: clamp(65px, 8vw, 105px) clamp(18px, 4vw, 62px);
  max-width: 1450px;
  margin: 0 auto;
}
.section.soft {
  max-width: none;
  background: linear-gradient(180deg, #f7faf9, #edf6f4);
}
.section.soft > * {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section-head h2,
.split-feature h2,
.showcase-copy h2,
.booking-copy h2,
.security-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  line-height: 1.08;
  margin: 8px 0 10px;
  letter-spacing: -0.03em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.journey-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px #0e5b5a0c;
  transition: 0.2s;
}
.journey-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.journey-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-card > div {
  padding: 22px;
}
.journey-card span {
  font-size: 0.72rem;
  font-weight: 800;
  color: #b47b37;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.journey-card h3 {
  font-size: 1.35rem;
  margin: 5px 0 8px;
}
.journey-card p {
  color: var(--muted);
  min-height: 48px;
}
.journey-card b {
  color: var(--brand);
  font-size: 0.87rem;
}
.card-grid,
.feature-grid,
.professional-grid,
.promo-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.specialty-card,
.procedure-card,
.professional-card,
.promo-card,
.value-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 34px #123f3f0b;
}
.specialty-card .image {
  height: 170px;
  background: linear-gradient(135deg, var(--mint), var(--cream));
  display: grid;
  place-items: center;
  font-size: 3rem;
  color: var(--brand);
}
.specialty-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.specialty-card .body,
.procedure-card,
.professional-card,
.promo-card {
  padding: 21px;
}
.specialty-card h3,
.procedure-card h3,
.professional-card h3,
.promo-card h3 {
  margin: 0 0 8px;
}
.specialty-card p,
.procedure-card p,
.professional-card p,
.promo-card p {
  color: var(--muted);
  font-size: 0.9rem;
}
.professional-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
}
.avatar {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand);
}
.procedure-card .procedure-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--mint);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 14px;
}
.promo-card {
  background: linear-gradient(160deg, #fff, #fbf5ee);
}
.promo-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #b47b37;
  margin: 10px 0 14px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.chip {
  background: #eef6f5;
  color: #2d6264;
  border: 1px solid #d9e9e7;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.8rem;
  font-weight: 700;
}
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-photo-stack {
  position: relative;
  min-height: 450px;
}
.feature-photo-stack > img:first-child {
  width: 82%;
  height: 420px;
  object-fit: cover;
  margin-left: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.feature-photo-stack > img:last-child {
  position: absolute;
  width: 42%;
  left: 0;
  bottom: -20px;
  border: 8px solid #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  color: #46696b;
}
.check-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #b47b37;
  font-weight: 900;
}
.promo-band {
  max-width: 1320px;
  margin: 40px auto;
  padding: 34px;
  border-radius: 30px;
  background: #103f43;
  color: #fff;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: center;
}
.promo-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  margin: 7px 0;
}
.promo-band p {
  color: #d2e2e1;
}
.promo-band .promo-card {
  color: var(--ink);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.steps-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.steps-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 23px;
  background: #fff;
}
.steps-grid span,
.value-grid span {
  font-size: 0.78rem;
  font-weight: 900;
  color: #b47b37;
}
.steps-grid h3,
.value-grid h3 {
  margin: 8px 0;
}
.steps-grid p,
.value-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}
.clinic-showcase {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 45px;
  align-items: center;
}
.gallery,
.clinic-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.gallery img,
.clinic-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.gallery img:first-child,
.clinic-gallery img:first-child {
  grid-row: 1/3;
}
.gallery img:last-child {
  object-fit: cover;
  background: var(--mint);
}
.clinic-gallery {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: 420px;
}
.clinic-gallery img:first-child {
  grid-row: auto;
}
.cta-panel {
  max-width: 1320px;
  margin: 40px auto 80px;
  padding: 40px 44px;
  border-radius: 30px;
  background: linear-gradient(135deg, #0e5b5a, #123d42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3.1vw, 2.8rem);
  margin: 6px 0;
}
.cta-panel p {
  color: #dcebea;
  margin: 0;
}
.value-grid {
  grid-template-columns: repeat(4, 1fr);
}
.value-grid article {
  padding: 23px;
}
.booking-section {
  padding-top: 30px;
}
.booking-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: start;
}
.booking-copy {
  position: sticky;
  top: 110px;
  padding: 28px;
  background: linear-gradient(145deg, #eff8f6, #f9f4ed);
  border-radius: 24px;
}
.mini-benefits {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.mini-benefits span {
  font-size: 0.86rem;
  color: #4c6b6d;
}
.inline-form,
.admin-like-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 40px #123f3f0b;
}
.exam-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.security-panel {
  background: linear-gradient(145deg, #103f43, #0e5b5a);
  color: #fff;
  border-radius: 26px;
  padding: 32px;
}
.security-panel .check-list li {
  color: #dbe9e8;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-grid label,
.form-stack label,
.modal-card label {
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #506d6f;
}
.form-grid input,
.form-grid select,
.form-grid textarea,
.form-stack input,
.modal-card input,
.modal-card select,
.modal-card textarea {
  width: 100%;
  border: 1px solid #cfe0de;
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.span-2 {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.form-status {
  min-height: 22px;
  margin: 0;
  color: #6a7f81;
}
.form-status.success {
  color: #1d7d60;
}
.form-status.error {
  color: #a13a3a;
}
.form-stack {
  display: grid;
  gap: 13px;
}
.site-footer {
  background: #0d3539;
  color: #eaf4f3;
  padding: 52px clamp(18px, 4vw, 62px) 26px;
}
.footer-grid {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 0.8fr;
  gap: 34px;
}
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
}
.site-footer p,
.site-footer a {
  color: #bcd0cf;
  font-size: 0.87rem;
}
.site-footer a {
  display: block;
  text-decoration: none;
  margin: 7px 0;
}
.site-footer a:hover {
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand strong,
.footer-brand small {
  display: block;
}
.footer-bottom {
  max-width: 1320px;
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid #ffffff1f;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.76rem;
  color: #9fb9b8;
}
.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  padding: 14px 17px;
  box-shadow: 0 16px 38px rgba(16, 90, 54, 0.25);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 36, 39, 0.68);
  display: none;
  place-items: center;
  padding: 18px;
  backdrop-filter: blur(5px);
}
.modal.open {
  display: grid;
}
.modal-card {
  position: relative;
  width: min(580px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 30px 90px #062d3266;
}
.modal-card.wide {
  width: min(900px, 100%);
}
.modal-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 6px 0 15px;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf5f4;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--brand);
}
.ai-messages {
  height: 310px;
  overflow: auto;
  background: #f5f8f8;
  border-radius: 17px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bubble {
  max-width: 83%;
  padding: 11px 13px;
  border-radius: 15px;
  background: #e9f3f2;
}
.bubble.user {
  align-self: flex-end;
  background: #103f43;
  color: #fff;
}
.ai-form {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}
.ai-form input {
  flex: 1;
}
.exam-results {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}
.exam-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
}
.exam-item p {
  margin: 4px 0;
}
.skeleton {
  height: 230px;
  border-radius: 22px;
  background: linear-gradient(90deg, #eef4f3, #f8fbfb, #eef4f3);
  background-size: 220% 100%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  to {
    background-position: -220% 0;
  }
}
@media (max-width: 1120px) {
  .site-header {
    gap: 12px;
  }
  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    display: none;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    text-align: center;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }
  .header-actions {
    margin-left: 0;
  }
  .hero,
  .page-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-media,
  .page-visual {
    min-height: auto;
  }
  .hero-media .photo {
    height: 460px;
  }
  .page-visual > img:first-child {
    width: 70%;
  }
  .page-visual .photo.inset {
    bottom: -15px;
  }
  .journey-grid,
  .card-grid,
  .feature-grid,
  .professional-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-feature,
  .clinic-showcase,
  .booking-shell,
  .exam-page-grid {
    grid-template-columns: 1fr;
  }
  .booking-copy {
    position: static;
  }
  .promo-band {
    grid-template-columns: 1fr;
  }
  .steps-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-strip div:nth-child(2) {
    border-right: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .clinic-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
  }
  .clinic-gallery img:first-child {
    grid-column: 1/3;
  }
  .compact-hero {
    grid-template-columns: 1fr;
  }
  .compact-hero .feature-illustration {
    max-width: 460px;
  }
}
@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
    padding: 11px 14px;
  }
  .brand small {
    display: none;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .site-nav {
    top: 72px;
  }
  .header-actions .ghost {
    display: none;
  }
  .header-actions .admin-entry {
    display: inline-flex;
    padding: 9px 11px;
  }
  .header-actions .primary {
    display: none;
  }
  .hero,
  .page-hero {
    padding: 48px 16px;
  }
  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }
  .hero-media .photo {
    width: 100%;
    height: 360px;
    border-radius: 24px;
  }
  .hero-illustration {
    width: 150px;
    bottom: -18px;
  }
  .floating-card {
    right: 8px;
    bottom: 16px;
  }
  .section {
    padding: 62px 16px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .journey-grid,
  .card-grid,
  .feature-grid,
  .professional-grid,
  .promo-grid,
  .value-grid,
  .steps-grid,
  .steps-grid.three {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    margin: -8px 14px 20px;
    grid-template-columns: 1fr;
    padding: 10px 15px;
  }
  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid #ffffff1f;
  }
  .trust-strip div:last-child {
    border-bottom: 0;
  }
  .split-feature {
    gap: 30px;
  }
  .feature-photo-stack {
    min-height: 370px;
  }
  .feature-photo-stack > img:first-child {
    width: 100%;
    height: 340px;
  }
  .promo-band,
  .cta-panel {
    margin: 24px 14px 55px;
    padding: 28px 22px;
    border-radius: 24px;
  }
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 160px;
  }
  .gallery img:first-child {
    grid-column: 1/3;
    grid-row: auto;
  }
  .clinic-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 230px 190px 190px;
  }
  .clinic-gallery img:first-child {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
  }
  .whatsapp-float span {
    display: none;
  }
  .page-visual > img:first-child {
    width: 88%;
  }
  .page-visual .photo.inset {
    position: relative;
    width: 70%;
    height: 180px;
    margin-top: -90px;
    border-width: 6px;
  }
  .modal-card {
    padding: 24px 18px;
  }
  .ai-form {
    flex-direction: column;
  }
}

/* PWA install experience */
.pwa-install-banner {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1200;
  width: min(680px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(14, 91, 90, 0.15);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(13, 50, 50, 0.22);
}
.pwa-install-banner[hidden],
.pwa-install-help[hidden] {
  display: none !important;
}
.pwa-install-banner > img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
}
.pwa-install-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.pwa-install-copy strong {
  font-size: 15px;
  color: #173b3a;
}
.pwa-install-copy span {
  font-size: 12px;
  color: #627a79;
}
.pwa-install-close {
  border: 0;
  background: transparent;
  color: #61706f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.pwa-install-help {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(5, 28, 28, 0.55);
  display: grid;
  place-items: end center;
  padding: 18px;
}
.pwa-install-help-card {
  position: relative;
  width: min(430px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}
.pwa-install-help-card > img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}
.pwa-install-help-card h2 {
  margin: 12px 0 8px;
}
.pwa-install-help-card p {
  color: #61706f;
  line-height: 1.55;
}
.pwa-install-help-card > .pwa-install-close {
  position: absolute;
  right: 10px;
  top: 8px;
}
@media (max-width: 640px) {
  .pwa-install-banner {
    align-items: center;
    padding: 11px 10px;
  }
  .pwa-install-copy strong {
    font-size: 14px;
  }
  .pwa-install-copy span {
    font-size: 11px;
  }
  .pwa-install-banner .btn {
    padding: 10px 12px;
    font-size: 12px;
  }
  .pwa-install-banner > img {
    width: 44px;
    height: 44px;
  }
  .pwa-install-close {
    font-size: 22px;
    padding: 4px;
  }
}

/* Verificação pública de documento */
.verification-page {
  min-height: calc(100vh - 80px);
  padding: 70px 18px;
  background: #f4f8f7;
}
.verification-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dce9e7;
  border-radius: 26px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 22px 60px rgba(13, 53, 57, 0.08);
}
.verification-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 8px 0 12px;
}
.verification-state {
  margin: 26px 0 14px;
  padding: 14px 16px;
  border-radius: 13px;
  background: #eef5f4;
  font-weight: 800;
}
.verification-state.ok {
  background: #e4f5eb;
  color: #17643c;
}
.verification-state.error {
  background: #fff0f0;
  color: #9f2626;
}
.verification-details {
  display: grid;
  gap: 10px;
  margin: 16px 0 24px;
}
.verification-details > div {
  padding: 13px 15px;
  border: 1px solid #e1ebea;
  border-radius: 13px;
}
.verification-details span,
.verification-details small {
  display: block;
  color: #6c8182;
  font-size: 0.78rem;
}
.verification-details strong {
  display: block;
  margin-top: 3px;
}
.verification-details code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 5px;
  font-size: 0.76rem;
}
.verification-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hidden {
  display: none !important;
}

/* ===== Tipografia responsiva Premium v2 · 2026-08-20 ===== */
.hero-copy h1 {
  font-size: clamp(2.35rem, 3.65vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 3.15vw, 3.05rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
  max-width: 820px;
}
.section-head h2,
.split-feature h2,
.showcase-copy h2,
.booking-copy h2,
.security-panel h2 {
  font-size: clamp(1.75rem, 2.45vw, 2.45rem);
  line-height: 1.1;
}
.cta-panel h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.55rem);
}
.promo-band h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.2rem);
}
.hero-copy > p,
.page-hero > div > p {
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.62;
}

/* Catálogo público de exames */
.exam-top-actions {
  margin-top: 24px;
}
.exam-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.exam-service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(16, 63, 67, 0.08);
  display: flex;
  flex-direction: column;
}
.exam-service-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.exam-service-placeholder {
  height: 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--cream));
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand);
}
.exam-service-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
}
.exam-service-body h3 {
  font-size: 1.28rem;
  margin: 0;
}
.exam-service-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.exam-service-body small {
  color: #61797b;
  line-height: 1.5;
}
.exam-price {
  font-size: 1.12rem;
  color: #a96f2f;
  margin-top: 2px;
}
.exam-service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.empty-exam-catalog {
  grid-column: 1/-1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  text-align: center;
  background: #fff;
}
.empty-exam-catalog p {
  color: var(--muted);
  margin-bottom: 0;
}
.exam-results-section {
  scroll-margin-top: 90px;
}
#exames-disponiveis {
  scroll-margin-top: 90px;
}
.service-card-image {
  width: calc(100% + 42px);
  height: 155px;
  object-fit: cover;
  margin: -21px -21px 18px;
  max-width: none;
}
.service-note {
  display: block;
  color: #60797a;
  line-height: 1.5;
  margin: -2px 0 14px;
}

@media (max-width: 980px) {
  .exam-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(1.9rem, 7.8vw, 2.28rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
  }
  .section-head h2,
  .split-feature h2,
  .showcase-copy h2,
  .booking-copy h2,
  .security-panel h2,
  .cta-panel h2,
  .promo-band h2 {
    font-size: clamp(1.55rem, 6.7vw, 1.98rem);
    line-height: 1.12;
  }
  .hero-copy > p,
  .page-hero > div > p {
    font-size: 0.96rem;
    line-height: 1.58;
  }
  .exam-catalog-grid {
    grid-template-columns: 1fr;
  }
  .exam-service-actions {
    grid-template-columns: 1fr;
  }
  .exam-service-card > img {
    height: 170px;
  }
  .exam-top-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .exam-top-actions .btn {
    width: 100%;
  }
}

.booking-slot-help {
  display: block;
  margin-top: 5px;
  color: #6b8586;
  font-size: 0.72rem;
  line-height: 1.35;
}
.booking-form select#bookingAvailableSlot {
  min-height: 46px;
}
.booking-form .hidden {
  display: none !important;
}

/* ===== Cards de especialidades legíveis · 2026-08-20 ===== */
.specialty-card {
  position: relative;
  display: grid;
  grid-template-rows: 260px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 42px rgba(16, 63, 67, 0.1);
}
.specialty-card .image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint), var(--cream));
  display: block;
}
.specialty-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.specialty-card .image:after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(13, 53, 57, 0.22), rgba(13, 53, 57, 0));
  pointer-events: none;
}
.specialty-card .body {
  position: relative;
  z-index: 2;
  margin: -58px 14px 14px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(219, 232, 230, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(15, 50, 54, 0.16);
}
.specialty-card .body .eyebrow {
  display: block;
  color: #a56f2e;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin: 0 0 5px;
  text-shadow: none;
}
.specialty-card .body h3 {
  margin: 0 0 7px;
  color: #123f43;
  font-size: 1.28rem;
  line-height: 1.18;
  font-weight: 800;
  text-shadow: none;
}
.specialty-card .body p {
  margin: 0 0 14px;
  color: #4d686a;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 0;
  text-shadow: none;
}
.specialty-card .body .specialty-book,
.specialty-card .body .btn {
  min-height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), #16766f);
  border: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(14, 91, 90, 0.18);
}
.specialty-card .body .specialty-book:hover,
.specialty-card .body .btn:hover {
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .specialty-card {
    grid-template-rows: 220px auto;
    border-radius: 20px;
  }
  .specialty-card .image {
    height: 220px;
  }
  .specialty-card .body {
    margin: -46px 11px 11px;
    padding: 15px 15px 14px;
    border-radius: 16px;
  }
  .specialty-card .body .eyebrow {
    font-size: 0.66rem;
  }
  .specialty-card .body h3 {
    font-size: 1.16rem;
  }
  .specialty-card .body p {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .specialty-card .body .specialty-book,
  .specialty-card .body .btn {
    min-height: 44px;
    font-size: 0.88rem;
  }
}

.ai-chat-action {
  display: inline-flex;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #0e6d62;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.78rem;
}

/* ===== Atendimento WhatsApp flutuante · Instância 1 ===== */
.whatsapp-float {
  right: 22px;
  bottom: max(20px, env(safe-area-inset-bottom));
  min-height: 60px;
  width: auto;
  padding: 7px 15px 7px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fbf67, #20a85c);
  color: #fff;
  box-shadow: 0 18px 42px rgba(19, 129, 72, 0.3);
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  isolation: isolate;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(19, 129, 72, 0.38);
}
.whatsapp-float:disabled {
  display: none !important;
}
.wa-attendant-avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #168552;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.13);
}
.wa-attendant-avatar svg {
  width: 33px;
  height: 33px;
  display: block;
}
.wa-attendant-label {
  display: grid;
  text-align: left;
  line-height: 1.05;
  padding-right: 2px;
}
.wa-attendant-label strong {
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  color: #fff;
}
.wa-attendant-label small {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 4px;
}
.whatsapp-float:after {
  content: '';
  position: absolute;
  right: 7px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #eaffef;
  border: 2px solid #20a85c;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}
@media (max-width: 720px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 6px;
    right: 14px;
    bottom: max(16px, env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
  }
  .wa-attendant-avatar {
    width: 46px;
    height: 46px;
  }
  .wa-attendant-label {
    display: none;
  }
  .whatsapp-float:after {
    right: 3px;
    top: 3px;
  }
}

/* ===== Identidade, CTAs e espaçamento responsivo · 2026-08-20 ===== */
.brand-mark.has-logo {
  background: #fff;
  box-shadow: none;
  border: 1px solid rgba(219, 232, 230, 0.9);
  overflow: hidden;
  padding: 3px;
}
.brand-mark.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}
.procedure-card .btn.ghost,
.service-card .btn.ghost {
  background: linear-gradient(135deg, #0e5b5a, #16766f);
  color: #fff;
  border-color: #0e5b5a;
  box-shadow: 0 10px 24px rgba(14, 91, 90, 0.18);
}
.procedure-card .btn.ghost:hover,
.service-card .btn.ghost:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(14, 91, 90, 0.26);
}
.procedure-card .procedure-icon {
  background: #0e5b5a;
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 91, 90, 0.16);
}
.page-hero {
  padding-top: clamp(34px, 5vw, 70px);
  padding-bottom: clamp(34px, 5vw, 70px);
}
.steps-grid {
  gap: 14px;
}
.steps-grid article {
  min-height: 0;
  padding: 20px 21px;
}
.steps-grid article > span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 11px;
  background: #e9f4f2;
  color: #0e5b5a;
  font-size: 0.76rem;
}
.steps-grid article h3 {
  margin: 12px 0 7px;
}
.steps-grid article p {
  margin: 0;
}
@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }
  .site-nav {
    top: 68px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .brand strong {
    font-size: 1rem;
  }
  .hero,
  .page-hero {
    padding: 30px 16px 28px;
    gap: 24px;
  }
  .section {
    padding: 42px 16px;
  }
  .section-head {
    margin-bottom: 22px;
  }
  .steps-grid {
    gap: 11px;
  }
  .steps-grid article {
    padding: 17px 18px;
    border-radius: 17px;
  }
  .steps-grid article h3 {
    font-size: 1.15rem;
    margin: 10px 0 6px;
  }
  .steps-grid article p {
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .procedure-card,
  .specialty-card {
    border-radius: 20px;
  }
  .procedure-card {
    padding: 18px;
  }
  .procedure-card .btn {
    min-height: 48px;
  }
}

/* ===== Tela de abertura premium do PWA ===== */
.pwa-launch-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #edf8f6;
  opacity: 0;
  transition: opacity 0.22s ease;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pwa-launch-splash.visible {
  opacity: 1;
}
.pwa-launch-splash.leaving {
  opacity: 0;
  pointer-events: none;
}
.pwa-launch-splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (orientation: landscape) {
  .pwa-launch-splash img {
    object-fit: contain;
    background: #edf8f6;
  }
}

/* PWA + atendimento WhatsApp + redes sociais - publicação 20/08 */
@media (max-width: 720px) {
  .whatsapp-float .wa-attendant-avatar {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .whatsapp-float .wa-attendant-label {
    display: none !important;
  }
}
.socials {
  align-items: center;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: 0.18s ease;
}
.socials a:hover,
.socials a:focus-visible {
  background: #fff;
  color: #0d3539;
  transform: translateY(-1px);
}
.pwa-footer-install {
  margin-top: 4px;
}
@media (max-width: 640px) {
  .socials a {
    padding: 10px 12px;
  }
  .pwa-install-banner {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .pwa-install-banner .pwa-install-copy span {
    display: none;
  }
}
