/* ==========================================================================
   Landing Page — Dra. Luciani Alcantara
   Estilos globais: tokens, reset, base, utilitários e seções da página.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens de design (tema claro por padrão)
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --brand-primary: #2e7d32;
  /* verde forte — preenchimentos/botões */
  --brand-primary-strong: #276b2b;
  /* estado hover do verde */
  --brand-accent: #2e7d32;
  /* verde para textos/realces */
  --brand-light: #a5d6a7;
  /* verde claro — decorações/sublinhados */

  /* Superfícies e texto */
  --color-bg: #ffffff;
  --color-surface: #f1f3f1;
  /* chips e superfícies sutis */
  --color-section-alt: #f7f8f7;
  /* fundo de seções alternadas */
  --color-card: #ffffff;
  /* fundo dos cards */
  --color-text: #333333;
  --color-text-muted: color-mix(in srgb, var(--color-text) 72%, transparent);
  --color-heading: #1f2422;
  --color-border: #e7e9e7;
  --color-on-primary: #ffffff;
  --star-color: #b8860b;
  /* dourado escuro — contraste ok no tema claro */

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(16, 24, 20, .06), 0 2px 6px rgba(16, 24, 20, .04);
  --shadow-md: 0 10px 28px rgba(16, 24, 20, .09);
  --shadow-xl: 0 22px 48px rgba(16, 24, 20, .13);
  --shadow-primary: 0 15px 30px rgba(46, 125, 50, .28);

  /* Layout */
  --header-height: 5.5rem;
  --radius-card: 2rem;
  --radius-pill: 9999px;
  --max-width: 1200px;
}

/* Tema escuro automático (segue o sistema), a menos que o usuário force claro */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-primary: #2e7d32;
    --brand-primary-strong: #276b2b;
    --brand-accent: #81c784;
    --brand-light: #6fbf74;

    --color-bg: #0f1512;
    --color-surface: #1a221d;
    --color-section-alt: #131a16;
    --color-card: #18201b;
    --color-text: #dfe4e1;
    --color-heading: #f1f4f2;
    --color-border: rgba(255, 255, 255, .09);
    --color-on-primary: #ffffff;
    --star-color: #f5b301;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 10px 26px rgba(0, 0, 0, .45);
    --shadow-xl: 0 22px 48px rgba(0, 0, 0, .55);
    --shadow-primary: 0 15px 30px rgba(0, 0, 0, .5);
  }
}

/* Tema escuro forçado pelo botão (tem prioridade sobre o do sistema) */
:root[data-theme="dark"] {
  --brand-primary: #2e7d32;
  --brand-primary-strong: #276b2b;
  --brand-accent: #81c784;
  --brand-light: #6fbf74;

  --color-bg: #0f1512;
  --color-surface: #1a221d;
  --color-section-alt: #131a16;
  --color-card: #18201b;
  --color-text: #dfe4e1;
  --color-heading: #f1f4f2;
  --color-border: rgba(255, 255, 255, .09);
  --color-on-primary: #ffffff;
  --star-color: #f5b301;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 10px 26px rgba(0, 0, 0, .45);
  --shadow-xl: 0 22px 48px rgba(0, 0, 0, .55);
  --shadow-primary: 0 15px 30px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------------------------
   2. Reset moderno enxuto
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s ease, color .3s ease;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--color-heading);
  line-height: 1.15;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Utilitários compartilhados
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 1.5rem);
}

.section {
  padding-block: clamp(4rem, 9vw, 6rem);
}

.section--alt {
  background-color: var(--color-section-alt);
}

.eyebrow {
  display: inline-block;
  color: var(--brand-accent);
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.highlight {
  color: var(--brand-accent);
}

/* Card base — reutilizado pelas seções de conteúdo */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  border-radius: var(--radius-pill);
  padding: .95rem 2rem;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease,
    box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.btn:active {
  transform: scale(.96);
}

.btn--primary {
  background-color: var(--brand-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  background-color: var(--brand-primary-strong);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--brand-primary);
  color: var(--brand-accent);
}

.btn--outline:hover {
  background-color: var(--color-surface);
}

/* Ícones (referenciados do sprite SVG via <use>) */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ícones sólidos (preenchidos), ex.: WhatsApp e estrelas ativas */
.icon--solid {
  fill: currentColor;
  stroke: none;
}

/* Acessibilidade: conteúdo só para leitores de tela */
.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;
}

/* Link "pular para o conteúdo" */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background-color: var(--brand-primary);
  color: var(--color-on-primary);
  padding: .75rem 1.25rem;
  border-radius: .75rem;
  font-weight: 700;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Animações de entrada (respeitam prefers-reduced-motion mais abaixo) */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  html,
  .reviews__track {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   Seções da página
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header / navegação
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding-block: 1.5rem;
  transition: padding .3s ease, background-color .3s ease,
    box-shadow .3s ease, backdrop-filter .3s ease;
}

.header.is-scrolled {
  padding-block: .75rem;
  background-color: color-mix(in srgb, var(--color-bg) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo / marca */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--brand-accent);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: .75rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .06);
  transition: transform .2s ease;
}

.brand:hover .brand__mark {
  transform: scale(1.05);
}

.brand__mark .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--brand-accent);
}

.brand__role {
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}

/* Navegação desktop (escondida no mobile) */
.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  position: relative;
  padding-block: .25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color .2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--brand-light);
  transition: width .25s ease;
}

.nav__link:hover {
  color: var(--brand-accent);
}

.nav__link:hover::after {
  width: 100%;
}

/* Ações à direita */
.header__actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.header__cta {
  display: none;
  padding: .7rem 1.4rem;
  font-size: .875rem;
  box-shadow: none;
}

.theme-toggle,
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--brand-accent);
  border-radius: .75rem;
  transition: background-color .2s ease, color .2s ease;
}

.theme-toggle {
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
}

.theme-toggle:hover,
.nav-toggle:hover {
  background-color: var(--color-surface);
}

.theme-toggle .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.nav-toggle .icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* Ícone do toggle de tema conforme o tema ativo */
.theme-toggle__sun {
  display: none;
}

.theme-toggle__moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-toggle__moon {
    display: none;
  }
}

:root[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle__sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle__moon {
  display: block;
}

/* Alterna ícone hambúrguer / X */
.nav-toggle__close {
  display: none;
}

.header.is-menu-open .nav-toggle__open {
  display: none;
}

.header.is-menu-open .nav-toggle__close {
  display: block;
}

/* Menu mobile */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1.5rem clamp(1.25rem, 4vw, 1.5rem) 2rem;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  animation: fade-up .25s ease;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu__link {
  padding: .85rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color .2s ease;
}

.mobile-menu__link:hover {
  color: var(--brand-accent);
}

.mobile-menu__cta {
  margin-top: 1.25rem;
}

/* Desktop: mostra nav e CTA, esconde controles mobile */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Hero (#home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  background-color: var(--color-bg);
}

.hero__glow {
  position: absolute;
  top: 8%;
  right: -8%;
  width: min(26rem, 70vw);
  aspect-ratio: 1;
  border-radius: var(--radius-pill);
  background-color: color-mix(in srgb, var(--brand-light) 22%, transparent);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fade-up .7s ease both;
}

.hero__title {
  margin-top: .75rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero__text {
  max-width: 30rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: .5rem;
}

.hero__media {
  display: flex;
  justify-content: center;
  animation: fade-in 1s ease both;
}

.hero__photo {
  position: relative;
  width: min(20rem, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-pill);
  border: 14px solid var(--color-surface);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--brand-light) 30%, var(--color-card)),
      var(--color-card));
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__photo-label {
  padding: 0 2rem;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  color: color-mix(in srgb, var(--brand-accent) 55%, transparent);
}

@media (min-width: 768px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding-bottom: 4rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    width: 100%;
  }

  .hero__media {
    justify-content: flex-end;
  }

  .hero__photo {
    width: min(30rem, 40vw);
    border-width: 16px;
  }
}

/* --------------------------------------------------------------------------
   Cabeçalho de seção centralizado (reutilizável)
   -------------------------------------------------------------------------- */
.section-head {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.section-head__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
}

.divider {
  width: 5rem;
  height: .25rem;
  margin: 1rem auto 0;
  border-radius: var(--radius-pill);
  background-color: var(--brand-light);
}

.section-head__quote {
  margin-top: 1.5rem;
  font-style: italic;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

/* --------------------------------------------------------------------------
   Grade de cards de destaque (reutilizável: psicologia e especialidades)
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  color: var(--brand-accent);
  background-color: var(--color-surface);
  border-radius: 1.25rem;
  transition: background-color .3s ease;
}

.feature-card:hover .feature-card__icon {
  background-color: color-mix(in srgb, var(--brand-light) 22%, transparent);
}

.feature-card__icon .icon {
  width: 2rem;
  height: 2rem;
}

.feature-card__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card__text {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.feature-card--center {
  align-items: center;
  text-align: center;
}

/* No tema escuro, dá separação ao chip do ícone (senão some no card) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feature-card__icon {
    background-color: color-mix(in srgb, var(--brand-light) 14%, var(--color-card));
  }
}

:root[data-theme="dark"] .feature-card__icon {
  background-color: color-mix(in srgb, var(--brand-light) 14%, var(--color-card));
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Especialidades (#especialidades)
   -------------------------------------------------------------------------- */
.specialties__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.specialties__title {
  margin-top: .5rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.specialties__aside {
  max-width: 24rem;
  font-size: .95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

@media (min-width: 768px) {
  .specialties__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .specialties__aside {
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Sobre mim (#sobre)
   -------------------------------------------------------------------------- */
.about__bio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: clamp(4rem, 10vw, 8rem);
}

.about__name {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.about__crp {
  display: inline-block;
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.divider--left {
  margin-inline: 0;
  margin-top: 1rem;
}

.about__lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.about__photo-wrap {
  display: flex;
  justify-content: center;
  order: 1;
}

.about__bio-text {
  order: 2;
}

.about__photo {
  width: min(18rem, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-pill);
  border: 10px solid var(--color-surface);
  box-shadow: var(--shadow-md);
  background-color: var(--color-surface);
  font-style: italic;
  text-align: center;
  color: color-mix(in srgb, var(--color-text) 42%, transparent);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .about__bio {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .about__bio-text {
    order: 1;
  }

  .about__photo-wrap {
    order: 2;
    justify-content: flex-end;
  }

  .about__photo {
    width: min(25rem, 38vw);
  }
}

/* --------------------------------------------------------------------------
   Avaliações no Google (carrossel)
   -------------------------------------------------------------------------- */
.reviews {
  margin-bottom: clamp(4rem, 10vw, 8rem);
}

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.reviews__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
}

.reviews__subtitle {
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}

.reviews__controls {
  display: flex;
  gap: .5rem;
}

.reviews__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background-color: var(--color-card);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.reviews__btn:hover {
  background-color: var(--color-surface);
}

.reviews__btn:active {
  transform: scale(.94);
}

.reviews__btn--primary {
  border-color: transparent;
  color: var(--color-on-primary);
  background-color: var(--brand-primary);
}

.reviews__btn--primary:hover {
  background-color: var(--brand-primary-strong);
}

.reviews__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
}

.reviews__track::-webkit-scrollbar {
  display: none;
  /* WebKit */
}

/* usa também a classe .card (fundo, borda, raio e sombra) no HTML */
.review-card {
  flex: 0 0 auto;
  width: min(21rem, 85vw);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 1.5rem;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.review-card__avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  background-color: color-mix(in srgb, var(--brand-light) 35%, var(--color-surface));
}

.review-card__name {
  font-size: .9rem;
  font-weight: 700;
}

.review-card__date {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}

.review-card__stars {
  display: flex;
  gap: .15rem;
  margin-bottom: .75rem;
  color: var(--star-color);
}

.review-card__star {
  width: 1rem;
  height: 1rem;
}

.review-card__comment {
  font-size: .9rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

.review-card__comment.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__more {
  align-self: flex-start;
  margin-top: .5rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand-accent);
}

.review-card__more:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Instagram
   -------------------------------------------------------------------------- */
.instagram__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
}

.instagram__icon {
  width: 2rem;
  height: 2rem;
  color: var(--brand-accent);
}

.instagram__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
}

.instagram__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.instagram__item {
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
  font-size: .75rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--color-text) 42%, transparent);
  transition: transform .3s ease;
}

.instagram__item:hover {
  transform: translateY(-4px);
}

@media (min-width: 640px) {
  .instagram__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .instagram__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Contato (#contato)
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: var(--color-bg);
}

.contact__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: min(600px, 120vw);
  aspect-ratio: 1;
  border-radius: var(--radius-pill);
  background-color: color-mix(in srgb, var(--brand-light) 12%, transparent);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.25rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--brand-accent);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .05);
}

.contact__badge .icon {
  width: 1rem;
  height: 1rem;
}

.contact__title {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.contact__lead {
  max-width: 34rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--color-text-muted);
}

.contact__highlight {
  color: var(--brand-accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand-light);
  text-underline-offset: 8px;
}

.contact__text {
  max-width: 32rem;
  font-size: .9rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}

.contact__cta {
  margin-top: 1rem;
  padding: 1.15rem 2.5rem;
  font-size: 1.25rem;
}

.contact__cta .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.contact__cta:hover {
  transform: translateY(-3px) scale(1.02);
}

.contact__note {
  margin-top: 1rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.footer {
  padding-block: 4rem 2rem;
  background-color: var(--color-section-alt);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__about {
  font-size: .875rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}

.footer__heading {
  margin-bottom: 1.25rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer__nav a,
.footer__contacts span {
  font-size: .875rem;
  color: var(--color-text-muted);
  transition: color .2s ease;
}

.footer__nav a:hover {
  color: var(--brand-accent);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer__contacts li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer__contacts .icon {
  width: .9rem;
  height: .9rem;
  color: var(--brand-accent);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: .75rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  color: var(--color-text-muted);
  transition: color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.footer__social:hover {
  color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.footer__social .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer__bottom p {
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
}

.footer__credit span {
  color: color-mix(in srgb, var(--brand-accent) 70%, transparent);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Botão flutuante de WhatsApp
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: var(--radius-pill);
  color: #fff;
  background-color: #25d366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float:active {
  transform: scale(.92);
}

.whatsapp-float .icon {
  width: 2rem;
  height: 2rem;
}