/* =========================================================
   Psicólogo Cássio César — estilos
   Paleta clara, quente e acolhedora, com acentos em arco-íris.
   ========================================================= */

:root {
  /* Base */
  --cream: #fff6ec;
  --cream-2: #fdebd8;
  --paper: #fffdf9;
  --ink: #3b2633;          /* texto principal: ameixa bem escura, nunca preto puro */
  --ink-soft: #6e5562;
  --line: #f1d9c4;

  /* Acentos */
  --coral: #f2684a;
  --coral-deep: #d9502f;
  --sun: #ffb52e;
  --leaf: #4fb286;
  --sky: #4daee0;
  --lilac: #9b7fe6;
  --rose: #f27fa6;
  --wa: #1fae5b;
  --wa-deep: #168a47;

  --rainbow: linear-gradient(90deg, var(--coral), var(--sun), var(--leaf), var(--sky), var(--lilac), var(--rose));

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 40px -22px rgba(124, 58, 37, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(124, 58, 37, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grão sutil por cima de tudo (camada fixa, não interativa) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
h3 { font-size: 1.35rem; font-variation-settings: "SOFT" 100, "opsz" 30; }
em { font-style: italic; color: var(--coral-deep); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 4px; border-radius: 4px; background: var(--rainbow);
}
.muted { color: var(--ink-soft); }

.ic { width: 1.2em; height: 1.2em; flex: none; }
.ic-lg { width: 2rem; height: 2rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  padding: .95rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-big { padding: 1.15rem 1.7rem; font-size: 1.06rem; }
.btn-small { padding: .6rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(22, 138, 71, .7); }
.btn-wa:hover { background: var(--wa-deep); box-shadow: 0 16px 30px -12px rgba(22, 138, 71, .8); }

.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost .ic { transition: transform .25s var(--ease); }
.btn-ghost:hover .ic { transform: translateX(3px); }

.btn-light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.btn-light .ic { color: var(--wa); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 246, 236, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(59, 38, 51, .5); background: rgba(255, 250, 244, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: auto; height: 46px; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; font-variation-settings: "SOFT" 100; }
.brand-text small { font-size: .78rem; color: var(--ink-soft); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .96rem; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px;
  background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.blob-a { width: 520px; height: 520px; background: #ffd39a; top: -160px; right: -120px; }
.blob-b { width: 420px; height: 420px; background: #ffc4d4; bottom: -180px; left: -140px; }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  font-weight: 520;
  line-height: 1.02;
  margin-bottom: .45em;
}
.h1-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, .9rem + .4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-bottom: .7rem;
}
.hero h1 em {
  font-weight: 480;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--coral);
  background: linear-gradient(transparent 72%, rgba(255, 181, 46, .45) 72%);
  padding-inline: .05em;
}
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--paper); border: 1px solid var(--line);
  padding: .45rem .85rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--coral)); }
.dot-rainbow { background: conic-gradient(var(--coral), var(--sun), var(--leaf), var(--sky), var(--lilac), var(--rose), var(--coral)); }

/* Visual: fechamento gestáltico — um círculo feito de partes que a mente completa */
.hero-visual { position: relative; aspect-ratio: 1; width: min(100%, 460px); justify-self: center; }
.closure { position: absolute; inset: 0; }
.closure svg { width: 100%; height: 100%; overflow: visible; }
.closure-ring { transform-origin: 100px 100px; animation: spin-full 60s linear infinite; }
.closure circle {
  fill: none; stroke-width: 9; stroke-linecap: round;
  animation: draw 1.6s var(--ease) both;
}
.closure circle:nth-child(2) { animation-delay: .1s; }
.closure circle:nth-child(3) { animation-delay: .2s; }
.closure circle:nth-child(4) { animation-delay: .3s; }
.closure circle:nth-child(5) { animation-delay: .4s; }
.closure circle:nth-child(6) { animation-delay: .5s; }

.hero-photo {
  position: absolute; inset: 13%;
  width: 74%; height: 74%;
  object-fit: cover; border-radius: 50%;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
}

.note {
  position: absolute; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-soft);
  font-size: .92rem; font-weight: 500; line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.note-a { left: -8%; bottom: 6%; max-width: 210px; padding: .9rem 1.1rem; border-left: 5px solid var(--sun); }
.note-label {
  display: block; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--coral-deep);
  margin-bottom: .15rem;
}
.note-b {
  right: -4%; top: 8%; padding: .65rem 1rem; display: flex; align-items: center; gap: .45rem;
  animation-delay: -3s;
}
.note-b .ic { color: var(--leaf); }

/* ---------- Faixa ---------- */
.ribbon {
  background: var(--coral); color: var(--paper);
  transform: rotate(-1.6deg); margin: 0 -2rem; padding: 1rem 0; overflow: hidden;
  box-shadow: 0 14px 30px -20px rgba(217, 80, 47, .8);
  position: relative; z-index: 2;
}
.ribbon-track {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  white-space: nowrap;
}
.ribbon-track i { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); flex: none; }
.ribbon-track i:nth-of-type(3n+2) { background: var(--paper); }
.ribbon-track i:nth-of-type(3n) { background: var(--rose); }

/* ---------- Seções ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--ink-soft); }

/* Sobre */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-title { position: sticky; top: 110px; }
.about-title h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.about-text { font-size: 1.1rem; }
.pillars { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: .9rem; }
.pillars li {
  display: grid; gap: .1rem; padding: 1.1rem 1.3rem; background: var(--paper);
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillars li:nth-child(2) { margin-left: 1.5rem; }
.pillars li:nth-child(3) { margin-left: 3rem; }
.pillars li:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.pillars span { color: var(--ink-soft); font-size: .98rem; }

/* Temas — grade assimétrica */
.topics { background: var(--cream-2); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}
.topic {
  grid-column: span 2;
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex; flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.topic::before {
  content: ""; position: absolute; z-index: -1;
  width: 220px; height: 220px; border-radius: 50%;
  right: -90px; top: -90px;
  background: var(--c); opacity: .16;
  transition: transform .6s var(--ease), opacity .4s;
}
.topic:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.topic:hover::before { transform: scale(1.5); opacity: .24; }
.topic:nth-child(1) { grid-column: span 4; }
.topic:nth-child(5) { grid-column: span 3; }
.topic:nth-child(6) { grid-column: span 3; }
.topic:nth-child(2) { grid-column: span 2; }
.topic:nth-child(3), .topic:nth-child(4) { grid-column: span 3; }

.topic-num {
  font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--c);
  font-weight: 700; margin-bottom: .6rem;
  filter: saturate(1.2) brightness(.82);
}
.topic h3 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); }
.topic p { color: var(--ink-soft); flex: 1; }
.topic-link {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none;
  align-self: flex-start; padding-bottom: 2px;
  border-bottom: 2px solid var(--c);
}
.topic-link .ic { transition: transform .25s var(--ease); }
.topic-link:hover .ic { transform: translateX(4px); }

.topic-lgbt {
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    var(--rainbow) border-box;
  border: 3px solid transparent;
}
.topic-lgbt h3 {
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem);
  font-weight: 650;
}
.topic-lgbt p { max-width: 34em; font-size: 1.08rem; }
.topic-lgbt .topic-link { border-image: var(--rainbow) 1; border-bottom-width: 3px; }

/* Gestalt */
.gestalt { background: var(--cream-2); padding-top: 0; }
.gestalt-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-soft);
}
.gestalt-intro > p { color: var(--ink-soft); font-size: 1.08rem; }
blockquote {
  margin: 2rem 0 0; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: linear-gradient(135deg, #fff0d6, #ffe1e8);
  font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
cite { display: block; margin-top: .8rem; font-family: var(--font-body); font-style: normal; font-size: .85rem; color: var(--ink-soft); }

.gestalt-list { list-style: none; padding: 0; margin: 0; counter-reset: g; display: grid; gap: 1rem; }
.gestalt-list li {
  counter-increment: g;
  position: relative; padding: 1.1rem 1.2rem 1.1rem 4.2rem;
  border-radius: var(--radius); border: 1px dashed var(--line);
  color: var(--ink-soft);
}
.gestalt-list li::before {
  content: counter(g);
  position: absolute; left: 1.1rem; top: 1.05rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--paper);
  background: var(--coral);
}
.gestalt-list li:nth-child(2)::before { background: var(--sun); color: var(--ink); }
.gestalt-list li:nth-child(3)::before { background: var(--leaf); }
.gestalt-list li:nth-child(4)::before { background: var(--lilac); }
.gestalt-list span { display: block; color: var(--ink); font-weight: 700; font-size: 1.08rem; }

/* Atendimento */
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.care-figure { margin: 0; position: relative; }
.care-figure img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.care-figure::before {
  content: ""; position: absolute; inset: 6% -4% -5% 6%; border-radius: var(--radius-lg);
  background: var(--sun); opacity: .5; transform: rotate(3deg); z-index: -1;
}

.steps { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1.2rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step-num {
  width: 2.8rem; height: 2.8rem; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  background: var(--ink); color: var(--cream);
  transform: rotate(-6deg);
}
.steps li:nth-child(2) .step-num { background: var(--coral); transform: rotate(4deg); }
.steps li:nth-child(3) .step-num { background: var(--leaf); transform: rotate(-3deg); }
.steps h3 { font-size: 1.2rem; margin-bottom: .2em; }
.steps p { color: var(--ink-soft); margin: 0; }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.format {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem;
}
.format .ic-lg { color: var(--coral); margin-bottom: .5rem; }
.format:nth-child(2) .ic-lg { color: var(--sky); }
.format h3 { font-size: 1.15rem; margin-bottom: .3em; }
.format p { color: var(--ink-soft); font-size: .96rem; margin-bottom: .6rem; }
.format a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; color: var(--coral-deep); }

/* Convite */
.invite { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.invite-inner {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 181, 46, .9), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(242, 127, 166, .85), transparent 45%),
    var(--coral);
  color: var(--paper);
}
.invite-inner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--rainbow);
}
.invite h2 { max-width: 16em; margin-inline: auto; font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.invite p { max-width: 34em; margin: 0 auto 2rem; font-size: 1.15rem; opacity: .95; }

/* FAQ */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq-list { display: grid; gap: .8rem; }
details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  transition: box-shadow .3s, border-color .3s;
}
details[open] { box-shadow: var(--shadow-soft); border-color: transparent; }
summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3.4rem 1.15rem 1.3rem; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem;
  border-radius: 50%; background: var(--cream-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%233b2633' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/60% no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--ink-soft); }

/* Contato */
.contact { background: var(--cream-2); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-copy > p { color: var(--ink-soft); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; font-weight: 500; }
.contact-list .ic {
  width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 50%; background: var(--paper); color: var(--coral-deep);
}
.contact-list li:first-child .ic { color: var(--wa); }
.contact-list a { text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.contact-form {
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow); display: grid; gap: 1.3rem;
}
.field { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; padding: 0; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field legend { margin-bottom: .45rem; }
input[type="text"], textarea {
  font: inherit; color: var(--ink);
  padding: .9rem 1rem; border-radius: 14px;
  border: 2px solid var(--line); background: var(--cream);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  resize: vertical;
}
input[type="text"]:focus, textarea:focus {
  outline: none; border-color: var(--coral); background: var(--paper);
  box-shadow: 0 0 0 4px rgba(242, 104, 74, .15);
}
input[aria-invalid="true"] { border-color: var(--coral-deep); background: #fff1ee; }
.field-error { color: var(--coral-deep); font-size: .9rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-block; padding: .6rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--line); background: var(--cream); font-weight: 500;
  transition: all .2s var(--ease);
}
.pills label:hover span { border-color: var(--sun); }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pills input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Rodapé */
.site-footer { background: var(--ink); color: #f5e6dc; padding: 4rem 0 6rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--rainbow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid a { display: block; text-decoration: none; color: #f5e6dc; opacity: .85; padding: .15rem 0; }
.footer-grid a:hover { opacity: 1; color: var(--sun); }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; font-variation-settings: "SOFT" 100; margin-bottom: .4rem; color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-logo {
  display: grid; place-items: center; flex: none; width: 58px; height: 58px;
  background: var(--paper); border-radius: 50%;
}
.footer-logo img { width: auto; height: 42px; }
.footer-title { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--sun); }
.crisis {
  grid-column: 1 / -1; display: flex; gap: .8rem; align-items: flex-start;
  background: rgba(255, 255, 255, .07); border-radius: 18px; padding: 1.1rem 1.3rem; margin: 1rem 0 0;
}
.crisis .ic { color: var(--sun); margin-top: .2rem; }
.copy { grid-column: 1 / -1; font-size: .88rem; opacity: .7; margin: 0; }

/* Botão flutuante */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  display: flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  padding: .9rem; border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(22, 138, 71, .75);
  transition: transform .3s var(--ease), background-color .3s;
}
.wa-float .ic { width: 1.8rem; height: 1.8rem; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: pulse 2.4s var(--ease) infinite;
}
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), padding .4s; }
.wa-float:hover { background: var(--wa-deep); transform: translateY(-3px); }
.wa-float:hover .wa-float-label, .wa-float.is-expanded .wa-float-label { max-width: 140px; padding-right: .4rem; }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(270deg); } }
@keyframes spin-full { to { transform: rotate(360deg); } }
@keyframes draw { from { stroke-dasharray: 0 360; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + .4rem);
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--paper); border-radius: var(--radius); padding: 1rem;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { padding: .75rem .6rem; border-radius: 12px; }
  .nav a:not(.btn):hover { background: var(--cream); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: .5rem; padding: .9rem; }
}

@media (max-width: 860px) {
  .hero-grid, .about-grid, .gestalt-grid, .care-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(78%, 360px); }
  .note-a { left: -14%; }
  .note-b { right: -12%; }
  .about-title, .faq-grid > div:first-child { position: static; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .topic, .topic:nth-child(n) { grid-column: span 1; }
  .topic:nth-child(1) { grid-column: 1 / -1; }
  .pillars li:nth-child(n) { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .topic-grid { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .note { font-size: .82rem; }
  .note-a { left: -8%; max-width: 170px; padding: .7rem .85rem; }
  .note-b { right: -8%; }
  .brand-text small { font-size: .7rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
