/* ==========================================================
   Dr. Rafael Gontijo — estilos globais
   ========================================================== */

:root {
  /* paleta */
  --beige: #f3ebe0;            /* seções claras */
  --green-dark: #1d2823;       /* seções escuras */
  --hero-bg: #141b18;
  --header-bg: #61736e;
  --brand-green: #61736e;      /* barra superior e cartões clicáveis */
  --sage: #c6d7a3;             /* destaque "Gontijo" */
  --sage-icon: #a9c98a;
  --olive-1: #5a7a1c;
  --olive-2: #8eab25;
  --olive-3: #a7c43c;
  --lime-line: #b4d05a;
  --white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.88);

  /* tipografia */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --header-h: clamp(60px, 4vw, 76px);
  --gutter: clamp(16px, 4.1vw, 84px);
  --max: 1680px;
}

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

html { scroll-behavior: smooth; }

/* links do menu rolam até a seção sem ficar escondida atrás do header */
section[id] { scroll-margin-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.br-desk { display: inline; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease;
}
.header.is-scrolled { background: var(--header-bg); box-shadow: 0 4px 22px rgba(0, 0, 0, 0.22); }

.header__inner {
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo__mark {
  width: clamp(36px, 2.6vw, 50px);
  height: clamp(36px, 2.6vw, 50px);
  color: var(--white);
  flex-shrink: 0;
}
.logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.logo__name {
  font-size: clamp(17px, 1.25vw, 24px);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.logo__role {
  font-size: clamp(10px, 0.65vw, 12px);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 4px;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* tracinhos dos dois lados de "Dermatologista" */
.logo__role::before,
.logo__role::after {
  content: "";
  width: 12px;
  height: 1px;
  background: currentColor;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 44px);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: clamp(13px, 0.95vw, 17px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime-line);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================
   HERO / INÍCIO
   ========================================================== */
.hero {
  position: relative;
  min-height: max(100vh, 720px);
  padding-top: var(--header-h);
  background: var(--hero-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* foto original */
.hero__media {
  position: absolute;
  top: var(--header-h);
  bottom: 0;
  left: 26%;
  right: 0;
  z-index: -3;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
          mask-image: linear-gradient(to right, transparent 0%, #000 32%);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.28);
  transform-origin: 50% 62%;
}

/* sombreamento para legibilidade e clima escuro */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 20, 18, 0.92) 0%, rgba(14, 20, 18, 0.55) 34%, rgba(14, 20, 18, 0.05) 60%, rgba(14, 20, 18, 0.15) 100%),
    linear-gradient(0deg, rgba(14, 20, 18, 0.55) 0%, rgba(14, 20, 18, 0) 40%),
    rgba(14, 20, 18, 0.18);
}

/* botão de play sobre a foto */
.play-btn {
  position: absolute;
  z-index: 3;
  left: 63%;
  top: 68%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 5.6vw, 104px);
  height: clamp(64px, 5.6vw, 104px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.play-btn__icon {
  width: 38%;
  height: 38%;
  margin-left: 6%;
}
.play-btn__pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid rgba(180, 208, 90, 0.8);
  animation: play-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: linear-gradient(135deg, var(--olive-2), var(--olive-3));
  box-shadow: 0 0 36px rgba(160, 205, 45, 0.55);
}
.play-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 6px;
}
@keyframes play-pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* popup do vídeo */
.video-modal {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  overflow: visible;
}
.video-modal::backdrop {
  background: rgba(8, 12, 10, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.video-modal[open] { animation: modal-in 0.3s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.video-modal__box {
  position: relative;
  line-height: 0;
}
.video-modal__video {
  display: block;
  width: auto;
  height: auto;
  min-width: min(300px, 90vw);
  max-width: min(92vw, 1200px);
  max-height: 84vh;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.video-modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-modal__close svg { width: 20px; height: 20px; }
.video-modal__close:hover { background: rgba(255, 255, 255, 0.22); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

/* anéis decorativos */
.hero__decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.ring--1 {
  width: 58vw;
  height: 58vw;
  left: -14vw;
  top: calc(var(--header-h) + 6vw);
}
.ring--2 {
  width: 46vw;
  height: 46vw;
  right: -30vw;
  top: 46%;
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vh, 90px) var(--gutter) clamp(32px, 5vh, 80px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__eyebrow {
  font-size: clamp(10px, 0.75vw, 14px);
  font-weight: 500;
  letter-spacing: 0.72em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: clamp(10px, 1.2vw, 24px);
}

.hero__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(36px, min(4vw, 7.5vh), 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero__lead,
.hero__text,
.btn-cta { margin-left: clamp(4px, 0.7vw, 14px); }

.hero__lead {
  margin-top: clamp(12px, 1.1vw, 22px);
  font-size: clamp(18px, 1.55vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

.hero__text {
  margin-top: clamp(14px, 1.5vw, 28px);
  font-size: clamp(14px, 1.05vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-soft);
}

/* botão Agendar consulta */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 20px);
  margin-top: clamp(22px, 2vw, 38px);
  padding: clamp(9px, 0.7vw, 13px) clamp(12px, 1vw, 18px) clamp(9px, 0.7vw, 13px) clamp(18px, 1.6vw, 28px);
  border-radius: 999px;
  border: 1px solid rgba(214, 238, 140, 0.55);
  background: linear-gradient(90deg, var(--olive-1) 0%, var(--olive-2) 65%, var(--olive-3) 100%);
  box-shadow:
    0 0 24px rgba(150, 192, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 0 34px rgba(160, 205, 45, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}
.btn-cta__icon {
  width: clamp(22px, 1.6vw, 30px);
  height: clamp(22px, 1.6vw, 30px);
  flex-shrink: 0;
}
.btn-cta__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
}
.btn-cta__text strong {
  font-size: clamp(15px, 1.1vw, 20px);
  font-weight: 600;
}
.btn-cta__text span {
  font-size: clamp(11px, 0.8vw, 14px);
  font-weight: 400;
  opacity: 0.95;
}
.btn-cta__arrow {
  width: clamp(24px, 1.7vw, 32px);
  height: clamp(24px, 1.7vw, 32px);
  margin-left: clamp(8px, 1vw, 20px);
  border: 1.5px solid var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.btn-cta__arrow svg { width: 55%; height: 55%; }
.btn-cta:hover .btn-cta__arrow { transform: translateX(4px); }

/* faixa de credenciais */
.hero__bar {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(16, 24, 21, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(12px, 0.9vw, 18px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 52px);
}

.credential {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
}
.credential__photo {
  width: clamp(72px, 6.5vw, 128px);
  height: clamp(72px, 6.5vw, 128px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.credential__info p {
  white-space: nowrap;
  font-size: clamp(13px, 0.9vw, 17px);
  line-height: 1.45;
  color: var(--text-soft);
}
.credential__info .credential__crm {
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.hero__bar-divider {
  width: 1px;
  align-self: stretch;
  margin: clamp(12px, 1.6vw, 32px) 0;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.achievement {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 28px);
  min-width: 0;
}
.achievement__icon {
  width: clamp(30px, 2.3vw, 46px);
  height: auto;
  color: #8a9b96; /* #61736E um pouco mais claro */
  flex-shrink: 0;
}
.achievement p {
  max-width: 36em;
  font-size: clamp(13px, 1vw, 19px);
  line-height: 1.45;
  color: var(--text-soft);
}
.achievement strong { color: var(--white); font-weight: 700; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (min-width: 1200px) {
  :root { --max: 100%; }
}

@media (max-width: 1320px) {
  .nav__list { gap: 18px; }
  .nav__link { font-size: 13px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }
  .nav.is-open { max-height: 480px; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 18px;
  }
  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav__link::after { bottom: 8px; right: auto; width: 32px; }
}

@media (max-width: 860px) {
  .br-desk { display: none; }
  .hero { min-height: 0; }

  /* foto fica no topo e esmaece para o fundo escuro */
  .hero__media {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: min(96vw, 620px);
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  }
  .hero__media img { object-position: 50% 40%; transform: scale(1.15); transform-origin: 50% 55%; }

  .play-btn {
    left: 50%;
    top: calc(var(--header-h) + min(96vw, 620px) * 0.6);
    width: 64px;
    height: 64px;
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(14, 20, 18, 0.35) 0%, rgba(14, 20, 18, 0) 50%);
  }

  .ring--1 { width: 120vw; height: 120vw; left: -60vw; top: 70vw; }
  .ring--2 { width: 90vw; height: 90vw; right: -60vw; top: 20vw; }

  .hero__content {
    margin-top: calc(min(96vw, 620px) * -0.2);
    padding-top: 0;
    padding-bottom: 40px;
  }
  .hero__eyebrow { letter-spacing: 0.55em; }
  .hero__title { font-size: clamp(26px, 7.6vw, 56px); }

  .hero__lead,
  .hero__text,
  .btn-cta { margin-left: 0; }


  .hero__bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 32px;
  }
  .credential {
    flex-direction: column;
    gap: 14px;
  }
  .hero__bar-divider {
    width: 60%;
    max-width: 280px;
    height: 1px;
    margin: 0;
    align-self: center;
  }
  .achievement {
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
  }
}

@media (max-width: 420px) {
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 18px; }
  .logo__role { font-size: 11px; }
  .credential { gap: 16px; }
  .credential__photo { width: 84px; height: 84px; }
}

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

/* ==========================================================
   CIRURGIA DE MOHS (seção clara)
   ========================================================== */
:root {
  --ink: #1f2a26;
  --ink-soft: #4b544f;
  --teal: #2a9d8f;
  --card-dark-1: #61736e;
  --card-dark-2: #61736e;
}

.mohs {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  color: var(--ink);
  padding: clamp(56px, 6vw, 110px) var(--gutter) clamp(56px, 6vw, 100px);
  isolation: isolate;
}
/* círculos claros de fundo */
.mohs::before,
.mohs::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.mohs::before { width: 46vw; height: 46vw; left: -20vw; top: -18vw; }
.mohs::after  { width: 38vw; height: 38vw; right: -16vw; top: -6vw; }

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

/* cabeçalho de seção (reutilizável) */
.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 3.4vw, 56px);
}
.section-head__eyebrow {
  font-size: clamp(11px, 0.9vw, 15px);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-head__title {
  margin: clamp(6px, 0.6vw, 12px) 0 0;
  font-size: clamp(28px, 3.6vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head__line {
  display: block;
  width: clamp(48px, 4vw, 64px);
  height: 3px;
  margin: clamp(10px, 1vw, 16px) auto;
  border-radius: 3px;
  background: var(--teal);
}
.section-head__sub {
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
}

.mohs__grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

/* tópicos */
.topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 1.1vw, 18px);
}
.topic {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: clamp(18px, 1.55vw, 26px) clamp(18px, 1.6vw, 26px);
  border: 0;
  border-radius: 8px;
  text-align: left;
  font-family: inherit;
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 400;
  color: var(--white);
  cursor: pointer;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.06) 70%, rgba(255, 255, 255, 0) 85%),
    linear-gradient(135deg, var(--card-dark-1), var(--card-dark-2));
  box-shadow: 0 8px 18px rgba(31, 42, 38, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.topic__chev {
  width: clamp(20px, 1.6vw, 26px);
  height: clamp(20px, 1.6vw, 26px);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}
.topic:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 24px rgba(31, 42, 38, 0.28);
}
.topic:hover .topic__chev { transform: translateX(4px); color: var(--lime-line); }
.topic:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* vídeo */
.mohs__video-label {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  font-size: clamp(13px, 0.95vw, 16px);
  font-weight: 700;
  color: var(--ink);
}
.mohs__video-label svg {
  display: inline-block;
  vertical-align: -4px;
  margin-right: 6px;
  width: 20px;
  height: 20px;
  color: var(--teal);
}
.mohs__video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 30px rgba(31, 42, 38, 0.22);
}
.mohs__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* propósito */
.purpose {
  margin-top: clamp(32px, 3.4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 40px);
  padding: clamp(22px, 2vw, 32px) clamp(24px, 4.5vw, 72px);
  border: 1px solid rgba(31, 42, 38, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(31, 42, 38, 0.06);
}
.purpose__icon {
  width: clamp(84px, 7vw, 116px);
  height: clamp(84px, 7vw, 116px);
  border-radius: 50%;
  background: #dfe2d6;
  color: #556058;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.purpose__icon svg { width: 56%; height: 56%; }
.purpose__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(31, 42, 38, 0.2);
  flex-shrink: 0;
}
.purpose__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.purpose__title span { font-weight: 400; }
.purpose__text p {
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* popup de informações */
.info-modal {
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--beige);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: visible;
}
.info-modal::backdrop {
  background: rgba(20, 27, 24, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.info-modal[open] { animation: modal-in 0.3s ease; }
.info-modal__box { position: relative; }
.info-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--card-dark-2);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.info-modal__close svg { width: 18px; height: 18px; }
.info-modal__close:hover { transform: rotate(90deg); background: var(--ink); }
.info-modal__body {
  max-height: min(82vh, 760px);
  overflow-y: auto;
  padding: clamp(28px, 3vw, 44px) clamp(22px, 3.4vw, 52px) clamp(28px, 3vw, 44px);
  border-top: 6px solid var(--teal);
  border-radius: 16px;
}
.info-modal__body h3 {
  margin: 0 48px 18px 0;
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.info-modal__body p,
.info-modal__body li {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
}
.info-modal__body p + p { margin-top: 14px; }
.info-modal__body ul,
.info-modal__body ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.info-modal__body ul li {
  position: relative;
  padding-left: 22px;
}
.info-modal__body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.info-modal__body .criteria { margin: 18px 0; }
.info-modal__body .criteria li {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--teal);
}
.info-modal__body .criteria strong { color: var(--ink); }
.info-modal__body .note {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 860px) {
  .mohs__grid { grid-template-columns: 1fr; }
  .purpose {
    flex-direction: column;
    text-align: center;
  }
  .purpose__divider {
    width: 60px;
    height: 1px;
    align-self: center;
  }
}

/* ==========================================================
   DR. RAFAEL GONTIJO (seção verde)
   ========================================================== */
.about {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 110px) var(--gutter);
  color: var(--white);
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(ellipse at 90% 85%, rgba(0, 0, 0, 0.12), transparent 60%),
    var(--brand-green);
}

.about__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: start;
}

.accent-line {
  display: block;
  width: clamp(48px, 4vw, 64px);
  height: 2px;
  border-radius: 2px;
  background: var(--sage);
  margin-bottom: clamp(20px, 2.4vw, 36px);
}
.accent-line--small {
  width: clamp(32px, 2.4vw, 40px);
  margin: clamp(14px, 1.4vw, 22px) 0;
}

.about__title {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.about__title-small {
  display: block;
  font-size: clamp(26px, 2.6vw, 44px);
  font-weight: 400;
}
.about__title-name {
  display: block;
  margin-top: 4px;
  font-size: clamp(32px, 3.3vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* foto redonda com anel */
.about__photo {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-top: clamp(24px, 2.6vw, 40px);
  padding: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.about__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.about__content { padding-top: clamp(4px, 2.2vw, 36px); }

.about__lead {
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-soft);
}
.about__lead strong { color: var(--white); font-weight: 700; }

.about__subtitle {
  margin: clamp(22px, 2vw, 32px) 0 clamp(18px, 1.8vw, 28px);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 700;
}

/* linha do tempo */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(30px, 2.4vw, 40px);
  display: grid;
  gap: clamp(18px, 1.8vw, 28px);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.timeline li {
  position: relative;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--text-soft);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(30px, 2.4vw, 40px));
  top: 0.45em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(198, 215, 163, 0.18);
}
.timeline strong { color: var(--white); font-weight: 700; }

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .about__photo { width: min(80vw, 340px); }
  .about__content { padding-top: 0; }
}

/* ==========================================================
   DEPOIMENTOS E GALERIA (seção verde)
   ========================================================== */
:root { --brand-dark: #45554f; } /* tom mais escuro de #61736E: setas e divisórias */

.social {
  position: relative;
  overflow: hidden;
  padding: 0 var(--gutter) clamp(48px, 5vw, 90px);
  color: var(--white);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--brand-green);
}
.social__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.section-divider {
  display: block;
  height: 2px;
  margin: 0 calc(-1 * var(--gutter)) clamp(36px, 3.6vw, 60px);
  background: rgba(255, 255, 255, 0.85);
}
.social__inner > .section-divider:not(:first-child) { margin-top: clamp(40px, 4vw, 70px); }

.social__title {
  margin: 0 0 clamp(24px, 2.6vw, 40px);
  text-align: center;
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.social__title { font-weight: 600; }
.social__title-sub {
  display: block;
  margin-top: 6px;
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--white);
}
.social__title#galeria { scroll-margin-top: calc(var(--header-h) + 20px); }

/* carrossel (base) */
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
}
.carousel__viewport { overflow: hidden; }
.carousel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; flex-shrink: 0; }

.carousel-arrow {
  width: clamp(40px, 3vw, 52px);
  height: clamp(40px, 3vw, 52px);
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.carousel-arrow svg { width: 46%; height: 46%; }
.carousel-arrow:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28); }
.carousel-arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.carousel-arrow[disabled] { opacity: 0.35; cursor: default; transform: none; }

/* depoimentos */
.carousel--testimonials {
  max-width: 900px;
  margin: 0 auto;
}
.testimonial {
  width: 100%;
  padding: clamp(22px, 2.2vw, 34px) clamp(22px, 2.8vw, 44px);
  border-radius: 12px;
  background: #182020;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.testimonial__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.testimonial__avatar {
  width: clamp(44px, 3.4vw, 54px);
  height: clamp(44px, 3.4vw, 54px);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
}
.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}
.testimonial__name {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
}
.testimonial__meta {
  font-size: clamp(11px, 0.8vw, 13px);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}
.testimonial__text {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

.carousel__dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel__dot.is-active { background: var(--white); transform: scale(1.15); }

/* galeria */
.carousel--gallery { margin-top: clamp(48px, 5vw, 84px); }
.carousel--gallery .carousel__track { gap: clamp(10px, 1vw, 16px); }
.gallery__item { width: calc((100% - 4 * clamp(10px, 1vw, 16px)) / 5); }
.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--brand-dark);
  aspect-ratio: 4 / 5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__btn:hover img { transform: scale(1.05); }
.gallery__btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* foto ampliada */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(10, 14, 12, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox[open] { animation: modal-in 0.3s ease; }
.lightbox__img {
  display: block;
  max-width: min(78vw, 1000px);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__stage {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.lightbox__arrow { flex-shrink: 0; }
.lightbox__count {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 680px) {
  .lightbox__stage { position: relative; }
  .lightbox__img { max-width: calc(100vw - 32px); }
  .lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  .lightbox__arrow:hover { transform: translateY(-50%) scale(1.08); }
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
}

@media (max-width: 1100px) {
  .gallery__item { width: calc((100% - 2 * clamp(10px, 1vw, 16px)) / 3); }
}
@media (max-width: 680px) {
  .carousel { gap: 8px; }
  .carousel-arrow { width: 36px; height: 36px; }
  .gallery__item { width: calc((100% - clamp(10px, 1vw, 16px)) / 2); }
  .carousel--testimonials {
    grid-template-columns: 1fr 1fr;
  }
  .carousel--testimonials .carousel__viewport { grid-column: 1 / -1; grid-row: 1; }
  .carousel--testimonials .carousel-arrow--prev { grid-row: 2; justify-self: end; }
  .carousel--testimonials .carousel-arrow--next { grid-row: 2; justify-self: start; }
  .carousel--testimonials .carousel__dots { grid-row: 3; }
}

/* ==========================================================
   CÂNCER DE PELE (usa o mesmo visual da seção Mohs)
   ========================================================== */
.skin__topics {
  max-width: 760px;
  margin: 0 auto;
}

/* subtítulos e listas dentro dos popups longos */
.info-modal__body h4 {
  margin: 28px 0 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 42, 38, 0.12);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
}
.info-modal__body p + ul,
.info-modal__body p + ol { margin-top: 12px; }
.info-modal__body ul + p { margin-top: 14px; }
.info-modal__body ul strong { color: var(--ink); }

/* sinais de alerta em "etiquetas" */
.info-modal__body ul.signs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.info-modal__body ul.signs li {
  padding: 6px 14px 6px 28px;
  border-radius: 999px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--ink);
  font-weight: 500;
}
.info-modal__body ul.signs li::before { left: 12px; top: 50%; transform: translateY(-50%); }

/* listas em blocos (fatores, tratamentos, ABCDE) sem marcador */
.info-modal__body ul.criteria li { padding-left: 16px; }
.info-modal__body ul.criteria li::before { display: none; }
.info-modal__body .note strong { color: var(--teal); }

/* ==========================================================
   PERGUNTAS FREQUENTES (seção verde, acordeão)
   ========================================================== */
.faq {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 110px) var(--gutter);
  color: var(--white);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(255, 255, 255, 0.06), transparent 50%),
    var(--brand-green);
}
.faq__inner {
  max-width: 860px;
  margin: 0 auto;
}
.faq__title {
  margin: 0 0 clamp(28px, 3vw, 48px);
  text-align: center;
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}
.faq__title strong { font-weight: 700; }

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 1.1vw, 16px);
}
.faq__item {
  border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0) 90%),
    rgba(24, 32, 32, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.faq__item.is-open {
  background: rgba(24, 32, 32, 0.55);
  border-color: rgba(255, 255, 255, 0.28);
}
.faq__q { margin: 0; }
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(14px, 1.3vw, 20px) clamp(16px, 1.6vw, 24px);
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.faq__btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 10px; }
.faq__num {
  flex-shrink: 0;
  min-width: 2.2em;
  padding-right: clamp(14px, 1.6vw, 22px);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.3;
}
.faq__text {
  flex: 1;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 500;
  line-height: 1.45;
}

/* ícone + que vira − */
.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

/* resposta que abre embaixo */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__answer {
  overflow: hidden;
  padding: 0 clamp(16px, 1.6vw, 24px);
}
.faq__item.is-open .faq__answer { padding-bottom: clamp(18px, 1.6vw, 24px); }
.faq__answer p {
  margin-left: calc(2.2em + clamp(14px, 1.6vw, 22px) * 2);
  font-size: clamp(14px, 1.02vw, 16.5px);
  line-height: 1.7;
  color: #ffffff;
}
.faq__answer p:first-child {
  padding-top: clamp(14px, 1.3vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.faq__answer p + p { margin-top: 12px; }

@media (max-width: 680px) {
  .faq__answer p { margin-left: 0; }
  .faq__num { min-width: 0; }
}

/* ==========================================================
   ENDEREÇOS (seção clara)
   ========================================================== */
.places__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin-bottom: clamp(24px, 2.6vw, 40px);
}
.places__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.places__divider {
  width: 2px;
  align-self: stretch;
  background: var(--teal);
  border-radius: 2px;
}
.places__sub {
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 500;
  color: var(--ink-soft);
}

.places__list {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 1.6vw, 24px);
}
.place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 32px);
  align-items: center;
  padding: clamp(16px, 1.4vw, 22px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(31, 42, 38, 0.1);
  box-shadow: 0 6px 18px rgba(31, 42, 38, 0.06);
}
.place__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: clamp(0px, 0.8vw, 12px);
}
.place__city {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
  color: var(--brand-green);
}
.place__city svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.place__name {
  margin: 6px 0 4px;
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.place__address {
  display: inline-block;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: rgba(31, 42, 38, 0.25);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.place__address:hover { color: var(--ink); text-decoration-color: var(--teal); }

.place__whats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: var(--brand-green);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(97, 115, 110, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.place__whats:hover { transform: translateY(-1px); background: var(--brand-dark); }
.place__whats:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.place__whats-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-green);
  display: grid;
  place-items: center;
}
.place__whats-icon svg { width: 15px; height: 15px; }

.place__map {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e4dc;
  box-shadow: 0 6px 18px rgba(31, 42, 38, 0.12);
}
.place__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.places { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(48px, 5vw, 80px); }

@media (max-width: 860px) {
  .place { grid-template-columns: 1fr; }
  .place__info { padding-left: 0; }
}
@media (max-width: 560px) {
  .places__head { flex-direction: column; gap: 8px; }
  .places__divider { width: 40px; height: 2px; align-self: center; }
}


/* ==========================================================
   PADRÃO DOS TÍTULOS DE SEÇÃO
   (todos iguais: 48px no computador, 28px no celular, semibold)
   O título principal do Início continua maior.
   ========================================================== */
:root { --section-title: clamp(28px, 3.34vw, 48px); }

.section-head__title,
.social__title,
.faq__title,
.places__title,
.about__title-small,
.about__title-name {
  font-size: var(--section-title);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.faq__title strong { font-weight: 600; }
.about__title-small { font-weight: 400; }  /* "Muito prazer, sou o" continua fino, mesmo tamanho */
.about__title-name { margin-top: 2px; }

/* ==========================================================
   CONTATO (seção clara) + RODAPÉ
   ========================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact__title { text-align: left; margin-top: 0; }
.contact__line { margin: clamp(12px, 1.2vw, 18px) 0; }
.contact__text {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.contact__social {
  display: flex;
  gap: 12px;
  margin: clamp(18px, 1.8vw, 26px) 0 clamp(22px, 2.2vw, 32px);
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-green);
  color: var(--brand-green);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { background: var(--brand-green); color: var(--white); transform: translateY(-2px); }

.contact__card {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  padding: clamp(18px, 1.8vw, 26px);
  border-radius: 12px;
  background: #24302c;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(31, 42, 38, 0.2);
}
.contact__photo {
  width: clamp(78px, 6.4vw, 104px);
  height: clamp(78px, 6.4vw, 104px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}
.contact__card-info p {
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.contact__card-info .contact__card-name {
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

/* formulário */
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: block; }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31, 42, 38, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: #7d8580; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(97, 115, 110, 0.18);
}
.field.has-error input {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.g-recaptcha { min-height: 78px; }

.contact-form__status {
  min-height: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.contact-form__status:empty { display: none; }
.contact-form__status.is-error { color: #b3261e; }
.contact-form__status.is-success {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--ink);
}

/* botão Enviar: mesma cor do "Agendar consulta" */
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  border: 1px solid rgba(214, 238, 140, 0.55);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--olive-1) 0%, var(--olive-2) 65%, var(--olive-3) 100%);
  box-shadow: 0 0 22px rgba(150, 192, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, opacity 0.2s ease;
}
.contact-form__submit svg { width: 20px; height: 20px; transition: transform 0.25s ease; }
.contact-form__submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 32px rgba(160, 205, 45, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.contact-form__submit:hover svg { transform: translateX(4px); }
.contact-form__submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact-form__submit[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* rodapé */
.footer {
  padding: 22px var(--gutter);
  background: var(--brand-dark);
  color: var(--white);
  text-align: center;
}
.footer p {
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.01em;
}

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .contact__title { text-align: center; }
  .contact__line { margin-left: auto; margin-right: auto; }
  .contact__card { text-align: left; width: 100%; }
}
@media (max-width: 520px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .g-recaptcha { transform: scale(0.92); transform-origin: left top; }
}

/* contato sem os círculos de fundo */
.contact::before,
.contact::after { display: none; }

/* rodapé mais baixo */
.footer { padding: 12px var(--gutter); }
.footer p { font-size: clamp(12px, 0.85vw, 14px); }

/* Contato mais compacto e mais perto de Endereços */
.places { padding-bottom: clamp(20px, 2vw, 32px); }
.contact { padding-top: clamp(20px, 2vw, 32px); padding-bottom: clamp(36px, 3.4vw, 56px); }
.contact__grid { gap: clamp(28px, 4vw, 64px); align-items: center; }
.contact__line { margin: 10px 0; }
.contact__text { font-size: clamp(14px, 1vw, 16px); }
.contact__social { margin: 14px 0 18px; }
.social-btn { width: 36px; height: 36px; }
.social-btn svg { width: 17px; height: 17px; }
.contact__card { padding: 14px 18px; gap: 16px; }
.contact__photo { width: 72px; height: 72px; border-width: 2px; }
.contact__card-info p { font-size: 13px; line-height: 1.45; }
.contact__card-info .contact__card-name { font-size: 15px; }
.contact-form { gap: 10px; }
.contact-form__row { gap: 10px; }
.field input,
.field textarea { padding: 11px 14px; font-size: 14px; }
.field textarea { min-height: 96px; }
.contact-form__submit { padding: 12px 22px; font-size: 16px; }

/* Contato no verde #61736E e rodapé branco */
.contact {
  background: var(--brand-green);
  color: var(--white);
  padding-top: clamp(40px, 4vw, 64px);
  padding-bottom: clamp(40px, 4vw, 64px);
}
.contact .contact__title { color: var(--white); }
.contact .contact__line { background: var(--white); }
.contact .contact__text { color: rgba(255, 255, 255, 0.9); }
.contact .social-btn { border-color: var(--white); color: var(--white); }
.contact .social-btn:hover { background: var(--white); color: var(--brand-green); }
.contact .contact__card { background: #24302c; }
.contact .field input,
.contact .field textarea {
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
}
.contact .field input:focus,
.contact .field textarea:focus {
  background: #fff;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.contact .field.has-error input { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(255, 210, 205, 0.6); }
.contact .contact-form__status.is-error {
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff1ef;
  color: #b3261e;
}
.contact .contact-form__status.is-success { background: #ffffff; color: var(--ink); }
.contact .contact-form__status:not(.is-error):not(.is-success) { color: var(--white); }

.footer {
  background: #ffffff;
  color: var(--ink);
  border-top: 1px solid rgba(31, 42, 38, 0.08);
}

/* rodapé na mesma cor do cartão do Dr., texto branco */
.footer {
  background: #24302c;
  color: var(--white);
  border-top: 0;
}

/* cartão do Dr. só do tamanho do conteúdo */
.contact .contact__card {
  width: fit-content;
  max-width: 100%;
  padding: 12px 22px 12px 12px;
  gap: 14px;
}
.contact .contact__photo { width: 64px; height: 64px; }
@media (max-width: 860px) {
  .contact .contact__card { width: fit-content; }
}

/* ==========================================================
   ESPAÇAMENTO PADRÃO ENTRE SEÇÕES
   56px no computador, diminui até 36px no celular
   ========================================================== */
:root { --section-space: clamp(36px, 3.9vw, 56px); }

.mohs,
.about,
.faq,
.places,
.contact {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.social { padding-bottom: var(--section-space); }
.social__inner > .section-divider:first-child { margin-bottom: var(--section-space); }

/* menos espaço entre o título e o conteúdo */
.section-head { margin-bottom: clamp(24px, 2.4vw, 36px); }
.social__title,
.faq__title,
.places__head { margin-bottom: clamp(22px, 2.2vw, 32px); }
.carousel--gallery { margin-top: clamp(32px, 3vw, 48px); }
.purpose { margin-top: clamp(24px, 2.4vw, 36px); }

/* centraliza o conteúdo na seção: o espaço visual de cima fica igual ao de baixo.
   (o título tem uma folga natural acima das letras; aqui ela é compensada) */
.section-head__title,
.about__title,
.social__title,
.faq__title,
.places__head,
.contact__title {
  margin-top: calc(var(--section-title) * -0.2);
}

/* um pouco mais de respiro: 68px no computador, até 42px no celular */
:root { --section-space: clamp(42px, 4.7vw, 68px); }

/* cartões de "Câncer de pele" com a mesma cor dos cartões das Perguntas frequentes
   (#455350 = o tom escuro translúcido do FAQ aplicado sobre o verde) */
.skin__topics .topic,
#cirurgia-de-mohs .topic {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0) 90%),
    #455350;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ==========================================================
   BOTÃO FLUTUANTE DO WHATSAPP (fixo no canto direito)
   ========================================================== */
.whats-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whats-float svg { width: 32px; height: 32px; }
.whats-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whats-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.whats-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.whats-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes whats-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 680px) {
  .whats-float { width: 54px; height: 54px; }
  .whats-float svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .whats-float::before { animation: none; }
}

/* frase das 1000 cirurgias centralizada (sem ícone) */
.achievement { justify-content: center; }
.achievement p { text-align: center; }

/* ==========================================================
   EFEITOS DE CARREGAMENTO (leves: só opacidade e movimento)
   ========================================================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes header-in {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: none; }
}

/* topo: barra, foto e textos entram em sequência ao abrir o site */
html.js .header { animation: header-in 0.6s ease backwards; }
html.js .hero__media { animation: fade-in 1.2s ease backwards; }
html.js .hero__content > * { animation: fade-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
html.js .hero__content > :nth-child(1) { animation-delay: 0.15s; }
html.js .hero__content > :nth-child(2) { animation-delay: 0.25s; }
html.js .hero__content > :nth-child(3) { animation-delay: 0.38s; }
html.js .hero__content > :nth-child(4) { animation-delay: 0.5s; }
html.js .hero__content > :nth-child(5) { animation-delay: 0.62s; }
html.js .play-btn { animation: fade-in 0.8s ease 0.7s backwards; }
html.js .hero__bar { animation: fade-up 0.8s ease 0.75s backwards; }

/* resto do site: aparece ao rolar até ele */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .header,
  html.js .hero__media,
  html.js .hero__content > *,
  html.js .play-btn,
  html.js .hero__bar { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* variação: surge pela lateral (foto do "Muito prazer") */
html.js .reveal.reveal--side {
  transform: translateX(-70px);
  transition-duration: 0.9s;
}
html.js .reveal.reveal--side.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal.reveal--side { transform: none; }
}

/* depoimentos: 2 por vez no computador, 1 no celular */
.carousel--testimonials { max-width: 1200px; }
.carousel--testimonials .carousel__track { gap: 20px; align-items: stretch; }
@media (min-width: 861px) {
  .carousel--testimonials .testimonial { width: calc((100% - 20px) / 2); }
}

/* ==========================================================
   GALERIA EM FAIXA CONTÍNUA (fotos quadradas, juntas, em loop)
   ========================================================== */
.marquee {
  margin: clamp(32px, 3vw, 48px) calc(-1 * var(--gutter)) 0;
  overflow: hidden;
}
.marquee__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.marquee__item {
  width: clamp(170px, 19vw, 300px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* anda metade da faixa (as 7 fotos originais) e recomeça sem emenda */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 680px) {
  .marquee__track { animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
}

/* Câncer de pele no computador: 2 cartões à esquerda e 2 à direita */
@media (min-width: 861px) {
  .skin__topics {
    max-width: 1120px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;   /* 1 e 2 na esquerda, 3 e 4 na direita */
    column-gap: clamp(16px, 1.6vw, 24px);
  }
  .skin__topics .topic { height: 100%; }
}

/* Perguntas frequentes no computador: 01–04 à esquerda, 05–08 à direita
   (cada coluna é independente, então abrir uma resposta não deixa buraco na outra) */
.faq__cols {
  display: grid;
  gap: clamp(12px, 1.1vw, 16px);
}
@media (min-width: 861px) {
  .faq__inner { max-width: 1200px; }
  .faq__cols {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(16px, 1.6vw, 24px);
    align-items: start;
  }
}

/* todas as perguntas com a mesma altura (espaço de 2 linhas), texto centralizado na altura */
@media (min-width: 861px) {
  .faq__text {
    min-height: 2.9em;           /* 2 linhas × altura da linha (1.45) */
    display: flex;
    align-items: center;
  }
}

/* variação: surge pela direita (2º endereço) */
html.js .reveal.reveal--side-right {
  transform: translateX(70px);
  transition-duration: 0.9s;
}
html.js .reveal.reveal--side-right.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal.reveal--side-right { transform: none; }
}

/* endereços: entrada mais intensa (vem de mais longe, com leve zoom) */
html.js .place.reveal.reveal--side {
  transform: translateX(-180px) scale(0.96);
  transition-duration: 1.1s;
  transition-timing-function: cubic-bezier(0.16, 0.8, 0.24, 1);
}
html.js .place.reveal.reveal--side-right {
  transform: translateX(180px) scale(0.96);
  transition-duration: 1.1s;
  transition-timing-function: cubic-bezier(0.16, 0.8, 0.24, 1);
}
html.js .place.reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .place.reveal.reveal--side,
  html.js .place.reveal.reveal--side-right { transform: none; }
}

/* ==========================================================
   RODAPÉ COM O CARTÃO DO DR. E "VOLTAR AO TOPO"
   ========================================================== */
.footer { padding: clamp(22px, 2.2vw, 32px) var(--gutter) 14px; text-align: left; }
.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__doctor {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}
.footer .footer__info p {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}
.footer .footer__info .footer__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer__top svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.footer__top:hover { background: var(--white); color: #24302c; }
.footer__top:hover svg { transform: translateY(-2px); }
.footer__top:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.footer .footer__copy {
  max-width: 1240px;
  margin: 18px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 680px) {
  .footer__inner { flex-direction: column; text-align: left; }
}
/* no celular, espaço no fim para o botão flutuante do WhatsApp não cobrir o copyright */
@media (max-width: 680px) {
  .footer { padding-bottom: 84px; }
}

/* computador: botão de play ao lado do doutor, no espaço vazio à direita */
@media (min-width: 861px) {
  .play-btn {
    left: 77%;
    top: 50%;
  }
}

/* ==========================================================
   BOTÕES FLUTUANTES: INSTAGRAM + WHATSAPP (ícones da pasta inicio)
   ========================================================== */
.social-float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-float__btn {
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.social-float__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.social-float__btn--whats { width: 60px; height: 60px; }
.social-float__btn:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}
.social-float__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 680px) {
  .social-float { gap: 10px; }
  .social-float__btn { width: 48px; height: 48px; }
  .social-float__btn--whats { width: 52px; height: 52px; }
}

/* computador: play no meio da faixa cinza entre o doutor e o braço do foco */
@media (min-width: 861px) {
  .play-btn {
    left: 78.5%;
    top: 57%;
  }
}
@media (min-width: 861px) {
  .play-btn { left: 75.8%; top: 52.5%; }
}
@media (min-width: 861px) {
  .play-btn { left: 75%; top: 47%; }
}

/* botão "Agendar consulta": "(presencial ou online)" centralizado embaixo */
.btn-cta__text {
  align-items: center;
  text-align: center;
}

/* rodapé em uma linha: Dr. à esquerda, copyright no meio, "voltar ao topo" à direita */
.footer { padding: clamp(18px, 1.8vw, 26px) var(--gutter); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.footer .footer__copy {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
}
.footer__top { justify-self: end; }
@media (max-width: 860px) {
  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }
  .footer__top { justify-self: center; }
}
@media (max-width: 680px) {
  .footer { padding-bottom: 84px; }
}
/* no celular o rodapé não precisa mais do espaço extra: os botões sobem sozinhos */
@media (max-width: 680px) {
  .footer { padding-bottom: clamp(18px, 1.8vw, 26px); }
}

/* galeria: ocupa a largura inteira da tela, sem bordas laterais, em qualquer tamanho de monitor */
.marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* com 4 cópias a faixa anda o dobro de distância: dobra o tempo para manter a mesma velocidade */
.marquee__track { animation-duration: 90s; }
@media (max-width: 680px) {
  .marquee__track { animation-duration: 60s; }
}
