/* ==========================================================
   Edvania Brito — Psicóloga | CRP 06/197239
   ========================================================== */
:root {
  --petrol: #7a5534;
  --petrol-dark: #3b2a1e;
  --petrol-soft: #f3ebe0;
  --lilac: #9e7d5f;
  --lilac-soft: #f7efe3;
  --sand: #f7f1e8;
  --cream: #fdfbf7;
  --ink: #3a2e26;
  --muted: #7a6a5c;
  --line: #ebe1d3;
  --white: #ffffff;
  --whats: #1fa855;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(74, 50, 30, .25);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--petrol-dark);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--sand { background: var(--sand); }
.section--petrol { background: var(--petrol-dark); color: #efe4d6; }
.section--petrol h2, .section--petrol h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lilac); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--petrol .eyebrow { color: #dcbb8a; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--petrol .lead { color: #d6c4ae; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: all .25s ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--petrol-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--ghost:hover { background: var(--petrol); color: var(--white); }
.btn--whats { background: var(--whats); color: var(--white); }
.btn--whats:hover { filter: brightness(.95); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--petrol-dark); }
.btn--light:hover { background: var(--lilac-soft); }

/* ---------- Top bar + Header ---------- */
.topbar {
  background: var(--petrol-dark); color: #d8c6b0; font-size: .82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #f3e9dc; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.25); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--petrol); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
}
.brand__text { line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--petrol-dark); display: block; }
.brand__crp { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--petrol-dark); text-decoration: none; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav__link:hover { color: var(--lilac); }
.nav__link svg { width: 12px; height: 12px; transition: transform .25s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  list-style: none; margin: 0; padding: 14px 0;
  background: var(--petrol); border-top: 3px solid var(--white);
  border-radius: 0 0 12px 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s ease;
}
.dropdown a {
  display: block; padding: 11px 26px; color: #f5ecdf; text-decoration: none;
  font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.dropdown a:hover { background: rgba(255,255,255,.08); color: var(--white); padding-left: 32px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown, .nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item:hover .nav__link svg, .nav__item.is-open .nav__link svg { transform: rotate(180deg); }
.nav__cta { margin-left: 12px; padding: 12px 22px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--petrol-dark); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 110px; background:
  radial-gradient(1000px 500px at 85% 10%, var(--lilac-soft), transparent 60%),
  radial-gradient(800px 500px at 0% 100%, var(--petrol-soft), transparent 60%),
  var(--cream); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--lilac); }
.hero__text .lead { max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__badges { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line); }
.badge { display: flex; align-items: center; gap: 12px; }
.badge__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--petrol); box-shadow: 0 6px 18px -10px rgba(0,0,0,.3); }
.badge__icon svg { width: 20px; height: 20px; }
.badge strong { display: block; font-size: .92rem; color: var(--petrol-dark); line-height: 1.3; }
.badge small { color: var(--muted); font-size: .8rem; }

.hero__visual { position: relative; }
.hero__photo {
  position: relative; border-radius: 220px 220px 24px 24px; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__visual::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1.5px solid var(--lilac);
  border-radius: 220px 220px 24px 24px; z-index: -1; opacity: .5;
}
.hero__card {
  position: absolute; left: -46px; bottom: 50px; background: var(--white);
  padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; max-width: 270px;
}
.hero__card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--whats); box-shadow: 0 0 0 6px rgba(31,168,85,.15); flex-shrink: 0; }
.hero__card strong { display: block; font-size: .95rem; color: var(--petrol-dark); }
.hero__card span { font-size: .82rem; color: var(--muted); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about__img { position: relative; }
.about__img img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; width: 100%; box-shadow: var(--shadow); }
.about__quote {
  position: absolute; right: -30px; bottom: -30px; max-width: 280px;
  background: var(--lilac); color: var(--white); padding: 24px 26px; border-radius: 16px;
  font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.45; box-shadow: var(--shadow);
}
.credentials { display: grid; gap: 16px; margin: 30px 0 34px; }
.credential {
  display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
}
.credential__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--petrol-soft); color: var(--petrol); display: grid; place-items: center; }
.credential__icon svg { width: 22px; height: 22px; }
.credential small { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); font-weight: 700; }
.credential strong { display: block; color: var(--petrol-dark); font-size: 1.02rem; line-height: 1.35; margin: 2px 0; }
.credential span { color: var(--muted); font-size: .9rem; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--lilac); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--lilac-soft); color: var(--lilac); display: grid; place-items: center; margin-bottom: 22px; }
.service__icon svg { width: 28px; height: 28px; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- TCC ---------- */
.tcc { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.tcc__steps { display: grid; gap: 14px; counter-reset: s; }
.tcc__step { display: flex; gap: 20px; padding: 22px 24px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.tcc__step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-serif); font-size: 1.6rem; color: #dcbb8a; line-height: 1; }
.tcc__step strong { color: var(--white); display: block; margin-bottom: 4px; }
.tcc__step p { margin: 0; font-size: .93rem; color: #d6c4ae; }

/* ---------- Online ---------- */
.online { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.online__img img { border-radius: var(--radius); aspect-ratio: 5/6; object-fit: cover; object-position: 50% 30%; width: 100%; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--whats); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-serif); font-size: 1.18rem; color: var(--petrol-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.6rem; color: var(--lilac); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 28px 24px; color: var(--muted); }

/* ---------- Avaliação (form) ---------- */
.assess { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.assess__info { position: sticky; top: 120px; }
.assess__note { margin-top: 28px; padding: 20px 22px; background: var(--lilac-soft); border-radius: 14px; font-size: .9rem; color: var(--ink); }
.assess__note strong { color: var(--lilac); }
.form { background: var(--white); border-radius: 24px; padding: 44px; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .84rem; font-weight: 700; color: var(--petrol-dark); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); background: var(--white); box-shadow: 0 0 0 4px var(--petrol-soft); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--cream); font-size: .9rem; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: all .2s; user-select: none;
}
.chip span:hover { border-color: var(--lilac); }
.chip input:checked + span { background: var(--lilac); border-color: var(--lilac); color: var(--white); }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--lilac-soft); }
.intensity { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--lilac); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--petrol); flex-shrink: 0; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.form__msg { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-size: .92rem; display: none; }
.form__msg.is-ok { display: block; background: #e7f6ec; color: #17633a; }
.form__msg.is-err { display: block; background: #fdecec; color: #8a2424; }
.urgent { margin-top: 22px; font-size: .83rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 18px; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__cover { aspect-ratio: 16/10; display: grid; place-items: center; color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.post-card__cover svg { width: 64px; height: 64px; position: relative; z-index: 1; }
.post-card__cover::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); right: -60px; top: -80px; }
.post-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); font-weight: 700; margin-bottom: 10px; }
.post-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.post-card__more { font-weight: 700; color: var(--petrol); font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.cover--petrol { background: linear-gradient(135deg, #5c3f28, #8a6340); }
.cover--lilac { background: linear-gradient(135deg, #9e7d5f, #cdb59c); }
.cover--sand { background: linear-gradient(135deg, #c9a882, #e6d3b8); }
.cover--sage { background: linear-gradient(135deg, #8c7a64, #b8a68e); }
.center { text-align: center; }
.mt-40 { margin-top: 44px; }

/* Blog page */
.page-hero { padding: 80px 0 60px; background: radial-gradient(900px 400px at 80% 0%, var(--lilac-soft), transparent 60%), var(--sand); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.blog-filters button { font: inherit; font-size: .86rem; font-weight: 700; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--petrol-dark); cursor: pointer; }
.blog-filters button.is-active, .blog-filters button:hover { background: var(--petrol); color: var(--white); border-color: var(--petrol); }
.article { max-width: 760px; margin: 0 auto; }
.article__cover { border-radius: var(--radius); aspect-ratio: 21/9; margin-bottom: 40px; display: grid; place-items: center; color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.article__cover svg { width: 80px; height: 80px; }
.article h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.article__meta { color: var(--muted); font-size: .9rem; margin-bottom: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article__content { font-size: 1.08rem; }
.article__content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.article__content ul { padding-left: 1.2em; }
.article__content li { margin-bottom: .4em; }
.article__content blockquote { margin: 1.6em 0; padding: 18px 26px; border-left: 3px solid var(--lilac); background: var(--lilac-soft); border-radius: 0 12px 12px 0; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; }
.article__author { display: flex; gap: 18px; align-items: center; margin-top: 50px; padding: 26px; border-radius: var(--radius); background: var(--sand); }
.article__author img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.article__author strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; color: var(--petrol-dark); }
.article__author span { font-size: .9rem; color: var(--muted); }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; margin-bottom: 30px; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--petrol-dark), #5c3f28 55%, #9a7246); color: #efe4d6; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(220,187,138,.14); }
.cta-band h2 { color: var(--white); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; }
.contact__list { display: grid; gap: 16px; }
.contact__item { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s; }
a.contact__item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--petrol-soft); color: var(--petrol); flex-shrink: 0; }
.contact__icon svg { width: 24px; height: 24px; }
.contact__item small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); font-weight: 700; }
.contact__item strong { color: var(--petrol-dark); font-size: 1.04rem; font-weight: 700; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--petrol-dark); color: #c7b29a; padding: 70px 0 30px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: var(--white); }
.footer .brand__mark { background: var(--lilac); }
.footer h4 { color: var(--white); font-family: var(--font-sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #ecdfcd; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- WhatsApp float ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whats); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(31,168,85,.6); transition: transform .25s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav__list .nav__link { padding: 10px 10px; letter-spacing: .05em; }
}
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--nav-top, 84px); left: 0; right: 0; bottom: 0; z-index: 49; background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 20px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility 0s linear .35s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .95rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border-radius: 12px; margin: 8px 0; border-top: 0; }
  .nav__item.is-open .dropdown { display: block; }
  .nav__item:hover .dropdown { opacity: 1; }
  .nav__cta { margin: 24px 0 0; }
  .hero { padding: 50px 0 80px; }
  .hero .container, .about, .tcc, .online, .assess, .contact, .cta-band { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero__card { left: -10px; }
  .about__img { max-width: 460px; }
  .about__quote { right: -10px; }
  .assess__info { position: static; }
  .posts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .cta-band { padding: 44px 32px; }
  .online__img { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar__hide { display: none; }
  .services, .posts { grid-template-columns: 1fr; }
  .form { padding: 28px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .hero__visual::before { inset: 16px -12px -16px 12px; }
  .hero__card { left: 0; right: 0; margin: 0 auto; bottom: -26px; max-width: 290px; }
  .about__quote { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.1rem; }
  .btn { width: 100%; }
  .hero__actions .btn, .form__actions .btn { width: 100%; }
}

/* ---------- Identidade visual (comunicado: dourado, marrom e creme) ---------- */
.brand__logo { width: 54px; height: auto; flex-shrink: 0; }
.footer .brand__logo { width: 58px; }
.brand__name { font-family: "Cormorant Garamond", var(--font-serif); font-size: 1.6rem; font-weight: 500; letter-spacing: .01em; }
.brand__crp { color: var(--lilac); }
.btn--primary { background: linear-gradient(135deg, #7d5f45, #b09277); }
.btn--primary:hover { background: linear-gradient(135deg, #654a35, #9e7d5f); }
/* ondas douradas nos cantos, como no papel timbrado */
.hero::before, .hero::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  background-repeat: no-repeat; background-size: contain;
}
.hero::before {
  top: 0; left: 0; width: 520px; height: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 260'%3E%3Cpath d='M0 0h520C380 40 240 70 140 140 80 182 40 220 0 260Z' fill='%23efe4d4' opacity='.7'/%3E%3Cpath d='M0 200C60 140 150 90 260 60 360 32 440 18 520 0' fill='none' stroke='%23b09277' stroke-width='3' opacity='.55'/%3E%3C/svg%3E");
}
.hero::after {
  right: 0; bottom: 0; width: 460px; height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 200'%3E%3Cpath d='M460 200H0c130-30 250-60 340-120 50-33 90-60 120-80Z' fill='%23efe4d4' opacity='.7'/%3E%3Cpath d='M40 200C160 170 280 130 360 80 400 55 430 30 460 10' fill='none' stroke='%23b09277' stroke-width='3' opacity='.55'/%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.footer { border-top: 3px solid var(--lilac); }
@media (max-width: 640px) {
  .hero::before { width: 300px; height: 150px; }
  .hero::after { width: 260px; height: 115px; }
  .brand__logo { width: 44px; }
  .brand__name { font-size: 1.35rem; }
}
.footer__logo { display: inline-block; margin-bottom: 20px; }
.footer__logo img { width: 190px; height: auto; }
.hero__photo img { object-position: 50% 35%; }

/* Celular/tablet: na seção "Sobre", o texto vem antes da foto,
   para não ficar uma foto colada na outra (foto do topo + foto do Sobre) */
@media (max-width: 960px) {
  .about__text { order: -1; }
  .about__img { margin: 0 auto; width: 100%; }
}

/* Celular: o efeito de desfoque do cabeçalho prendia o menu dentro da barra de 84px.
   Sem ele, o menu ocupa a tela inteira abaixo do cabeçalho. */
@media (max-width: 960px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
}

/* TESTE — seção "Sobre" invertida no computador: texto à esquerda, foto à direita.
   Para desfazer: remova a classe "about--invertido" no index.html. */
@media (min-width: 961px) {
  .about--invertido { grid-template-columns: 1.15fr .85fr; }
  .about--invertido .about__img { order: 2; }
  .about--invertido .about__quote { right: auto; left: -30px; }
}

/* Seção "Sobre" em 3 blocos: texto, foto e formação.
   Computador: foto numa coluna, texto + formação na outra.
   Celular: texto → foto → formação (a foto fica depois de "...ferramentas práticas."). */
.about { grid-template-areas: "img text" "img extra"; row-gap: 0; }
.about__img { grid-area: img; align-self: center; }
.about__text { grid-area: text; align-self: end; }
.about__extra { grid-area: extra; align-self: start; }
@media (min-width: 961px) {
  .about--invertido { grid-template-areas: "text img" "extra img"; }
}
@media (max-width: 960px) {
  .about { grid-template-areas: "text" "img" "extra"; row-gap: 44px; }
  .about__img { max-width: 460px; }
  .about__extra .credentials { margin-top: 10px; }
}

/* Menu do celular aberto: trava a página de fundo e fixa o cabeçalho no topo */
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open body { position: fixed; left: 0; right: 0; width: 100%; }
html.menu-open .header { position: fixed; top: 0; left: 0; right: 0; z-index: 70; border-color: var(--line); }
html.menu-open .nav { z-index: 69; overscroll-behavior: contain; }
html.menu-open .whats-float { display: none; }
