/* ===================================================
   Victoria Colombara — Landing Page
   Aesthetic: "Livro de Bebê Moderno"
   =================================================== */

:root {
  /* Brand palette */
  --brand-pink: #e87f8e;
  --brand-sage: #a9c8b5;
  --brand-peach: #e4b488;
  --brand-cream: #f7f3ef;
  --brand-ink: #1f232a;
  --brand-white: #ffffff;
  --brand-shadow: rgba(31, 35, 42, 0.12);

  /* Extended palette */
  --pink-soft: #f6d7dd;
  --pink-hover: #e5637a;
  --sage: #bdd6c7;
  --sage-deep: #8fb8a3;
  --coral: #d15467;
  --cream-warm: #faf5f0;

  /* Spacing — 8pt scale */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.25rem;
  --s6: 1.5rem;
  --s8: 2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
  --r-round: 50%;

  /* Layout */
  --container: 1100px;
  --header-h: 80px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--brand-ink);
  background: var(--brand-cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p, ul, ol { margin: 0; }

/* ─── Utilities ─── */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1100;
  background: var(--brand-white);
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  box-shadow: 0 8px 20px var(--brand-shadow);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(31, 35, 42, 0.07);
  font-family: "DM Sans", sans-serif;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.inline-link {
  color: var(--coral);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(209, 84, 103, 0.3);
  transition: text-decoration-color 0.2s;
}
.inline-link:hover { text-decoration-color: var(--coral); }
.inline-link:focus-visible {
  outline: 3px solid var(--brand-pink);
  outline-offset: 2px;
  border-radius: 2px;
}

.muted-note {
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.5;
}

section { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: "DM Sans", sans-serif;
  padding: 0.78rem 1.3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 127, 142, 0.28);
}
.btn:focus-visible {
  outline: 3px solid var(--brand-pink);
  outline-offset: 3px;
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-pink) 0%, var(--pink-hover) 100%);
  color: var(--brand-white);
  border-color: transparent;
}

.btn-outline {
  background: transparent;
  border-color: var(--brand-ink);
  color: var(--brand-ink);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--brand-ink);
  color: var(--brand-white);
  box-shadow: 0 10px 28px rgba(31, 35, 42, 0.2);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.95rem 1.7rem;
}

.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 243, 239, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 35, 42, 0.06);
  min-height: var(--header-h);
  transition: min-height 0.25s ease, background 0.25s ease;
}
.site-header.is-compact {
  min-height: 64px;
  background: rgba(247, 243, 239, 0.96);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: var(--r-round);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(31, 35, 42, 0.1);
  text-decoration: none;
}
.brand-link:focus-visible {
  outline: 3px solid var(--brand-pink);
  outline-offset: 3px;
  border-radius: var(--r-round);
}
.brand-link img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* ─── Sections ─── */
.section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-header {
  display: grid;
  gap: var(--s3);
  margin-bottom: var(--s10);
}
.section-header h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  max-width: 20ch;
}

/* Section backgrounds */
.bg-cream { background: var(--brand-cream); }
.bg-pink-soft { background: linear-gradient(180deg, #f9e6ea 0%, var(--pink-soft) 100%); }
.bg-sage { background: linear-gradient(180deg, var(--sage) 0%, #b5d4c4 100%); }
.bg-ink {
  color: var(--brand-white);
  background: radial-gradient(ellipse at 20% 50%, #2d3340 0%, var(--brand-ink) 70%);
}

/* ─── Wave Dividers ─── */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}
.wave-divider svg {
  width: 100%;
  height: clamp(50px, 8vw, 120px);
  display: block;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fdf6f7 0%, #f6d7dd 45%, #f0c4cc 100%);
  padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(5rem, 10vw, 8rem);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("assets/pattern-leaf-320.png");
  background-size: 200px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: var(--s10);
}

.hero-copy {
  display: grid;
  gap: var(--s5);
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.8vw, 3.6rem);
  max-width: 18ch;
  font-weight: 700;
  color: var(--brand-ink);
}

.hero-subtitle {
  max-width: 52ch;
  color: rgba(31, 35, 42, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.hero-actions {
  padding-top: var(--s2);
}

.hero-mascot {
  margin: 0;
  justify-self: center;
  position: relative;
  z-index: 3;
}
.hero-mascot img {
  width: min(100%, 340px);
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(232, 127, 142, 0.2));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ─── Cards ─── */
.cards-grid {
  display: grid;
  gap: var(--s5);
}
.cards-4 { grid-template-columns: 1fr; }

.card {
  background: var(--brand-white);
  padding: var(--s6);
  border-radius: var(--r-lg);
  border: 1px solid rgba(31, 35, 42, 0.06);
  display: grid;
  gap: var(--s3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31, 35, 42, 0.1);
}

.card-glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(31, 35, 42, 0.06);
}

.card h3 {
  font-size: 1.25rem;
  font-family: "Fraunces", Georgia, serif;
}

.card-icon {
  font-size: 2rem;
  line-height: 1;
}

.card-highlight {
  border: 2px solid rgba(232, 127, 142, 0.2);
  background: var(--brand-white);
  box-shadow: 0 12px 30px rgba(232, 127, 142, 0.08);
}

.section-cta {
  text-align: center;
  margin-top: var(--s10);
}

/* ─── About ─── */
.about-grid {
  display: grid;
  gap: var(--s10);
  align-items: center;
}

.about-photo {
  margin: 0;
  justify-self: center;
}

.photo-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: var(--r-round);
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 20px 40px rgba(232, 127, 142, 0.15),
    0 0 0 12px rgba(232, 127, 142, 0.08);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: var(--s4);
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}
.about-intro {
  color: rgba(31, 35, 42, 0.75);
  font-size: 1.05rem;
  max-width: 48ch;
}

/* ─── Credentials ─── */
.credentials-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--s3);
}
.credentials-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
}
.credentials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: var(--r-round);
  background: var(--brand-sage);
  box-shadow: 0 0 0 4px rgba(169, 200, 181, 0.25);
}

/* ─── Check list ─── */
.check-list {
  list-style: none;
  padding: 0;
  margin: var(--s5) 0 0;
  display: grid;
  gap: var(--s3);
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 10px;
  height: 10px;
  border-radius: var(--r-round);
  background: var(--brand-pink);
  box-shadow: 0 0 0 4px rgba(232, 127, 142, 0.15);
}

/* ─── Steps ─── */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

/* Connector line */
.steps-list::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 48px;
  bottom: 48px;
  width: 3px;
  background: linear-gradient(180deg, rgba(31,35,42,0.15) 0%, rgba(31,35,42,0.05) 100%);
  border-radius: 2px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s5);
  padding: var(--s5) var(--s5) var(--s5) 0;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: var(--r-round);
  background: var(--brand-ink);
  color: var(--brand-white);
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(31, 35, 42, 0.15);
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: var(--s2);
}
.step-content p {
  color: rgba(31, 35, 42, 0.75);
}

/* ─── Sinais grid ─── */
.sinais-grid {
  display: grid;
  gap: var(--s8);
  align-items: start;
}

/* ─── Location ─── */
.location-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(31, 35, 42, 0.08);
  border-radius: var(--r-xl);
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  gap: var(--s6);
  align-items: center;
  box-shadow: 0 12px 30px rgba(31, 35, 42, 0.06);
}

.location-photo-wrap { margin: 0; justify-self: center; }
.location-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid rgba(31, 35, 42, 0.12);
  box-shadow: 0 8px 20px rgba(31, 35, 42, 0.1);
}

.location-copy {
  display: grid;
  gap: var(--s3);
}
.location-copy h3 {
  font-size: 1.3rem;
}
.location-hours {
  font-size: 0.95rem;
}

/* ─── FAQ ─── */
.faq-list {
  display: grid;
  gap: var(--s3);
  max-width: 720px;
}

.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 35, 42, 0.08);
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(31, 35, 42, 0.06);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 2.8rem 1rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--brand-ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: background 0.15s;
}
.faq-trigger:hover {
  background: rgba(31, 35, 42, 0.03);
}

.faq-trigger::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand-pink);
  transition: transform 0.2s;
}
.faq-trigger[aria-expanded="true"]::after {
  content: "\2212";
  transform: translateY(-50%) rotate(180deg);
}
.faq-trigger:focus-visible {
  outline: 3px solid var(--brand-pink);
  outline-offset: -2px;
}

.faq-panel {
  padding: 0 1.15rem 1.15rem;
  color: rgba(31, 35, 42, 0.78);
  line-height: 1.6;
}

/* ─── CTA Final ─── */
.cta-final-wrap {
  max-width: 680px;
}

.cta-final-card {
  text-align: center;
  display: grid;
  gap: var(--s5);
  justify-items: center;
}

.cta-final-card h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  max-width: 18ch;
  color: var(--brand-white);
}

.cta-final-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 42ch;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin-top: var(--s4);
  display: grid;
  gap: var(--s2);
  text-align: left;
}
.privacy-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 8px;
  height: 8px;
  border-radius: var(--r-round);
  background: rgba(255, 255, 255, 0.35);
}

/* ─── Footer ─── */
.site-footer {
  background: #0f1318;
  color: rgba(255, 255, 255, 0.85);
  padding: var(--s10) 0 var(--s8);
}

.footer-inner {
  display: grid;
  gap: var(--s8);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-round);
  object-fit: contain;
}
.footer-brand p { margin: 0; }
.footer-brand strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
}

.footer-info {
  display: grid;
  gap: var(--s2);
}
.footer-info .inline-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration-color: rgba(255, 255, 255, 0.2);
}
.footer-info .inline-link:hover {
  color: var(--brand-white);
}
.footer-address { opacity: 0.6; }
.footer-legal {
  margin-top: var(--s4);
  opacity: 0.45;
  font-size: 0.82rem;
}

/* ─── Floating WhatsApp ─── */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 980;
  border-radius: var(--r-pill);
  background: #25D366;
  color: var(--brand-white);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float svg { flex-shrink: 0; }
.wa-float:hover, .wa-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}
.wa-float:focus-visible {
  outline: 3px solid var(--brand-white);
  outline-offset: 3px;
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */

/* ── Mobile ── */
@media (max-width: 767px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.6rem 0;
    min-height: auto;
    gap: var(--s2);
  }
  .brand-link {
    justify-content: center;
    width: 66px;
    height: 66px;
  }
  .brand-link img {
    width: 54px;
    height: 54px;
  }
  .header-inner .btn { width: 100%; font-size: 0.88rem; padding: 0.7rem 1rem; }

  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero-grid { text-align: center; }
  .hero h1 { max-width: none; }
  .hero-actions .btn { width: 100%; }
  .hero-mascot img {
    width: min(65vw, 260px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .about-copy { text-align: center; }
  .about-copy .btn { justify-self: center; }

  .wa-float span { display: none; }
  .wa-float { padding: 0.9rem; }
}

/* ── Tablet ── */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: auto 1fr;
  }

  .sinais-grid {
    grid-template-columns: 1fr 0.95fr;
  }

  .location-card {
    grid-template-columns: auto 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ── Desktop ── */
@media (min-width: 1024px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-bg-pattern {
    background-size: 300px;
    background-image: url("assets/pattern-leaf-640.png");
  }

  .steps-list::before {
    left: 25px;
  }
}

/* ── Large ── */
@media (min-width: 1280px) {
  .hero-bg-pattern {
    background-size: 360px;
    background-image: url("assets/pattern-leaf-960.png");
  }

  .hero-mascot img {
    width: 380px;
  }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .hero-mascot img {
    animation: none;
  }

  .btn, .wa-float, .card, .faq-item {
    transition: none;
  }
}
