/* ============================================================
   Mariéle Vieira — Terapeuta Ocupacional Infantil
   Paleta baseada na logo: verde-menta → azul pastel,
   coral (nome) e teal (subtítulos). Tema: acolhedor e lúdico.
   ============================================================ */
:root {
  --mint: #daf3e9;
  --mint-strong: #bfe9d9;
  --blue: #ccd7f5;
  --lavender: #e6ebfb;
  --teal: #3d9e92;
  --teal-dark: #2f7d74;
  --coral: #e07a63;
  --coral-dark: #c9604a;
  --ink: #2f3e46;
  --ink-soft: #5a6b74;
  --wa: #25d366;
  --wa-dark: #1eae54;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(47, 62, 70, 0.10);
  --shadow-soft: 0 4px 16px rgba(47, 62, 70, 0.07);
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-script: 'Dancing Script', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .6em; }
h3 { font-size: 1.12rem; margin-bottom: .35em; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }
.hl { color: var(--coral); }
.script { font-family: var(--font-script); font-weight: 700; color: var(--coral); font-size: 1.25em; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 800; color: var(--teal);
  margin-bottom: .6rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 800; font-size: 1rem; transition: all .2s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn .ico { width: 1.25em; height: 1.25em; fill: currentColor; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.15rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef2f5;
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .65rem 0; }
.brand { display: flex; align-items: center; gap: .5rem; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-script); font-size: 1.5rem; font-weight: 700; color: var(--coral); white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--teal); }
.nav { display: flex; gap: 1.1rem; margin-left: auto; }
.nav a { font-weight: 700; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--teal-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--teal-dark); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--mint) 0%, var(--lavender) 55%, var(--blue) 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.hero-text h1 { margin: .7rem 0 1rem; }
.chip {
  display: inline-block; padding: .35rem 1rem; border-radius: 999px;
  font-weight: 800; font-size: .85rem;
}
.chip-mint { background: rgba(255,255,255,.75); color: var(--teal-dark); box-shadow: var(--shadow-soft); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; }
.badge {
  background: rgba(255,255,255,.8); border-radius: 999px;
  padding: .3rem .9rem; font-size: .82rem; font-weight: 700; color: var(--ink-soft);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.photo-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid rgba(255,255,255,.85);
  transform: rotate(1.5deg);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 48px; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-soft { background: #f6f9fc; }
.section-mint { background: linear-gradient(120deg, var(--mint) 0%, var(--lavender) 100%); }

/* Sobre */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.frame-tall { transform: rotate(-1.5deg); max-width: 400px; margin-inline: auto; }
.cred-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.cred-chips li {
  background: var(--mint); color: var(--teal-dark);
  border-radius: 999px; padding: .3rem .95rem; font-size: .85rem; font-weight: 700;
}
.link-arrow { font-weight: 800; }
.link-arrow:hover { text-decoration: underline; }

/* Duo T.O. x Psicomotricidade */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; text-align: left; }
.duo-card {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-soft); border-top: 4px solid var(--teal);
}
.duo-card:last-child { border-top-color: var(--coral); }

/* Cards de atendimentos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid #eef2f5;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-ico { font-size: 1.9rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .95rem; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 2.2rem 0 2.4rem; }
.step { background: rgba(255,255,255,.85); border-radius: var(--radius); padding: 1.8rem 1.4rem; box-shadow: var(--shadow-soft); }
.step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--coral); color: #fff;
  font-weight: 800; font-size: 1.2rem; margin-bottom: .8rem;
}
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Galeria */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .9rem; margin-top: 2.2rem;
}
.gallery figure {
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4; background: var(--lavender);
}
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.2rem; text-align: left; max-width: 880px; margin-inline: auto; }
.quote .via {
  display: inline-block; margin-left: .5rem;
  font-size: .72rem; font-weight: 700; color: var(--ink-soft);
  background: var(--lavender); border-radius: 999px; padding: .08rem .6rem;
}
.quote {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-soft); position: relative;
}
.quote::before {
  content: '"'; font-family: var(--font-script); font-size: 3.4rem;
  color: var(--mint-strong); position: absolute; top: .2rem; right: 1.1rem; line-height: 1;
}
.quote p { color: var(--ink-soft); font-style: italic; }
.quote footer { margin-top: .9rem; font-weight: 800; color: var(--teal-dark); font-size: .9rem; }

/* FAQ */
.faq-list { margin-top: 2rem; display: grid; gap: .8rem; }
.faq-item {
  background: var(--white); border: 1px solid #e8eef2; border-radius: 14px;
  padding: 1rem 1.3rem; box-shadow: var(--shadow-soft);
}
.faq-item summary {
  font-weight: 800; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--coral); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .7rem; color: var(--ink-soft); }

/* CTA final */
.cta-final {
  background: linear-gradient(120deg, var(--teal) 0%, #4fb3a6 100%);
  color: #fff; padding: clamp(3rem, 7vw, 4.5rem) 0; text-align: center;
}
.cta-final h2 { color: #fff; }
.cta-final .lead { color: rgba(255,255,255,.9); margin-bottom: 1.6rem; }

/* Footer */
.footer { background: #263238; color: #cfd8dc; padding: 3rem 0 1rem; font-size: .95rem; }
.footer a { color: var(--mint-strong); }
.footer h4 { color: #fff; margin-bottom: .6rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-brand { font-size: 1.8rem; }
.footer-brand em { color: var(--mint-strong); }
.socials { display: flex; gap: .8rem; margin-top: .8rem; align-items: center; }
.socials svg { width: 26px; height: 26px; fill: var(--mint-strong); transition: fill .2s; }
.socials a:hover svg { fill: #fff; }
.socials .lattes { font-weight: 800; border: 1.5px solid var(--mint-strong); border-radius: 8px; padding: .1rem .55rem; font-size: .8rem; }
.footer-bottom { border-top: 1px solid #37474f; margin-top: 2.2rem; padding-top: 1rem; text-align: center; color: #90a4ae; font-size: .85rem; }

/* Botão flutuante WhatsApp */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  animation: floatPulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
.wa-float:hover { background: var(--wa-dark); }
@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 440px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .cards, .steps, .quotes { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem 4%;
    border-bottom: 1px solid #eef2f5; box-shadow: var(--shadow-soft);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav { margin-left: 0; }
  .header-inner .btn-wa { margin-left: auto; }
}
@media (max-width: 560px) {
  .cards, .steps, .quotes { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
