/* =============================================
   Dra. Lorrany Lages — Estética Avançada
   ============================================= */

:root {
  --white: #FDFBF8;
  --off-white: #FAF7F3;
  --gray-light: #F0EDE8;
  --gray-mid: #C8C2BA;
  --gray-text: #6B6560;
  --text: #3D3835;
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --gold-dark: #A8894F;
  --nude: #E8D5CE;
  --nude-light: #F2E6E0;
  --rose: #D4B5AD;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --shadow-sm: 0 2px 12px rgba(61, 56, 53, 0.06);
  --shadow-md: 0 8px 32px rgba(61, 56, 53, 0.08);
  --shadow-lg: 0 16px 48px rgba(61, 56, 53, 0.1);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-text);
  max-width: 520px;
  margin-inline: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(196, 162, 101, 0.35);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 162, 101, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.icon {
  width: 18px;
  height: 18px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(253, 251, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.logo__tag {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--gray-text);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header__cta .icon {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(160deg, var(--white) 0%, var(--off-white) 50%, var(--nude-light) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.hero__shape--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.12) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 213, 206, 0.5) 0%, transparent 70%);
  bottom: 10%;
  left: 30%;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.08) 0%, transparent 70%);
  bottom: 20%;
  right: 20%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding-block: 3rem 4rem;
}

.hero__image {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.hero__image img {
  width: 100%;
  max-width: 480px;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(0 20px 40px rgba(61, 56, 53, 0.12));
}

.hero__content {
  padding-left: 1rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-dark);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 440px;
  margin-bottom: 2.25rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Sections ---- */
.section {
  padding: 6rem 0;
}

/* ---- Sobre ---- */
.sobre {
  background: var(--off-white);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.sobre__frame {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 400px;
  margin-inline: auto;
}

.sobre__accent {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.4;
}

.sobre__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.sobre__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--nude-light), var(--nude));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre__placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--gold);
  opacity: 0.5;
}

.sobre__text p {
  color: var(--gray-text);
  margin-bottom: 1.25rem;
}

.sobre__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.sobre__highlights li {
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--nude);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ---- Procedimentos ---- */
.procedimentos {
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--off-white);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}

.card:hover {
  background: var(--white);
  border-color: var(--nude);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ---- Diferenciais ---- */
.diferenciais {
  background: linear-gradient(180deg, var(--gray-light) 0%, var(--off-white) 100%);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.diff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.diff-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.diff-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1rem;
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.diff-card p {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* ---- Galeria ---- */
.galeria {
  background: var(--white);
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}

.galeria__item--wide {
  grid-column: span 2;
}

.galeria__inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition);
}

.galeria__item:hover .galeria__inner {
  transform: scale(1.02);
}

.galeria__inner span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
}

.galeria__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 56, 53, 0.55) 0%, transparent 60%);
}

.galeria__inner--1 {
  background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
}
.galeria__inner--2 {
  background-image: url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
}
.galeria__inner--3 {
  background-image: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
}
.galeria__inner--4 {
  background-image: url('https://images.unsplash.com/photo-1579684389782-64d84b5e901a?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
}
.galeria__inner--5 {
  background-image: url('https://images.unsplash.com/photo-1584820927498-cfe5211fd8bf?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
}

/* ---- Instagram ---- */
.instagram {
  background: var(--off-white);
  padding: 5rem 0;
}

.instagram__box {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--nude-light);
}

.instagram__icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
}

.instagram__icon svg {
  width: 100%;
  height: 100%;
}

.instagram__content .section-title {
  margin-bottom: 0.5rem;
}

.instagram__content p {
  font-size: 0.9rem;
  color: var(--gray-text);
}

.instagram__feed {
  display: flex;
  gap: 0.5rem;
}

.instagram__post {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid var(--nude);
  transition: transform var(--transition);
  overflow: hidden;
  display: block;
}

.instagram__post:hover {
  transform: scale(1.05);
}

.instagram__post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- MVV ---- */
.mvv {
  background: var(--gray-light);
  padding: 5rem 0;
}

.mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mvv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.mvv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.mvv-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.mvv-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
}

.valores-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.valores-list li {
  padding: 0.35rem 0.9rem;
  background: var(--off-white);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text);
  border: 1px solid var(--nude);
}

/* ---- Contato ---- */
.contato {
  background: var(--white);
}

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contato__item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contato__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 50%;
  color: var(--gold);
}

.contato__icon svg {
  width: 22px;
  height: 22px;
}

.contato__item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contato__item p,
.contato__item a {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
}

.contato__item a:hover {
  color: var(--gold);
}

.contato__info > .btn {
  margin-top: 0.5rem;
}

.contato__map {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--nude-light);
}

.contato__map iframe {
  width: 100%;
  height: 100%;
}

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: rgba(253, 251, 248, 0.85);
  padding-top: 3.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.footer__tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.85rem;
  opacity: 0.75;
  transition: opacity var(--transition), color var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__address p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.7;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.15s;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram__box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .mvv__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(253, 251, 248, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 2rem 3rem;
  }

  .hero__image {
    justify-content: center;
    order: -1;
  }

  .hero__image img {
    max-width: 320px;
    margin-inline: auto;
  }

  .hero__content {
    padding-left: 0;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sobre__frame {
    max-width: 280px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .diferenciais__grid {
    grid-template-columns: 1fr;
  }

  .galeria__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .galeria__item--wide {
    grid-column: span 1;
  }

  .galeria__inner {
    min-height: 180px;
  }

  .contato__grid {
    grid-template-columns: 1fr;
  }

  .contato__map {
    height: 300px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links,
  .footer__social {
    align-items: center;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .instagram__box {
    padding: 2rem 1.5rem;
  }

  .instagram__feed {
    display: none;
  }
}
