/* ==========================================================================
   CEP - Centro de Estudos Psicológicos e Psiquiátricos
   Design System — moderno, responsivo, acolhedor
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  /* Paleta institucional CEP com contraste adequado para leitura. */
  --green-900:#185c34;
  --green-800:#1d6b3c;
  --green-700:#237a45;
  --green-600:#3aab63;
  --green-500:#6cc98e;
  --green-100:#e1f3e7;
  --green-050:#f2faf5;
  --gold-500:#8a621f;
  --gold-400:#d6b06a;
  --gold-100:#f7eedc;
  --ink:#1c2621;
  --ink-soft:#4b5750;
  --paper:#fffdf9;
  --paper-alt:#f7f4ee;
  --line:#e4e0d6;
  --white:#ffffff;
  --shadow-sm: 0 2px 10px rgba(31,51,39,.06);
  --shadow-md: 0 12px 32px rgba(31,51,39,.10);
  --shadow-lg: 0 24px 60px rgba(31,51,39,.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --font-head:'Fraunces', Georgia, serif;
  --font-body:'Plus Jakarta Sans', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  scroll-padding-top:112px;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  overflow-x:clip;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:fixed; left:16px; top:12px; z-index:1000;
  transform:translateY(-160%); background:var(--green-900); color:#fff;
  padding:10px 16px; border-radius:10px; font-weight:700;
}
.skip-link:focus{ transform:translateY(0); }

a:focus-visible, button:focus-visible{
  outline:3px solid var(--gold-400);
  outline-offset:3px;
}

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

h1,h2,h3{
  font-family:var(--font-head); color:var(--green-900); line-height:1.15;
  font-weight:600; margin:0 0 14px; text-wrap:balance; overflow-wrap:anywhere;
}
h1{ font-size:clamp(2.1rem, 4.2vw, 3.4rem); }
h2{ font-size:clamp(1.6rem, 2.8vw, 2.3rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 14px; color:var(--ink-soft); }

.icon{ width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.icon-fill{ fill:currentColor; stroke:none; }

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--green-900);
  color:#eef4ef;
  font-size:.86rem;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:9px;
  padding-bottom:9px;
  flex-wrap:wrap;
}
.topbar-phones{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.topbar-phones a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#eef4ef;
  white-space:nowrap;
  opacity:.95;
  transition:opacity .2s;
}
.topbar-phones a:hover{ opacity:1; color:var(--gold-400); }
.topbar-phones .icon{ width:15px; height:15px; color:var(--gold-400); }
.topbar-right{ display:flex; align-items:center; gap:14px; }
.topbar-social{ display:flex; gap:10px; }
.topbar-social a{
  width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08);
  transition:background .2s, transform .2s;
}
.topbar-social a:hover{ background:var(--gold-500); transform:translateY(-2px); }
.topbar-social .icon{ width:14px; height:14px; }
.topbar-whats{
  display:inline-flex; align-items:center; gap:6px;
  background:#2f7a4f; color:#fff; padding:5px 13px; border-radius:var(--radius-pill);
  font-weight:600; letter-spacing:.2px; transition:background .2s;
}
.topbar-whats:hover{ background:#35915c; }
.topbar-whats .icon{ width:15px; height:15px; }

@media (max-width: 720px){
  .topbar-phones a span{ display:none; }
}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(255,253,249,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.menu-backdrop{
  position:fixed; inset:0; z-index:190; border:0; padding:0;
  background:rgba(18,34,24,.42); opacity:0; visibility:hidden;
  pointer-events:none; transition:opacity .25s ease, visibility .25s ease;
}
body.menu-open .menu-backdrop{ opacity:1; visibility:visible; pointer-events:auto; }
.site-header.is-scrolled{ box-shadow:var(--shadow-sm); }
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px; gap:20px;
}
.brand-header-logo{ display:flex; align-items:center; gap:12px; }
.brand-logo-full{ height:54px; width:auto; }
.brand-wordmark{ display:flex; flex-direction:column; line-height:1.1; }
.brand-wordmark strong{ font-family:var(--font-head); font-size:1.35rem; color:var(--green-900); letter-spacing:.5px; }
.brand-wordmark span{ font-size:.68rem; letter-spacing:1.4px; text-transform:uppercase; color:var(--green-600); font-weight:600; }

.nav-menu{ display:flex; align-items:center; gap:30px; }
.nav-menu a{
  font-size:.85rem; font-weight:700; letter-spacing:.6px; text-transform:uppercase;
  color:var(--ink); position:relative; padding:6px 0;
}
.nav-menu a::after{
  content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--gold-500); transition:width .25s ease;
}
.nav-menu a:hover::after, .nav-menu a.active::after{ width:100%; }
.nav-menu a.active{ color:var(--green-700); }
.nav-menu a.btn{ color:#fff; padding:13px 26px; }
.nav-menu a.btn::after{ display:none; }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.menu-toggle{
  display:none; width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line); background:var(--white); cursor:pointer;
  align-items:center; justify-content:center; color:var(--green-800);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:var(--radius-pill);
  font-weight:700; font-size:.88rem; letter-spacing:.3px;
  border:1.5px solid transparent; cursor:pointer; white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn .icon{ width:17px; height:17px; }
.btn-primary{ background:var(--green-700); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--green-800); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-secondary{ background:transparent; color:var(--green-800); border-color:var(--green-700); }
.btn-secondary:hover{ background:var(--green-700); color:#fff; transform:translateY(-2px); }
.btn-gold{ background:#fff; color:var(--green-800); }
.btn-gold:hover{ background:var(--green-050); transform:translateY(-2px); }
.btn-block{ width:100%; }

.hide-mobile{ display:inline-flex; }
.mobile-only{ display:none; }

@media (max-width: 980px){
  .nav-menu{
    position:fixed; inset:0 0 0 auto; height:100vh; width:min(340px,86vw);
    background:var(--paper); flex-direction:column; align-items:flex-start;
    padding:110px 32px 40px; gap:22px; box-shadow:var(--shadow-lg);
    transform:translateX(100%); transition:transform .35s ease; overflow-y:auto;
    z-index:210; visibility:hidden; pointer-events:none;
  }
  .nav-menu.is-open{ transform:translateX(0); visibility:visible; pointer-events:auto; }
  .menu-toggle{ display:flex; }
  .hide-mobile{ display:none; }
  .mobile-only{ display:inline-flex; margin-top:10px; }
  .brand-logo-full{ height:44px; }
}

/* ---------- Hero (home) ---------- */
.hero{ padding:64px 0 90px; background:linear-gradient(180deg,var(--green-050) 0%, var(--paper) 100%); overflow:hidden; }
.hero-shell{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:1.2px; text-transform:uppercase;
  color:var(--green-700); background:var(--green-100); padding:8px 16px; border-radius:var(--radius-pill);
  margin-bottom:20px;
}
.eyebrow::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--gold-500); }
.hero p.lead{ font-size:1.08rem; max-width:520px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin:26px 0 34px; }

.trust-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.trust-item{ padding:16px 0 0; border-top:2px solid var(--line); }
.trust-item strong{ display:flex; align-items:center; gap:8px; color:var(--green-800); font-size:.95rem; margin-bottom:4px; }
.trust-item span{ font-size:.82rem; color:var(--ink-soft); }
.trust-item .icon{ color:var(--gold-500); width:18px; height:18px; }

.hero-image-frame{
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-lg); aspect-ratio:4/5;
  background:var(--green-100);
}
.hero-image-frame img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; left:20px; bottom:20px; right:20px;
  background:rgba(255,253,249,.94); backdrop-filter:blur(6px);
  border-radius:var(--radius-md); padding:18px 20px; box-shadow:var(--shadow-md);
}
.hero-badge span{ display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:1px; color:var(--green-600); font-weight:700; margin-bottom:4px; }
.hero-badge strong{ color:var(--green-900); font-family:var(--font-head); font-size:1.05rem; }

.img-placeholder{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:10px; background:repeating-linear-gradient(135deg,var(--green-050),var(--green-050) 14px,var(--green-100) 14px,var(--green-100) 28px);
  color:var(--green-700); text-align:center; padding:20px; font-size:.82rem; font-weight:600;
}
.img-placeholder .icon{ width:32px; height:32px; opacity:.6; }

/* ---------- Sections ---------- */
section{ padding:76px 0; }
.section-soft{ background:var(--paper-alt); }
.section-head{ max-width:720px; margin:0 auto 44px; text-align:left; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-label{
  display:inline-block; font-size:.76rem; font-weight:800; letter-spacing:1.4px; text-transform:uppercase;
  color:var(--gold-500); margin-bottom:12px;
}

.breadcrumbs{
  display:flex; align-items:center; flex-wrap:wrap; gap:5px;
  font-size:.82rem; color:var(--green-600); margin-bottom:14px; font-weight:600;
}
.breadcrumbs a{ text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible{ text-decoration-color:currentColor; }

.page-hero{
  padding:56px 0 60px;
  background:linear-gradient(180deg,var(--green-050), var(--paper));
  border-bottom:1px solid var(--line);
}
.page-hero h1{ max-width:820px; }
.page-hero p{ max-width:640px; font-size:1.05rem; }

/* Cards */
.cards-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.cards-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:32px 28px; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.card .icon-badge{
  width:52px; height:52px; border-radius:16px; background:var(--green-100); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.card .icon-badge .icon{ width:26px; height:26px; }
.card h3{ margin-bottom:10px; }
.card p:last-child{ margin-bottom:0; }

.service-card{ position:relative; }
.service-pill{
  display:inline-flex; align-items:center; gap:6px; background:var(--gold-100); color:var(--green-800);
  font-size:.72rem; font-weight:800; letter-spacing:.8px; text-transform:uppercase;
  padding:6px 13px; border-radius:var(--radius-pill); margin-bottom:14px;
}

/* checklist */
.checklist{ display:flex; flex-direction:column; gap:18px; margin-top:6px; }
.check{ display:flex; gap:14px; align-items:flex-start; }
.check-bullet{
  width:30px; height:30px; border-radius:50%; background:var(--green-700); color:#fff;
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:2px;
}
.check-bullet .icon{ width:15px; height:15px; }
.check strong{ color:var(--green-900); }

/* metrics strip */
.metrics-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.metric-box{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:26px 22px; text-align:left;
}
.metric-box .icon-badge{
  width:44px; height:44px; border-radius:13px; background:var(--gold-100); color:var(--gold-500);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.metric-box strong{ display:block; color:var(--green-900); font-size:1rem; margin-bottom:6px; }
.metric-box span{ font-size:.85rem; color:var(--ink-soft); }

/* gallery / carousel */
.carousel{ position:relative; }
.carousel-viewport{ overflow:hidden; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.carousel-track{ display:flex; transition:transform .5s cubic-bezier(.65,0,.35,1); }
.carousel-slide{ min-width:100%; position:relative; aspect-ratio:16/8; }
.carousel-slide img{ width:100%; height:100%; object-fit:cover; }
.carousel-caption{
  position:absolute; left:0; right:0; bottom:0;
  background:linear-gradient(0deg, rgba(20,32,25,.82), transparent);
  color:#fff; padding:34px 30px 20px;
}
.carousel-caption strong{ display:block; font-size:1.05rem; margin-bottom:4px; }
.carousel-caption span{ font-size:.86rem; opacity:.9; }
.carousel-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:46px; height:46px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(255,253,249,.92); color:var(--green-800); box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center;
}
.carousel-arrow--prev{ left:16px; }
.carousel-arrow--next{ right:16px; }
.carousel-dots{ display:flex; justify-content:center; gap:8px; margin-top:18px; }
.carousel-dots button{
  width:9px; height:9px; border-radius:50%; border:none; background:var(--line); cursor:pointer; padding:0;
  transition:background .2s, width .2s;
}
.carousel-dots button.is-active{ background:var(--gold-500); width:26px; border-radius:5px; }
.carousel-controls{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:16px; }
.carousel-controls .carousel-dots{ margin-top:0; }
.carousel-pause{
  min-width:44px; min-height:44px; border:1px solid var(--line); border-radius:var(--radius-pill);
  background:var(--white); color:var(--green-800); cursor:pointer; font-weight:700;
}

/* structure / facility gallery grid */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gallery-grid .gallery-item{ border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); aspect-ratio:4/3; }
.gallery-grid .gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-grid .gallery-item:hover img{ transform:scale(1.06); }
.gallery-tall{ grid-row:span 2; aspect-ratio:auto; }

/* timeline (história) */
.timeline{ position:relative; padding-left:34px; }
.timeline::before{ content:''; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--line); }
.timeline-item{ position:relative; padding-bottom:34px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:''; position:absolute; left:-34px; top:4px; width:20px; height:20px; border-radius:50%;
  background:var(--paper); border:3px solid var(--gold-500);
}
.timeline-item strong{ display:block; color:var(--green-700); font-size:.8rem; text-transform:uppercase; letter-spacing:1px; margin-bottom:6px; }

/* about page */
.value-card{ text-align:left; }
.about-page-hero{ padding-bottom:72px; }
.about-page-hero .section-label{ margin-bottom:14px; }
.about-page-hero h1{ max-width:880px; }
.about-page-hero p{ max-width:760px; }
.about-intro-section{ padding-bottom:52px; }
.about-photo-frame{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:4/5; }
.about-photo-frame img{ width:100%; height:100%; object-fit:cover; }
.about-layout{ display:grid; grid-template-columns:.82fr 1.18fr; gap:58px; align-items:center; }
.about-story > p{ font-size:.98rem; line-height:1.78; }
.about-signature{ margin-top:28px; padding:20px 22px; border-left:4px solid var(--gold-500); background:var(--gold-100); border-radius:0 var(--radius-sm) var(--radius-sm) 0; }
.about-signature span{ display:block; color:var(--gold-500); font-size:.72rem; font-weight:800; letter-spacing:1px; text-transform:uppercase; margin-bottom:4px; }
.about-signature strong{ color:var(--green-900); font-family:var(--font-head); font-size:1.18rem; }
.about-facts-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:52px; }
.about-fact-card{ display:flex; align-items:flex-start; gap:16px; padding:24px 22px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); box-shadow:var(--shadow-sm); }
.about-fact-icon{ width:48px; height:48px; flex:0 0 48px; display:flex; align-items:center; justify-content:center; border-radius:15px; background:var(--green-100); color:var(--green-700); }
.about-fact-icon .icon{ width:24px; height:24px; }
.about-fact-card strong{ display:block; color:var(--green-900); font-family:var(--font-head); font-size:1.08rem; line-height:1.3; margin-bottom:6px; }
.about-fact-card p{ font-size:.84rem; margin:0; }
.institutional-section{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.institutional-principles-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.principle-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:32px 30px; box-shadow:var(--shadow-sm); }
.principle-icon{ width:56px; height:56px; display:flex; align-items:center; justify-content:center; border-radius:17px; background:var(--green-100); color:var(--green-700); margin-bottom:20px; }
.principle-icon .icon{ width:28px; height:28px; }
.principle-card h3{ font-size:1.42rem; }
.principle-card p{ line-height:1.75; margin-bottom:0; }
.values-list{ display:grid; gap:9px; }
.values-list li{ position:relative; color:var(--ink-soft); font-size:.9rem; padding:8px 12px 8px 34px; background:var(--green-050); border-radius:10px; }
.values-list li::before{ content:'✓'; position:absolute; left:12px; color:var(--green-700); font-weight:900; }
.trajectory-layout{ display:grid; grid-template-columns:.8fr 1.2fr; gap:72px; align-items:start; }
.trajectory-heading{ position:sticky; top:124px; }
.trajectory-heading > p{ max-width:430px; line-height:1.75; }
.trajectory-note{ max-width:430px; margin-top:28px; padding:22px 24px; border:1px solid #cfe7d7; border-radius:var(--radius-md); background:var(--green-050); }
.trajectory-note strong{ display:block; color:var(--green-900); margin-bottom:6px; }
.trajectory-note p{ font-size:.86rem; margin:0; }
.timeline-expanded{ padding-left:42px; }
.timeline-expanded::before{ left:11px; }
.timeline-expanded .timeline-item{ padding:0 0 36px 12px; }
.timeline-expanded .timeline-item::before{ left:-41px; width:24px; height:24px; background:var(--paper); border-width:4px; }
.timeline-expanded .timeline-item h3{ font-size:1.28rem; margin-bottom:8px; }
.timeline-expanded .timeline-item p{ max-width:620px; margin:0; line-height:1.7; }
.care-pillars-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.care-pillar{ padding:28px 24px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); }
.care-pillar > span{ display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; margin-bottom:18px; border-radius:50%; background:var(--gold-100); color:var(--gold-500); font-weight:800; font-size:.78rem; }
.care-pillar h3{ font-size:1.12rem; }
.care-pillar p{ margin:0; font-size:.87rem; }
.about-cta-section{ padding-top:20px; }
.cta-kicker{ display:block; color:var(--gold-400); font-size:.72rem; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; margin-bottom:8px; }
.cta-actions{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }

/* professionals */
.professionals-heading{ max-width:820px; margin-bottom:34px; }
.professionals-heading p{ max-width:760px; }
.professionals-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:34px; }
.professional-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  overflow:hidden; box-shadow:var(--shadow-sm); display:grid; grid-template-columns:.85fr 1.15fr;
}
.professional-photo{ aspect-ratio:3/4; overflow:hidden; background:var(--green-100); }
.professional-photo img{ width:100%; height:100%; object-fit:cover; object-position:center top; }
.professional-body{ padding:30px 28px; display:flex; flex-direction:column; }
.professional-role{
  display:inline-flex; align-self:flex-start; align-items:center; gap:6px;
  background:var(--green-100); color:var(--green-700); font-size:.72rem; font-weight:800;
  letter-spacing:.8px; text-transform:uppercase; padding:6px 12px; border-radius:var(--radius-pill); margin-bottom:12px;
}
.professional-body p{ font-size:.92rem; }
.professional-signature{ font-family:var(--font-head); color:var(--green-800); font-size:1.1rem; margin-top:auto; padding-top:10px; }
.professional-credentials{
  color:var(--green-800); font-size:.82rem; font-weight:800; letter-spacing:.35px;
  margin:-4px 0 14px;
}
.psychologists-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.psychologist-card{
  min-width:0; padding:26px 24px; display:flex; align-items:flex-start; gap:18px;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease; height:100%;
}
.psychologist-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.psychologist-avatar{
  width:68px; height:68px; flex:0 0 68px; display:flex; align-items:center; justify-content:center;
  border-radius:20px; background:linear-gradient(145deg,var(--green-100),#f5fbf7);
  border:1px solid #cfe7d7; color:var(--green-800); font-family:var(--font-head);
  font-size:1.18rem; font-weight:700; letter-spacing:.6px;
}
.psychologist-card-body{ min-width:0; }
.psychologist-card .professional-role{ margin-bottom:10px; padding:5px 10px; font-size:.65rem; }
.psychologist-card h3{ margin:0 0 8px; font-size:1.12rem; line-height:1.28; }
.psychologist-card .professional-credentials{ margin:0 0 12px; }
.psychologist-card p:last-child{ margin:0; font-size:.86rem; line-height:1.65; }
.professionals-notice{ margin-top:30px; }
.team-guidance{
  margin-top:24px; padding:24px 26px; display:flex; align-items:center;
  justify-content:space-between; gap:24px; border:1px solid #cfe7d7;
  border-radius:var(--radius-md); background:var(--green-050);
}
.team-guidance strong{ display:block; color:var(--green-900); margin-bottom:5px; }
.team-guidance p{ margin:0; max-width:700px; font-size:.88rem; }
.team-guidance .btn{ flex:0 0 auto; }
.team-subsection{ margin-top:72px; padding-top:52px; border-top:1px solid var(--line); }
.medical-team-grid{ display:grid; grid-template-columns:minmax(0,760px); }
.medical-team-card .professional-role{ white-space:normal; line-height:1.35; }
.partner-section{ background:var(--white); }
.partner-card{
  max-width:980px; display:grid; grid-template-columns:180px minmax(0,1fr); gap:34px; align-items:start;
  padding:38px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--paper);
  box-shadow:var(--shadow-md);
}
.partner-brand{
  width:156px; height:156px; display:flex; align-items:center; justify-content:center;
  border-radius:38px; background:linear-gradient(145deg,#55b9ed,#1745a7 72%);
  box-shadow:0 16px 28px rgba(23,69,167,.22); color:#fff; font-family:var(--font-head);
  font-size:2.5rem; font-weight:800; letter-spacing:-1px;
}
.partner-content{ min-width:0; }
.partner-label{
  display:inline-flex; margin-bottom:11px; padding:6px 12px; border-radius:var(--radius-pill);
  background:#e9f2ff; color:#1745a7; font-size:.7rem; font-weight:800; letter-spacing:.75px;
  text-transform:uppercase;
}
.partner-content h3{ margin:0 0 8px; font-size:1.72rem; }
.partner-content .professional-credentials{ margin:0 0 14px; }
.partner-lead{ max-width:720px; color:var(--ink); font-size:1rem; }
.partner-highlights{ display:flex; flex-wrap:wrap; gap:9px; margin:18px 0; }
.partner-highlights span{
  padding:7px 11px; border:1px solid #c9dcf7; border-radius:var(--radius-pill);
  background:#f3f7fd; color:#234b86; font-size:.76rem; font-weight:700;
}
.partner-button{ margin-top:8px; }
.partner-disclosure{
  max-width:980px; margin-top:20px; padding:18px 20px; border-left:4px solid #2b62bd;
  border-radius:0 var(--radius-md) var(--radius-md) 0; background:#f3f7fd; color:var(--ink-soft);
  font-size:.84rem; line-height:1.65;
}
.partner-disclosure strong{ color:var(--green-900); }

@media (max-width: 860px){
  .professional-card{ grid-template-columns:1fr; }
  /* No celular, preservar o retrato completo das profissionais. */
  .professional-photo{ aspect-ratio:auto; }
  .professional-photo img{ height:auto; object-fit:contain; object-position:center; }
  .psychologists-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* convenios */
.convenios-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.convenio-logo-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  padding:22px 20px 18px; min-height:148px;
  box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;
}
.convenio-logo-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.convenio-logo-card img{ display:block; max-width:100%; max-height:64px; width:auto; height:auto; object-fit:contain; }
.convenio-logo-card .conv-name{ font-size:.78rem; font-weight:700; line-height:1.2; color:var(--ink-soft); text-align:center; }

/* CTA band */
.cta-band{
  display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap;
  background:linear-gradient(120deg,var(--green-800),var(--green-700));
  border-radius:var(--radius-lg); padding:44px 46px; color:#fff; box-shadow:var(--shadow-lg);
}
.cta-band h3{ color:#fff; margin-bottom:6px; }
.cta-band p{ color:rgba(255,255,255,.82); margin-bottom:0; max-width:480px; }
.cta-band .btn-secondary{ color:#fff; border-color:rgba(255,255,255,.5); }
.cta-band .btn-secondary:hover{ background:#fff; color:var(--green-800); }

/* Contact page */
.contact-highlight-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:30px; align-items:stretch; }
.map-card{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); min-height:380px; }
.map-frame{ width:100%; height:100%; min-height:380px; border:0; }
.contact-info-list{ display:flex; flex-direction:column; gap:20px; margin-top:22px; }
.contact-info-row{ display:flex; gap:16px; align-items:flex-start; }
.contact-info-row .icon-badge{
  width:46px; height:46px; border-radius:14px; background:var(--green-100); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-info-row strong{ display:block; color:var(--green-900); margin-bottom:2px; }
.contact-info-row span, .contact-info-row a{ font-size:.92rem; color:var(--ink-soft); }
.contact-info-row a{ text-decoration:underline; text-decoration-color:#b7c9bd; text-underline-offset:3px; }
.contact-info-row a:hover{ color:var(--green-700); text-decoration-color:currentColor; }
.directions-link{ margin-top:18px; }
.contact-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }

/* Service catalogue */
.service-group + .service-group{ margin-top:64px; }
.service-group-head{ max-width:760px; margin-bottom:28px; }
.service-group-head p{ max-width:700px; }
.service-meta{
  display:block; margin-top:14px; padding-top:14px; border-top:1px solid var(--line);
  color:var(--green-800); font-size:.8rem; font-weight:700;
}
.service-card-link{ color:inherit; text-decoration:none; display:flex; flex-direction:column; align-items:flex-start; }
.service-card-link p{ flex:1; }
.service-card-link .service-link-label{ display:inline-flex; align-items:center; gap:6px; margin-top:18px; color:var(--green-700); font-size:.82rem; font-weight:800; }
.service-card-link:hover .service-link-label{ color:var(--green-900); }
.service-card-link:focus-visible{ outline:3px solid var(--gold-500); outline-offset:4px; }
.notice-card{
  background:var(--green-050); border:1px solid #cfe7d7; border-radius:var(--radius-md);
  padding:24px 26px; color:var(--ink-soft);
}
.notice-card strong{ color:var(--green-900); }

/* Service detail pages */
.service-detail-hero p{ max-width:780px; }
.service-detail-section{ padding-top:64px; }
.service-detail-layout{ display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.65fr); gap:46px; align-items:start; }
.service-detail-content{ min-width:0; }
.detail-intro{ padding:30px 32px; background:var(--green-050); border:1px solid #cfe7d7; border-radius:var(--radius-lg); margin-bottom:42px; }
.detail-intro p{ font-size:1.02rem; color:var(--ink); }
.detail-intro p:last-child{ margin-bottom:0; }
.detail-section{ padding:0 0 36px; margin-bottom:36px; border-bottom:1px solid var(--line); scroll-margin-top:120px; }
.detail-section:last-of-type{ margin-bottom:0; }
.detail-section h2{ font-size:1.65rem; margin-bottom:18px; }
.detail-list{ display:grid; gap:12px; margin:18px 0 0; padding:0; list-style:none; }
.detail-list li{ position:relative; padding-left:28px; color:var(--ink-soft); }
.detail-list li::before{ content:'✓'; position:absolute; left:0; top:0; color:var(--green-700); font-weight:900; }
.process-list{ display:grid; gap:14px; margin:22px 0 0; padding:0; list-style:none; counter-reset:process; }
.process-list li{ display:grid; grid-template-columns:38px 1fr; gap:14px; align-items:start; padding:18px 20px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md); }
.process-list li > span{ width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--green-700); color:#fff; font-weight:800; }
.process-list li p{ margin:7px 0 0; color:var(--ink); }
.service-faq{ max-width:none; margin:22px 0 0; }
.source-note{ margin-top:34px; padding:24px 26px; border-radius:var(--radius-md); background:var(--paper-alt); color:var(--ink-soft); font-size:.82rem; }
.source-note strong{ display:block; color:var(--green-900); margin-bottom:10px; }
.source-note ul{ display:grid; gap:7px; margin:0 0 12px; padding-left:18px; }
.source-note a{ color:var(--green-700); text-decoration:underline; text-underline-offset:2px; }
.source-note p{ margin:0; font-size:.78rem; }
.content-update{
  display:block; margin-top:10px; color:var(--green-700); font-size:.74rem;
  font-weight:800; letter-spacing:.2px;
}
.service-sidebar{ position:sticky; top:110px; display:grid; gap:18px; }
.service-summary-card{ padding:28px; }
.service-summary-card h2{ font-size:1.3rem; margin-bottom:20px; }
.service-summary-card dl{ margin:0 0 24px; }
.service-summary-card dl > div{ padding:14px 0; border-top:1px solid var(--line); }
.service-summary-card dt{ font-size:.72rem; text-transform:uppercase; letter-spacing:.8px; color:var(--green-600); font-weight:800; }
.service-summary-card dd{ margin:5px 0 0; color:var(--ink); font-size:.9rem; }
.btn-block{ width:100%; text-align:center; justify-content:center; }
.service-sidebar .notice-card{ padding:20px 22px; }
.service-sidebar .notice-card p{ margin:8px 0 0; font-size:.84rem; }
.notice-card-muted{ background:var(--paper-alt); border-color:var(--line); }
.related-service-card{ color:inherit; text-decoration:none; display:flex; flex-direction:column; gap:12px; }
.related-service-card strong{ color:var(--green-900); font-family:var(--font-head); font-size:1.08rem; }
.related-service-card span{ color:var(--green-700); font-size:.82rem; font-weight:800; }
.related-service-card:focus-visible{ outline:3px solid var(--gold-500); outline-offset:4px; }
.back-services{ margin-top:30px; }

/* FAQ */
.faq-list{ max-width:880px; margin:0 auto; display:grid; gap:14px; }
.faq-item{ border:1px solid var(--line); border-radius:var(--radius-md); background:var(--white); overflow:hidden; }
.faq-item summary{
  cursor:pointer; list-style:none; padding:20px 22px; color:var(--green-900); font-weight:800;
  display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:62px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-size:1.35rem; color:var(--gold-500); }
.faq-item[open] summary::after{ content:'−'; }
.faq-item p{ padding:0 22px 20px; margin:0; }

/* Footer */
.site-footer{ background:var(--green-900); color:#dfe9e2; padding:64px 0 0; }
.footer-shell{ display:flex; flex-direction:column; }
.footer-top{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand-block strong{ font-family:var(--font-head); font-size:1.4rem; color:#fff; display:block; margin-bottom:8px; }
.footer-brand-block p{ color:rgba(255,255,255,.65); font-size:.88rem; max-width:280px; }
.footer-col-title{ font-size:.76rem; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; color:var(--gold-400); margin-bottom:16px; display:block; }
.footer-top > div > p{ color:#fff; }
.footer-links{ display:flex; flex-direction:column; gap:11px; }
.footer-links a{ font-size:.9rem; color:rgba(255,255,255,.78); transition:color .2s; }
.footer-links a:hover{ color:#fff; }
.footer-contact-item{ display:flex; gap:10px; align-items:flex-start; font-size:.88rem; color:rgba(255,255,255,.78); margin-bottom:12px; }
.footer-contact-item .icon{ color:var(--gold-400); width:16px; height:16px; margin-top:3px; flex-shrink:0; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; transition:background .2s, transform .2s;
}
.footer-social a:hover{ background:var(--gold-500); transform:translateY(-2px); }
.footer-social .icon{ width:17px; height:17px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  padding:22px 0; font-size:.8rem; color:rgba(255,255,255,.55);
}
.footer-regulatory{
  padding:22px 0; border-bottom:1px solid rgba(255,255,255,.12);
  font-size:.78rem; line-height:1.7; color:rgba(255,255,255,.72);
}
.footer-regulatory strong{ color:#fff; }
.emergency-note{
  margin-top:24px; padding:16px 18px; border:1px solid rgba(255,255,255,.18);
  border-radius:14px; background:rgba(255,255,255,.06); font-size:.82rem;
  color:rgba(255,255,255,.8);
}
.emergency-note strong{ color:#fff; }
.footer-legal{ display:flex; gap:22px; }
.footer-legal a{ color:rgba(255,255,255,.6); }
.footer-legal a:hover{ color:#fff; }

/* whatsapp floating button */
.whatsapp-float{
  position:fixed; right:max(24px,env(safe-area-inset-right)); bottom:max(24px,env(safe-area-inset-bottom)); z-index:300;
  width:60px; height:60px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(37,211,102,.45);
  transition:transform .2s ease;
}
.whatsapp-float:hover{ transform:scale(1.08); }
.whatsapp-float .icon{ width:28px; height:28px; }

/* legal pages */
.legal-content{ max-width:820px; }
.legal-content h2{ margin-top:0; }
.legal-block{ margin-bottom:30px; padding-bottom:30px; border-bottom:1px solid var(--line); }
.legal-block:last-child{ border-bottom:none; }

/* responsive */
@media (max-width: 980px){
  .hero-shell{ grid-template-columns:1fr; }
  .cards-3{ grid-template-columns:repeat(2,1fr); }
  .metrics-strip{ grid-template-columns:repeat(2,1fr); }
  .convenios-grid{ grid-template-columns:repeat(3,1fr); }
  .professionals-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-highlight-grid{ grid-template-columns:1fr; }
  .about-layout{ grid-template-columns:1fr; }
  .about-photo-frame{ aspect-ratio:16/10; max-height:560px; }
  .about-facts-grid{ grid-template-columns:1fr; }
  .institutional-principles-grid{ grid-template-columns:1fr 1fr; }
  .values-card{ grid-column:1 / -1; }
  .trajectory-layout{ grid-template-columns:1fr; gap:44px; }
  .trajectory-heading{ position:static; }
  .care-pillars-grid{ grid-template-columns:1fr 1fr; }
  .service-detail-layout{ grid-template-columns:1fr; }
  .service-sidebar{ position:static; grid-template-columns:repeat(2,1fr); }
  .service-summary-card{ grid-row:span 2; }
}
@media (max-width: 640px){
  section{ padding:56px 0; }
  .cards-3, .cards-2{ grid-template-columns:1fr; }
  .metrics-strip{ grid-template-columns:1fr; }
  .convenios-grid{ grid-template-columns:repeat(2,1fr); }
  .psychologists-grid{ grid-template-columns:1fr; }
  .team-subsection{ margin-top:54px; padding-top:42px; }
  .partner-card{ grid-template-columns:1fr; gap:24px; padding:26px 22px; }
  .partner-brand{ width:106px; height:106px; border-radius:28px; font-size:1.8rem; }
  .partner-content h3{ font-size:1.5rem; }
  .partner-button{ width:100%; justify-content:center; text-align:center; }
  .psychologist-card{ padding:22px 20px; }
  .psychologist-avatar{ width:60px; height:60px; flex-basis:60px; border-radius:17px; }
  .trust-list{ grid-template-columns:1fr; }
  .about-page-hero{ padding-bottom:56px; }
  .about-layout{ gap:34px; }
  .about-photo-frame{ aspect-ratio:4/3; }
  .about-facts-grid{ margin-top:36px; }
  .institutional-principles-grid{ grid-template-columns:1fr; }
  .values-card{ grid-column:auto; }
  .principle-card{ padding:28px 24px; }
  .timeline-expanded{ padding-left:34px; }
  .timeline-expanded .timeline-item{ padding-left:4px; }
  .timeline-expanded .timeline-item::before{ left:-34px; width:21px; height:21px; border-width:3px; }
  .care-pillars-grid{ grid-template-columns:1fr; }
  .cta-actions{ width:100%; align-items:stretch; flex-direction:column; }
  .cta-actions .btn{ width:100%; }
  .cta-band{ padding:34px 26px; flex-direction:column; align-items:flex-start; }
  .footer-top{ grid-template-columns:1fr; gap:30px; }
  .gallery-grid{ grid-template-columns:1fr; }
  .gallery-tall{ grid-row:auto; }
  .hero{ padding:48px 0 64px; }
  .hero-shell{ gap:34px; }
  .hero-image-frame{ aspect-ratio:16/11; }
  .navbar{ padding:12px 18px; }
  .container{ padding-left:18px; padding-right:18px; }
  .topbar .container{ justify-content:center; }
  .topbar-right{ width:100%; justify-content:center; }
  .nav-menu{ width:100vw; padding-left:24px; padding-right:24px; }
  .nav-menu > a:not(.btn){ width:100%; min-height:44px; display:flex; align-items:center; }
  .topbar a{ min-height:36px; display:inline-flex; align-items:center; }
  .team-guidance{ align-items:stretch; flex-direction:column; padding:22px 20px; }
  .team-guidance .btn{ width:100%; }
  .contact-actions{ flex-direction:column; }
  .contact-actions .btn{ width:100%; }
  .footer-bottom{ align-items:flex-start; flex-direction:column; }
  .footer-legal{ flex-wrap:wrap; gap:12px 18px; }
  .carousel-slide{ aspect-ratio:4/3; }
  .carousel-arrow{ width:42px; height:42px; }
  .service-detail-section{ padding-top:48px; }
  .detail-intro{ padding:24px 22px; }
  .service-sidebar{ grid-template-columns:1fr; }
  .service-summary-card{ grid-row:auto; }
  .process-list li{ grid-template-columns:34px 1fr; padding:16px; }
  .process-list li > span{ width:34px; height:34px; }
}

@media (max-width: 380px){
  .hero-actions{ align-items:stretch; flex-direction:column; }
  .hero-actions .btn{ width:100%; }
  .psychologist-card{ gap:14px; padding:20px 16px; }
  .psychologist-avatar{ width:54px; height:54px; flex-basis:54px; border-radius:15px; font-size:1rem; }
  .whatsapp-float{ width:54px; height:54px; right:16px; bottom:16px; }
}

@media (hover:none){
  .card:hover, .psychologist-card:hover, .convenio-logo-card:hover{ transform:none; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
