/* GABCONT - Contabilidade para Psicólogas */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --pink-600: #db2777;
  --pink-500: #ec4899;
  --pink-400: #f472b6;
  --pink-300: #f9a8d4;
  --pink-50: #fdf2f8;
  --lilac-600: #9333ea;
  --lilac-500: #a855f7;
  --lilac-100: #f3e8ff;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --ink: #1e1b2e;
  --ink-soft: #5b5670;
  --line: #f1dcea;
  --white: #fff;
  --navy: #020817;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(157, 23, 77, .25);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lilac-600); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lilac-500); outline-offset: 3px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lilac-500); color: #fff; box-shadow: 0 8px 20px -8px rgba(147, 51, 234, .6); }
.btn--primary:hover { background: var(--lilac-600); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 211, 102, .6); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--light { background: #fff; color: var(--pink-600); }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .02em; }
.brand img { border-radius: 10px; background: #fff; }
.brand--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--pink-600); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--pink-400) 0%, var(--pink-300) 100%); color: #fff; text-align: center; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 70%; background: radial-gradient(closest-side, rgba(168, 85, 247, .25), transparent); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; }
.hero__logo { width: 168px; height: 168px; margin: 0 auto 1.5rem; background: #fff; border-radius: 32px; display: grid; place-items: center; box-shadow: 0 20px 40px -15px rgba(157, 23, 77, .45); }
.hero__logo img { width: 140px; height: 140px; }
.hero__photo { width: min(780px, 100%); margin: -1rem auto .5rem; }
.hero__photo img { width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 80%, transparent 100%); mask-composite: intersect; }
.hero--foto { background: linear-gradient(120deg, #fffafe 0%, #fbf3fb 38%, #efdff6 70%, #ddc4ee 100%); color: var(--ink); padding-top: clamp(1rem, 3vw, 2rem); }
.hero--foto::after { background: radial-gradient(closest-side, rgba(236, 72, 153, .12), transparent); }
.hero.hero--foto h1 { color: #d4a9ea; text-shadow: none; margin-top: 1rem; position: relative; }
.hero--foto .hero__lead { color: #4a4560; }
@media (max-width: 760px) { .hero__photo { width: min(300px, 82%); margin-top: -.5rem; } .hero__photo img { aspect-ratio: 458 / 917; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 78%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 78%, transparent 100%); } .hero.hero--foto h1 { margin-top: .75rem; } }
.eyebrow { font-weight: 800; letter-spacing: .25em; font-size: .9rem; margin: 0 0 .4rem; opacity: .95; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; text-shadow: 0 2px 12px rgba(157, 23, 77, .25); }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 640px; margin: 0 auto 2rem; }
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__ctas--left { justify-content: flex-start; margin-top: 1.5rem; }
.hero__badges { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero__badges li { background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); padding: .4rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600; }

/* Seções */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section--tint { background: var(--pink-50); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card p { color: var(--ink-soft); margin: 0; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--pink-400), var(--lilac-500)); display: grid; place-items: center; margin-bottom: 1.2rem; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sobre */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__photo img { border-radius: 28px; box-shadow: 0 25px 50px -20px rgba(157, 23, 77, .45); aspect-ratio: 1; object-fit: cover; }
.about__photo { position: relative; }
.about__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: linear-gradient(135deg, var(--pink-300), var(--lilac-100)); z-index: -1; }
.about--split { grid-template-rows: auto auto; row-gap: 2rem; align-items: start; }
.about--split .about__text { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.about--split .about__photo--top { grid-column: 1; grid-row: 1; }
.about--split .about__photo--bottom { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.about--split .about__photo::before { display: none; }
.about--split .about__photo img { aspect-ratio: auto; object-fit: contain; box-shadow: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%); mask-composite: intersect; }
.about__hello { font-size: 1.3rem; font-weight: 800; color: var(--pink-600); }
.about__text p { color: var(--ink-soft); }
.about__text strong { color: var(--ink); }
.about__cta-text { font-weight: 600; color: var(--ink) !important; }

/* Depoimentos */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease; }
.quote:hover { transform: translateY(-4px); }
.stars { color: #f59e0b; letter-spacing: .15em; margin-bottom: .6rem; }
.quote blockquote { margin: 0 0 1.2rem; font-style: italic; color: var(--ink-soft); flex: 1; }
.quote__who { margin: 0; display: flex; flex-direction: column; }
.quote__who span { font-size: .85rem; color: var(--lilac-600); font-weight: 600; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--pink-500), var(--lilac-500)); color: #fff; text-align: center; padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 1.8rem; opacity: .95; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info p { color: var(--ink-soft); }
.contact__list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact__list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact__list a:hover { color: var(--pink-600); }
.ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--pink-50); display: grid; place-items: center; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid #ead7e4; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lilac-500); outline: none; box-shadow: 0 0 0 4px rgba(168, 85, 247, .15); }
.field [aria-invalid="true"] { border-color: #e11d48; }
.form__error { color: #e11d48; font-weight: 600; font-size: .92rem; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin: .8rem 0 0; text-align: center; }

/* Rodapé */
.footer { background: var(--navy); color: #cbd5e1; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.footer h3 { color: #fff; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: #cbd5e1; text-decoration: none; }
.footer a:hover { color: var(--pink-300); }
.footer__legal { font-size: .85rem; margin-top: .9rem; line-height: 1.8; }
.footer .social { display: flex; gap: .75rem; }
.footer .social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1e293b; color: #fff; transition: background .2s, transform .2s; }
.footer .social a:hover { background: var(--pink-500); color: #fff; transform: translateY(-2px); }
.brand--totop { cursor: pointer; padding: 6px 12px 6px 6px; margin-left: -6px; border-radius: 14px; transition: background .2s; }
.brand--totop:hover { background: #1e293b; }
.totop-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #1e293b; color: #fff; transition: background .2s, transform .2s; }
.brand--totop:hover .totop-ic { background: var(--pink-500); transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid #1e293b; margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; text-align: center; }
.footer__bottom p { margin: 0; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .35); z-index: 60; transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.wa-float.is-shown { opacity: 1; pointer-events: auto; transform: none; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .quote { transition: none; }
}

/* Responsivo */
@media (max-width: 960px) {
  .cards, .testimonials { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px -12px rgba(0, 0, 0, .15); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .8rem; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards, .testimonials, .about, .contact { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; margin: 0 auto; }
  .about--split .about__text, .about--split .about__photo--top, .about--split .about__photo--bottom { grid-column: 1; grid-row: auto; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__ctas--left { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Botão Redes sociais (topo) */
.redes { position: relative; }
.redes > summary { list-style: none; background: #c491de; color: #fff; box-shadow: 0 8px 20px -8px rgba(196, 145, 222, .7); }
.redes > summary::-webkit-details-marker { display: none; }
.redes > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.redes[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.redes > summary:hover { background: #b57fd3; }
.redes__menu { position: absolute; right: 0; top: calc(100% + .6rem); min-width: 190px; background: #fff; border-radius: 16px; padding: .5rem; box-shadow: 0 18px 40px -14px rgba(60, 30, 90, .35); border: 1px solid var(--line); z-index: 60; display: grid; gap: 2px; }
.nav .redes__menu a { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; border: 0; }
.nav .redes__menu a:hover { background: #fbf3fb; color: #c491de; }
.redes__menu svg { color: #c491de; flex: none; }
@media (max-width: 760px) {
  .redes { margin-top: .8rem; }
  .redes > summary { width: 100%; margin-top: 0; }
  .redes__menu { position: static; box-shadow: none; margin-top: .5rem; min-width: 0; }
}

/* Menu de acessibilidade */
.a11y-btn { position: fixed; left: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #c491de; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 25px -8px rgba(60, 30, 90, .45); z-index: 61; }
.a11y-btn:hover { background: #b57fd3; }
.a11y-painel { position: fixed; left: 18px; bottom: 82px; width: min(320px, calc(100vw - 36px)); max-height: calc(100vh - 110px); overflow: auto; background: #fff; color: var(--ink); border-radius: 18px; padding: 1rem; box-shadow: 0 20px 50px -15px rgba(60, 30, 90, .45); border: 1px solid var(--line); z-index: 62; display: grid; gap: .5rem; }
.a11y-painel[hidden] { display: none; }
.a11y-painel__topo { display: flex; align-items: center; justify-content: space-between; }
.a11y-painel h2 { font-size: 1.1rem; margin: 0; }
.a11y-fechar { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 0 .3rem; }
.a11y-linha { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .35rem 0; font-weight: 600; font-size: .95rem; }
.a11y-fonte { display: flex; align-items: center; gap: .4rem; }
.a11y-fonte button { border: 1px solid var(--line); background: #fbf3fb; border-radius: 10px; padding: .35rem .65rem; font: inherit; font-weight: 800; cursor: pointer; color: var(--ink); }
.a11y-fonte span { min-width: 3.6em; text-align: center; font-size: .9rem; }
.a11y-opcao, .a11y-redefinir { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: .7rem .85rem; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--ink); }
.a11y-opcao[aria-pressed="true"] { background: #c491de; border-color: #c491de; color: #fff; }
.a11y-opcao[aria-pressed="true"]::after { content: " ✓"; }
.a11y-redefinir { text-align: center; background: #fbf3fb; }
.a11y-declaracao { font-size: .88rem; text-align: center; margin-top: .2rem; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-espaco body { letter-spacing: .05em; word-spacing: .14em; }
html.a11y-espaco p, html.a11y-espaco li { line-height: 1.95 !important; }
html.a11y-movimento *, html.a11y-movimento *::before, html.a11y-movimento *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-contraste body, html.a11y-contraste main, html.a11y-contraste section, html.a11y-contraste .hero, html.a11y-contraste .topbar, html.a11y-contraste .card, html.a11y-contraste .quote, html.a11y-contraste .post-card { background: #fff !important; color: #000 !important; }
html.a11y-contraste h1, html.a11y-contraste h2, html.a11y-contraste h3, html.a11y-contraste p, html.a11y-contraste li, html.a11y-contraste label, html.a11y-contraste span:not(.btn *) { color: #000 !important; text-shadow: none !important; }
html.a11y-contraste a:not(.btn) { color: #4a0080 !important; text-decoration: underline !important; }
html.a11y-contraste .btn, html.a11y-contraste .redes > summary, html.a11y-contraste .a11y-btn { background: #3b0764 !important; color: #fff !important; box-shadow: none !important; }
html.a11y-contraste .btn *, html.a11y-contraste .redes > summary * { color: #fff !important; }
html.a11y-contraste .footer, html.a11y-contraste .footer * { background-color: #000 !important; color: #fff !important; }
html.a11y-contraste .footer a { color: #fff !important; }
html.a11y-contraste .cta { background: #3b0764 !important; }
html.a11y-contraste .cta * { color: #fff !important; }
html.a11y-contraste input, html.a11y-contraste select, html.a11y-contraste textarea { border: 2px solid #000 !important; color: #000 !important; background: #fff !important; }
@media (max-width: 760px) { .a11y-btn { left: 14px; bottom: 14px; width: 48px; height: 48px; } .a11y-painel { left: 14px; bottom: 72px; } }

/* Rodapé: links legais */
.footer__links { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem !important; margin: 0 0 .7rem; padding: 0; list-style: none; }
.footer__links a, .footer__links button { color: inherit; font: inherit; font-size: .85rem; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover, .footer__links button:hover { color: #fff; }

/* Páginas legais */
.legal { padding: clamp(2rem, 5vw, 3.5rem) 0 3.5rem; }
.legal h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: .4rem; }
.legal__data { color: var(--ink-soft); font-size: .92rem; margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); margin-top: 2.2rem; }
.legal p, .legal li { color: #2d2940; font-size: 1.03rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--lilac-600); }
.footer__links li { margin: 0 !important; }
html.a11y-fonte-1 main, html.a11y-fonte-1 .footer { zoom: 1.12; }
html.a11y-fonte-2 main, html.a11y-fonte-2 .footer { zoom: 1.25; }
html.a11y-fonte-3 main, html.a11y-fonte-3 .footer { zoom: 1.4; }
