/* ============================================================
   Dra. Tatiane Lambert — Landing Page
   Paleta: branco, nude, rosé, bege, dourado, marrom claro
   Mobile first · CSS puro
   ============================================================ */

/* --- Variáveis de cores e tipografia --- */
:root {
  --color-white: #ffffff;
  --color-nude: #e8d5c8;
  --color-rose: #e8b4b8;
  --color-rose-light: #f5dde0;
  --color-beige: #f7f0e8;
  --color-beige-dark: #ede4d8;
  --color-gold: #b8956b;
  --color-gold-light: #d4b896;
  --color-brown: #5c4a3d;
  --color-brown-light: #8a7568;
  --color-brown-muted: #a89588;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --shadow-sm: 0 2px 12px rgba(92, 74, 61, 0.06);
  --shadow-md: 0 8px 32px rgba(92, 74, 61, 0.1);
  --shadow-lg: 0 16px 48px rgba(92, 74, 61, 0.12);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: 0.3s ease;
  --header-height: 72px;
}

/* --- Reset básico --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-brown);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* --- Utilitários --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Ícones SVG inline --- */
.icon-star,
.icon-pin,
.icon-whatsapp {
  fill: currentColor;
  flex-shrink: 0;
}

.icon-star { width: 18px; height: 18px; color: var(--color-gold); }
.icon-pin  { width: 18px; height: 18px; }
.icon-whatsapp { width: 22px; height: 22px; }

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--sm {
  font-size: 0.8125rem;
  padding: 0.55rem 1.1rem;
}

.btn--lg {
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--color-brown);
  border: 1.5px solid var(--color-nude);
}

.btn--outline:hover {
  background: var(--color-beige);
  border-color: var(--color-gold-light);
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn--gold:hover {
  box-shadow: var(--shadow-md);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 213, 200, 0.5);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Placeholder para logo — substituir por <img> quando disponível */
.logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-rose-light), var(--color-nude));
  border: 1.5px solid var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder__initials {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brown);
  letter-spacing: 0.05em;
}

.header__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brown);
  line-height: 1.2;
}

/* Menu — oculto no mobile */
.header__nav {
  display: none;
}

.header__menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-brown-light);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-brown);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header__cta {
  display: none;
}

/* Hamburger toggle */
.header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-brown);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile aberto */
.header__nav.is-open {
  display: flex;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-beige-dark);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  animation: slideDown 0.3s ease;
}

.header__nav.is-open .header__menu {
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero --- */
.hero {
  padding: calc(var(--header-height) + 2rem) 0 3rem;
  background: linear-gradient(160deg, var(--color-beige) 0%, var(--color-white) 55%, var(--color-rose-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(232, 180, 184, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.hero__content {
  text-align: center;
  max-width: 600px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-brown);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--color-brown-light);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero__badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  align-items: center;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-brown-light);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-beige-dark);
}

.hero__badge strong {
  color: var(--color-brown);
  font-weight: 600;
}

.hero__cta {
  width: 100%;
  max-width: 360px;
}

/* Hero image */
.hero__visual {
  width: 100%;
  max-width: 340px;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.hero__image-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(92, 74, 61, 0.15), transparent);
  pointer-events: none;
}

/* --- Seções genéricas --- */
.section {
  padding: 4rem 0;
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--color-brown);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section__desc {
  font-size: 0.95rem;
  color: var(--color-brown-light);
  font-weight: 300;
}

/* --- Serviços --- */
.section--services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-beige-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-rose-light), var(--color-beige));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-gold);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-brown);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-brown-light);
  flex-grow: 1;
  font-weight: 300;
}

/* --- Sobre --- */
.section--about {
  background: var(--color-beige);
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about__text {
  font-size: 1rem;
  color: var(--color-brown-light);
  font-weight: 300;
  line-height: 1.75;
}

.about__benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-brown);
  background: var(--color-white);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.benefit-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

/* --- Depoimentos --- */
.section--testimonials {
  background: var(--color-white);
}

.rating-block {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.rating-block__score {
  text-align: center;
  background: linear-gradient(135deg, var(--color-beige), var(--color-rose-light));
  border-radius: var(--radius-lg);
  padding: 2rem 3rem;
  box-shadow: var(--shadow-md);
}

.rating-block__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.rating-block__stars svg {
  width: 24px;
  height: 24px;
  fill: var(--color-gold);
}

.rating-block__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-brown);
  line-height: 1;
}

.rating-block__label {
  font-size: 0.95rem;
  color: var(--color-brown-light);
  margin-bottom: 0.25rem;
}

.rating-block__count {
  font-size: 0.85rem;
  color: var(--color-brown-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--color-beige);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-beige-dark);
}

.testimonial-card__stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--color-brown-light);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 300;
}

.testimonial-card__author {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-brown);
}

/* --- Localização --- */
.section--location {
  background: var(--color-beige);
}

.location__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location__address {
  font-size: 1rem;
  color: var(--color-brown-light);
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
  font-weight: 300;
}

.map-placeholder {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-beige-dark);
  background: var(--color-beige-dark);
}

/* --- Horários --- */
.section--hours {
  background: var(--color-white);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.hours-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--color-beige);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-beige-dark);
  transition: background var(--transition);
}

.hours-card:hover {
  background: var(--color-rose-light);
}

.hours-card__day {
  font-weight: 500;
  color: var(--color-brown);
  font-size: 0.95rem;
}

.hours-card__time {
  font-size: 0.9rem;
  color: var(--color-brown-light);
}

.hours-card--closed .hours-card__time {
  color: var(--color-brown-muted);
  font-style: italic;
}

/* --- CTA Final --- */
.section--cta {
  background: linear-gradient(135deg, var(--color-brown) 0%, #4a3c32 100%);
  padding: 4rem 0;
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

/* --- Rodapé --- */
.footer {
  background: var(--color-beige);
  border-top: 1px solid var(--color-beige-dark);
  padding: 2.5rem 0;
}

.footer__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-brown);
}

.footer__segment {
  font-size: 0.875rem;
  color: var(--color-brown-light);
  margin-top: 0.25rem;
}

.footer__contact {
  font-size: 0.875rem;
  color: var(--color-brown-light);
  line-height: 1.8;
}

.footer__contact a {
  color: var(--color-whatsapp-dark);
  font-weight: 500;
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--color-whatsapp);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--color-brown-muted);
  max-width: 520px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
}

/* --- Botão flutuante WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-whatsapp);
  color: var(--color-white);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  animation: pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-float__label {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Destaque visual ao rolar (classe adicionada via JS) */
.whatsapp-float.is-highlighted {
  animation: wiggle 0.6s ease;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25%       { transform: rotate(-8deg) scale(1.08); }
  75%       { transform: rotate(8deg) scale(1.08); }
}

/* --- Animações de reveal (scroll) --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay      { transition-delay: 0.15s; }
.reveal--delay-2    { transition-delay: 0.3s; }

/* ============================================================
   MEDIA QUERIES — Tablet e Desktop
   ============================================================ */

/* Tablet: 600px+ */
@media (min-width: 600px) {
  .hero__badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .hours-grid {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 900px+ */
@media (min-width: 900px) {
  :root {
    --header-height: 80px;
  }

  .header__toggle {
    display: none;
  }

  .header__nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__name {
    font-size: 1.15rem;
  }

  .hero {
    padding: calc(var(--header-height) + 3rem) 0 4rem;
  }

  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero__content {
    text-align: left;
    flex: 1;
    max-width: none;
  }

  .hero__badges {
    justify-content: flex-start;
  }

  .hero__cta {
    width: auto;
    max-width: none;
  }

  .hero__visual {
    flex: 0 0 42%;
    max-width: 440px;
  }

  .about__grid {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .about__content {
    flex: 1;
  }

  .about__benefits {
    flex: 1;
  }

  .location__grid {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .location__info {
    flex: 1;
  }

  .location__map {
    flex: 1;
  }

  .map-placeholder {
    height: 360px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }

  .footer__disclaimer {
    flex-basis: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

/* Desktop grande: 1100px+ */
@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 5rem 0;
  }
}

/* Mobile: botão flutuante compacto */
@media (max-width: 480px) {
  .whatsapp-float__label {
    display: none;
  }

  .whatsapp-float {
    padding: 0.9rem;
    bottom: 1rem;
    right: 1rem;
  }

  .header__name {
    font-size: 0.85rem;
    max-width: 140px;
    line-height: 1.3;
  }
}
