/* =========================================================
   Clarissa Vieira - Nutrição da Mulher e Infantil
   Palette drawn from brand material: dusty rose + sage green
   ========================================================= */

:root {
  --rose: #b76e79;
  --rose-deep: #99555f;
  --rose-tint: #f6e7e8;
  --rose-wash: #fbf2f1;
  --green: #6e8f7d;
  --green-deep: #4f6e5e;
  --green-tint: #e7efe9;
  --whatsapp: #25d366;
  --ink: #3e3a39;
  --ink-soft: #6b6564;
  --cream: #fdfaf7;
  --sand: #f6efe9;
  --line: #ece2db;
  --white: #ffffff;
  --shadow: 0 18px 40px -24px rgba(120, 80, 80, 0.35);
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose-deep); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.25rem; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

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

.section-kicker,
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-deep);
  margin: 0 0 0.9rem;
}

.section-kicker { color: var(--rose-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary { background: var(--rose); color: var(--white); }
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-ghost { border-color: var(--rose); color: var(--rose-deep); background: transparent; }
.btn-ghost:hover { background: var(--rose-tint); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--rose-deep); }
.brand-tag { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); }

.main-nav { display: flex; align-items: center; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.nav-list a:hover { color: var(--rose-deep); }

.nav-cta a {
  background: var(--rose);
  color: var(--white) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
}
.nav-cta a:hover { background: var(--rose-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 15% 0%, var(--rose-wash), transparent 55%),
    radial-gradient(circle at 90% 100%, var(--green-tint), transparent 50%),
    var(--cream);
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}

.hero-inner { max-width: 780px; margin-inline: auto; }

.hero-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 1.2rem auto 2rem;
}
.hero-lead strong { color: var(--ink); }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-block: 1px solid var(--line); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.2rem 0;
}

.trust-item { display: flex; align-items: center; gap: 0.8rem; }
.trust-item p { margin: 0; font-weight: 600; font-size: 0.95rem; }
.trust-icon {
  display: grid; place-items: center;
  min-width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 1rem;
}

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

.about-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-photo { position: sticky; top: 100px; }

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.credential {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 0.9rem;
  background: var(--green-tint);
  color: var(--green-deep);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.about-text p { margin: 0 0 1.1rem; }

.mission {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--rose-deep);
  border-left: 3px solid var(--rose);
  padding-left: 1.2rem;
  margin: 1.6rem 0 !important;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tag-list li {
  background: var(--rose-wash);
  border: 1px solid var(--rose-tint);
  color: var(--rose-deep);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- How it works ---------- */
.how { background: var(--sand); }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rose);
  font-weight: 600;
}
.step h3 { margin: 0.4rem 0 0.5rem; }
.step p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { background: var(--cream); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3 { color: var(--rose-deep); }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; margin: 0 0 1.2rem; }

.service-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--green-deep);
  font-weight: 500;
}

/* ---------- Specialties ---------- */
.specialties { background: var(--green-deep); color: var(--white); }
.specialties .section-kicker { color: #d8e6dd; }
.specialties h2 { color: var(--white); }

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.specialty {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.05);
}
.specialty-num { font-family: var(--font-display); font-size: 1.5rem; color: #cfe3d6; }
.specialty h3 { color: var(--white); margin: 0.3rem 0 0.5rem; }
.specialty p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; }

/* ---------- Reviews (Google) ---------- */
.reviews { background: var(--sand); }

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0 0;
  font-size: 1rem;
  color: var(--ink-soft);
}
.reviews-rating .stars { font-size: 1.05rem; }
.reviews-rating strong { color: var(--ink); font-size: 1.15rem; }
.pending { font-style: italic; opacity: 0.7; }

.stars { color: #e6a800; letter-spacing: 2px; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .review-grid { grid-template-columns: 1fr; }
}
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.review .stars { display: block; font-size: 1rem; margin-bottom: 0.8rem; }
.review blockquote {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}
.review figcaption {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 700;
}

.reviews-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Why ---------- */
.why { background: var(--rose-wash); text-align: center; }
.why-inner { max-width: 680px; margin-inline: auto; }
.why-text {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  margin: 1.2rem 0 2rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--rose);
  color: var(--white);
  text-align: center;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 520px; margin: 0 auto 1.8rem; color: rgba(255, 255, 255, 0.9); }
.cta-band .btn-ghost { border-color: var(--white); color: var(--white); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }
.cta-band .btn-primary { background: var(--white); color: var(--rose-deep); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--rose);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0.9rem 0 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--sand); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.contact-list li { padding: 0.4rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 400;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--rose-tint);
  border-color: var(--rose);
}
.form-note { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; margin: 0; }

/* ---------- Location ---------- */
.location { background: var(--cream); }
.location-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.location-list { list-style: none; padding: 0; margin: 0; }
.location-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding-top: 3.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo { display: flex; align-items: center; gap: 0.7rem; }
.footer-logo img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand .brand-name { color: var(--white); font-size: 1.4rem; }
.footer-brand p { font-size: 0.9rem; margin: 0.6rem 0 0; max-width: 320px; }
.footer-cred { color: rgba(255, 255, 255, 0.55) !important; font-size: 0.82rem !important; }
.footer-col h3 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-body); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 1.5rem 0 2.5rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom p { margin: 0.3rem 0; }
.disclaimer { font-style: italic; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 320px; }
  .contact-inner,
  .location-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav { position: relative; }
  .nav-list {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    width: 220px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 0.5rem 0.6rem; border-radius: 8px; }
  .nav-cta a { text-align: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .steps,
  .service-grid,
  .specialty-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
