/* ---------------------------------------------------------------------------
   Carmen Ortiz Psicologia
   Estilos portados do protótipo do Figma, sem frameworks nem CDN.
   Fontes servidas localmente a partir de assets/fonts/.
   --------------------------------------------------------------------------- */
@import url("../fonts/fonts.css");


:root {
  --navy: #091c4c;
  --navy-2: #10275d;
  --orange: #e66d12;
  --orange-soft: #fff1e5;
  --rose: #f5b1bb;
  --rose-soft: #fff1f3;
  --blue: #88a9e6;
  --blue-soft: #eaf1ff;
  --gold: #e7b75f;
  --gold-soft: #fff6df;
  --green: #4b8c78;
  --green-soft: #e7f4ef;
  --lilac: #9786c4;
  --cream: #fffaf6;
  --paper: #ffffff;
  --ink: #17213c;
  --muted: #6f7788;
  --line: #e7e9ef;
  --shadow: 0 18px 55px rgba(28, 40, 74, 0.1);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", sans-serif; color: var(--ink); background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.brand img { width: 184px; height: 62px; object-fit: contain; display: block; }
.brand--compact img { width: 158px; height: 54px; }
.topbar { color: #fff; background: var(--navy); font-size: 11px; letter-spacing: .02em; }
.topbar__content { height: 34px; display: flex; align-items: center; justify-content: space-between; opacity: .82; }
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(9,28,76,.08); }
.site-header__content { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.main-nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 600; color: #44506b; }
.main-nav > a { transition: color .2s; }
.main-nav > a:hover { color: var(--orange); }
.nav-admin { border: 0; border-left: 1px solid var(--line); padding: 8px 0 8px 26px; background: transparent; color: var(--navy); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mobile-menu { display: none !important; }
.icon-button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy); }

.hero { min-height: 690px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(110deg, rgba(220,231,255,.92), rgba(255,241,241,.88)), url("../img/homehero.png") center/cover; }
.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 72px; align-items: center; padding-block: 64px 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.85); padding: 9px 14px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 24px 0 22px; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(48px, 5.2vw, 74px); line-height: .99; letter-spacing: -.045em; }
.hero h1 em { color: var(--orange); font-weight: 600; }
.hero__content > p { max-width: 570px; margin: 0; color: #536078; font-size: 17px; line-height: 1.75; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { border: 0; border-radius: 13px; padding: 15px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--navy); box-shadow: 0 12px 28px rgba(9,28,76,.18); }
.button--light { color: var(--navy); background: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: 13px; font-weight: 700; }
.hero__trust { display: flex; align-items: center; gap: 13px; margin-top: 39px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 33px; height: 33px; margin-left: -7px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; background: var(--rose); color: var(--navy); font-size: 9px; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: var(--blue); }
.avatar-stack span:last-child { background: var(--gold); }
.hero__trust strong, .hero__trust small { display: block; }
.hero__trust strong { font-size: 12px; color: var(--navy); }
.hero__trust small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.hero__visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero__visual::before { content: ""; position: absolute; width: 390px; height: 445px; border: 1px solid rgba(255,255,255,.8); border-radius: 49% 49% 20px 20px; transform: rotate(7deg); }
.hero__arch { position: relative; width: 370px; height: 500px; overflow: hidden; border-radius: 49% 49% 24px 24px; box-shadow: var(--shadow); background: #f5cad0; }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.01); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.75); border-radius: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: 0 13px 30px rgba(30,42,75,.13); }
.floating-card--review { left: -12px; bottom: 78px; }
.floating-card--care { right: -16px; top: 104px; }
.floating-card__icon { width: 35px; height: 35px; border-radius: 10px; display: grid; place-items: center; color: var(--orange); background: var(--orange-soft); }
.floating-card--care .floating-card__icon { color: var(--navy); background: var(--blue-soft); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { color: var(--navy); font-size: 13px; }
.floating-card small { margin-top: 2px; color: var(--muted); font-size: 9px; }

.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: end; }
.kicker { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.section-heading h2, .services h2, .process h2, .team h2, .contact h2 { margin: 15px 0 0; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(36px, 4vw, 51px); line-height: 1.12; letter-spacing: -.035em; }
.intro__copy p { margin: 0 0 28px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.services { background: var(--cream); }
.services__heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.services__heading > p { max-width: 370px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.service-card { padding: 32px; border: 1px solid #ece7e1; border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-card__top { display: flex; justify-content: space-between; align-items: center; }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--navy); background: var(--blue-soft); }
.service-card:nth-child(2) .service-card__icon { background: var(--rose-soft); color: #a5485b; }
.service-card:nth-child(3) .service-card__icon { background: var(--gold-soft); color: #9b6d18; }
.service-card__number { font-family: "Playfair Display", serif; color: #d7d8dd; font-size: 23px; }
.service-card h3 { margin: 27px 0 12px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 23px; }
.service-card p { min-height: 67px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-card > a { width: 35px; height: 35px; margin-top: 20px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--navy); }

.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.process__visual { position: relative; }
.process__visual img { width: 100%; height: 540px; display: block; object-fit: cover; border-radius: 190px 190px 22px 22px; filter: saturate(.72); }
.process__quote { position: absolute; right: -38px; bottom: 38px; max-width: 250px; padding: 20px 23px; border-radius: 15px; color: var(--navy); background: #fff; box-shadow: var(--shadow); font-family: "Playfair Display", serif; font-size: 17px; line-height: 1.45; }
.process__content > p { max-width: 520px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.process ol { list-style: none; padding: 0; margin: 35px 0 0; }
.process li { display: flex; gap: 17px; padding: 20px 0; border-top: 1px solid var(--line); }
.process li > span { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--blue-soft); font-size: 12px; font-weight: 800; }
.process li strong, .process li small { display: block; }
.process li strong { color: var(--navy); font-size: 14px; }
.process li small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.team { text-align: center; background: linear-gradient(130deg, #edf2ff, #fff0f2); }
.team__content > p { max-width: 560px; margin: 18px auto 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.team__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.team-person { overflow: hidden; border: 1px solid rgba(9,28,76,.08); border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: 0 12px 32px rgba(35,48,83,.07); transition: transform .25s, box-shadow .25s; }
.team-person:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-person__photo { height: 285px; overflow: hidden; background: #e9edf5; }
.team-person__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; transition: transform .4s; }
.team-person:hover .team-person__photo img { transform: scale(1.035); }
.team-person__info { min-height: 78px; padding: 17px 18px; }
.avatar { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--navy); font-size: 10px; font-style: normal; font-weight: 800; }
.avatar--rose { background: #f8dbe0; color: #91384b; }
.avatar--blue { background: #d9e6ff; color: #31578e; }
.avatar--gold { background: #f7e7bf; color: #85601d; }
.avatar--lilac { background: #e8e1fa; color: #59458e; }
.team-person strong { color: var(--navy); font-size: 13px; }
.team-person small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.contact { padding-bottom: 90px; }
.contact__card { padding: 62px 70px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 26px; color: #fff; background: var(--navy); }
.kicker--light { color: #f5b677; }
.contact h2 { color: #fff; font-size: 43px; }
.contact p { margin-bottom: 0; color: rgba(255,255,255,.65); font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 22px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 60px; }
.site-footer__grid > div { display: flex; flex-direction: column; gap: 9px; color: var(--muted); font-size: 12px; }
.site-footer__grid p { max-width: 320px; margin: 0; line-height: 1.7; }
.site-footer__grid strong { margin-bottom: 9px; color: var(--navy); font-size: 13px; }
.site-footer__bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: #9ba0ab; font-size: 10px; }

/* Admin */
.admin-shell { min-height: 100vh; background: #f7f8fb; }
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: 248px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); }
.sidebar__brand { height: 76px; display: flex; align-items: center; padding: 8px 26px; border-bottom: 1px solid var(--line); }
.sidebar__workspace { margin: 20px 16px 12px; padding: 11px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; }
.sidebar__workspace > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--navy); font-family: "Playfair Display", serif; font-size: 11px; }
.sidebar__workspace div { min-width: 0; flex: 1; }
.sidebar__workspace small, .sidebar__workspace strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar__workspace small { margin-bottom: 2px; color: #a2a8b4; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.sidebar__workspace strong { color: var(--navy); font-size: 10px; }
.sidebar nav { padding: 6px 12px; flex: 1; }
.sidebar nav > small { display: block; margin: 20px 12px 8px; color: #a3a8b2; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.sidebar__link { width: 100%; padding: 11px 12px; margin: 2px 0; border: 0; border-radius: 10px; display: flex; align-items: center; gap: 11px; color: #727b8e; background: transparent; font-size: 11px; font-weight: 600; text-align: left; }
.sidebar__link:hover, .sidebar__link--active { color: var(--navy); background: #edf2fc; }
.sidebar__link span { margin-left: auto; min-width: 20px; padding: 2px 6px; border-radius: 50px; color: #fff; background: var(--orange); font-size: 8px; text-align: center; }
.sidebar__profile { margin: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 9px; background: #fff; text-align: left; }
.sidebar__profile div { min-width: 0; flex: 1; }
.sidebar__profile strong, .sidebar__profile small { display: block; }
.sidebar__profile strong { color: var(--navy); font-size: 10px; }
.sidebar__profile small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.admin-main { margin-left: 248px; min-height: 100vh; }
.admin-header { position: sticky; z-index: 20; top: 0; height: 76px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.95); backdrop-filter: blur(15px); border-bottom: 1px solid var(--line); }
.admin-header > label, .directory__toolbar label, .forum-filters label { width: 310px; padding: 0 13px; display: flex; align-items: center; gap: 9px; color: #9097a5; background: #f6f7f9; border: 1px solid #eef0f3; border-radius: 10px; }
.admin-header input, .directory__toolbar input, .forum-filters input { width: 100%; padding: 10px 0; border: 0; outline: 0; background: transparent; font-size: 10px; }
.admin-header > div { display: flex; align-items: center; gap: 13px; }
.admin-header > div > span { width: 1px; height: 26px; background: var(--line); }
.notification { position: relative; }
.notification i { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: var(--orange); }
.admin-user { border: 0; display: flex; align-items: center; gap: 9px; background: transparent; text-align: left; }
.admin-user strong, .admin-user small { display: block; }
.admin-user strong { color: var(--navy); font-size: 10px; }
.admin-user small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.admin-menu { display: none; }
.admin-content { max-width: 1380px; margin-inline: auto; padding: 32px; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.admin-title > div > span { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.admin-title h1 { margin: 7px 0 4px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 31px; letter-spacing: -.02em; }
.admin-title h1 em { color: var(--orange); }
.admin-title p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-title--simple h1 { font-size: 34px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.metric-grid article { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.metric-icon { position: absolute; top: 16px; right: 16px; width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #3e6197; background: var(--blue-soft); }
.metric-icon--rose { color: #a45061; background: var(--rose-soft); }
.metric-icon--gold { color: #966b1c; background: var(--gold-soft); }
.metric-icon--green { color: var(--green); background: var(--green-soft); }
.metric-grid small, .metric-grid strong, .metric-grid em { display: block; }
.metric-grid small { color: var(--muted); font-size: 9px; font-weight: 600; }
.metric-grid strong { margin: 10px 0 8px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 27px; }
.metric-grid em { display: flex; align-items: center; gap: 3px; color: var(--green); font-size: 8px; font-style: normal; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 15px; margin-top: 15px; }
.panel { border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.panel__head { min-height: 65px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel__head h2 { margin: 0; color: var(--navy); font-family: "Playfair Display", serif; font-size: 15px; }
.panel__head p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }
.panel__head button { border: 0; display: flex; align-items: center; gap: 5px; color: var(--navy); background: transparent; font-size: 9px; font-weight: 700; }
.status { padding: 5px 8px; border-radius: 50px; color: #6e7788; background: #f2f3f5; font-size: 7px; font-weight: 700; }
.status--active { color: var(--green); background: var(--green-soft); }
.team-summary__row { min-height: 73px; padding: 12px 18px; display: grid; grid-template-columns: 38px 1fr auto 90px 20px; gap: 12px; align-items: center; border-bottom: 1px solid #f0f1f4; }
.team-summary__row:last-child { border-bottom: 0; }
.team-summary__row div strong, .team-summary__row div small { display: block; }
.team-summary__row div strong { color: var(--navy); font-size: 10px; }
.team-summary__row div small, .team-summary__row > small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.activity__item { padding: 14px 18px; display: flex; gap: 10px; border-bottom: 1px solid #f0f1f4; }
.activity__item:last-child { border: 0; }
.activity__icon { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #3e6197; background: var(--blue-soft); }
.activity__icon--rose { color: #a45061; background: var(--rose-soft); }
.activity__icon--gold { color: #966b1c; background: var(--gold-soft); }
.activity__item p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.activity__item p strong { color: var(--navy); }
.activity__item p b { color: #586074; font-weight: 600; }
.activity__item p small { display: block; margin-top: 3px; color: #a7abb4; font-size: 7px; }
.forum-preview { margin-top: 15px; }
.forum-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.forum-preview article { padding: 17px; border-right: 1px solid var(--line); }
.forum-preview article:last-child { border-right: 0; }
.tag { display: inline-flex; padding: 4px 7px; border-radius: 50px; color: #4c6795; background: var(--blue-soft); font-size: 7px; font-weight: 700; }
.forum-preview h3, .topic h3 { margin: 10px 0 12px; color: var(--navy); font-size: 10px; line-height: 1.45; }
.forum-preview article > div { display: flex; align-items: center; gap: 8px; }
.forum-preview article p { margin: 0; flex: 1; }
.forum-preview article strong, .forum-preview article small { display: block; font-size: 8px; }
.forum-preview article strong { color: #566074; }
.forum-preview article small { margin-top: 2px; color: #a3a8b2; font-size: 7px; }
.forum-preview article > div > span:last-child { display: flex; gap: 3px; color: var(--muted); font-size: 8px; }

.directory__toolbar { padding: 15px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.directory__toolbar button, .forum-filters button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; gap: 7px; color: #626b7c; background: #fff; font-size: 9px; }
.directory__row { min-height: 67px; padding: 12px 18px; display: grid; grid-template-columns: 1.4fr 1fr .7fr .7fr 30px; gap: 15px; align-items: center; border-bottom: 1px solid #f0f1f4; color: #667083; font-size: 9px; }
.directory__row:last-child { border: 0; }
.directory__row--head { min-height: 38px; color: #9aa0ab; background: #fafbfc; font-size: 8px; font-weight: 700; }
.professional-cell { display: flex; align-items: center; gap: 11px; }
.professional-cell strong, .professional-cell small { display: block; }
.professional-cell strong { color: var(--navy); font-size: 10px; }
.professional-cell small { margin-top: 3px; color: #a0a5af; font-size: 7px; }
.directory__row > span:nth-child(3) { display: flex; align-items: center; gap: 6px; }
.directory__row > button { border: 0; color: var(--muted); background: transparent; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4e9a7c; }
.status-dot--pending { background: var(--gold); }

.forum-layout { display: grid; grid-template-columns: 1fr 250px; gap: 15px; }
.forum-filters { padding: 14px; display: flex; gap: 8px; border-bottom: 1px solid var(--line); }
.forum-filters label { flex: 1; width: auto; }
.forum-filters button.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.topic { padding: 18px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.topic:last-child { border: 0; }
.topic__content { flex: 1; }
.topic h3 { margin: 6px 0 4px; font-size: 11px; }
.topic p { margin: 0; color: #a0a5af; font-size: 8px; }
.topic p strong { color: #667083; }
.topic__stats { display: flex; gap: 13px; color: #7d8594; font-size: 8px; }
.topic__stats span { display: flex; align-items: center; gap: 4px; }
.forum-side { padding: 19px; align-self: start; }
.forum-side h2 { margin: 0 0 14px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 16px; }
.forum-side > button { width: 100%; padding: 10px 0; border: 0; display: flex; justify-content: space-between; color: #657083; background: transparent; font-size: 9px; }
.forum-side > button span { display: flex; align-items: center; gap: 8px; }
.forum-side > button b { color: #a2a7b0; }
.forum-rules { margin-top: 18px; padding: 15px; border-radius: 12px; color: #3f6090; background: var(--blue-soft); }
.forum-rules strong { display: block; margin: 8px 0 4px; color: var(--navy); font-size: 10px; }
.forum-rules p { margin: 0; font-size: 8px; line-height: 1.6; }
.quick-topic { margin-bottom: 15px; padding: 16px; display: flex; align-items: center; gap: 15px; }
.quick-topic > div { min-width: 220px; }
.quick-topic strong, .quick-topic small { display: block; }
.quick-topic strong { color: var(--navy); font-size: 11px; }
.quick-topic small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.quick-topic input { flex: 1; padding: 11px 13px; outline: 0; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(9,20,48,.55); backdrop-filter: blur(5px); }
.modal { width: min(620px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.modal__head { padding: 24px 26px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal__head span { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.modal__head h2 { margin: 6px 0 3px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 25px; }
.modal__head p { margin: 0; color: var(--muted); font-size: 9px; }
.modal form { padding: 22px 26px 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid label { color: #5c6577; font-size: 9px; font-weight: 700; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: #fff; font-size: 10px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: #95aad4; box-shadow: 0 0 0 3px var(--blue-soft); }
.modal__actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 9px; }
.modal__actions > button:first-child { padding: 11px 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: #fff; font-size: 10px; font-weight: 700; }
.modal__success { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.modal__success > span { width: 65px; height: 65px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); }
.modal__success h2 { margin: 18px 0 5px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 25px; }
.modal__success p { margin: 0; color: var(--muted); font-size: 10px; }
.sidebar-backdrop { display: none; }

@media (max-width: 1024px) {
  .main-nav { gap: 17px; }
  .hero__grid { gap: 25px; }
  .hero__arch { width: 330px; height: 460px; }
  .process__grid { gap: 55px; }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .site-header__content { height: 72px; }
  .mobile-menu { display: grid !important; }
  .main-nav { position: fixed; inset: 72px 0 auto; padding: 25px 24px 30px; display: none; flex-direction: column; align-items: stretch; gap: 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav--open { display: flex; }
  .nav-admin { border: 0; padding: 14px; justify-content: center; border-radius: 10px; color: #fff; background: var(--navy); }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; padding-top: 70px; }
  .hero__content > p { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { margin-top: 10px; }
  .intro__grid, .process__grid { grid-template-columns: 1fr; gap: 45px; }
  .services__heading { align-items: start; flex-direction: column; gap: 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card p { min-height: auto; }
  .process__visual { width: min(500px, 90%); margin-inline: auto; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__card { align-items: start; flex-direction: column; }
  .sidebar { transform: translateX(-100%); transition: transform .25s; }
  .sidebar--open { transform: translateX(0); }
  .sidebar-backdrop { position: fixed; z-index: 45; inset: 0; display: block; border: 0; background: rgba(7,20,48,.45); }
  .admin-main { margin-left: 0; }
  .admin-menu { display: grid; }
  .admin-header > label { display: none; }
  .forum-layout { grid-template-columns: 1fr; }
  .forum-side { display: none; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 78px 0; }
  .brand img { width: 153px; height: 51px; }
  .hero__grid { padding-block: 54px 50px; }
  .hero h1 { font-size: 45px; }
  .hero__actions { flex-direction: column; gap: 18px; }
  .hero__visual { min-height: 440px; }
  .hero__arch { width: 270px; height: 390px; }
  .hero__visual::before { width: 290px; height: 405px; }
  .floating-card--care { right: 0; top: 70px; }
  .floating-card--review { left: 0; bottom: 48px; }
  .intro__grid { gap: 25px; }
  .process__visual img { height: 440px; border-radius: 140px 140px 20px 20px; }
  .process__quote { right: -14px; }
  .team__grid { gap: 12px; }
  .team-person__photo { height: 225px; }
  .team-person__info { min-height: 84px; padding: 14px 12px; }
  .contact__card { padding: 42px 30px; }
  .contact h2 { font-size: 36px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 35px; }
  .admin-header { height: 65px; padding: 0 16px; }
  .admin-user > span:nth-child(2), .admin-user > svg { display: none; }
  .admin-content { padding: 22px 14px; }
  .admin-title { align-items: stretch; flex-direction: column; }
  .admin-title .button { align-self: flex-start; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-grid article { padding: 14px; }
  .metric-icon { position: static; margin-bottom: 13px; }
  .team-summary__row { grid-template-columns: 34px 1fr auto 18px; gap: 8px; padding-inline: 12px; }
  .team-summary__row > small { display: none; }
  .forum-preview__grid { grid-template-columns: 1fr; }
  .forum-preview article { border-right: 0; border-bottom: 1px solid var(--line); }
  .directory { overflow: hidden; }
  .directory__toolbar { gap: 8px; }
  .directory__toolbar label { width: 100%; }
  .directory__toolbar button { display: none; }
  .directory__table { overflow-x: auto; }
  .directory__row { min-width: 700px; }
  .quick-topic { align-items: stretch; flex-direction: column; }
  .topic { align-items: flex-start; }
  .topic__stats { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .modal-backdrop { padding: 12px; }
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions button { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Complementos do painel em PHP: login, instalador, formulários e avisos.
   Mantêm os mesmos tokens de cor e tipografia do protótipo.
   --------------------------------------------------------------------------- */

/* O atributo [hidden] precisa vencer as regras de display declaradas aqui.
   Sem isto um elemento com display próprio (como .modal-backdrop, que é grid)
   continua visível mesmo marcado como hidden, e os botões de fechar não
   surtem efeito. */
[hidden] { display: none !important; }

/* Login e instalador -------------------------------------------------------- */
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; background: linear-gradient(130deg, #edf2ff, #fff0f2); }
.auth-card { width: min(430px, 100%); padding: 34px 32px 30px; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(28,40,74,.14); }
.auth-card--wide { width: min(760px, 100%); }
.auth-card .brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card h1 { margin: 0 0 6px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 26px; letter-spacing: -.02em; text-align: center; }
.auth-card > p { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.auth-card .button { width: 100%; margin-top: 4px; }
.auth-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.auth-foot a { color: var(--navy); font-weight: 700; }

/* Campos -------------------------------------------------------------------- */
.field { display: block; margin-bottom: 15px; color: #5c6577; font-size: 11px; font-weight: 700; }
.field > span { display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px;
  outline: 0; color: var(--ink); background: #fff; font-size: 13px; font-weight: 500;
}
.field textarea { line-height: 1.6; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #95aad4; box-shadow: 0 0 0 3px var(--blue-soft); }
.field input[disabled], .field select[disabled] { color: #98a0ae; background: #f7f8fa; }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.5; }
.field--inline { display: flex; align-items: center; gap: 10px; }
.field--inline input[type="checkbox"] { width: 17px; height: 17px; margin: 0; accent-color: var(--navy); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.password-wrap button { position: absolute; top: 50%; right: 6px; width: 32px; height: 32px; transform: translateY(-50%); border: 0; border-radius: 8px; display: grid; place-items: center; color: var(--muted); background: transparent; }
.password-wrap button:hover { color: var(--navy); background: #f2f4f8; }

/* Avisos -------------------------------------------------------------------- */
.alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; padding: 13px 15px; border-radius: 12px; font-size: 12px; line-height: 1.55; }
.alert svg { flex: 0 0 auto; margin-top: 1px; }
.alert strong { display: block; margin-bottom: 2px; }
.alert--ok { color: #26604f; background: var(--green-soft); border: 1px solid #c7e5d9; }
.alert--erro { color: #8d3346; background: var(--rose-soft); border: 1px solid #f5cdd4; }
.alert--aviso { color: #7d5a12; background: var(--gold-soft); border: 1px solid #f0dcae; }
.alert--info { color: #35558c; background: var(--blue-soft); border: 1px solid #cfdefa; }

/* Botões extras ------------------------------------------------------------- */
.button--ghost { color: var(--muted); background: #fff; border: 1px solid var(--line); }
.button--ghost:hover { color: var(--navy); }
.button--danger { color: #fff; background: #b63b52; }
.button--sm { padding: 10px 14px; font-size: 12px; border-radius: 10px; }
.button[disabled] { opacity: .55; pointer-events: none; }
.panel__head a { display: flex; align-items: center; gap: 5px; color: var(--navy); font-size: 9px; font-weight: 700; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-actions--start { justify-content: flex-start; }

/* Conteúdo dos painéis ------------------------------------------------------ */
.panel__body { padding: 20px 22px 24px; }
.panel + .panel { margin-top: 15px; }
.section-note { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: start; }
.transcript { max-height: 280px; margin: 0; padding: 14px 16px; overflow: auto; border-radius: 11px; color: #cfd6e4; background: #16203a; font-family: ui-monospace, Consolas, monospace; font-size: 11px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; color: #626b7c; background: #fff; font-size: 11px; font-weight: 700; }
.tabs a.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.empty-state { padding: 46px 20px; text-align: center; color: var(--muted); font-size: 12px; }
.empty-state svg { margin-bottom: 10px; color: #c2c8d4; }
.table-actions { display: flex; gap: 6px; justify-content: flex-end; }
.table-actions a, .table-actions button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--muted); background: #fff; }
.table-actions a:hover { color: var(--navy); border-color: #c8d3e8; }
.table-actions .danger:hover { color: #b63b52; border-color: #efc6ce; }
.directory__row--manage { grid-template-columns: 1.5fr 1fr .6fr .6fr 80px; }
.row-photo { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; object-position: center top; background: #e9edf5; }
.badge-soft { padding: 4px 8px; border-radius: 50px; background: #f2f3f5; color: #6e7788; font-size: 8px; font-weight: 700; }

/* Instalador ---------------------------------------------------------------- */
.install-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.install-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.install-steps span.done { background: var(--green); }
.install-steps span.now { background: var(--navy); }
.check-list { margin: 0 0 20px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #f0f1f4; color: #5c6577; font-size: 12px; }
.check-list li:last-child { border-bottom: 0; }
.check-list li b { margin-left: auto; font-size: 11px; }
.check-list .ok b { color: var(--green); }
.check-list .fail b { color: #b63b52; }
.check-list .warn b { color: #9b7318; }
.credentials { margin: 0 0 20px; padding: 15px 17px; border-radius: 12px; background: var(--cream); border: 1px solid #efe6dc; color: #5c6577; font-size: 12px; line-height: 1.8; }
.credentials code { padding: 2px 6px; border-radius: 5px; background: #fff; border: 1px solid var(--line); font-size: 11px; }

@media (max-width: 820px) {
  .grid-2, .field-row, .field-row--3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .auth-card { padding: 26px 20px 24px; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .button { width: 100%; }
  .directory__row--manage { min-width: 640px; }
}

/* ---------------------------------------------------------------------------
   Páginas internas, fórum e formulário de contato.
   Mesmos tokens de cor e tipografia das seções da home.
   --------------------------------------------------------------------------- */

/* Menu: item da página atual ------------------------------------------------ */
.main-nav > a.is-active { color: var(--orange); }

/* Rodapé com quatro colunas (o do protótipo tem três) ------------------------ */
.site-footer__grid--4 { grid-template-columns: 1.4fr 1fr .7fr .9fr; gap: 44px; }
.site-footer__grid--4 a { color: var(--muted); }
.site-footer__grid--4 a:hover { color: var(--orange); }

/* Faixa de topo das páginas internas ---------------------------------------- */
.page-hero { padding: 58px 0 54px; background: linear-gradient(130deg, #edf2ff, #fff0f2); border-bottom: 1px solid rgba(9,28,76,.07); }
.page-hero h1 { margin: 14px 0 0; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.07; letter-spacing: -.035em; }
.page-hero p { max-width: 620px; margin: 16px 0 0; color: #536078; font-size: 15px; line-height: 1.75; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 600; }
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb strong { color: var(--navy); font-weight: 700; }

/* Blocos de conteúdo (Nosso Espaço) ----------------------------------------- */
.content-section { padding: 86px 0; }
.content-section:nth-of-type(even) { background: var(--cream); }
.content-section__head { max-width: 760px; margin-bottom: 42px; }
.content-section__head h2 { margin: 14px 0 0; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(30px, 3.4vw, 43px); line-height: 1.14; letter-spacing: -.03em; }
.content-section__head p { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.prose { max-width: 820px; }
.prose h3 { margin: 36px 0 12px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 22px; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: #566074; font-size: 15px; line-height: 1.85; }
.prose p:last-child { margin-bottom: 0; }

.bullet-list { max-width: 820px; margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.bullet-list li { display: flex; gap: 14px; padding: 19px 21px; border: 1px solid #e9eaf0; border-radius: 15px; background: #fff; }
.bullet-list li > span { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--navy); background: var(--blue-soft); }
.bullet-list strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 14px; }
.bullet-list small { color: var(--muted); font-size: 13px; line-height: 1.7; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.step-card { padding: 26px 22px; border: 1px solid #e9eaf0; border-radius: var(--radius); background: #fff; }
.step-card > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; color: var(--navy); background: var(--blue-soft); font-size: 12px; font-weight: 800; }
.step-card:nth-child(2) > span { background: var(--rose-soft); color: #a5485b; }
.step-card:nth-child(3) > span { background: var(--gold-soft); color: #9b6d18; }
.step-card:nth-child(4) > span { background: var(--green-soft); color: var(--green); }
.step-card strong { display: block; margin-bottom: 9px; color: var(--navy); font-size: 15px; line-height: 1.35; }
.step-card small { color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Equipe: card clicável + modal de perfil ----------------------------------- */
.team-person { width: 100%; padding: 0; text-align: left; font: inherit; border: 1px solid rgba(9,28,76,.08); cursor: pointer; }
.team-person:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.team-person__info { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-person__info > span:last-child { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--blue-soft); transition: background .2s, color .2s; }
.team-person:hover .team-person__info > span:last-child { color: #fff; background: var(--navy); }

.modal--profile { width: min(680px, 100%); }
.profile-head { position: relative; display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-bottom: 1px solid var(--line); background: linear-gradient(130deg, #edf2ff, #fff0f2); border-radius: 20px 20px 0 0; }
.profile-head img { width: 92px; height: 92px; flex: 0 0 auto; border-radius: 18px; object-fit: cover; object-position: center top; background: #e9edf5; }
.profile-head h2 { margin: 0 0 5px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 25px; line-height: 1.15; }
.profile-head p { margin: 0; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.profile-head .registry { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 50px; color: var(--navy); background: rgba(255,255,255,.75); font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.profile-head .icon-button { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.85); }
.profile-body { padding: 24px 28px 28px; }
.profile-body p { margin: 0 0 14px; color: #566074; font-size: 14px; line-height: 1.85; }
.profile-body p:last-child { margin-bottom: 0; }
.profile-body ul { margin: 0; padding-left: 20px; color: #566074; font-size: 14px; line-height: 1.85; }

/* Depoimentos --------------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid #e9eaf0; border-radius: var(--radius); background: #fff; }
.review-card__stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--gold); }
.review-card p { flex: 1; margin: 0 0 20px; color: #566074; font-size: 14px; line-height: 1.8; }
.review-card footer { display: flex; align-items: center; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-card footer strong { display: block; color: var(--navy); font-size: 13px; }
.review-card footer small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.rating-summary { display: flex; align-items: center; gap: 22px; padding: 26px 30px; margin-bottom: 36px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.rating-summary strong { font-family: "Playfair Display", serif; font-size: 44px; line-height: 1; }
.rating-summary div span { display: flex; gap: 3px; margin-bottom: 6px; color: var(--gold); }
.rating-summary small { color: rgba(255,255,255,.7); font-size: 12px; }
.rating-summary .button { margin-left: auto; }

/* FAQ ----------------------------------------------------------------------- */
.faq-list { max-width: 860px; display: grid; gap: 12px; }
.faq-item { border: 1px solid #e9eaf0; border-radius: 15px; background: #fff; overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px; color: var(--navy); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: 0 0 auto; color: var(--orange); transition: transform .25s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item__answer { padding: 0 24px 22px; color: #566074; font-size: 14px; line-height: 1.85; }

/* Contato ------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.contact-panel { padding: 34px; border: 1px solid #e9eaf0; border-radius: var(--radius); background: #fff; }
.contact-panel h2 { margin: 0 0 6px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 25px; }
.contact-panel > p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-info { display: grid; gap: 16px; }
.contact-info li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid #e9eaf0; border-radius: 15px; background: #fff; }
.contact-info span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--navy); background: var(--blue-soft); }
.contact-info li:nth-child(2) span { color: #a5485b; background: var(--rose-soft); }
.contact-info li:nth-child(3) span { color: #9b6d18; background: var(--gold-soft); }
.contact-info li:nth-child(4) span { color: var(--green); background: var(--green-soft); }
.contact-info strong { display: block; margin-bottom: 5px; color: var(--navy); font-size: 13px; }
.contact-info small { color: var(--muted); font-size: 12px; line-height: 1.7; }
.contact-info a { color: var(--muted); }
.contact-info a:hover { color: var(--orange); }
.contact-map { margin-top: 20px; border: 1px solid #e9eaf0; border-radius: var(--radius); overflow: hidden; }
.contact-map iframe { width: 100%; height: 260px; display: block; border: 0; }
.ul-reset { margin: 0; padding: 0; list-style: none; }

/* Fórum --------------------------------------------------------------------- */
.topic__content h3 a { color: inherit; }
.topic__content h3 a:hover { color: var(--orange); }
.forum-side > a { width: 100%; padding: 10px 0; border: 0; display: flex; justify-content: space-between; color: #657083; background: transparent; font-size: 9px; }
.forum-side > a span { display: flex; align-items: center; gap: 8px; }
.forum-side > a b { color: #a2a7b0; }
.forum-side > a.active { color: var(--navy); font-weight: 700; }
.post { padding: 20px 22px; display: flex; gap: 15px; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post__body { flex: 1; min-width: 0; }
.post__meta { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.post__meta strong { color: var(--navy); font-size: 12px; }
.post__meta small { color: #a3a8b2; font-size: 10px; }
.post__body p { margin: 0 0 10px; color: #566074; font-size: 13px; line-height: 1.8; }
.post__body p:last-child { margin-bottom: 0; }
.post__body ul { margin: 0 0 10px; padding-left: 20px; color: #566074; font-size: 13px; line-height: 1.8; }
.topic-head { padding: 22px; border-bottom: 1px solid var(--line); }
.topic-head h1 { margin: 10px 0 8px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 27px; line-height: 1.2; }
.topic-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }
.reply-box { padding: 20px 22px; border-top: 1px solid var(--line); background: #fafbfc; }

/* Mensagens do painel ------------------------------------------------------- */
.message-row { padding: 16px 20px; display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid #f0f1f4; }
.message-row:last-child { border-bottom: 0; }
.message-row.unread { background: #fbfcff; border-left: 3px solid var(--orange); }
.message-row h3 { margin: 0 0 5px; color: var(--navy); font-size: 13px; }
.message-row p { margin: 6px 0 0; color: #566074; font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
.message-row .meta { color: var(--muted); font-size: 10px; }

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .main-nav > a.is-active { color: var(--orange); }
  .reviews-grid, .contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .page-hero { padding: 40px 0 38px; }
  .content-section { padding: 60px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .site-footer__grid--4 { grid-template-columns: 1fr; }
  .profile-head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .profile-head img { width: 76px; height: 76px; }
  .profile-body { padding: 20px; }
  .rating-summary { flex-wrap: wrap; gap: 16px; padding: 22px; }
  .rating-summary .button { margin-left: 0; width: 100%; }
  .contact-panel { padding: 24px 20px; }
  .post { padding: 16px; }
}

/* ===========================================================================
   Menu colorido, rodapé escuro, topo com foto, robozinho do WhatsApp
   e escala de texto do painel.
   =========================================================================== */

/* --- Barra superior -------------------------------------------------------- */
.topbar { background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 60%, #16306f 100%); font-size: 12px; }
.topbar__content { height: 40px; opacity: 1; color: rgba(255,255,255,.82); }
.topbar__content > span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__right { display: inline-flex; align-items: center; gap: 14px; }
.topbar__right a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar__right a:hover { color: #f5b677; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.22); }
.topbar svg { opacity: .75; }

/* --- Menu principal com ícones -------------------------------------------- */
.main-nav { gap: 4px; font-size: 13.5px; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; color: #44506b; transition: color .18s, background .18s; }
.nav-link__icon { display: grid; place-items: center; transition: transform .18s; }
.nav-link:hover .nav-link__icon,
.nav-link.is-active .nav-link__icon { transform: translateY(-1px) scale(1.08); }

/* Uma cor por item — a mesma paleta das seções do site. */
.nav-link--home          .nav-link__icon { color: #3e6197; }
.nav-link--nosso-espaco  .nav-link__icon { color: #a5485b; }
.nav-link--profissionais .nav-link__icon { color: #9b6d18; }
.nav-link--avaliacoes    .nav-link__icon { color: var(--orange); }
.nav-link--faq           .nav-link__icon { color: var(--green); }
.nav-link--contato       .nav-link__icon { color: #59458e; }

.nav-link--home:hover,          .nav-link--home.is-active          { color: #27406b; background: var(--blue-soft); }
.nav-link--nosso-espaco:hover,  .nav-link--nosso-espaco.is-active  { color: #8d3346; background: var(--rose-soft); }
.nav-link--profissionais:hover, .nav-link--profissionais.is-active { color: #85601d; background: var(--gold-soft); }
.nav-link--avaliacoes:hover,    .nav-link--avaliacoes.is-active    { color: #9c4e0c; background: var(--orange-soft); }
.nav-link--faq:hover,           .nav-link--faq.is-active           { color: #26604f; background: var(--green-soft); }
.nav-link--contato:hover,       .nav-link--contato.is-active       { color: #4a3880; background: #efeafb; }

.nav-admin { margin-left: 10px; padding: 10px 16px; border-left: 0; border-radius: 12px; color: #fff;
  background: linear-gradient(120deg, var(--navy), #1b3a7a); box-shadow: 0 10px 22px rgba(9,28,76,.22); transition: transform .2s, box-shadow .2s; }
.nav-admin:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(9,28,76,.3); }

/* --- Topo das páginas internas, com foto ao fundo -------------------------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: -6%; z-index: -2; background-size: cover; background-position: center;
  /* A foto fica desfocada de propósito: vira textura, não concorre com o texto
     e some o problema das imagens originais serem pequenas. */
  filter: blur(7px) saturate(.9); transform: scale(1.06); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(118deg, rgba(237,242,255,.93) 0%, rgba(255,240,242,.9) 55%, rgba(255,245,236,.88) 100%); }
.page-hero--plain::after { background: linear-gradient(130deg, #edf2ff, #fff0f2); }

/* --- Rodapé --------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; margin-top: 0; padding: 72px 0 24px; border-top: 0;
  color: rgba(255,255,255,.7); background: linear-gradient(145deg, #071634 0%, var(--navy) 45%, #132a63 100%); }
.site-footer::before { content: ""; position: absolute; top: -140px; right: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,109,18,.22), transparent 68%); pointer-events: none; }
.site-footer::after { content: ""; position: absolute; bottom: -180px; left: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,177,187,.16), transparent 68%); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }

.site-footer__grid { font-size: 13px; }
.site-footer__grid > div { gap: 12px; color: rgba(255,255,255,.7); }
.site-footer__grid strong { margin-bottom: 4px; color: #fff; font-size: 14px; letter-spacing: .01em; }

/* A logo é escura, então ganha uma plaquinha branca para continuar legível. */
.footer-brand .brand { display: inline-flex; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.footer-brand p { max-width: 300px; margin: 18px 0 0; color: rgba(255,255,255,.62); line-height: 1.75; }
.footer-social { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 9px 15px; border-radius: 50px;
  color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 12.5px; font-weight: 600; transition: background .2s, transform .2s; }
.footer-social:hover { background: linear-gradient(120deg, #d6356f, var(--orange)); border-color: transparent; transform: translateY(-2px); }

.footer-line { display: flex; align-items: flex-start; gap: 11px; color: rgba(255,255,255,.7); line-height: 1.65; transition: color .2s; }
a.footer-line:hover { color: #fff; }
.footer-line__icon { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255,255,255,.1); color: #fff; transition: background .2s; }
a.footer-line:hover .footer-line__icon { background: rgba(255,255,255,.2); }
.footer-line__icon--rose  { background: rgba(245,177,187,.2);  color: #f7c3cb; }
.footer-line__icon--green { background: rgba(75,140,120,.26);  color: #8fd3bd; }
.footer-line__icon--blue  { background: rgba(136,169,230,.22); color: #b6cdf7; }
.footer-line__icon--gold  { background: rgba(231,183,95,.22);  color: #f0d093; }
.footer-line__icon--lilac { background: rgba(151,134,196,.24); color: #c8b9ec; }

.footer-links { display: grid; gap: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.7); transition: color .2s, transform .2s; }
.footer-links a:hover { color: #f5b677; transform: translateX(3px); }
.footer-links svg { opacity: .65; }

.footer-cta { margin-top: 6px; align-self: flex-start; }

.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 11.5px; }

/* --- Robozinho do WhatsApp ------------------------------------------------- */
.wa-bot { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.wa-launcher { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #2cc36b, #128c4a); box-shadow: 0 14px 32px rgba(18,140,74,.42);
  transition: transform .2s, box-shadow .2s; }
.wa-launcher:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 38px rgba(18,140,74,.5); }
.wa-launcher__icon { display: grid; place-items: center; }
.wa-launcher__dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: var(--orange); }
.wa-launcher__dot[hidden] { display: none; }

.wa-teaser { position: relative; max-width: 230px; padding: 12px 34px 12px 16px; border-radius: 16px 16px 4px 16px;
  color: var(--navy); background: #fff; box-shadow: 0 14px 32px rgba(28,40,74,.18); font-size: 13px; font-weight: 600; line-height: 1.5;
  animation: waPop .35s ease-out; }
.wa-teaser button { position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; border: 0; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted); background: #f2f4f8; }
.wa-teaser button:hover { color: var(--navy); }

.wa-panel { width: min(360px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 130px)); display: flex; flex-direction: column;
  overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 26px 70px rgba(10,22,50,.3); animation: waPop .28s ease-out; }
@keyframes waPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.wa-panel__head { display: flex; align-items: center; gap: 12px; padding: 15px 16px; color: #fff; background: linear-gradient(130deg, #128c4a, #2cc36b); }
.wa-panel__avatar { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #fff; overflow: hidden; }
.wa-panel__avatar img { width: 34px; height: 34px; object-fit: contain; }
.wa-panel__head div { flex: 1; min-width: 0; }
.wa-panel__head strong { display: block; font-size: 14px; }
.wa-panel__head small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: rgba(255,255,255,.85); font-size: 11.5px; }
.wa-online { width: 8px; height: 8px; border-radius: 50%; background: #b6f5cf; box-shadow: 0 0 0 0 rgba(182,245,207,.7); animation: waPulse 2s infinite; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 7px rgba(182,245,207,0); } 100% { box-shadow: 0 0 0 0 rgba(182,245,207,0); } }
.wa-panel__close { width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.18); }
.wa-panel__close:hover { background: rgba(255,255,255,.3); }

.wa-panel__body { flex: 1; min-height: 150px; padding: 18px 16px; overflow-y: auto; background: #eae6df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='%23ffffff' fill-opacity='.35'%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3Ccircle cx='28' cy='22' r='1.4'/%3E%3C/g%3E%3C/svg%3E"); }
.wa-msg { position: relative; max-width: 85%; margin-bottom: 10px; padding: 11px 13px 16px; border-radius: 12px; font-size: 13.5px; line-height: 1.6;
  box-shadow: 0 2px 5px rgba(0,0,0,.08); animation: waPop .25s ease-out; }
.wa-msg--bot { color: var(--ink); background: #fff; border-top-left-radius: 3px; }
.wa-msg--user { margin-left: auto; color: #0d2a18; background: #d9fdd3; border-top-right-radius: 3px; }
.wa-time { position: absolute; right: 10px; bottom: 4px; color: #9aa3a8; font-size: 10px; }
.wa-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9c0c4; animation: waDot 1.2s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .18s; }
.wa-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes waDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.wa-panel__foot { padding: 12px 14px; border-top: 1px solid #e7e9ef; background: #f6f7f9; }
.wa-options { display: flex; flex-wrap: wrap; gap: 7px; }
.wa-option { padding: 9px 13px; border: 1px solid #cfe9d8; border-radius: 50px; color: #0f7a42; background: #fff; font-size: 12.5px; font-weight: 600; transition: background .18s, color .18s, transform .18s; }
.wa-option:hover { color: #fff; background: #17a357; border-color: #17a357; transform: translateY(-1px); }
.wa-form { display: flex; gap: 8px; }
.wa-form input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid #dfe2e8; border-radius: 50px; outline: 0; font-size: 13.5px; }
.wa-form input:focus { border-color: #17a357; box-shadow: 0 0 0 3px rgba(23,163,87,.14); }
.wa-form button { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #17a357; }
.wa-send { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 13px; border: 0; border-radius: 12px;
  color: #fff; background: linear-gradient(130deg, #128c4a, #2cc36b); font-size: 13.5px; font-weight: 700; box-shadow: 0 10px 22px rgba(18,140,74,.3);
  transition: transform .2s; }
.wa-send:hover { transform: translateY(-2px); }
.wa-restart { display: block; width: 100%; margin-top: 9px; border: 0; background: transparent; color: var(--muted); font-size: 11.5px; text-decoration: underline; }

/* ===========================================================================
   Painel: a escala do protótipo era pequena demais para uso diário.
   Estes ajustes aumentam só o texto, sem mexer no layout.
   =========================================================================== */
.sidebar__workspace small { font-size: 9px; }
.sidebar__workspace strong { font-size: 12px; }
.sidebar nav > small { font-size: 9.5px; }
.sidebar__link { font-size: 13px; padding: 12px 12px; }
.sidebar__link span { font-size: 10px; padding: 3px 7px; }
.sidebar__profile strong { font-size: 12.5px; }
.sidebar__profile small { font-size: 10.5px; }

.admin-header input, .directory__toolbar input, .forum-filters input { font-size: 13px; }
.admin-user strong { font-size: 12.5px; }
.admin-user small { font-size: 10.5px; }

.admin-title > div > span { font-size: 10px; }
.admin-title h1 { font-size: 34px; }
.admin-title--simple h1 { font-size: 36px; }
.admin-title p { font-size: 13px; }

.metric-grid small { font-size: 11.5px; }
.metric-grid strong { font-size: 32px; }
.metric-grid em { font-size: 11px; }

.panel__head h2 { font-size: 18px; }
.panel__head p { font-size: 11.5px; }
.panel__head button, .panel__head a { font-size: 12px; }

.status { font-size: 10px; padding: 5px 10px; }
.tag { font-size: 10px; padding: 5px 9px; }
.badge-soft { font-size: 10px; }

.team-summary__row div strong { font-size: 13px; }
.team-summary__row div small, .team-summary__row > small { font-size: 11px; }
.team-summary__row { grid-template-columns: 38px 1fr auto 110px 20px; }

.activity__item p { font-size: 12.5px; }
.activity__item p small { font-size: 10.5px; }

.forum-preview h3, .topic h3 { font-size: 14px; }
.forum-preview article strong, .forum-preview article small { font-size: 11px; }
.forum-preview article small { font-size: 10.5px; }
.forum-preview article > div > span:last-child { font-size: 11px; }

.directory__row { font-size: 12.5px; }
.directory__row--head { font-size: 11px; }
.professional-cell strong { font-size: 13px; }
.professional-cell small { font-size: 10.5px; }
.directory__toolbar button, .forum-filters button { font-size: 12px; }

.topic p { font-size: 11.5px; }
.topic__stats { font-size: 11.5px; }
.forum-side h2 { font-size: 18px; }
.forum-side > button, .forum-side > a { font-size: 12.5px; padding: 11px 0; }
.forum-side > button b, .forum-side > a b { font-size: 12px; }
.forum-rules strong { font-size: 13px; }
.forum-rules p { font-size: 11.5px; }
.quick-topic strong { font-size: 13px; }
.quick-topic small { font-size: 11px; }
.quick-topic input { font-size: 13px; }

.modal__head span { font-size: 10px; }
.modal__head p { font-size: 12px; }
.form-grid label { font-size: 12px; }
.form-grid input, .form-grid select, .form-grid textarea { font-size: 13.5px; padding: 12px 13px; }
.modal__actions > button:first-child, .modal__actions > a { font-size: 13px !important; }
.modal__success p { font-size: 13px; }
.avatar { font-size: 11.5px; }
.post__meta strong { font-size: 13px; }
.post__meta small { font-size: 11px; }
.post__body p, .post__body ul { font-size: 13.5px; }
.topic-head .meta { font-size: 11.5px; }
.message-row h3 { font-size: 14px; }
.message-row p { font-size: 13px; }
.message-row .meta { font-size: 11.5px; }
.check-list li { font-size: 13px; }
.empty-state { font-size: 13px; }
.section-note { font-size: 12.5px; }
.alert { font-size: 13px; }
.field { font-size: 12px; }
.field small { font-size: 11px; }
.tabs a { font-size: 12.5px; }
.transcript { font-size: 12px; }

/* --- Ordenar a equipe arrastando ------------------------------------------ */
.drag-row { cursor: grab; }
.drag-row.dragging { opacity: .45; cursor: grabbing; }
.drag-row.drop-target { box-shadow: inset 0 3px 0 var(--orange); }
.drag-handle { display: grid; place-items: center; width: 26px; height: 32px; color: #c2c8d4; cursor: grab; }
.drag-handle:hover { color: var(--navy); }
.directory__row--manage { grid-template-columns: 26px 1.5fr 1fr .6fr .6fr 80px; }
.order-bar { display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px;
  border-top: 1px solid var(--line); background: var(--gold-soft); color: #7d5a12; font-size: 12.5px; }
.order-bar.show { display: flex; }

/* --- Foto nos depoimentos -------------------------------------------------- */
.review-card footer img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: #e9edf5; }
.review-photo-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--muted); font-weight: 500; }
.review-photo-preview img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

@media (max-width: 1024px) {
  .main-nav { gap: 2px; font-size: 12.5px; }
  .nav-link { padding: 8px 10px; gap: 6px; }
}

@media (max-width: 820px) {
  .main-nav { gap: 6px; padding-top: 18px; }
  .nav-link { justify-content: flex-start; padding: 12px 14px; font-size: 14.5px; }
  .nav-admin { margin-left: 0; justify-content: center; }
  .site-footer { padding: 54px 0 22px; }
  .wa-bot { right: 16px; bottom: 16px; }
}

@media (max-width: 600px) {
  .topbar__right > span:not(.topbar__sep) { display: none; }
  .topbar__sep { display: none; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .admin-title h1, .admin-title--simple h1 { font-size: 28px; }
  .metric-grid strong { font-size: 26px; }
  .wa-panel { max-height: calc(100vh - 120px); }
  .directory__row--manage { min-width: 680px; }
}

/* ===========================================================================
   Modo de edição ao vivo
   =========================================================================== */
body.live-on { padding-bottom: 64px; }

.live-bar { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 11px 18px; color: #fff; background: linear-gradient(100deg, #071634, var(--navy) 55%, #1b3a7a);
  box-shadow: 0 -8px 28px rgba(9,20,48,.3); font-size: 13px; }
.live-bar__badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 50px;
  background: var(--orange); font-weight: 700; font-size: 12px; }
.live-bar__hint { color: rgba(255,255,255,.65); font-size: 12.5px; }
.live-bar__hint.saved { color: #8fd3bd; }
.live-bar__hint.error { color: #f7c3cb; }
.live-bar__spacer { flex: 1; }
.live-bar__btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 0; border-radius: 10px;
  font-size: 13px; font-weight: 700; transition: transform .15s, opacity .15s; }
.live-bar__btn:hover { transform: translateY(-1px); }
.live-bar__btn--save { color: #fff; background: linear-gradient(130deg, #128c4a, #2cc36b); }
.live-bar__btn--ghost { color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); }
.live-bar__btn--ghost:hover { color: #fff; background: rgba(255,255,255,.2); }
.live-bar__btn[disabled] { opacity: .4; pointer-events: none; }

/* Alvos editáveis */
[data-live] { position: relative; border-radius: 5px; outline: 1px dashed rgba(230,109,18,.5); outline-offset: 3px;
  cursor: text; transition: outline-color .15s, background .15s; }
[data-live]:hover { outline-color: var(--orange); background: rgba(230,109,18,.07); }
[data-live]:focus { outline: 2px solid var(--orange); outline-offset: 3px; background: rgba(230,109,18,.06); }
[data-live].changed { outline-color: #17a357; background: rgba(23,163,87,.08); }
[data-live].changed::after { content: "•"; position: absolute; top: -6px; right: -10px; color: #17a357; font-size: 20px; line-height: 1; }

/* Atalho para o painel, onde não dá para editar no lugar */
.live-jump { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 5px 10px; border-radius: 50px;
  color: #fff; background: var(--navy); font-size: 11px; font-weight: 700; vertical-align: middle;
  text-transform: none; letter-spacing: 0; white-space: nowrap; }
.live-jump:hover { background: var(--orange); }
.live-jump span { line-height: 1; }

.live-card-tools { position: absolute; z-index: 5; top: 10px; right: 10px; display: flex; gap: 6px; }
.team-person { position: relative; }

@media (max-width: 820px) {
  .live-bar { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .live-bar__hint { width: 100%; order: 3; }
  .live-bar__spacer { display: none; }
  body.live-on { padding-bottom: 108px; }
}

/* Destaque do atalho de edição ao vivo no painel */
.sidebar__link--live { color: var(--orange); font-weight: 700; }
.sidebar__link--live:hover { color: #9c4e0c; background: var(--orange-soft); }
.live-launch { white-space: nowrap; }
@media (max-width: 820px) { .live-launch span, .live-launch { font-size: 11px; padding: 8px 10px; } }
@media (max-width: 600px) { .live-launch { display: none; } }

/* ===========================================================================
   Página de avaliações — versão com destaque de reputação e paginação
   =========================================================================== */
.rating-hero { display: grid; grid-template-columns: 230px 1fr; gap: 38px; align-items: center;
  margin-bottom: 44px; padding: 40px 44px; border-radius: 26px; color: #fff;
  background: linear-gradient(135deg, #071634 0%, var(--navy) 50%, #1b3a7a 100%); position: relative; overflow: hidden; }
.rating-hero::before { content: ""; position: absolute; top: -120px; right: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,183,95,.26), transparent 70%); }
.rating-hero > * { position: relative; z-index: 1; }
.rating-hero__score { text-align: center; padding: 26px 18px; border-radius: 20px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.rating-hero__score strong { display: block; font-family: "Playfair Display", serif; font-size: 60px; line-height: 1; }
.rating-hero__score span { display: flex; justify-content: center; gap: 3px; margin: 12px 0 8px; color: var(--gold); }
.rating-hero__score small { color: rgba(255,255,255,.65); font-size: 12px; }
.rating-hero__text h2 { margin: 14px 0 12px; color: #fff; font-family: "Playfair Display", serif; font-size: clamp(27px, 3vw, 37px); line-height: 1.15; letter-spacing: -.03em; }
.rating-hero__text p { margin: 0 0 22px; max-width: 540px; color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.75; }
.rating-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rating-hero__note { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; color: rgba(255,255,255,.6); font-size: 12px; }
.button--ghost-light { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); }
.button--ghost-light:hover { background: rgba(255,255,255,.2); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.review-card { position: relative; padding: 34px 30px 28px; border: 1px solid #e9eaf0; border-radius: var(--radius);
  background: #fff; transition: transform .25s, box-shadow .25s; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-card__quote { position: absolute; top: 14px; right: 24px; color: #eef0f6; font-family: "Playfair Display", serif;
  font-size: 76px; line-height: 1; pointer-events: none; }
.review-card__stars { position: relative; display: flex; gap: 3px; margin-bottom: 16px; color: var(--gold); }
.review-card p { position: relative; margin: 0 0 16px; color: #566074; font-size: 14px; line-height: 1.8; }
.review-card footer { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-card footer strong { display: block; color: var(--navy); font-size: 13.5px; }
.review-card footer small { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: var(--green); font-size: 11px; font-weight: 600; }

/* Paginação */
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 42px; flex-wrap: wrap; }
.pager__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line);
  border-radius: 12px; color: var(--navy); background: #fff; font-size: 13px; font-weight: 700; transition: border-color .2s, transform .2s; }
.pager__btn:hover { border-color: var(--navy); transform: translateY(-2px); }
.pager__btn.is-off { opacity: .4; pointer-events: none; }
.pager__pages { display: flex; gap: 6px; }
.pager__num { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px;
  color: #626b7c; background: #fff; font-size: 13px; font-weight: 700; transition: all .2s; }
.pager__num:hover { border-color: var(--navy); color: var(--navy); }
.pager__num.is-active { color: #fff; background: var(--navy); border-color: var(--navy); }
.pager__info { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }

@media (max-width: 1024px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .rating-hero { grid-template-columns: 1fr; gap: 26px; padding: 30px 26px; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rating-hero__score strong { font-size: 48px; }
  .rating-hero__actions .button { width: 100%; justify-content: center; }
  .pager__btn { padding: 10px 14px; font-size: 12px; }
}

/* ===========================================================================
   Modal de perfil do profissional — versão com capa, selos e redes sociais
   =========================================================================== */
.modal--profile { position: relative; width: min(640px, 100%); overflow: visible; border-radius: 24px; }
.modal--profile > :first-child { border-radius: 24px 24px 0 0; }

.profile-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy); background: rgba(255,255,255,.9);
  box-shadow: 0 4px 14px rgba(16,28,60,.16); transition: background .2s, transform .2s; }
.profile-close:hover { background: #fff; transform: rotate(90deg); }

.profile-head { position: relative; display: flex; align-items: flex-end; gap: 20px; padding: 54px 30px 24px; overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(135deg, #e8eeff 0%, #fdeef1 55%, #fff4ea 100%); }
.profile-head::before { content: ""; position: absolute; top: -90px; right: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,109,18,.14), transparent 70%); }
.profile-head__photo { position: relative; flex: 0 0 auto; width: 104px; height: 104px; padding: 4px; border-radius: 50%;
  background: linear-gradient(140deg, var(--orange), var(--rose) 55%, var(--blue));
  box-shadow: 0 12px 30px rgba(28,40,74,.18); }
.profile-head__photo img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; object-position: center top;
  border: 3px solid #fff; background: #e9edf5; }
.profile-head__info { position: relative; flex: 1; min-width: 0; padding-bottom: 4px; }
.profile-head__info h2 { margin: 0 0 5px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.profile-head__role { margin: 0 0 11px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.profile-head__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 50px;
  font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.8); }
.profile-tag--reg { color: var(--navy); }
.profile-tag--ok { color: #26604f; background: rgba(231,244,239,.9); }

.profile-body { padding: 26px 30px; max-height: 42vh; overflow-y: auto; }
.profile-body p { margin: 0 0 14px; color: #566074; font-size: 14.5px; line-height: 1.85; }
.profile-body p:last-child { margin-bottom: 0; }
.profile-body ul { margin: 0; padding-left: 20px; color: #566074; font-size: 14.5px; line-height: 1.9; }
.profile-body ul li { margin-bottom: 6px; }

.profile-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 30px 22px; border-top: 1px solid var(--line); background: #fbfcfe; border-radius: 0 0 24px 24px; }
.profile-social { display: flex; gap: 9px; }
.profile-social__link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  color: var(--navy); background: #eef1f7; transition: color .2s, background .2s, transform .2s; }
.profile-social__link:hover { color: #fff; transform: translateY(-3px); }
.profile-social__link--instagram:hover { background: linear-gradient(135deg, #f8a33c, #d6356f 55%, #8a3ab9); }
.profile-social__link--linkedin:hover  { background: #0a66c2; }
.profile-social__link--lattes:hover    { background: #0f4c81; }
.profile-social__link--website:hover   { background: var(--navy); }

@media (max-width: 600px) {
  .profile-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 48px 20px 20px; }
  .profile-head__photo { width: 86px; height: 86px; }
  .profile-head__info h2 { font-size: 22px; }
  .profile-body { padding: 20px; max-height: 38vh; }
  .profile-foot { flex-direction: column; align-items: stretch; padding: 16px 20px 20px; }
  .profile-foot .button { width: 100%; justify-content: center; }
  .profile-social { justify-content: center; }
}

/* Itens recolhíveis das listas do painel (depoimentos, FAQ, blocos...) */
.admin-item { border-bottom: 1px solid var(--line); }
.admin-item:last-child { border-bottom: 0; }
.admin-item > summary { display: flex; align-items: center; gap: 12px; padding: 15px 20px; cursor: pointer;
  list-style: none; transition: background .15s; }
.admin-item > summary::-webkit-details-marker { display: none; }
.admin-item > summary:hover { background: #fafbfc; }
.admin-item[open] > summary { background: #f6f8fc; border-bottom: 1px solid var(--line); }
.admin-item__title { flex: 0 1 auto; color: var(--navy); font-size: 13.5px; font-weight: 700; }
.admin-item__title b { color: var(--orange); }
.admin-item__meta { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--muted); font-size: 11.5px; }
.admin-item > summary > svg { flex: 0 0 auto; margin-left: auto; color: var(--muted); transition: transform .2s; }
.admin-item[open] > summary > svg { transform: rotate(180deg); }
.admin-item .panel__body { padding-top: 20px; }

/* Capa do fórum */
.forum-cover { position: relative; overflow: hidden; margin-bottom: 20px; border-radius: 20px;
  background-color: var(--navy); background-size: cover; background-position: center 35%; }
.forum-cover::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,22,52,.95) 0%, rgba(9,28,76,.88) 48%, rgba(27,58,122,.72) 100%); }
.forum-cover__inner { position: relative; padding: 38px 36px 34px; color: #fff; }
.forum-cover__kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 50px;
  background: rgba(255,255,255,.14); color: #f5b677; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.forum-cover h1 { margin: 16px 0 8px; color: #fff; font-family: "Playfair Display", serif; font-size: 34px; letter-spacing: -.02em; }
.forum-cover p { max-width: 520px; margin: 0 0 24px; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.7; }
.forum-cover__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.forum-cover__stats { display: flex; gap: 18px; color: rgba(255,255,255,.7); font-size: 12px; }
.forum-cover__stats span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 600px) {
  .forum-cover__inner { padding: 26px 20px 24px; }
  .forum-cover h1 { font-size: 26px; }
  .forum-cover__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .forum-cover .button { width: 100%; justify-content: center; }
}

/* A foto dos banners de topo estava apagada demais: menos desfoque e véu mais
   leve, mantendo contraste suficiente para o título em azul-marinho. */
.page-hero__bg { filter: blur(3px) saturate(1.02); transform: scale(1.04); opacity: .95; }
.page-hero::after {
  background:
    linear-gradient(118deg, rgba(237,242,255,.78) 0%, rgba(255,240,242,.72) 52%, rgba(255,245,236,.68) 100%),
    linear-gradient(to bottom, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 45%);
}
/* O texto ganha um leve realce para não depender só do véu. */
.page-hero h1 { text-shadow: 0 1px 2px rgba(255,255,255,.55); }
.page-hero p, .breadcrumb strong { text-shadow: 0 1px 2px rgba(255,255,255,.6); }

/* Mesma ideia na capa do fórum, que é escura. */
.forum-cover::before {
  background: linear-gradient(105deg, rgba(7,22,52,.86) 0%, rgba(9,28,76,.74) 48%, rgba(27,58,122,.52) 100%);
}

/* ===========================================================================
   Nosso Espaço — seções com foto, alternando o lado
   =========================================================================== */
.content-section { padding: 92px 0; }
.content-section:nth-of-type(even) { background: var(--cream); }

.svc { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.content-section:nth-of-type(even) .svc { grid-template-columns: 1.15fr .85fr; }
.content-section:nth-of-type(even) .svc__media { order: 2; }
.svc--sem-foto { grid-template-columns: 1fr; }

.svc__media { position: relative; margin: 0; }
.svc__media img { width: 100%; height: 480px; display: block; object-fit: cover;
  border-radius: 200px 200px 24px 24px; box-shadow: 0 22px 54px rgba(28,40,74,.16); }
.svc__media::before { content: ""; position: absolute; inset: -14px -14px 24px -14px; z-index: -1;
  border: 1px solid rgba(9,28,76,.12); border-radius: 210px 210px 30px 30px; }
.svc__number { position: absolute; right: -14px; bottom: 24px; z-index: 2; width: 74px; height: 74px;
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(140deg, var(--orange), #c9560b);
  box-shadow: 0 14px 30px rgba(230,109,18,.34); font-family: "Playfair Display", serif; font-size: 25px; }

.svc__content h2 { margin: 14px 0 0; color: var(--navy); font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.svc__lead { margin: 16px 0 0; color: #536078; font-size: 16px; line-height: 1.75; }
.svc__content .prose { max-width: none; margin-top: 22px; }
.svc__content .bullet-list { margin-top: 24px; }
.svc__content > .button { margin-top: 30px; }

.svc__steps { margin-top: 70px; padding-top: 44px; border-top: 1px solid rgba(9,28,76,.1); }
.svc__steps .steps-grid { margin-top: 20px; }

/* Onde estamos */
.place { background: linear-gradient(130deg, #edf2ff, #fff0f2); }
.place__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.place__photo { margin: 0; }
.place__photo img { width: 100%; height: 460px; display: block; object-fit: cover; object-position: center 30%;
  border-radius: 24px; box-shadow: 0 22px 54px rgba(28,40,74,.18); }
.place__content h2 { margin: 14px 0 16px; color: var(--navy); font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.2vw, 41px); line-height: 1.14; letter-spacing: -.03em; }
.place__content > p { margin: 0 0 26px; max-width: 560px; color: #536078; font-size: 15px; line-height: 1.8; }
.place__content .contact-info { margin-bottom: 26px; }
.place__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1024px) {
  .svc, .content-section:nth-of-type(even) .svc, .place__grid { grid-template-columns: 1fr; gap: 38px; }
  .content-section:nth-of-type(even) .svc__media { order: 0; }
  .svc__media { max-width: 460px; margin-inline: auto; }
  .svc__media img { height: 400px; }
  .place__photo img { height: 320px; }
}

@media (max-width: 600px) {
  .content-section { padding: 62px 0; }
  .svc__media img { height: 320px; border-radius: 150px 150px 20px 20px; }
  .svc__number { width: 58px; height: 58px; font-size: 20px; right: 0; }
  .svc__steps { margin-top: 48px; padding-top: 32px; }
  .place__actions .button { width: 100%; justify-content: center; }
}

/* ===========================================================================
   Modal de perfil — "Ler mais" em vez de barra de rolagem
   =========================================================================== */
.profile-body { max-height: none; overflow: visible; }
.profile-body.is-clamped { position: relative; max-height: 190px; overflow: hidden; }
.profile-body.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%); pointer-events: none; }
.profile-more { display: inline-flex; align-items: center; gap: 7px; margin: 2px 30px 0; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 50px; color: var(--navy); background: #fff;
  font-size: 12.5px; font-weight: 700; transition: border-color .2s, color .2s; }
.profile-more:hover { border-color: var(--orange); color: var(--orange); }
.profile-more svg { transition: transform .2s; }
.profile-more.is-open svg { transform: rotate(180deg); }

/* ===========================================================================
   Animações de entrada
   A classe .reveal é aplicada pelo JavaScript, nunca no HTML — assim, sem JS
   (ou com erro nele), o conteúdo aparece normalmente em vez de ficar invisível.
   =========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); will-change: opacity, transform; }
.reveal-ready { transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* Variações por tipo de elemento, para não ficar tudo igual */
.reveal--left  { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }
.reveal--zoom  { transform: scale(.955); }
.reveal--left.is-in, .reveal--right.is-in, .reveal--zoom.is-in { transform: none; }

/* Quem prefere menos movimento não recebe animação nenhuma */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right, .reveal--zoom { opacity: 1 !important; transform: none !important; }
  .reveal-ready { transition: none !important; }
}

/* A capa do fórum estava com véu escuro demais: a foto sumia. Agora o degradê
   é direcional — escuro só onde fica o texto, transparente do meio para a
   direita, deixando a foto aparecer. */
.forum-cover { background-position: center 42%; }
.forum-cover__inner { min-height: 230px; display: flex; flex-direction: column; justify-content: center; max-width: 62%; }
.forum-cover::before {
  background:
    linear-gradient(100deg, rgba(7,22,52,.94) 0%, rgba(9,28,76,.86) 34%, rgba(9,28,76,.45) 62%, rgba(9,28,76,.12) 100%);
}

@media (max-width: 820px) {
  .forum-cover__inner { max-width: 100%; }
  .forum-cover::before {
    background: linear-gradient(100deg, rgba(7,22,52,.93) 0%, rgba(9,28,76,.86) 55%, rgba(9,28,76,.66) 100%);
  }
}

/* ===========================================================================
   Fórum público
   =========================================================================== */
.forum-public { display: grid; grid-template-columns: 1fr 290px; gap: 40px; align-items: start; }

.forum-search { display: flex; gap: 10px; margin-bottom: 26px; }
.forum-search label { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--muted); }
.forum-search input { width: 100%; padding: 14px 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.forum-search label:focus-within { border-color: #95aad4; box-shadow: 0 0 0 3px var(--blue-soft); }
.forum-filtro { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px;
  color: var(--muted); font-size: 13px; }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e9eaf0;
  border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media { display: block; height: 180px; overflow: hidden; background: #e9edf5; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__top { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.post-card .tag { display: inline-flex; align-items: center; gap: 5px; }
.tag--destaque { color: #85601d; background: var(--gold-soft); }
.post-card h2 { margin: 0 0 10px; font-family: "Playfair Display", serif; font-size: 20px; line-height: 1.25; }
.post-card h2 a { color: var(--navy); transition: color .2s; }
.post-card h2 a:hover { color: var(--orange); }
.post-card p { flex: 1; margin: 0 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.post-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.post-card footer > span { display: inline-flex; align-items: center; gap: 6px; }

.forum-aside { display: grid; gap: 18px; position: sticky; top: 100px; }
.forum-aside__box { padding: 22px; border: 1px solid #e9eaf0; border-radius: var(--radius); background: #fff; }
.forum-aside__box h2 { margin: 0 0 14px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 19px; }
.forum-aside__cat { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 0; color: #657083; font-size: 13.5px; border-bottom: 1px solid #f2f3f6; transition: color .2s; }
.forum-aside__cat:last-child { border-bottom: 0; }
.forum-aside__cat span { display: inline-flex; align-items: center; gap: 9px; }
.forum-aside__cat b { color: #a2a7b0; font-size: 12px; }
.forum-aside__cat:hover, .forum-aside__cat.is-active { color: var(--orange); }
.forum-aside__cat.is-active b { color: var(--orange); }
.forum-aside__cta { padding: 24px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(140deg, #071634, var(--navy) 55%, #1b3a7a); }
.forum-aside__cta strong { display: block; margin: 12px 0 8px; font-size: 15px; line-height: 1.35; }
.forum-aside__cta p { margin: 0 0 18px; color: rgba(255,255,255,.7); font-size: 12.5px; line-height: 1.7; }

/* Página do tópico */
.topic-page__head { padding: 54px 0 34px; background: linear-gradient(130deg, #edf2ff, #fff0f2); }
.topic-page__head .tag { margin: 18px 0 0; }
.topic-page__head h1 { margin: 14px 0 0; max-width: 820px; color: var(--navy); font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.topic-page__lead { max-width: 720px; margin: 18px 0 0; color: #536078; font-size: 16.5px; line-height: 1.75; }
.topic-page__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px;
  color: var(--muted); font-size: 12.5px; }
.topic-page__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.topic-page__cover { margin: -26px auto 0; position: relative; z-index: 1; }
.topic-page__cover img { width: 100%; height: 420px; display: block; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 22px 54px rgba(28,40,74,.18); }
.topic-page__grid { display: grid; grid-template-columns: 1fr 290px; gap: 48px; align-items: start; padding: 54px 0 80px; }
.topic-page__body { max-width: none; }
.topic-page__body p { font-size: 15.5px; line-height: 1.9; }
.topic-page__body ul { margin: 0 0 18px; padding-left: 22px; color: #566074; font-size: 15.5px; line-height: 1.9; }
.topic-page__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 44px; padding: 26px 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid #efe6dc; }
.topic-page__cta strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 16px; }
.topic-page__cta p { margin: 0; color: var(--muted); font-size: 13.5px; }
.topic-page__aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.topic-page__rel { display: block; padding: 13px 0; border-bottom: 1px solid #f2f3f6; }
.topic-page__rel:last-of-type { border-bottom: 0; }
.topic-page__rel strong { display: block; color: var(--navy); font-size: 13.5px; line-height: 1.4; transition: color .2s; }
.topic-page__rel:hover strong { color: var(--orange); }
.topic-page__rel small { display: block; margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }

@media (max-width: 1024px) {
  .forum-public, .topic-page__grid { grid-template-columns: 1fr; gap: 36px; }
  .forum-aside, .topic-page__aside { position: static; }
}
@media (max-width: 700px) {
  .post-grid { grid-template-columns: 1fr; }
  .topic-page__cover img { height: 240px; }
  .forum-search { flex-direction: column; }
  .forum-search .button { width: 100%; justify-content: center; }
  .topic-page__cta .button { width: 100%; justify-content: center; }
}

/* Listagem de tópicos no painel */
.directory__row--topicos { grid-template-columns: 2fr 1fr .8fr .5fr 130px; }
@media (max-width: 600px) { .directory__row--topicos { min-width: 720px; } }

/* ===========================================================================
   Contato — galeria do espaço e mapa
   =========================================================================== */
.gallery { background: var(--cream); }
.gallery__head { max-width: 640px; margin-bottom: 38px; }
.gallery__head h2 { margin: 14px 0 0; color: var(--navy); font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.2vw, 41px); line-height: 1.14; letter-spacing: -.03em; }
.gallery__head p { margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: #e9edf5; box-shadow: 0 14px 36px rgba(28,40,74,.1); }
.gallery__item img { width: 100%; height: 300px; display: block; object-fit: cover; transition: transform .45s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--grande { grid-row: span 2; }
.gallery__item--grande img { height: 618px; }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px;
  color: #fff; font-size: 12px; line-height: 1.5;
  background: linear-gradient(to top, rgba(7,20,48,.85), rgba(7,20,48,0)); }

.map-section { position: relative; }
.map-section iframe { width: 100%; height: 440px; display: block; border: 0; filter: saturate(.92); }
.map-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(360px, calc(100% - 40px)); padding: 26px 26px 24px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 24px 60px rgba(16,28,60,.26); text-align: center; }
.map-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px;
  border-radius: 14px; color: #fff; background: linear-gradient(140deg, var(--orange), #c9560b); }
.map-card strong { display: block; margin-bottom: 8px; color: var(--navy); font-family: "Playfair Display", serif; font-size: 19px; }
.map-card p { margin: 0 0 18px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--grande { grid-row: span 1; }
  .gallery__item--grande img { height: 300px; }
}
@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item img, .gallery__item--grande img { height: 230px; }
  .map-section iframe { height: 380px; }
  .map-card { position: static; transform: none; width: auto; margin: -40px 16px 0; }
}

/* ===========================================================================
   Destaque da home: o arco aceita foto ou logo
   =========================================================================== */
/* Foto: preenche todo o arco, como no protótipo original. */
.hero__arch--foto img { object-fit: cover; object-position: center top; }

/* Logo: aparece inteira, centrada, com respiro para não encostar na curva
   do arco. O fundo vem da cor da própria marca. */
.hero__arch--logo { display: grid; place-items: center; padding: 58px 38px 44px; }
.hero__arch--logo img { width: 100%; height: auto; max-height: 100%; object-fit: contain; transform: none; }

@media (max-width: 600px) {
  .hero__arch--logo { padding: 44px 26px 32px; }
}

/* Cartões da equipe: quem tem perfil vira <button> e quem não tem vira <div>.
   Dentro de um <button>, as quebras de linha do HTML geram espaço de verdade,
   e o cartão ficava 8px desalinhado. Em flex-column o espaço em branco não
   cria linha nenhuma, então os dois casos ficam idênticos. */
.team-person { display: flex; flex-direction: column; }
.team-person__photo { flex: 0 0 auto; }
.team-person__info { flex: 1; }
