/* ------------------------------------------------
   Clinolhos - Style
   Based on the original WordPress theme (tema-clinolhos)
   ------------------------------------------------ */

:root {
  --clin-navy: #123c68;
  --clin-ink: #3d5165;
  --clin-muted: #566a7d;
  --clin-blue: #1e73be;
  --clin-whats: #25d366;
  --clin-hairline: #e6edf4;
  --clin-card-shadow: 0 16px 34px -20px rgba(18, 60, 99, 0.4);
  --clin-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Work Sans", sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--clin-ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clin-blue); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #155a96; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; font-family: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -100px; left: 8px; z-index: 100; background: var(--clin-navy); color: #fff; padding: 8px 16px; border-radius: 4px; }
.skip-link:focus { top: 8px; }

/* ------------------------------------------------ */
/* HEADER                                           */
/* ------------------------------------------------ */

.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding img {
  max-width: 250px;
  height: auto;
}

.main-navigation-wrapper {
  display: flex;
  align-items: center;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.primary-menu li a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clin-ink);
  text-decoration: none;
  padding: 0.375rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--clin-ease), border-color 0.2s var(--clin-ease);
}

.primary-menu li a:hover {
  color: var(--clin-blue);
}

.primary-menu li.current-menu-item a {
  color: var(--clin-blue);
  border-bottom-color: var(--clin-blue);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clin-navy);
  border-radius: 2px;
  transition: transform 0.2s var(--clin-ease), opacity 0.2s var(--clin-ease);
}

@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .primary-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 80px 1.5rem 1.5rem;
    transition: right 0.3s var(--clin-ease);
  }

  .menu-open .primary-menu-wrapper {
    right: 0;
  }

  .primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .primary-menu li a {
    font-size: 1.125rem;
  }

  /* Overlay */
  .menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 998;
  }
}

/* ------------------------------------------------ */
/* FOOTER                                           */
/* ------------------------------------------------ */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--clin-hairline);
  padding: 2.5rem 1.5rem;
}

.site-info {
  text-align: center;
  color: var(--clin-muted);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--clin-navy);
  display: block;
  margin-bottom: 0.25rem;
}

/* ------------------------------------------------ */
/* HERO                                             */
/* ------------------------------------------------ */

.hero-section {
  position: relative;
  /* Em telas menores a foto permanece ao fundo, suavizada por um véu claro
     que garante o contraste do texto por cima */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 253, 0.9) 55%, rgba(233, 240, 247, 0.88) 100%),
    url("../img/hero-phoropter.webp") center 32% / cover no-repeat,
    linear-gradient(108deg, #ffffff 0%, #f7fafd 44%, #e9f0f7 100%);
  overflow: hidden;
}

@media (min-width: 1025px) {
  .hero-section {
    background:
      linear-gradient(90deg, #f8fafd 42%, rgba(248, 250, 253, 0) 70%),
      url("../img/hero-phoropter.webp") right center / cover no-repeat,
      linear-gradient(108deg, #ffffff 0%, #f7fafd 44%, #e9f0f7 100%);
  }
}

.hero-section::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -1px;
  height: clamp(3rem, 7vw, 6rem);
  background: #ffffff;
  border-radius: 100% 100% 0 0 / 200% 200% 0 0;
  pointer-events: none;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem clamp(5.5rem, 9vw, 8rem);
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
  animation: clin-rise 0.7s var(--clin-ease) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.05rem + 2.9vw, 3.375rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--clin-navy);
  text-wrap: balance;
  max-width: 17ch;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  color: var(--clin-ink);
  margin-bottom: 0.5rem;
}

.hero-cta {
  margin: 1.5rem 0 1.25rem;
}

.btn-whats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(180deg, #2bd06e 0%, #17b257 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  min-height: 3.5rem;
  padding: 1.125rem 2.75rem;
  border-radius: 999px;
  box-shadow: 0 14px 26px -14px rgba(28, 189, 93, 0.75);
  transition: transform 0.2s var(--clin-ease), box-shadow 0.2s var(--clin-ease), filter 0.2s var(--clin-ease);
}

/* Ícone do WhatsApp via ::before: sobrevive à substituição do texto
   pelo content-loader (que troca o innerHTML do botão) */
.btn-whats::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.04 3C9.4 3 4 8.36 4 14.95c0 2.1.56 4.15 1.63 5.96L4 27l6.28-1.63a12.1 12.1 0 0 0 5.76 1.46h.01c6.63 0 12.03-5.36 12.03-11.95A11.86 11.86 0 0 0 16.04 3zm0 21.82h-.01a10.1 10.1 0 0 1-5.12-1.4l-.37-.22-3.73.97 1-3.61-.24-.37a9.85 9.85 0 0 1-1.53-5.24c0-5.46 4.48-9.9 10-9.9a9.93 9.93 0 0 1 10 9.9c0 5.46-4.49 9.87-10 9.87zm5.49-7.4c-.3-.15-1.78-.87-2.06-.97-.27-.1-.47-.15-.67.15-.2.3-.78.97-.95 1.17-.18.2-.35.22-.65.07-.3-.15-1.27-.46-2.42-1.48-.9-.79-1.5-1.77-1.68-2.07-.17-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.5 0 1.47 1.07 2.89 1.22 3.09.15.2 2.11 3.22 5.11 4.51.72.31 1.28.49 1.71.63.72.23 1.37.2 1.89.12.58-.09 1.78-.73 2.03-1.43.25-.7.25-1.3.17-1.43-.07-.13-.27-.2-.57-.35z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.04 3C9.4 3 4 8.36 4 14.95c0 2.1.56 4.15 1.63 5.96L4 27l6.28-1.63a12.1 12.1 0 0 0 5.76 1.46h.01c6.63 0 12.03-5.36 12.03-11.95A11.86 11.86 0 0 0 16.04 3zm0 21.82h-.01a10.1 10.1 0 0 1-5.12-1.4l-.37-.22-3.73.97 1-3.61-.24-.37a9.85 9.85 0 0 1-1.53-5.24c0-5.46 4.48-9.9 10-9.9a9.93 9.93 0 0 1 10 9.9c0 5.46-4.49 9.87-10 9.87zm5.49-7.4c-.3-.15-1.78-.87-2.06-.97-.27-.1-.47-.15-.67.15-.2.3-.78.97-.95 1.17-.18.2-.35.22-.65.07-.3-.15-1.27-.46-2.42-1.48-.9-.79-1.5-1.77-1.68-2.07-.17-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.5 0 1.47 1.07 2.89 1.22 3.09.15.2 2.11 3.22 5.11 4.51.72.31 1.28.49 1.71.63.72.23 1.37.2 1.89.12.58-.09 1.78-.73 2.03-1.43.25-.7.25-1.3.17-1.43-.07-.13-.27-.2-.57-.35z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.btn-whats:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -14px rgba(28, 189, 93, 0.85);
  color: #fff;
}

.btn-whats:focus-visible {
  outline: 3px solid rgba(28, 189, 93, 0.45);
  outline-offset: 3px;
}

.hero-contact-hint {
  font-size: 0.9375rem;
  color: var(--clin-muted);
  margin-bottom: 1rem;
}

/* Phones card */
.hero-phones {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--clin-card-shadow);
  padding: 0.625rem 1.75rem;
  max-width: 540px;
}

.hero-phones-col {
  flex: 1 1 50%;
}

.hero-phones-col + .hero-phones-col {
  border-left: 1px solid var(--clin-hairline);
  padding-left: 1.625rem;
}

.hero-phones-col a {
  display: flex;
  align-items: center;
  padding: 0.875rem 0.125rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--clin-navy);
  text-decoration: none;
  transition: color 0.2s var(--clin-ease);
}

.hero-phones-col a:hover {
  color: var(--clin-blue);
}

.hero-phones-col a:first-of-type {
  border-bottom: 1px solid var(--clin-hairline);
}

.hero-phones-col a::before {
  margin-right: 8px;
  font-size: 1rem;
}

.hero-phones-col.whats a::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--clin-whats);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.04 3C9.4 3 4 8.36 4 14.95c0 2.1.56 4.15 1.63 5.96L4 27l6.28-1.63a12.1 12.1 0 0 0 5.76 1.46h.01c6.63 0 12.03-5.36 12.03-11.95A11.86 11.86 0 0 0 16.04 3zm0 21.82h-.01a10.1 10.1 0 0 1-5.12-1.4l-.37-.22-3.73.97 1-3.61-.24-.37a9.85 9.85 0 0 1-1.53-5.24c0-5.46 4.48-9.9 10-9.9a9.93 9.93 0 0 1 10 9.9c0 5.46-4.49 9.87-10 9.87zm5.49-7.4c-.3-.15-1.78-.87-2.06-.97-.27-.1-.47-.15-.67.15-.2.3-.78.97-.95 1.17-.18.2-.35.22-.65.07-.3-.15-1.27-.46-2.42-1.48-.9-.79-1.5-1.77-1.68-2.07-.17-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.5 0 1.47 1.07 2.89 1.22 3.09.15.2 2.11 3.22 5.11 4.51.72.31 1.28.49 1.71.63.72.23 1.37.2 1.89.12.58-.09 1.78-.73 2.03-1.43.25-.7.25-1.3.17-1.43-.07-.13-.27-.2-.57-.35z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.04 3C9.4 3 4 8.36 4 14.95c0 2.1.56 4.15 1.63 5.96L4 27l6.28-1.63a12.1 12.1 0 0 0 5.76 1.46h.01c6.63 0 12.03-5.36 12.03-11.95A11.86 11.86 0 0 0 16.04 3zm0 21.82h-.01a10.1 10.1 0 0 1-5.12-1.4l-.37-.22-3.73.97 1-3.61-.24-.37a9.85 9.85 0 0 1-1.53-5.24c0-5.46 4.48-9.9 10-9.9a9.93 9.93 0 0 1 10 9.9c0 5.46-4.49 9.87-10 9.87zm5.49-7.4c-.3-.15-1.78-.87-2.06-.97-.27-.1-.47-.15-.67.15-.2.3-.78.97-.95 1.17-.18.2-.35.22-.65.07-.3-.15-1.27-.46-2.42-1.48-.9-.79-1.5-1.77-1.68-2.07-.17-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.5 0 1.47 1.07 2.89 1.22 3.09.15.2 2.11 3.22 5.11 4.51.72.31 1.28.49 1.71.63.72.23 1.37.2 1.89.12.58-.09 1.78-.73 2.03-1.43.25-.7.25-1.3.17-1.43-.07-.13-.27-.2-.57-.35z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.hero-phones-col.call a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--clin-blue);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

/* ------------------------------------------------ */
/* SERVICES SECTION                                 */
/* ------------------------------------------------ */

.services-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 26%, #eef4f9 78%, #ffffff 100%);
}

.services-container {
  max-width: 1130px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(3.5rem, 7vw, 6rem);
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clin-blue);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 2.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clin-navy);
  text-wrap: balance;
  text-align: center;
  margin-bottom: 1.25rem;
}

.section-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--clin-ink);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.services-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clin-blue);
  margin-bottom: 0.375rem;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 700;
  color: var(--clin-navy);
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem 1.625rem 1.5rem;
  box-shadow: 0 12px 28px -18px rgba(18, 60, 99, 0.32);
  transition: transform 0.25s var(--clin-ease), box-shadow 0.25s var(--clin-ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px rgba(18, 60, 99, 0.42);
}

.service-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.125rem;
}

.service-card__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clin-navy);
  margin: 0 0 0.5rem;
}

.service-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--clin-muted);
  margin: 0;
}

.service-card__more {
  margin: 0.75rem 0 0;
}

.service-card__link {
  color: var(--clin-blue);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-card__link:hover {
  color: #155a96;
}

/* ------------------------------------------------ */
/* HOME - SERVICOS (cards expressivos)              */
/* ------------------------------------------------ */

.services-section .services-grid {
  gap: 1.75rem;
}

.services-section .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.875rem 1.75rem;
  border: 1px solid var(--clin-hairline);
  border-radius: 1.125rem;
  overflow: hidden;
}

/* Filete de destaque no topo, com tom próprio por card */
.services-section .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clin-blue), #6db1e8);
}

.services-section .service-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--clin-navy), var(--clin-blue));
}

.services-section .service-card:nth-child(3)::before {
  background: linear-gradient(90deg, #6db1e8, #a9d2f0);
}

/* Icone em area propria (chip arredondado) */
.services-section .service-card__icon {
  width: 4rem;
  height: 4rem;
  padding: 0.875rem;
  background: #e8f1fa;
  border-radius: 0.875rem;
  margin-bottom: 1.375rem;
}

.services-section .service-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.services-section .service-card__text {
  line-height: 1.7;
}

/* Link ancorado no rodape do card */
.services-section .service-card__more {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clin-hairline);
}

/* Card central levemente deslocado para quebrar a rigidez da grade */
@media (min-width: 782px) {
  .services-section .service-card:nth-child(2) {
    transform: translateY(-16px);
  }
}

@media (hover: hover) {
  .services-section .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(30, 115, 190, 0.35);
    box-shadow: 0 24px 40px -20px rgba(18, 60, 99, 0.45);
  }
}

@media (hover: hover) and (min-width: 782px) {
  .services-section .service-card:nth-child(2):hover {
    transform: translateY(-22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-section .service-card:hover {
    transform: none;
  }

  .services-section .service-card:nth-child(2),
  .services-section .service-card:nth-child(2):hover {
    transform: translateY(-16px);
  }
}

/* ------------------------------------------------ */
/* LINK COM SETA + VARIANTES DE ALINHAMENTO         */
/* ------------------------------------------------ */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.25rem;
  color: var(--clin-blue);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--clin-ease);
}

@media (hover: hover) {
  .link-arrow:hover {
    color: #155a96;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .link-arrow:hover::after {
    transform: translateX(4px);
  }
}

.link-arrow:focus-visible {
  outline: 3px solid rgba(30, 115, 190, 0.4);
  outline-offset: 3px;
}

.section-more {
  text-align: center;
  margin: 2.5rem 0 0;
}

.section-label--left {
  justify-content: flex-start;
  text-align: left;
}

.section-label--left::after {
  display: none;
}

.section-title--left {
  text-align: left;
}

.section-text--left {
  text-align: left;
  margin: 0 0 1rem;
}

/* ------------------------------------------------ */
/* BOTAO OUTLINE                                    */
/* ------------------------------------------------ */

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 2rem;
  border: 2px solid var(--clin-blue);
  border-radius: 999px;
  color: var(--clin-blue);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s var(--clin-ease), color 0.2s var(--clin-ease);
}

.btn-outline:hover {
  background: var(--clin-blue);
  color: #fff;
}

.btn-outline:focus-visible {
  outline: 3px solid rgba(30, 115, 190, 0.4);
  outline-offset: 3px;
}

/* ------------------------------------------------ */
/* HOME - CONVENIOS (painel dividido)               */
/* ------------------------------------------------ */

.home-convenios {
  background: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
}

.convenios-split {
  max-width: 1130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.convenios-split__intro .section-text--left {
  max-width: 46ch;
}

.convenios-split__note {
  font-size: 0.9375rem;
  color: var(--clin-muted);
  font-style: italic;
  margin-bottom: 1.75rem;
}

.convenios-split__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
}

.btn-whats--compact {
  min-height: 3rem;
  padding: 0.875rem 1.625rem;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Painel de marcas: grade tipográfica com divisores finos */
.convenios-split__panel {
  background: #fff;
  border: 1px solid var(--clin-hairline);
  border-radius: 1.125rem;
  box-shadow: 0 18px 40px -28px rgba(18, 60, 99, 0.35);
  overflow: hidden;
}

.convenios-marks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--clin-hairline);
}

.convenio-mark {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 1.375rem 1rem;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--clin-navy);
  letter-spacing: 0.01em;
  text-align: center;
}

@media (max-width: 900px) {
  .convenios-split {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* ------------------------------------------------ */
/* HOME - EXAMES (composicao assimetrica)           */
/* ------------------------------------------------ */

.home-exames-section {
  position: relative;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(30, 115, 190, 0.09), transparent 60%),
    linear-gradient(180deg, #f3f8fc 0%, #e9f0f7 55%, #f6f9fc 100%);
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  overflow: hidden;
}

/* Aneis concentricos discretos, remetendo a lentes/diagnostico */
.home-exames-section::before {
  content: "";
  position: absolute;
  top: -7rem;
  right: -7rem;
  width: 28rem;
  height: 28rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%231e73be' stroke-opacity='0.16'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='72'/%3E%3Ccircle cx='100' cy='100' r='48'/%3E%3Ccircle cx='100' cy='100' r='24'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.exames-head {
  position: relative;
  max-width: 1130px;
  margin: 0 auto 2.25rem;
}

.exames-head .section-text--left {
  margin-bottom: 0;
  max-width: 52ch;
}

/* Grade simples 2x2: todos os exames com o mesmo peso */
.exames-showcase {
  position: relative;
  max-width: 1130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.exames-showcase .exame-item {
  border-radius: 1rem;
  padding: 1.625rem 1.75rem;
  border-left: 3px solid rgba(30, 115, 190, 0.4);
}

.exames-showcase .exame-item h3 {
  font-size: 1.125rem;
}

.exames-showcase + .section-more {
  position: relative;
}

@media (max-width: 900px) {
  .exames-head {
    margin-bottom: 1.75rem;
  }

  .exames-showcase {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------ */
/* CONTACT SECTION                                  */
/* ------------------------------------------------ */

.contact-section {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 700;
  color: var(--clin-navy);
  margin-bottom: 1.75rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 1.625rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e8f1fa;
  color: var(--clin-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
}

.contact-info-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--clin-ink);
  margin: 0;
}

.contact-info-text a {
  color: var(--clin-ink);
  text-decoration: none;
}

.contact-info-text a:hover {
  color: var(--clin-blue);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 26.25rem;
  border-radius: 1rem;
  box-shadow: 0 14px 30px -20px rgba(18, 60, 99, 0.4);
}

.contact-privacy {
  margin: 1rem 0 0;
  font-size: 0.875rem;
}

.contact-privacy a {
  color: var(--clin-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-privacy a:hover {
  color: var(--clin-blue);
}

/* ------------------------------------------------ */
/* INNER PAGES                                      */
/* ------------------------------------------------ */

.page-content {
  max-width: 1130px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.page-content--narrow {
  max-width: 760px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.5rem);
  font-weight: 700;
  color: var(--clin-navy);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--clin-muted);
  margin-bottom: 2rem;
}

/* Convenios - grade de cards (usada na pagina e na previa da home) */
.convenios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.convenio-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: #fff;
  border: 1px solid var(--clin-hairline);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 20px -14px rgba(18, 60, 99, 0.3);
  transition: transform 0.2s var(--clin-ease), box-shadow 0.2s var(--clin-ease);
}

.convenio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(18, 60, 99, 0.4);
}

.convenio-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e8f1fa;
  color: var(--clin-blue);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.convenio-card__name {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--clin-navy);
}

.convenios-note {
  font-size: 0.9375rem;
  color: var(--clin-muted);
  font-style: italic;
}

/* Exames list (pagina de exames) */
.exames-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.exame-item {
  background: #fff;
  border: 1px solid var(--clin-hairline);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 12px -8px rgba(18, 60, 99, 0.1);
}

.exames-list .exame-item {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: 1rem;
  transition: transform 0.2s var(--clin-ease), box-shadow 0.2s var(--clin-ease), border-color 0.2s var(--clin-ease);
}

/* Marca d'agua discreta de aneis no canto do card */
.exames-list .exame-item::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 9rem;
  height: 9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%231e73be' stroke-opacity='0.12'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='64'/%3E%3Ccircle cx='100' cy='100' r='32'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

/* Slot de imagem no topo do card: basta adicionar "image" no JSON */
.exames-list .exame-item__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #eef4fa;
  border-radius: 0.75rem;
  margin-bottom: 1.375rem;
}

/* Sem imagem, o conteúdo centraliza no espaço esticado pela linha da grade */
.exames-list .exame-item:not(:has(.exame-item__img)) {
  justify-content: center;
}

.exames-list .exame-item h2 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.exames-list .exame-item p {
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

@media (hover: hover) {
  .exames-list .exame-item:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 115, 190, 0.35);
    box-shadow: 0 16px 30px -18px rgba(18, 60, 99, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .exames-list .exame-item {
    transition: none;
  }

  .exames-list .exame-item:hover {
    transform: none;
  }
}

.exame-item h2,
.exame-item h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--clin-navy);
  margin-bottom: 0.375rem;
}

.exame-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--clin-muted);
  margin: 0;
}

/* ------------------------------------------------ */
/* CTA DAS PAGINAS INTERNAS                         */
/* ------------------------------------------------ */

.page-cta {
  margin-top: 3rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: #f3f8fc;
  border-radius: 1rem;
  text-align: center;
}

.page-cta__text {
  font-size: 1.0625rem;
  color: var(--clin-ink);
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.services-grid--page {
  margin-bottom: 0;
}

/* Privacidade sections */
.privacidade-section {
  margin-bottom: 2rem;
}

.privacidade-section h2 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clin-navy);
  margin-bottom: 0.5rem;
}

.privacidade-section p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--clin-ink);
}

/* 404 page */
.error-content {
  text-align: center;
  padding: 6rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.error-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--clin-navy);
  margin-bottom: 1rem;
}

.error-text {
  font-size: 1.125rem;
  color: var(--clin-muted);
  margin-bottom: 2rem;
}

/* ANIMATIONS                                       */
/* ------------------------------------------------ */

@keyframes clin-rise {
  from { transform: translateY(16px); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
  .service-card { transition: none; }
  .service-card:hover { transform: none; }
  .btn-whats,
  .btn-whats:hover { transform: none; }
}

/* ------------------------------------------------ */
/* RESPONSIVE                                       */
/* ------------------------------------------------ */

@media (max-width: 1024px) {
  .hero-section .hero-container {
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
  }

  .hero-phones {
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 781px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .exames-list {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 20rem;
  }
}

@media (max-width: 560px) {
  .btn-whats {
    width: 100%;
  }

  .hero-phones {
    flex-direction: column;
    padding: 0.375rem 1.375rem;
  }

  .hero-phones-col {
    flex: 1 1 auto;
  }

  .hero-phones-col + .hero-phones-col {
    border-left: 0;
    border-top: 1px solid var(--clin-hairline);
    padding-left: 0;
  }

  .hero-phones-col a {
    justify-content: center;
  }
}
