/* ==============================
   ELOISE BORGATO CARAMANO
   Nutricionista — Design System
   ============================== */

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

/* ── Tokens ── */
:root {
  --rose-deep:    #ECC9B2;
  --rose-mid:     #C8D9A5;
  --rose-light:   #E2EDCC;
  --rose-xlight:  #F3F8EA;
  --rose-pale:    #FAFDF5;
  --mauve:        #879766;
  --mauve-dark:   #5B6743;

  --cream:        #FDF8F5;
  --warm-white:   #FFFFFF;
  --gray-900:     #1E1A1B;
  --gray-700:     #3D3238;
  --gray-500:     #6B5C61;
  --gray-300:     #C4B4BA;
  --gray-100:     #F5EFEF;

  --font-serif:   'Playfair Display', serif;
  --font-sans:    'Inter', sans-serif;

  --shadow-sm:    0 2px 12px rgba(135, 151, 102, 0.10);
  --shadow-md:    0 8px 32px rgba(135, 151, 102, 0.15);
  --shadow-lg:    0 20px 60px rgba(135, 151, 102, 0.20);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    40px;

  --transition:   all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

/* ── Section spacing ── */
section { padding: 6rem 0; }

/* ── Headings ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 3.5rem;
  font-weight: 400;
}

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

/* ── Decorative rule ── */
.section-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose-mid));
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.section-rule.left { margin: 0 0 1.25rem; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 248, 250, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(181,105,122,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mauve-dark);
  letter-spacing: -0.01em;
  transition: var(--transition);
}
.navbar.scrolled .nav-logo { color: var(--mauve-dark); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  transform: translateY(-4px);
}

.nav-links a {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.navbar.scrolled .nav-links a { color: var(--gray-700); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--rose-deep);
  border-radius: 1px;
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--rose-mid) !important; }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  background: linear-gradient(135deg, var(--rose-deep), var(--mauve)) !important;
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(181,105,122,0.4);
  transition: var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(181,105,122,0.45) !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--gray-700); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  background: url('Topo.png') no-repeat calc(100% + 12vw) bottom;
  background-size: auto 95%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(244, 234, 228, 0.85) 0%, rgba(244, 234, 228, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-content-side {
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4rem 0 3rem 0;
  position: relative;
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(135, 151, 102, 0.1);
  border: 1px solid rgba(135, 151, 102, 0.2);
  color: var(--mauve-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  width: fit-content;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  color: var(--mauve);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 3rem;
  max-width: 360px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: fit-content;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.btn-outline-dark:hover {
  background: rgba(61, 50, 56, 0.05);
  border-color: var(--gray-500);
  color: var(--gray-900);
}

.hero-stats {
  display: inline-flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 1.5rem 2.5rem;
  background: rgba(244, 234, 228, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(135, 151, 102, 0.2);
  width: fit-content;
}

.hero-stat .number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--mauve);
  display: block;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-indicator .line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gray-500), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ══════════════════════════════
   SOBRE
══════════════════════════════ */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 2px solid var(--rose-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--rose-deep), var(--mauve));
  color: white;
  padding: 1.4rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge .big { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; display: block; line-height: 1; }
.about-badge .small { font-size: 0.75rem; opacity: 0.85; letter-spacing: 0.06em; margin-top: 0.25rem; text-transform: uppercase; }

.about-text {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 1.2rem;
  text-align: justify;
  hyphens: auto;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.2rem 1.5rem;
  background: var(--rose-xlight);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--rose-deep);
  transition: var(--transition);
}
.credential-item:hover { background: var(--rose-light); transform: translateX(4px); }

.credential-icon {
  color: var(--rose-deep);
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-info h3 {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
}
.credential-info p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.specialties-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.specialties-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.specialties-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}
.specialties-list li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--rose-deep);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════
   DEPOIMENTOS
══════════════════════════════ */
.testimonials {
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '❝';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  font-size: 22rem;
  color: var(--rose-light);
  opacity: 0.4;
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose-deep), var(--rose-mid));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--rose-light);
  flex-shrink: 0;
}

.testimonial-avatar-placeholder {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-deep), var(--mauve));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
  border: 3px solid var(--rose-light);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
}
.testimonial-stars { color: #F59E0B; font-size: 0.9rem; letter-spacing: 0.05em; }

.testimonial-text {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.75;
  font-style: italic;
}

/* ══════════════════════════════
   CONSULTÓRIO
══════════════════════════════ */
.office {
  background: var(--warm-white);
}

.office-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ══════════════════════════════
   MAPA
══════════════════════════════ */
.map-section {
  position: relative;
}

.map-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: saturate(0.8) sepia(0.1);
}

.map-overlay {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  background: white;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 240px;
}
.map-overlay p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.map-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--rose-deep), var(--mauve));
  color: white;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.btn-maps:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ══════════════════════════════
   CONTATO
══════════════════════════════ */
.contact {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--rose-xlight), var(--rose-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--rose-deep);
}

.contact-card h3 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.contact-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-cta {
  text-align: center;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--mauve-dark);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}
footer strong { color: rgba(255,255,255,0.9); }
footer a { color: var(--rose-light); transition: var(--transition); }
footer a:hover { color: white; }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }

/* ══════════════════════════════
   ATENDIMENTOS
══════════════════════════════ */
.deliverables-section {
  background: var(--cream);
}

.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(135, 151, 102, 0.1);
  padding: 1.2rem 2rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  color: var(--gray-900);
  font-weight: 500;
  transition: var(--transition);
}

.deliverable-item:hover {
  background: var(--warm-white);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.deliverable-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8FA78A;
  flex-shrink: 0;
}

/* ══════════════════════════════
   PASSO A PASSO
══════════════════════════════ */
.steps-section {
  background: var(--warm-white);
  overflow: hidden;
}

.steps-intro {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.steps-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.steps-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.steps-image-backdrop {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(135, 151, 102, 0.15);
  pointer-events: none;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--rose-xlight);
  color: var(--mauve-dark);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(135, 151, 102, 0.2);
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gray-900);
  margin-bottom: 0.6rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ══════════════════════════════

   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .hero { align-items: flex-start; padding-top: 55vh; background-position: center top; }
  .hero::before { background: linear-gradient(to bottom, transparent 40%, var(--cream) 100%); }
  .hero-content-side { padding: 2rem 0 4rem; max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-image-wrap, .steps-image-wrap { max-width: 500px; margin: 0 auto; }
  .scroll-indicator { display: none; }
}

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

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-stats { gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .office-gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .about-image-wrap img { height: 400px; }
  .about-badge { bottom: -16px; right: -8px; padding: 1rem 1.4rem; }

  .map-overlay {
    position: static;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--rose-xlight);
  }

  .specialties-list { grid-template-columns: 1fr; }

  .hero-content-side { padding: 3rem 1.5rem 4rem; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(92, 45, 63, 0.97);
    backdrop-filter: blur(16px);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a {
    font-size: 1.5rem !important;
    color: white !important;
  }
}
