/* Lumini Oral Clinic — folha de estilos principal */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --gold-50: #fbf7ee;
  --gold-100: #f2e6c9;
  --gold-300: #dcb876;
  --gold-500: #c39a56;
  --gold-600: #a97f3e;
  --gold-700: #8a6530;
  --ink: #221c14;
  --ink-soft: #55493a;
  --paper: #ffffff;
  --cream: #faf6ee;
  --line: #e8ddc4;
  --shadow: 0 24px 48px -28px rgba(34, 28, 20, 0.28);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

.wrap {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.9rem;
}

.eyebrow-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--gold-300);
  margin-right: 0.7rem;
}

section {
  padding: 6.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.2rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.2;
}

.section-head p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.divider {
  width: 56px;
  height: 1px;
  background: var(--gold-500);
  margin: 0 0 1.4rem;
}

.section-head.center .divider {
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--gold-100);
}

.btn-primary:hover {
  background: var(--gold-700);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold-600);
  color: var(--gold-700);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--paper);
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-2px) scale(1.02);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px -22px rgba(34, 28, 20, 0.4);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .wrap {
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  height: 56px;
  width: auto;
  transition: height 0.3s ease, transform 0.4s ease;
}

.site-header.is-scrolled .brand img {
  height: 44px;
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
}

.brand-text strong {
  display: block;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.main-nav ul {
  display: flex;
  gap: 2.4rem;
}

.main-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  padding: 4.5rem 0 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1.12;
  margin: 0 0 1.4rem;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--gold-600);
}

.hero-copy p {
  max-width: 480px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 2.4rem;
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-meta div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.hero-meta svg {
  width: 18px;
  height: 18px;
  color: var(--gold-600);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  padding: 1.6rem 2.6rem 3.4rem 0;
}

.hero-ring {
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  z-index: 0;
  animation: ring-spin 50s linear infinite;
}

.hero-ring::before {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid var(--gold-300);
  border-radius: 50%;
  opacity: 0.6;
  animation: ring-spin-reverse 34s linear infinite;
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ring-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ring,
  .hero-ring::before {
    animation: none;
  }
}

.hero-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: 160px 24px 24px 24px;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-tag {
  position: absolute;
  left: -1px;
  bottom: 0;
  z-index: 2;
  background: var(--paper);
  border-left: 2px solid var(--gold-500);
  padding: 1rem 1.6rem;
  box-shadow: var(--shadow);
}

.hero-tag span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.2rem;
}

.hero-tag strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Serviços */

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--paper);
  padding: 2.4rem 2rem;
  position: relative;
  z-index: 0;
  transition: background 0.25s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  background: var(--gold-50);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  z-index: 1;
}

.service-card svg {
  width: 30px;
  height: 30px;
  color: var(--gold-600);
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

.service-card:hover svg {
  transform: scale(1.12);
}

.service-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Resultados */

.resultados {
  background: var(--paper);
}

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

.case-card {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.case-card img {
  transition: transform 0.5s ease;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  background: rgba(34, 28, 20, 0.85);
  color: var(--gold-100);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
}

.case-card img {
  width: 100%;
  aspect-ratio: 1350 / 1687;
  object-fit: cover;
  object-position: center;
}

.case-card figcaption {
  padding: 1.2rem 1.4rem 1.4rem;
  border-top: 2px solid var(--gold-500);
}

.case-card figcaption strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.case-card figcaption span {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.result-note {
  display: block;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--gold-500);
  padding-left: 1rem;
}

/* Localização */

.localizacao {
  background: var(--paper);
}

.localizacao .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: stretch;
}

.local-info p {
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}

.local-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.2rem;
}

.local-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.local-list svg {
  width: 20px;
  height: 20px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-frame {
  border: 1px solid var(--line);
  min-height: 380px;
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* Contato */

.contato {
  background: var(--ink);
  color: var(--gold-50);
}

.contato .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.contato .eyebrow {
  color: var(--gold-300);
}

.contato h2 {
  color: var(--paper);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.contato p {
  color: rgba(250, 246, 238, 0.72);
  max-width: 460px;
}

.contato-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.contato .btn-ghost {
  border-color: rgba(250, 246, 238, 0.5);
  color: var(--gold-100);
}

.contato .btn-ghost:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.contact-card {
  background: rgba(250, 246, 238, 0.05);
  border: 1px solid rgba(250, 246, 238, 0.16);
  padding: 2.4rem;
}

.contact-card .row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(250, 246, 238, 0.12);
}

.contact-card .row:last-child {
  border-bottom: none;
}

.contact-card svg {
  width: 20px;
  height: 20px;
  color: var(--gold-300);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-card .row strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.3rem;
}

.contact-card .row span,
.contact-card .row a {
  font-size: 0.96rem;
  color: rgba(250, 246, 238, 0.88);
}

/* Footer */

.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(250, 246, 238, 0.12);
  padding: 2.6rem 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  height: 34px;
  border-radius: 2px;
}

.footer-brand span {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-100);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-meta {
  font-size: 0.78rem;
  color: rgba(250, 246, 238, 0.5);
  text-align: right;
}

.footer-social {
  display: flex;
  gap: 0.9rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 246, 238, 0.22);
  color: var(--gold-100);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* Floating WhatsApp */

.float-whatsapp {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: var(--gold-100);
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
  animation: float-pulse 3.2s ease-in-out infinite;
}

.float-whatsapp:hover {
  transform: translateY(-2px);
  background: var(--gold-700);
  animation-play-state: paused;
}

.float-whatsapp svg {
  width: 20px;
  height: 20px;
}

@keyframes float-pulse {
  0%, 100% {
    box-shadow: var(--shadow), 0 0 0 0 rgba(195, 154, 86, 0.45);
  }
  50% {
    box-shadow: var(--shadow), 0 0 0 10px rgba(195, 154, 86, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-whatsapp {
    animation: none;
  }
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual.reveal {
  transition-delay: 0.15s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .site-header.is-scrolled .wrap {
    height: 92px;
  }

  .site-header.is-scrolled .brand img {
    height: 56px;
  }

  .main-nav {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 400;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1.6rem 1.5rem;
    gap: 1.3rem;
  }

  .header-actions .btn-gold span.label-full {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero .wrap,
  .localizacao .wrap,
  .contato .wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    padding: 1.2rem 1.6rem 3rem 0;
  }

  .hero-frame {
    border-radius: 90px 20px 20px 20px;
  }

  .hero-ring {
    width: 150px;
    height: 150px;
  }

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

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  section {
    padding: 4rem 0;
  }

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

  .hero-meta {
    gap: 1.4rem;
  }

  .hero-tag {
    padding: 0.8rem 1.1rem;
  }

  .hero-tag strong {
    font-size: 1rem;
  }

  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }

  .float-whatsapp span {
    display: none;
  }

  .float-whatsapp {
    padding: 0.9rem;
    border-radius: 50%;
  }

  .contact-card {
    padding: 1.8rem;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 280px;
  }

  .service-card {
    padding: 2rem 1.6rem;
  }

  .hero-tag {
    left: -1px;
  }
}
