/* Identidade institucional v4: paleta do guia */
:root{--deep:#193D35;--sage:#809C88;--sand:#EAE5D9;--gold:#B79A63;--ivory:#FAF8F3;--ink:#243A32;--muted:#5D6A63;--line:#D9DFD8;--panel:#FFFFFF}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--ink);font-family:Segoe UI,Arial,sans-serif;line-height:1.7}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.wrap{width:min(1160px,92%);margin:auto}.nav{background:var(--deep);color:white;position:sticky;top:0;z-index:50;box-shadow:0 4px 20px #0001}.nav-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:1.3rem;font-weight:750;white-space:nowrap}.brand b{color:#D9C59C}.brand-logo{display:block;max-height:66px;max-width:230px;object-fit:contain}.links{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.links a{font-size:.84rem;color:#F3F3EE}.links a:hover{color:#D9C59C}.menu-toggle{display:none;background:none;color:white;border:1px solid #ffffff60;border-radius:8px;padding:8px 13px}.hero{padding:100px 0;background:var(--ivory)}.hero-grid,.about-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:65px;align-items:center}.eyebrow{color:#8C744C;text-transform:uppercase;letter-spacing:.17em;font-weight:750;font-size:.76rem}h1,h2,h3{font-family:Georgia,Times New Roman,serif;line-height:1.18;letter-spacing:-.025em}h1{font-size:clamp(2.8rem,5.6vw,5.2rem);margin:18px 0 24px}h2{font-size:clamp(2rem,3.5vw,3.15rem);margin:15px 0 25px}h3{font-size:1.42rem}.lead{font-size:1.15rem;color:#51635A;max-width:650px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--deep);color:white;border:1px solid var(--deep);padding:12px 24px;border-radius:100px;font:inherit;font-weight:700;cursor:pointer}.btn:hover{background:#29594D}.btn.outline{background:transparent;color:var(--deep)}.nav .btn.outline{color:white;border-color:#ffffff90}.hero .btn{margin-top:15px}.status,.fineprint{font-size:.87rem;color:#65756B}.status{margin-top:20px}.hero-art,.about-art{min-height:435px;border-radius:190px 190px 18px 18px;background:linear-gradient(140deg,#D7E0D5,#809C88);overflow:hidden;position:relative}.hero-art img,.about-art img{width:100%;height:100%;position:absolute;object-fit:cover}.placeholder-art{font:clamp(2.2rem,4vw,4rem)/1.15 Georgia,serif;text-align:center;color:#193D35;padding:50px}.placeholder-art em{color:#FAF8F3}.section{padding:95px 0}.section.alt{background:var(--sand)}.center{text-align:center;max-width:790px;margin:0 auto 46px}.center p{color:#57695F}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#FFFDF9;border:1px solid #D9DED5;border-radius:16px;padding:30px;box-shadow:0 9px 25px #193D3509;transition:transform .2s}.card:hover{transform:translateY(-4px)}.card .num{font-weight:750;color:#9D8253;font-size:.85rem}.card p{color:#607168}.about-grid{grid-template-columns:.9fr 1.1fr}.about-art{min-height:410px;border-radius:20px 160px 20px 20px}.service-note{background:#ffffffb0;border-left:4px solid var(--sage);padding:20px 26px;margin-top:32px;border-radius:8px}.service-note p{margin-bottom:0}.faq{max-width:850px;margin:auto}.faq details{background:#FFFDF9;border:1px solid #D9DED5;padding:18px 25px;border-radius:10px;margin:12px 0}.faq summary{cursor:pointer;font-weight:700}.cta{background:var(--deep);color:white;padding:58px;border-radius:22px;text-align:center}.cta .eyebrow{color:#D9C59C}.cta .lead{color:#E4ECE5;margin:0 auto 24px}.cta .btn{background:#F0E6D2;color:var(--deep);border-color:#F0E6D2}.cta .btn.outline{background:transparent;color:white;border-color:#ffffff80}.contact-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.address{font-style:normal;margin:28px auto 0;color:#EDF2EC}.social-links{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:25px}.social-links a{border:1px solid #ffffff75;border-radius:50px;padding:7px 17px;font-size:.9rem}.footer{background:#102E27;color:#E2E8E2;padding:40px 0}.footer-inner{display:flex;justify-content:space-between;gap:35px}.footer p,.footer small{color:#C6D2C8}.footer nav{display:flex;gap:20px;flex-wrap:wrap}.footer a:hover{text-decoration:underline}.maintenance{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.legal{padding:75px 0 100px;max-width:850px}.legal h1{font-size:clamp(2.5rem,5vw,4rem)}.legal h2{font-size:1.65rem;margin-top:35px}.legal p{color:#51635A}.wa-floating{position:fixed;z-index:1000;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#25D366;color:white;font-size:31px;box-shadow:0 7px 25px #0004}.wa-bottom-right{right:22px;bottom:22px}.wa-bottom-left{left:22px;bottom:22px}.wa-top-right{right:22px;top:90px}.wa-top-left{left:22px;top:90px}
/* Administração: visual claro e campos legíveis */.admin-shell{max-width:1050px;margin:35px auto;padding:0 18px}.admin-panel{background:#fff;border:1px solid #D8DFD8;border-radius:15px;padding:28px;margin:22px 0;box-shadow:0 8px 22px #193D3508}.admin-panel h2{font-size:1.7rem}.admin-panel label{display:block;font-weight:650;margin:14px 0 6px}.admin-panel input:not([type=checkbox]),.admin-panel textarea,.admin-panel select{display:block;width:100%;border:1px solid #B6C4BA;border-radius:8px;padding:12px 14px;background:#fff;color:#193D35;font:inherit}.admin-panel textarea{min-height:110px}.admin-panel input[type=checkbox]{width:auto}.admin-panel .small,.small{color:#64746A;font-size:.86rem}.notice{padding:14px;background:#EAE5D9;border-left:4px solid var(--sage);border-radius:8px}
@media(max-width:950px){.menu-toggle{display:block}.links{display:none;position:absolute;left:0;right:0;top:78px;background:var(--deep);padding:20px 5%;flex-direction:column;align-items:flex-start}.links.open{display:flex}.hero-grid,.about-grid{grid-template-columns:1fr}.hero{padding:65px 0}.hero-art,.about-art{min-height:300px}.grid3{grid-template-columns:1fr}.section{padding:65px 0}.cta{padding:35px 20px}.footer-inner{flex-direction:column}.brand-logo{max-width:175px}.wa-top-right,.wa-top-left{top:85px}}

/* V5: aviso informativo de cookies, sem scripts de rastreamento. */
.cookie-notice{position:fixed;z-index:1500;bottom:16px;left:50%;transform:translateX(-50%);width:min(940px,calc(100% - 24px));display:flex;align-items:center;justify-content:space-between;gap:24px;background:#FAF8F3;color:#193D35;border:1px solid #B79A63;border-radius:16px;padding:20px 24px;box-shadow:0 12px 50px #0004}
.cookie-notice[hidden],.back-top[hidden]{display:none!important}.cookie-notice strong{font-size:1.15rem}.cookie-notice p{margin:7px 0;color:#40584A;line-height:1.5}.cookie-notice a{text-decoration:underline;color:#193D35}.cookie-accept{white-space:nowrap}
.back-top{position:fixed;z-index:1050;width:50px;height:50px;border:0;border-radius:50%;background:#193D35;color:white;cursor:pointer;font-size:29px;line-height:1;box-shadow:0 8px 24px #0003}.back-top:hover{background:#31594E}.back-top-bottom-left{bottom:22px;left:22px}.back-top-bottom-right{bottom:22px;right:22px}.back-top-top-left{top:90px;left:22px}.back-top-top-right{top:90px;right:22px}
/* Se ambos os botões estiverem no mesmo canto, o de voltar ao topo é deslocado. */
body:has(.wa-bottom-left) .back-top-bottom-left{bottom:90px}body:has(.wa-bottom-right) .back-top-bottom-right{bottom:90px}body:has(.wa-top-left) .back-top-top-left{top:158px}body:has(.wa-top-right) .back-top-top-right{top:158px}
.admin-section{scroll-margin-top:18px}.admin-section-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#EAE5D9;border:1px solid #D8DFD8;border-radius:12px;padding:15px;margin-top:24px}.admin-section-nav strong{margin-right:8px}.admin-section-nav a{background:#fff;color:#193D35;border-radius:50px;padding:7px 12px;border:1px solid #D8DFD8;font-size:.87rem;text-decoration:none}.admin-section-nav a:hover{background:#193D35;color:#fff}.admin-savebar{position:sticky;bottom:10px;z-index:20;background:#FAF8F3;border:1px solid #D8DFD8;box-shadow:0 5px 20px #0002;border-radius:12px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.admin-savebar span{font-size:.85rem;color:#51635A}
@media(max-width:640px){.cookie-notice{flex-direction:column;align-items:stretch;gap:12px;padding:17px}.cookie-accept{width:100%}.admin-savebar{flex-direction:column;align-items:stretch}.admin-savebar .btn{width:100%}}

/* V5.2: visibilidade controlada por classe, sem depender de hidden */
.back-top{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.back-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.back-top{transition:none}}

/* V5.3: botão acima de banners e sem conflitos de estilo */
.back-top{z-index:1600;touch-action:manipulation}
.back-top.is-visible{display:grid;place-items:center}

/* Marca Psicanálise Macaé */
.brand-logo{max-width:290px;max-height:68px;width:auto;height:auto;object-fit:contain}
@media(max-width:950px){.brand-logo{max-width:210px;max-height:58px}}
