/*
Theme Name: Dr. Guilherme Franco
Theme URI: https://darkgrey-quetzal-358681.hostingersite.com/
Author: TCD Desenvolvedores
Description: Tema institucional do Dr. Guilherme Franco — Urologista.
Version: 1.3.0
Text Domain: guilherme-franco
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --teal-950: #063f42;
  --teal-900: #075054;
  --teal-800: #08636a;
  --teal-600: #0b9195;
  --teal-500: #0aa3a8;
  --teal-100: #dff3f1;
  --teal-50: #eff9f7;
  --ink: #163638;
  --muted: #607576;
  --cream: #f7f5f0;
  --white: #fff;
  --line: #d8e4e2;
  --shadow: 0 1.5rem 3.75rem rgb(6 63 66 / 12%);
  --radius-sm: 0.75rem;
  --radius-md: 1.5rem;
  --radius-lg: 2.25rem;
  --container: 78.125rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--ink);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: 'Manrope', sans-serif;
  line-height: 1.12;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 50px;
}

/* Layout das páginas internas (antecipado — evita imagens em tamanho natural se o CSS estiver incompleto em cache) */
.story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.page-split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.story-visual,
.page-split__visual {
  position: relative;
  overflow: hidden;
}

.story-grid .story-visual {
  align-self: stretch;
  min-height: 100%;
}

.story-grid .story-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
}

.page-split__visual img {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
}

body.page-fit-images .page-split__visual {
  min-height: clamp(16rem, 38vw, 32rem);
}

body.page-fit-images .page-split__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--teal-950);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  color: #d8eeee;
  background: var(--teal-950);
  font-size: 0.79rem;
}

.topbar__content {
  min-height: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar p {
  margin: 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.header {
  position: relative;
  z-index: 50;
  background: var(--teal-900);
}

.header__content {
  min-height: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  width: 13.4rem;
  height: auto;
  display: flex;
  align-items: center;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.25rem);
}

.nav > a:not(.button) {
  position: relative;
  color: #d7e8e8;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav--extended > a:not(.button) {
  font-size: clamp(0.72rem, 0.95vw, 0.84rem);
  line-height: 1.35;
}

.nav > a:not(.button)::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 0.125rem;
  background: var(--teal-500);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav > a:not(.button):hover::after,
.nav > a[aria-current='page']::after {
  transform: scaleX(1);
}

.menu-button {
  width: 2.75rem;
  height: 2.75rem;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 0.6rem;
  cursor: pointer;
}

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.menu-button span {
  width: 1.25rem;
  height: 0.125rem;
  display: block;
  background: currentColor;
  border-radius: 1rem;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle:focus-visible + .menu-button {
  outline: 0.18rem solid #62d8d5;
  outline-offset: 0.2rem;
}

.menu-toggle:checked + .menu-button span:nth-child(1) {
  transform: translateY(0.375rem) rotate(45deg);
}

.menu-toggle:checked + .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked + .menu-button span:nth-child(3) {
  transform: translateY(-0.375rem) rotate(-45deg);
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-0.125rem);
}

.button--header {
  min-height: 2.85rem;
  color: var(--teal-950);
  background: var(--white);
}

.button--primary {
  color: var(--white);
  background: var(--teal-800);
  box-shadow: 0 0.75rem 1.75rem rgb(7 80 84 / 18%);
}

.button--primary:hover {
  background: var(--teal-950);
}

.button--white {
  color: var(--teal-950);
  background: var(--white);
}

.icon {
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  display: block;
}

.button .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.button--header .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #f6f4ef 0%, #f6f4ef 61%, #e5f2ef 61%, #e5f2ef 100%);
}

.hero-decoration {
  position: absolute;
  top: 14%;
  left: 4%;
  width: 10rem;
  aspect-ratio: 1;
  border: 1px solid rgb(11 145 149 / 12%);
  border-radius: 50%;
}

.hero-grid {
  min-height: clamp(39rem, 72vw, 46rem);
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-block: 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--teal-800);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 1.75rem;
  height: 0.125rem;
  background: var(--teal-500);
}

.eyebrow--light {
  color: #79d0ce;
}

.hero-copy h1 {
  max-width: 100%;
  margin-bottom: 1.6rem;
  color: var(--teal-950);
  font-size: clamp(2.9rem, 5.4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-copy h1 em {
  color: var(--teal-600);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-text {
  max-width: 37rem;
  margin-bottom: 2.1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal-900);
  font-size: 0.9rem;
  font-weight: 600;
}

.text-link svg {
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(0.25rem);
}

.text-link--strong {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--teal-500);
}

.medical-registration {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  color: #718283;
  font-size: 0.78rem;
  font-weight: 600;
}

.medical-registration svg {
  color: var(--teal-600);
}

.medical-registration i {
  width: 0.25rem;
  height: 0.25rem;
  background: #9aabaa;
  border-radius: 50%;
}

.hero-visual {
  align-self: end;
  position: relative;
  height: calc(100% - 2.5rem);
}

.hero-image-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14rem 0 0;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(transparent, rgb(6 63 66 / 17%));
}

.hero-image-frame picture,
.hero-image-frame img {
  width: 100%;
  height: 100%;
}

.hero-image-frame img {
  object-fit: cover;
  object-position: 50% 20%;
}

.experience-card {
  position: absolute;
  z-index: 2;
  bottom: 2.25rem;
  left: 1.5rem;
  width: min(18rem, 78%);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: rgb(255 255 255 / 94%);
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(0.5rem);
}

.experience-card__icon {
  width: 3.35rem;
  height: 3.35rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal-600);
  border-radius: 50%;
  font-size: 1.15rem;
}

.experience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.experience-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}

.trust-strip {
  padding-block: 1.7rem;
  color: #dcecec;
  background: var(--teal-950);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  border-right: 1px solid rgb(255 255 255 / 14%);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border: 0;
}

.trust-grid span {
  color: #6fcbc9;
}

.trust-grid .icon {
  width: 2.35rem;
  height: 2.35rem;
}

.trust-grid p {
  margin: 0;
  color: #a8c1c1;
  font-size: 0.73rem;
  line-height: 1.45;
}

.trust-grid strong {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
}

.about {
  background: var(--white);
}

.about-grid,
.holep-grid {
  display: grid;
  grid-template-columns: 0.93fr 1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7.5rem);
}

.about-visual {
  position: relative;
}

.about-image {
  aspect-ratio: 0.95;
  overflow: hidden;
  border-radius: 0 7rem 0 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
}

@media (min-width: 48.0625rem) {
  .about-image img {
    object-position: 59% center;
    transform: scale(1.04);
  }
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -1.25rem;
  right: 0;
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid var(--teal-100);
  border-radius: 0 5rem 0 0;
}

.about-stamp {
  position: absolute;
  right: 0;
  bottom: -2rem;
  width: 7.2rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  color: var(--white);
  text-align: center;
  background: var(--teal-800);
  border: 0.5rem solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.about-stamp span {
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.about-stamp small {
  margin-top: 0.25rem;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-copy h2,
.holep-copy h2,
.appointment-copy h2 {
  max-width: 36rem;
  margin-bottom: 1.5rem;
  color: var(--teal-950);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.about-copy p,
.holep-copy > p {
  max-width: 38rem;
  color: var(--muted);
}

.about-copy .lead {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.75rem 0 2rem;
  padding: 0;
  list-style: none;
  color: #345759;
  font-size: 0.92rem;
  font-weight: 500;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.check-list svg {
  width: 1.2rem;
  color: var(--teal-600);
}

.check-list span {
  width: 1.2rem;
  color: var(--teal-600);
  font-weight: 700;
}

.specialties {
  color: var(--white);
  background: var(--teal-950);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3.25rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
}

.section-heading p {
  max-width: 34rem;
  margin: 0;
  color: #a9c1c1;
}

.section-heading--left {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.section-heading--left p.section-heading__highlight {
  max-width: 42rem;
  color: var(--teal-900);
  font-size: 1.05rem;
  font-weight: 600;
}

.specialties .section-heading--left p.section-heading__highlight {
  color: #d7e8e8;
}

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

.specialty-card {
  position: relative;
  min-height: 23rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  overflow: hidden;
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: var(--radius-sm);
  transition: background-color 200ms ease, transform 200ms ease;
}

.specialty-card:hover {
  transform: translateY(-0.35rem);
  background: rgb(255 255 255 / 8%);
}

.specialty-card--featured {
  color: var(--teal-950);
  background: var(--cream);
  border-color: var(--cream);
}

.specialty-card--featured:hover {
  background: var(--white);
}

.specialty-card__number {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  color: rgb(255 255 255 / 7%);
  font: 500 4.5rem/1 'Manrope', sans-serif;
}

.specialty-card--featured .specialty-card__number {
  color: rgb(7 80 84 / 7%);
}

.specialty-card__icon {
  width: 3.7rem;
  height: 3.7rem;
  display: grid;
  place-items: center;
  margin-bottom: 3rem;
  color: #79d0ce;
  background: rgb(121 208 206 / 10%);
  border: 1px solid rgb(121 208 206 / 22%);
  border-radius: 50%;
  font-size: 1.35rem;
}

.specialty-card--featured .specialty-card__icon {
  color: var(--white);
  background: var(--teal-700, #08757a);
}

.specialty-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.45rem;
  font-weight: 600;
}

.specialty-card p {
  margin-bottom: 1.8rem;
  color: #a9c1c1;
  font-size: 0.9rem;
}

.specialty-card--featured p {
  color: var(--muted);
}

.specialty-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: #79d0ce;
  font-size: 0.85rem;
  font-weight: 700;
}

.specialty-card--featured a {
  color: var(--teal-800);
}

.holep {
  background: var(--cream);
}

.holep-grid {
  grid-template-columns: 1fr 0.92fr;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin: 2rem 0 2.25rem;
}

.benefit-grid > div {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.benefit-grid svg {
  width: 1.1rem;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--white);
  background: var(--teal-600);
  border-radius: 50%;
}

.benefit-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.benefit-grid > div > span {
  width: 1.1rem;
  height: 1.1rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 0.2rem;
  color: var(--white);
  background: var(--teal-600);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.benefit-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
}

.holep-visual {
  position: relative;
}

.holep-visual > img {
  width: 100%;
  aspect-ratio: 1.06;
  object-fit: cover;
  border-radius: 7rem 0 0;
}

.holep-note {
  position: absolute;
  right: 0;
  bottom: -1.5rem;
  width: min(19rem, 85%);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem;
  color: var(--white);
  background: var(--teal-800);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.holep-note > svg {
  flex: 0 0 auto;
}

.holep-note > span {
  flex: 0 0 auto;
  font-size: 1.35rem;
}

.holep-note p {
  margin: 0;
  color: #cbe0e0;
  font-size: 0.74rem;
  line-height: 1.4;
}

.holep-note strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.appointment {
  padding-top: 0;
  background: var(--cream);
}

.appointment-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  align-items: center;
  gap: 4rem;
  padding: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 15%, rgb(255 255 255 / 8%) 0 12rem, transparent 12.1rem),
    var(--teal-800);
  border-radius: var(--radius-md);
}

.appointment-copy h2 {
  color: var(--white);
}

.appointment-copy p {
  max-width: 36rem;
  margin-bottom: 1.8rem;
  color: #c7dfdf;
}

.appointment-info {
  display: flex;
  gap: 1rem;
  padding-left: clamp(1rem, 4vw, 4rem);
  border-left: 1px solid rgb(255 255 255 / 20%);
}

.appointment-info > span {
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--teal-950);
  background: #79d0ce;
  border-radius: 50%;
}

.appointment-info .icon {
  width: 1.45rem;
  height: 1.45rem;
}

.appointment-info small,
.appointment-info strong {
  display: block;
}

.appointment-info small {
  color: #99c5c4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appointment-info strong {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.15rem;
}

.appointment-info p {
  color: #c7dfdf;
  font-size: 0.82rem;
}

.appointment-info a {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer {
  padding-top: 4.5rem;
  color: #a5bcbc;
  background: #052f32;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 0.9fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer h3 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-grid p {
  margin: 0;
}

.footer-brand img {
  width: 13rem;
}

.footer-brand > p {
  max-width: 19rem;
  margin: 0.7rem 0 1.25rem;
  font-size: 0.85rem;
}

.footer-brand > a {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
}

.footer-brand svg,
.footer-brand .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.footer-bottom {
  min-height: 4.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom__link {
  color: rgb(255 255 255 / 85%);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-bottom__link:hover,
.footer-bottom__link:focus {
  color: var(--white);
}

.legal-content__inner {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-content__inner h2 {
  margin: 2rem 0 0.75rem;
  color: var(--teal-950);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-content__inner h2:first-of-type {
  margin-top: 0;
}

.legal-content__inner ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-content__inner li + li {
  margin-top: 0.35rem;
}

.legal-content__inner a {
  color: var(--teal-600);
  font-weight: 600;
}

.legal-content__updated {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 45;
  right: 1.25rem;
  bottom: 1.25rem;
  min-height: 3.7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: var(--white);
  background: #168e66;
  border: 0.2rem solid var(--white);
  border-radius: 2rem;
  box-shadow: 0 0.8rem 2rem rgb(4 58 40 / 24%);
  font-size: 0.86rem;
  font-weight: 700;
}

.whatsapp-float svg,
.whatsapp-float .icon {
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
}

:focus-visible {
  outline: 0.18rem solid #62d8d5;
  outline-offset: 0.2rem;
}

@media (max-width: 64rem) {
  .topbar {
    display: none;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
  }

  .nav {
    position: fixed;
    inset: 6rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    visibility: hidden;
    opacity: 0;
    background: var(--teal-950);
    transform: translateX(100%);
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
  }

  .nav--open,
  .menu-toggle:checked ~ .nav {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .nav > a:not(.button) {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    font-size: 1rem;
  }

  .nav .button {
    margin-top: 1.5rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-image-frame {
    right: 0;
  }

  .experience-card {
    left: 1rem;
  }
}

@media (max-width: 48rem) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .section {
    padding-block: 50px;
  }

  .header__content {
    min-height: 5rem;
  }

  .brand {
    width: 11.3rem;
    height: auto;
  }

  .nav {
    top: 5rem;
  }

  .hero-section {
    background: var(--cream);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 2.5rem 0 4rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 8.2vw, 3.7rem);
    letter-spacing: -0.05em;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1.15rem;
  }

  .text-link {
    justify-content: center;
  }

  .medical-registration {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    height: 34rem;
    margin-left: 0;
    order: -1;
  }

  .hero-image-frame {
    inset: 0;
    border-radius: 7rem 0 0;
  }

  .hero-image-frame img {
    object-position: 50% 18%;
  }

  .experience-card {
    bottom: 1rem;
    left: 1rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .trust-grid > div,
  .trust-grid > div:first-child {
    padding: 0;
    border: 0;
  }

  .about-grid,
  .holep-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    aspect-ratio: 0.9;
    border-radius: 0 5rem 0 0;
  }

  .about-stamp {
    right: -0.5rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.3rem;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: 21rem;
  }

  .holep {
    padding-block: 50px;
  }

  .holep-grid {
    gap: 2.5rem;
  }

  .holep-visual > img {
    height: 14rem;
    aspect-ratio: auto;
    object-position: center 32%;
    border-radius: 4rem 0 0;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-block: 1.5rem;
  }

  .holep-visual {
    order: -1;
  }

  .holep-note {
    right: 0.75rem;
  }

  .appointment {
    padding-top: 0;
    padding-bottom: 0;
  }

  .appointment-card {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    border-radius: 0;
  }

  .appointment-info {
    padding: 2rem 0 0;
    border-top: 1px solid rgb(255 255 255 / 20%);
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding-top: 50px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

  .whatsapp-float > span {
    display: none;
  }

  .whatsapp-float {
    width: 4rem;
    height: 4rem;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float svg,
  .whatsapp-float .icon {
    width: 2.1rem;
    height: 2.1rem;
  }
}

@media (max-width: 28rem) {
  .hero-visual {
    height: 29rem;
  }

  .medical-registration {
    gap: 0.45rem;
    font-size: 0.7rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Páginas internas */
.page-hero {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, #d7efed 0%, #eef8f6 52%, #fff 100%);
}

.page-hero h1 {
  max-width: 40rem;
  margin-bottom: 1.1rem;
  color: var(--teal-950);
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-hero--contact h1 {
  max-width: 100%;
  font-size: clamp(1.65rem, 2.2vw + 1.15rem, 3.5rem);
  line-height: 1.08;
}

.page-hero--pos-operatorio {
  padding-block: clamp(1.5rem, 7vw, 1.5rem);
  background: linear-gradient(180deg, #d7efed 0%, #eef8f6 52%, #fff 100%);
}

.page-hero--pos-operatorio::after {
  content: none;
  display: none;
}

.page-hero--pos-operatorio + .orientacoes .orientacoes-index {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.page-hero h1 em {
  color: var(--teal-600);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.page-hero .lead,
.page-intro p,
.story-copy p {
  max-width: 42rem;
  color: var(--muted);
}

.page-hero .lead {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  color: #718283;
  font-size: 0.8rem;
  font-weight: 600;
}

.page-hero__meta i {
  width: 0.25rem;
  height: 0.25rem;
  background: #9aabaa;
  border-radius: 50%;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.page-split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.story-visual,
.page-split__visual {
  position: relative;
  overflow: hidden;
}

.story-grid .story-visual {
  height: auto;
  min-height: 100%;
  align-self: stretch;
}

.page-fit-images .page-split__visual {
  height: 100%;
  min-height: 100%;
}

.story-visual {
  border-radius: 0 7rem 0 0;
}

.page-split__visual {
  border-radius: 7rem 0 0;
}

.story-copy {
  align-self: start;
}

.page-split > :not(.story-visual):not(.page-split__visual) {
  align-self: center;
}

.story-grid .story-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0 7rem 0 0;
}

.page-split__visual img {
  width: 100%;
  height: 100%;
  max-height: 32rem;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0 7rem 0 0;
}

.page-split__visual img {
  object-position: center 42%;
  border-radius: 7rem 0 0;
}

.page-split__visual img.is-portrait {
  object-position: center 22%;
  transform: scale(1.22);
}

.page-fit-images .page-split {
  align-items: stretch;
}

.page-fit-images .page-split__visual {
  align-self: stretch;
}

.page-fit-images .page-split__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
}

.story-copy h2,
.page-split h2,
.faq h2,
.formation h2 {
  max-width: 34rem;
  margin-bottom: 1.4rem;
  color: var(--teal-950);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.story-copy .lead {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
}

.formation {
  background: var(--cream);
}

.credential-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
  align-items: start;
}

.credential-grid.credential-grid--stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #345759;
  font-size: 0.92rem;
}

.credential-grid span {
  width: 1.25rem;
  flex: 0 0 auto;
  color: var(--teal-600);
  font-weight: 700;
}

.memberships {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.memberships span {
  padding: 0.55rem 0.85rem;
  color: var(--teal-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.info-table {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.info-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.1rem 1.3rem;
  border-top: 1px solid var(--line);
}

.info-table div:first-child {
  border-top: 0;
}

.info-table strong {
  color: var(--teal-900);
  font-size: 0.82rem;
}

.info-table p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
}

.stat-card {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--teal-800);
  font-family: 'Manrope', sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.treatment-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.treatment-card--stack {
  min-height: auto;
}

.page-split--proctoria {
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 0;
}

.page-split--proctoria .page-split__visual {
  align-self: start;
}

.page-split--proctoria .proctoria-copy {
  align-self: start;
}

.page-split--proctoria .proctoria-photo {
  display: block;
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 7rem 0 0;
}

.proctoria-copy .proctoria-title {
  max-width: 34rem;
  margin: 0.35rem 0 1rem;
  color: var(--white);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.proctoria-copy .proctoria-highlight {
  max-width: 40rem;
  margin: 0 0 1.35rem;
  color: #d7e8e8;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
}

.orientacoes--compact {
  padding-top: 1.5rem;
}

.orientacoes--compact .orientacoes-index {
  margin-top: 0;
}

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

.treatment-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.treatment-card span {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  color: var(--white);
  background: var(--teal-800);
  border-radius: 50%;
  font-weight: 700;
}

.treatment-card h3 {
  margin-bottom: 0.8rem;
  color: var(--teal-950);
  font-size: 1.25rem;
}

.treatment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  padding: 0 1.25rem;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
}

.faq-list details[open] {
  border-color: var(--line);
  background: var(--white);
}

.faq-list summary {
  min-height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--teal-950);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--teal-600);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: '–';
}

.faq-list details p {
  max-width: 48rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.faq-group + .faq-group {
  margin-top: 3.5rem;
}

.proctoria-copy .lead {
  color: #d8eeee;
  font-weight: 600;
}

.proctoria-copy p {
  color: #a9c1c1;
}

.note-muted {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: var(--muted);
}

.appointment--page {
  padding-top: 50px;
  background: var(--white);
}

.contact-section {
  padding-top: 0;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 18rem;
  padding: 1.8rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.contact-card__icon {
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.8rem;
  color: var(--white);
  background: var(--teal-800);
  border-radius: 50%;
}

.contact-card__icon .icon {
  width: 1.7rem;
  height: 1.7rem;
}

.contact-card small {
  color: var(--teal-800);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card h2,
.contact-card h3 {
  margin: 0.4rem 0 0.7rem;
  color: var(--teal-950);
  font-size: 1.35rem;
}

.contact-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card .button,
.contact-card .text-link {
  margin-top: auto;
}

.contact-map {
  margin-top: 1rem;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius-md);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 28rem;
  border: 0;
}

.contact-map__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--teal-950);
  color: #d8eeee;
}

.contact-map__bar p {
  margin: 0;
  font-size: 0.88rem;
}

.contact-map__bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 48rem) {
  .story-grid,
  .page-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-split--visual-last .page-split__visual {
    order: -1;
  }

  .page-hero {
    position: relative;
    padding-block: 2.5rem;
  }

  .page-hero--pos-operatorio {
    padding-block: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .page-hero--blog-post {
    padding-block: 2rem 1.5rem;
  }

  .page-hero + .section {
    padding-top: 2rem;
  }

  .page-hero--contact h1 {
    font-size: clamp(1.5rem, 5.8vw, 2.4rem);
    line-height: 1.12;
  }

  .page-hero::after {
    content: none;
    display: none;
  }

  .story-visual,
  .page-split__visual {
    border-radius: 0 4rem 0 0;
  }

  .story-grid .story-visual img,
  .page-split__visual img,
  .page-fit-images .page-split__visual img {
    position: static;
    height: 22rem;
    max-height: 22rem;
    border-radius: 0 4rem 0 0;
  }

  .story-grid .story-visual {
    min-height: 0;
  }

  .credential-columns,
  .credential-grid,
  .stat-grid,
  .treatment-grid,
  .treatment-stack,
  .info-table div {
    grid-template-columns: 1fr;
  }

  .info-table div {
    gap: 0.4rem;
    padding: 1rem;
  }

  .treatment-card {
    min-height: auto;
  }

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

  .contact-card {
    min-height: auto;
  }

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

  .contact-map__bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .appointment--page {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .faq-list {
    gap: 0.65rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }
}

.orientacoes-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.orientacoes-index a {
  padding: 0.45rem 0.85rem;
  color: var(--teal-900);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--teal-50);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.orientacoes-index a:hover {
  background: var(--teal-100);
}

.orientacoes-index a.is-active {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: var(--white);
}

.orientacoes-placeholder {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1rem;
}

.orientacoes-list {
  display: grid;
  gap: 3rem;
}

.orientacoes-list .orientacoes-block {
  display: none;
}

.orientacoes-list .orientacoes-block:target,
.orientacoes-list .orientacoes-block.is-active {
  display: block;
}

.orientacoes-list:not(:has(.orientacoes-block:target, .orientacoes-block.is-active)) .orientacoes-block:first-child {
  display: block;
}

.orientacoes:has(.orientacoes-block:target) .orientacoes-placeholder {
  display: none;
}

.orientacoes-block {
  scroll-margin-top: 6rem;
  padding-top: 0.5rem;
}

.orientacoes-block h2 {
  margin-bottom: 1.25rem;
  color: var(--teal-950);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.orientacoes-section,
.orientacoes-alert {
  margin-bottom: 1.35rem;
}

.orientacoes-section h3,
.orientacoes-alert h3 {
  margin-bottom: 0.65rem;
  color: var(--teal-800);
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.orientacoes-section ul,
.orientacoes-alert ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.orientacoes-section li,
.orientacoes-alert li {
  margin-bottom: 0.45rem;
}

.orientacoes-section p,
.orientacoes-alert p {
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.orientacoes-alert {
  padding: 1rem 1.1rem;
  background: #fff8e8;
  border: 1px solid #f0dfa8;
  border-radius: var(--radius-sm);
}

@media (max-width: 48rem) {
  .orientacoes-index {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .orientacoes-list {
    gap: 2rem;
  }

  .orientacoes--compact {
    padding-top: 1.25rem;
  }
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-list > li {
  min-width: 0;
}

.blog-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  border-color: #c5dedd;
  box-shadow: 0 12px 28px rgb(7 80 84 / 8%);
}

.blog-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--teal-50);
  border-radius: calc(var(--radius-sm) - 1px) calc(var(--radius-sm) - 1px) 0 0;
}

.blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.03);
}

.blog-card__body {
  display: grid;
  flex: 1;
  gap: 0.55rem;
  padding: 1.2rem 1.3rem 1.35rem;
}

.blog-card time {
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  color: var(--teal-950);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.blog-card__link {
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--teal-800);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 64rem) {
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .blog-list {
    grid-template-columns: 1fr;
  }
}

.blog-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-breadcrumb a {
  color: var(--teal-800);
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-post__column {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.page-hero--blog-post {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.page-hero--blog-post h1 {
  max-width: none;
  margin-bottom: 0;
}

.blog-post__meta {
  margin: 0.75rem 0 0;
  color: #718283;
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-post.section {
  padding-top: 0;
}

.blog-post__content h2 {
  margin: 2rem 0 0.75rem;
  color: var(--teal-950);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.blog-post__content h2:first-child {
  margin-top: 0;
}

.blog-post__content p,
.blog-post__content li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.blog-post__content p {
  margin-bottom: 1rem;
}

.blog-post__content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.blog-post__content li {
  margin-bottom: 0.45rem;
}

.blog-post__note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.blog-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.blog-share__label {
  margin: 0 0 0.85rem;
  color: var(--teal-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-share__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-share__list a,
.blog-share__list button {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--teal-900);
  background: var(--teal-50);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-share__list a:hover,
.blog-share__list button:hover {
  color: var(--white);
  background: var(--teal-800);
  border-color: var(--teal-800);
}

.blog-share__list .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.blog-post__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.blog-related {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.blog-section-title {
  margin: 0 0 1.35rem;
  color: var(--teal-950);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
}

.blog-related-card {
  max-width: 52rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-related-card:hover {
  border-color: #c5dedd;
  box-shadow: 0 12px 28px rgb(7 80 84 / 8%);
}

.blog-related-card a {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10.5rem) minmax(0, 1fr);
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}

.blog-related-card__media {
  align-self: stretch;
  min-height: 100%;
  background: var(--teal-50);
}

.blog-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.blog-related-card__body {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: 1.1rem 1.25rem;
}

.blog-related-card__body time {
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-related-card__body h3 {
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.blog-related-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.blog-related-card__link {
  color: var(--teal-800);
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 40rem) {
  .blog-related-card a {
    grid-template-columns: minmax(6.5rem, 8.5rem) minmax(0, 1fr);
  }

  .blog-related-card__body {
    padding: 0.95rem 1rem;
  }
}

.blog-empty {
  max-width: 36rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  text-align: center;
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

.blog-empty__title {
  margin-bottom: 0.65rem;
  color: var(--teal-950);
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.blog-empty p {
  margin: 0;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
