/* ===========================================================
   Mini Maternidade — Bebês Reborn
   Estático, mobile-first
   =========================================================== */

:root {
  --color-pink: #ef2b5f;
  --color-pink-dark: #c72f5c;
  --color-pink-deeper: #a01d45;
  --color-pink-soft: #fbacbb;
  --color-pink-bg: #faeeef;
  --color-pink-bg-deep: #facdd5;
  --color-mint: #048068;
  --color-blue: #6ec1e4;
  --color-yellow: #f7ce04;
  --color-taupe: #b8a698;

  --color-text: #4a3f3d;
  --color-text-soft: #6f625f;
  --color-white: #ffffff;

  /* Duas famílias: Satisfy para headings/destaques, Quicksand para corpo e UI */
  --font-script: "Satisfy", cursive;
  --font-body: "Quicksand", sans-serif;

  --radius: 20px;
  --shadow: 0 10px 30px rgba(239, 43, 95, 0.12);
  --container: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Reserva espaço pro header fixo (~60px) na hora de pular pra uma
     seção via âncora, senão o título fica escondido atrás do header. */
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  margin: 0 0 16px;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--color-pink);
}

h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 4vw, 1.8rem); }

p { margin: 0 0 12px; }

.section { padding: 64px 0; }
.section--soft { background: var(--color-pink-bg); }
.section--pink { background: var(--color-pink-bg-deep); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--color-text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  background: var(--color-pink);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(239, 43, 95, 0.2); }
.btn--outline {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  box-shadow: none;
}
.btn--whatsapp { background: #25d366; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25); }
.btn--outline-pink {
  background: transparent;
  border: 2px solid var(--color-pink);
  color: var(--color-pink);
  box-shadow: none;
}
.btn--outline-pink:hover { background: var(--color-pink); color: var(--color-white); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.header__logo { flex-shrink: 0; }
.header__logo img { height: 38px; width: auto; }
.header__cta { flex-shrink: 0; font-size: 0.78rem; padding: 10px 18px; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.header__nav::-webkit-scrollbar { display: none; }
.header__nav a {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.header__nav a:hover { color: var(--color-pink); border-color: var(--color-pink); }
@media (min-width: 760px) {
  .header__nav { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  background-color: #1a1213;
  color: var(--color-white);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Overlay reforçado: mantém opacidade alta por mais tempo pra garantir
     contraste AA do texto branco mesmo sobre trechos claros da foto. */
  background: linear-gradient(0deg, rgba(10, 6, 6, 0.72) 0%, rgba(10, 6, 6, 0.72) 40%, rgba(10, 6, 6, 0.15) 75%, rgba(10, 6, 6, 0) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
}
.hero__text {
  max-width: 560px;
  text-align: left;
}
.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.hero__subtitle {
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero__price {
  display: inline-block;
  font-size: 0.95rem;
  background: rgba(10, 6, 6, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 18px;
  border-radius: 30px;
  backdrop-filter: blur(2px);
}
.hero__shipping {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  background: var(--color-mint);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(4, 128, 104, 0.35);
}

/* ---------- Wave divider ---------- */
.wave {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: -1px;
}
.wave path { fill: var(--color-pink-bg); }
.wave--white path { fill: var(--color-white); }

/* ---------- Como Funciona ---------- */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-card__number {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--color-pink-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0 auto 14px;
}
.step-card h3 { font-family: var(--font-script); font-size: 1.3rem; }
.step-card p { color: var(--color-text-soft); margin: 0; }

/* ---------- Feature cards (Características / Enxoval) ---------- */
.features {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .features { grid-template-columns: 1fr 1fr; }
}
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-card__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pink-bg);
  overflow: hidden;
}
.feature-card__icon img { width: 56px; height: 56px; object-fit: contain; }
.feature-card h3 { font-family: var(--font-script); }

/* ---------- Partners carousel/grid ---------- */
.partners {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 760px) { .partners { grid-template-columns: repeat(6, 1fr); } }
.partners__item {
  height: 80px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  filter: grayscale(40%);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.partners__item:hover { filter: grayscale(0); transform: translateY(-3px); }
.partners__item img { height: 100%; width: 100%; object-fit: contain; }

/* ---------- Sobre + contadores ---------- */
.about {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .about { grid-template-columns: 0.9fr 1.1fr; }
}
.about__logo img { max-width: 260px; margin: 0 auto; }
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  text-align: center;
}
.counter__number {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--color-mint);
  line-height: 1;
}
.counter__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-top: 6px;
}

/* ---------- Depoimentos ---------- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 300px;
  max-width: 340px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.testimonial-card__stars { color: var(--color-yellow); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card__quote { font-style: italic; color: var(--color-text-soft); margin-bottom: 16px; }
.testimonial-card__author { font-family: var(--font-body); font-weight: 700; color: var(--color-pink); }
.testimonial-card__city { font-size: 0.85rem; color: var(--color-text-soft); }
.reviews-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -4px 0 28px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-mint);
}
.reviews-cta { text-align: center; margin-top: 36px; }

/* ---------- Instagram ---------- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
@media (min-width: 700px) { .instagram-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .instagram-grid { grid-template-columns: repeat(4, 1fr); } }
.instagram-item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: stretch;
}
.instagram-item .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
}
.instagram-item__placeholder {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: var(--color-text-soft);
  background: var(--color-pink-bg);
  border: 1px dashed var(--color-pink-soft);
  border-radius: 14px;
  font-size: 0.82rem;
}
.instagram-item__placeholder svg { color: var(--color-pink-soft); }
.instagram-cta { text-align: center; }

/* ---------- Galeria (NÃO USADO — seção "Nossos Bebês pelo Brasil" removida
   do index.html; regras mantidas aqui só de referência pra uso futuro) ---------- */
.gallery {
  columns: 2;
  column-gap: 16px;
}
@media (min-width: 640px) { .gallery { columns: 3; } }
@media (min-width: 960px) { .gallery { columns: 4; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-pink-bg);
}
.gallery-item__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.gallery-item__btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item__btn:hover img,
.gallery-item__btn:focus-visible img { transform: scale(1.05); }
.gallery-item__credit {
  padding: 8px 12px;
  font-size: 0.78rem;
  text-align: right;
  color: var(--color-text-soft);
}
.gallery-item__credit a { color: var(--color-pink); font-weight: 700; }

/* ---------- Lightbox (<dialog> nativo) (NÃO USADO — dependia da seção
   Galeria removida do index.html; regras mantidas aqui só de referência) ---------- */
.gallery-lightbox {
  border: none;
  border-radius: 16px;
  padding: 0;
  max-width: 90vw;
  max-height: 85vh;
  background: transparent;
}
.gallery-lightbox::backdrop { background: rgba(20, 10, 10, 0.85); }
.gallery-lightbox__img {
  display: block;
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 12px;
}
.gallery-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.gallery-lightbox__caption {
  color: var(--color-white);
  text-align: center;
  margin: 10px 0 0;
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 14px;
  padding: 4px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-pink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-mint);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; color: var(--color-text-soft); margin: 0; }

/* ---------- Lojas / parceiros revendedores ---------- */
.stores {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .stores { grid-template-columns: 1fr 1fr; } }
.store-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--color-blue);
}
.store-card h3 {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.store-card p { font-size: 0.92rem; color: var(--color-text-soft); margin-bottom: 4px; }
.store-card a { color: var(--color-pink); font-weight: 700; }
.store-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
  font-size: 0.92rem;
}
.store-card__links a { display: inline-flex; align-items: center; gap: 4px; }
.store-card__links a[href^="https"] { color: var(--color-mint); }

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
  background: linear-gradient(135deg, var(--color-pink-dark), var(--color-pink-deeper));
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 56px 24px;
}
.cta-final h2 { color: var(--color-white); }
.cta-final p { color: rgba(255, 255, 255, 0.9); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer {
  background: #2b1f1d;
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 24px;
  font-size: 0.9rem;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}
.footer__logo img { height: 40px; width: auto; margin-bottom: 12px; }
.footer__social { display: flex; gap: 14px; margin-top: 12px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer__social a:hover { background: var(--color-pink); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
