/* ===========================
   Bianca Mesquita · Psicóloga
   =========================== */

:root {
  /* paleta da identidade visual */
  --cream: #fbf5e8;
  --cream-alt: #f5eddc;
  --ink: #2b2a3d;
  --ink-soft: #55536a;

  --olive: #7f8b45;
  --olive-dark: #6a7539;
  --teal: #0b8a73;
  --terracotta: #c15f3e;
  --yellow: #f5d142;
  --blue: #86afe0;
  --pink: #ef9cc4;
  --lavender: #d1cbea;
  --lime: #d6d35f;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --shadow: 0 16px 40px -18px rgba(43, 42, 61, 0.28);

  --font-title: "Baloo 2", "Segoe UI", sans-serif;
  --font-body: "Quicksand", "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
/* iOS Safari ignores overflow:hidden on body, so pin it instead (JS keeps
   the scroll offset in the `top` inline style and restores it on close). */
body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

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; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--olive-dark);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--teal);
  margin: 0 0 .6em;
}

.script-highlight {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--terracotta);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 .3em;
  line-height: 1.1;
}
.script-highlight--big { font-size: clamp(2.2rem, 6vw, 3.6rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center;
}
.btn-primary {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(127, 139, 69, .65);
}
.btn-primary:hover { background: var(--olive-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--olive);
  color: var(--olive-dark);
}
.btn-outline:hover { background: var(--olive); color: #fff; transform: translateY(-2px); }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btn-large { padding: 18px 34px; font-size: 1.1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 245, 232, .92);
  border-bottom: 1px solid rgba(127, 139, 69, .15);
}
/* backdrop-filter makes the header a containing block for fixed-position
   descendants, which would trap the mobile menu's full-screen overlay inside
   the header box. Only apply it above the mobile-menu breakpoint. */
@media (min-width: 861px) {
  .site-header { backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .01em;
}
.brand-name .l1 { color: var(--terracotta); }
.brand-name .l2 { color: var(--pink); }
.brand-name .l3 { color: var(--yellow); }
.brand-name .l4 { color: var(--teal); }
.brand-name .l5 { color: var(--blue); }
.brand-name .l6 { color: var(--olive); }
.brand-tag {
  font-family: var(--font-script);
  font-size: .95rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  position: relative;
}
.nav-link:hover { color: var(--olive-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  /* must stay above the slide-in nav panel, which covers this corner */
  position: relative;
  z-index: 3;
}

.nav-backdrop { display: none; }
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--olive-dark);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- decorative shapes ---------- */
.deco-star, .deco-drop {
  position: absolute;
  pointer-events: none;
}
.deco-star path, .deco-drop path { fill: currentColor; }
.deco-star--1 { top: -10px; right: -6px; width: 34px; color: var(--yellow); transform: rotate(12deg); }
.deco-star--2 { bottom: 10px; left: -14px; width: 24px; color: var(--pink); transform: rotate(-18deg); }
.deco-drop--1 { top: 40%; left: -22px; width: 30px; color: var(--blue); transform: rotate(-20deg); }
.deco-drop--2 { bottom: -14px; right: -10px; width: 32px; color: var(--terracotta); transform: rotate(10deg); }
.deco-star--3 { top: -12px; left: -12px; width: 30px; color: var(--lime); transform: rotate(-10deg); }
.deco-star--4 { bottom: -16px; right: 6%; width: 30px; color: var(--yellow); transform: rotate(14deg); }
.deco-star--5 { top: -18px; left: 50%; width: 30px; color: var(--yellow); transform: translateX(-50%) rotate(8deg); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-subtitle { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
/* both hero buttons share one width so they read as a matched pair */
.hero-actions .btn { min-width: 264px; justify-content: center; }

.hero-media { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.hero-blob {
  position: absolute;
  inset: -6% -10%;
  background: linear-gradient(145deg, var(--lavender), var(--pink) 60%, var(--yellow));
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  opacity: .55;
  z-index: 0;
  filter: blur(1px);
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}

.badges {
  list-style: none;
  margin: 48px 0 0;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .92rem;
  min-width: 0;
}
.badge > span:last-child { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.badge-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.badge-icon--teal { background: #dff2ee; color: var(--teal); }
.badge-icon--pink { background: #fbe6f0; color: #d16aa0; }
.badge-icon--blue { background: #e6eefb; color: #4f7cbf; }
.badge-icon--yellow { background: #fdf3d3; color: #b98f0e; }
.badge-icon--terra { background: #f7e3da; color: var(--terracotta); }

/* ---------- sections ---------- */
.section { padding: 92px 0; position: relative; }
.section--tint { background: var(--cream-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { margin: 0; }

/* about / formação split layout */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-grid--reverse { grid-template-columns: 1.15fr .85fr; }
.about-grid--reverse .about-media { order: 2; }
.about-grid--reverse .about-copy { order: 1; }

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
}
.about-copy p { color: var(--ink-soft); }

.formation-subhead {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--terracotta);
  margin: 1.6em 0 .6em;
}
.check-list { list-style: none; margin: 0 0 1em; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%232b2a3d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* ---------- cards ---------- */
.cards-grid { display: grid; gap: 24px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); font-size: .96rem; }
.card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.card-tag--olive { background: #eef1e2; color: var(--olive-dark); }
.card-tag--teal { background: #dff2ee; color: var(--teal); }

.card--icon { text-align: left; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  margin-bottom: 16px;
}
.card-icon--pink { background: #fbe6f0; color: #d16aa0; }
.card-icon--blue { background: #e6eefb; color: #4f7cbf; }
.card-icon--yellow { background: #fdf3d3; color: #b98f0e; }
.card-icon--terra { background: #f7e3da; color: var(--terracotta); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 26px; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius-m);
  padding: 30px 32px;
  box-shadow: var(--shadow);
  align-items: start;
}
.step-body { min-width: 0; }
.step-number {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--lime);
  -webkit-text-stroke: 1.5px var(--olive-dark);
  line-height: 1;
}
.step h3 { margin-bottom: .4em; }
.step p { color: var(--ink-soft); font-size: .96rem; }
.step p:last-child { margin-bottom: 0; }

/* ---------- personal section ---------- */
.personal { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.personal-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: start;
}
.personal-copy p { color: var(--ink-soft); }
.closing-line {
  font-family: var(--font-script);
  color: var(--terracotta);
  font-size: 1.4rem;
  font-weight: 700;
}
.personal-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.personal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
}
.personal-gallery .g1 { aspect-ratio: 1/1.05; align-self: end; }
.personal-gallery .g2 { aspect-ratio: 1/1.2; }
.personal-gallery .g3 { aspect-ratio: 1/1.2; }
.personal-gallery .g4 { aspect-ratio: 1/1.05; align-self: start; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-s);
  padding: 4px 24px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--olive-dark);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--terracotta);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* ---------- CTA final ---------- */
.cta-final { padding: 90px 0 100px; }
.cta-final-inner {
  position: relative;
  text-align: center;
  background: var(--olive);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 64px 32px;
  max-width: 780px;
  margin: 0 auto;
}
.cta-final-inner h2 { color: #fff; }
.cta-final-inner p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 0 auto 26px; }
.cta-final-inner .btn-primary { background: #fff; color: var(--olive-dark); box-shadow: none; }
.cta-final-inner .btn-primary:hover { background: var(--cream); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand-name--footer { font-size: 1.4rem; }
.footer-brand p { color: rgba(255,255,255,.7); margin: 4px 0 0; font-size: .92rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .95rem; }
.footer-nav a:hover { color: var(--yellow); }
.footer-copy { text-align: center; color: rgba(255,255,255,.5); font-size: .82rem; margin: 24px 0 0; }

/* ---------- whatsapp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--cream);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 980px) {
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -14px 0 30px -20px rgba(0,0,0,.3);
    z-index: 2;
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav-link { font-size: 1.15rem; }
  .menu-toggle { display: flex; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(43, 42, 61, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; max-width: 300px; }

  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid, .about-grid--reverse { grid-template-columns: 1fr; }
  .about-grid--reverse .about-media,
  .about-grid--reverse .about-copy { order: initial; }
  .about-media img { max-width: 380px; margin: 0 auto; }

  .cards-grid--2 { grid-template-columns: 1fr; }

  .personal-grid { grid-template-columns: 1fr; }
  .personal-gallery { order: -1; max-width: 460px; margin: 0 auto; }

  .step { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards-grid--4 { grid-template-columns: 1fr; }
  .badges { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px 18px; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .cta-final-inner { padding: 48px 22px; }
  .btn-large { padding: 15px 26px; font-size: 1rem; }
}
