@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --bg: #fefbf8;
  --surface: rgba(255, 252, 248, 0.75);
  --card: #ffffff;
  --primary: #9e7b88;
  --primary-soft: #b28f9c;
  --primary-strong: #624b56;
  --text: #1f1b1e;
  --muted: #5f5b5e;
  --line: #f0eae6;
  --shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 20px 38px rgba(63, 42, 52, 0.08);
  --shadow-lg: 0 30px 60px rgba(54, 32, 42, 0.12);
  --radius-card: 36px;
  --radius-element: 28px;
  --container: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(145deg, #fffaf7 0%, #fef6f2 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* background suave decorativo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 30%, rgba(158, 123, 136, 0.06), transparent 50%);
  pointer-events: none;
  z-index: -2;
}

/* Hero section */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 64px;
  padding: 60px 6% 40px;
  position: relative;
}

.hero-tag {
  display: inline-block;
  background: rgba(158, 123, 136, 0.12);
  backdrop-filter: blur(4px);
  padding: 6px 18px;
  border-radius: 80px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--primary-strong);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.8rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-strong) 20%, #896b78 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 38px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(105deg, var(--primary), var(--primary-strong));
  color: white;
  box-shadow: 0 12px 20px rgba(98, 75, 86, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 28px rgba(98, 75, 86, 0.28);
  background: linear-gradient(105deg, #aa828f, #765b66);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(158, 123, 136, 0.5);
  color: var(--primary-strong);
}

.btn-outline:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s;
  object-fit: cover;
  aspect-ratio: 1/1.1;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Sections gerais */
section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 6%;
}

section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--primary-strong);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
  position: relative;
}

section h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #dbbfcc);
  border-radius: 8px;
  display: block;
  margin-top: 12px;
}

section p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 860px;
  margin-bottom: 8px;
}

/* Cards modernos */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  margin-top: 20px;
}

.card-glow {
  background: rgba(255, 252, 248, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-card);
  padding: 42px 28px;
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 245, 240, 0.9);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.card-glow i {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 22px;
  background: rgba(158, 123, 136, 0.1);
  padding: 12px;
  border-radius: 60px;
}

.card-glow h3 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-strong);
}

.card-glow p {
  color: #6a5c61;
  font-size: 0.98rem;
}

.card-glow:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: var(--shadow-lg);
  border-color: #fff0ea;
}

/* Consultorio com mapa integrado */
.consultorio {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  background: rgba(255, 248, 244, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 56px;
  padding: 60px 48px !important;
  margin-top: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 245, 238, 0.9);
}

.consultorio h2 {
  margin-bottom: 28px;
}

.address-map-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 16px 0 8px;
}

.map-inline-link {
  background: rgba(98, 75, 86, 0.08);
  padding: 10px 20px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 500;
  color: var(--primary-strong);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
  font-size: 0.9rem;
  border: 1px solid rgba(158, 123, 136, 0.2);
}

.map-inline-link i {
  font-size: 1rem;
}

.map-inline-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.horario {
  background: #ede4df;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #52434a;
}

.consultorio-img-wrapper img {
  width: 100%;
  max-width: 280px;
  border-radius: 32px;
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.12);
  transition: 0.3s ease;
}

.consultorio-img-wrapper img:hover {
  transform: scale(1.02);
}

/* FAQ moderno */
.faq-modern {
  background: transparent;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.faq-item {
  background: rgba(255, 250, 247, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 32px;
  padding: 32px 24px;
  transition: 0.25s;
  border: 1px solid #fff2ec;
}

.faq-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  font-weight: 600;
  color: #4d3c43;
}

.faq-item p {
  font-size: 0.95rem;
  color: #6f5b62;
  margin-bottom: 0;
}

.faq-item:hover {
  background: white;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

/* Footer elegante */
footer {
  background: #2e2428;
  margin-top: 60px;
  padding: 48px 24px 32px;
  text-align: center;
  color: #f1e7e3;
}

.footer-content p {
  color: #e1d3ce;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 20px 0 18px;
}

.footer-links a {
  color: #f5e7e2;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffd9ce;
  text-decoration: underline;
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Botões flutuantes (WhatsApp e Maps) */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1050;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: white;
  backdrop-filter: blur(12px);
  padding: 14px 28px;
  border-radius: 80px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  letter-spacing: -0.2px;
}

.float-btn i {
  font-size: 1.35rem;
}

.whatsapp-btn {
  background: linear-gradient(115deg, #25D366, #128C7E);
  color: white;
  border: none;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  background: linear-gradient(115deg, #2fe07a, #0e6e5e);
  box-shadow: 0 20px 30px rgba(37, 211, 102, 0.3);
}

.maps-btn {
  background: linear-gradient(135deg, #2c8f8f, #1f6e6e);
  color: white;
  border: none;
}

.maps-btn:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #3aa5a5, #1a5f5f);
  box-shadow: 0 20px 30px rgba(44, 143, 143, 0.3);
}

/* Responsividade refinada */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 40px 6%;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image img {
    margin: 0 auto;
  }
  .consultorio {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px !important;
  }
  .address-map-row {
    justify-content: center;
  }
  .consultorio-img-wrapper img {
    margin: 0 auto;
    max-width: 260px;
  }
  .cards {
    gap: 24px;
  }
  .float-btn span {
    display: inline;
  }
}

@media (max-width: 680px) {
  section {
    padding: 60px 5%;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  .float-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
  }
  .float-btn i {
    font-size: 1.1rem;
  }
  .cards .card-glow {
    padding: 30px 18px;
  }
  .address-map-row {
    flex-direction: column;
    gap: 12px;
  }
  .faq-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .floating-buttons {
    right: 16px;
    bottom: 16px;
  }
  .float-btn {
    padding: 8px 14px;
  }
  .float-btn span {
    font-size: 0.75rem;
  }
}

/* micro interação fade-in */
@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(18px);}
  100% { opacity: 1; transform: translateY(0);}
}

.fade-in {
  animation: fadeSlide 0.6s ease forwards;
}

section, .cards, .consultorio, .faq-modern {
  animation: fadeSlide 0.6s ease-out;
}