/* =============================================
   CUIDAR TERAPIA — CSS GLOBAL v2
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito Sans', sans-serif; color: #2d3748; background: #fff; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── TOKENS ── */
:root {
  --blue:      #35a4d4;
  --blue-dk:   #2b8ab5;
  --blue-lt:   #e8f5fb;
  --blue-mid:  #c2e4f4;
  --dark:      #0d2233;
  --text:      #2d3748;
  --muted:     #718096;
  --border:    #e2e8f0;
  --bg:        #f7fbfd;
  --white:     #ffffff;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 2px 16px rgba(53,164,212,.10);
  --shadow-md: 0 4px 24px rgba(53,164,212,.15);
}

h1,h2,h3,h4 { font-family: 'Lora', serif; color: var(--dark); line-height: 1.2; }
p { color: var(--muted); line-height: 1.75; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 30px; font-size: 14px; font-weight: 700; font-family: 'Nunito Sans', sans-serif; cursor: pointer; border: none; transition: all .2s; letter-spacing: .3px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(53,164,212,.35); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-lt); }
.btn-wpp { background: #25d366; color: #fff; }
.btn-wpp:hover { background: #1fb855; transform: translateY(-1px); }

/* ── SECTION ── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.label-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title { font-size: 34px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 580px; margin: 0 auto; }

/* ── HEADER ── */
#site-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.07); position: sticky; top: 0; z-index: 500; }
.header-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.site-logo img { height: 44px; width: auto; }
.site-logo .logo-fallback { font-family: 'Lora',serif; font-size: 20px; font-weight: 700; color: var(--dark); }
.site-logo .logo-fallback span { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 13px; font-weight: 600; color: #555; transition: color .2s; }
.site-nav a:hover { color: var(--blue); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, rgba(13,34,51,.85) 0%, rgba(13,51,82,.78) 100%), #0d2233;
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(53,164,212,.15); border:1px solid rgba(53,164,212,.35); border-radius:20px; padding:5px 16px; font-size:12px; font-weight:700; color:var(--blue); margin-bottom:24px; letter-spacing:.5px; }
.dot-pulse { width:7px; height:7px; border-radius:50%; background:var(--blue); animation:pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.85)} }
.hero h1 { font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 20px; line-height: 1.1; }
.hero h1 em { font-style:normal; color: var(--blue); }
.hero > .hero-inner > p,
.hero p { font-size: 18px; color: #fff !important; max-width: 560px; margin: 0 auto 36px; opacity: .92; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family:'Lora',serif; font-size: 32px; font-weight: 700; color: var(--blue); display: block; }
.stat-lbl { font-size: 12px; color: #fff !important; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; opacity: .85; }

/* ── CARROSSEL ── */
.carousel-wrap { position: relative; overflow: hidden; touch-action: pan-y; }
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track.dragging { transition: none !important; }
.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; align-items: center; }
.carousel-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; color: var(--blue); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0; }
.carousel-btn:hover { background: var(--blue); color: #fff; }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-mid); cursor: pointer; transition: all .2s; }
.carousel-dot.active { background: var(--blue); width: 22px; border-radius: 4px; }

/* ── CARD PSICÓLOGO ── */
.psico-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; transition: transform .2s, box-shadow .2s; min-width: 210px; flex: 0 0 210px; }
.psico-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.psico-foto-wrap { position: relative; width: 100%; padding-top: 100%; overflow: hidden; background: var(--blue-lt); }
.psico-foto-wrap img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top center; pointer-events:none; }
.psico-badge-disp { position:absolute; top:10px; left:10px; background:var(--blue); color:#fff; border-radius:20px; padding:3px 10px; font-size:10px; font-weight:700; display:flex; align-items:center; gap:5px; }
.psico-info { padding: 14px 14px 16px; }
.psico-nome { font-family:'Lora',serif; font-size:14px; font-weight:700; color:var(--dark); margin-bottom:3px; line-height:1.25; }
.psico-crp { font-size:11px; color:var(--muted); margin-bottom:7px; }
.psico-abord { font-size:10px; font-weight:700; color:var(--blue-dk); background:var(--blue-lt); border-radius:20px; padding:3px 10px; display:inline-block; margin-bottom:10px; }
.btn-psico { display:block; text-align:center; background:var(--blue); color:#fff; border-radius:20px; padding:8px 12px; font-size:11px; font-weight:700; transition:background .2s; }
.btn-psico:hover { background:var(--blue-dk); }

/* ── CARD SERVIÇO ── */
.servico-card { background:#fff; border-radius:var(--radius-lg); padding:28px 24px; border:1px solid var(--border); border-top:3px solid var(--blue); transition:box-shadow .2s,transform .2s; min-width:240px; flex:0 0 240px; }
.servico-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.servico-icon { font-size:36px; margin-bottom:16px; }
.servico-nome { font-family:'Lora',serif; font-size:17px; font-weight:700; color:var(--dark); margin-bottom:10px; }
.servico-desc { font-size:13px; color:var(--muted); line-height:1.65; }

/* ── SAÚDE MENTAL ── */
.saude-section { background: linear-gradient(135deg, var(--blue-lt) 0%, #fff 100%); }
.saude-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.saude-card { background:#fff; border-radius:var(--radius-lg); padding:32px 26px; box-shadow:var(--shadow); border-left:4px solid var(--blue); transition:transform .2s; }
.saude-card:hover { transform:translateY(-3px); }
.saude-card-icon { font-size:40px; margin-bottom:16px; }
.saude-card h3 { font-size:18px; color:var(--dark); margin-bottom:10px; }
.saude-card p { font-size:14px; }

/* ── SOBRE ── */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sobre-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sobre-gallery img { border-radius: 12px; object-fit: cover; width: 100%; }
.sobre-gallery img:first-child { grid-column: span 2; height: 200px; }
.sobre-gallery img:not(:first-child) { height: 160px; }

/* ── INSTAGRAM ── */
.instagram-section { background: var(--dark); padding: 80px 24px; }
.instagram-section .section-title { color:#fff; }
.instagram-section .section-sub { color:rgba(255,255,255,.6); }
.instagram-section .label-tag { color:var(--blue); }
.insta-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:32px; }
.insta-post { position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:1; cursor:pointer; }
.insta-post img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.insta-post:hover img { transform:scale(1.05); }
.insta-overlay { position:absolute; inset:0; background:rgba(53,164,212,.7); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .3s; }
.insta-post:hover .insta-overlay { opacity:1; }
.insta-overlay svg { width:36px; height:36px; fill:#fff; }
.insta-tipo { position:absolute; top:8px; right:8px; background:rgba(0,0,0,.5); border-radius:4px; padding:3px 7px; font-size:10px; color:#fff; font-weight:700; }

/* ── DEPOIMENTOS ── */
.depo-card { background:#fff; border-radius:var(--radius-lg); padding:28px; box-shadow:var(--shadow); border:1px solid var(--border); min-width:290px; flex:0 0 290px; position:relative; }
.depo-aspas { font-size:60px; font-family:'Lora',serif; color:var(--blue-mid); position:absolute; top:12px; left:18px; line-height:1; }
.depo-texto { font-size:14px; color:var(--muted); line-height:1.75; margin-bottom:18px; padding-top:24px; font-style:italic; }
.depo-autor { display:flex; align-items:center; gap:12px; }
.depo-avatar { width:42px; height:42px; border-radius:50%; background:var(--blue-lt); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:14px; color:var(--blue-dk); flex-shrink:0; }
.depo-nome { font-size:14px; font-weight:700; color:var(--dark); }
.depo-estrelas { color:#f4b400; font-size:13px; }
.depo-data { font-size:11px; color:var(--muted); }

/* ── FOOTER ── */
#site-footer { background:var(--blue); color:#fff; padding:60px 24px 0; }
.footer-inner { max-width:1140px; margin:0 auto; display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:48px; padding-bottom:48px; }
.footer-logo img { height:52px; margin-bottom:16px; filter:brightness(0) invert(1); }
.footer-logo-txt { font-family:'Lora',serif; font-size:22px; font-weight:700; color:#fff; margin-bottom:16px; }
.footer-desc { font-size:13px; color:rgba(255,255,255,.8); line-height:1.8; margin-bottom:18px; }
.footer-social-links { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.footer-social-link { display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.15); border-radius:6px; padding:7px 14px; font-size:12px; font-weight:700; color:#fff; transition:background .2s; }
.footer-social-link:hover { background:rgba(255,255,255,.28); }
.footer-social-link svg { width:16px; height:16px; fill:#fff; }
.footer-col-title { font-family:'Lora',serif; font-size:16px; font-weight:700; color:#fff; margin-bottom:18px; padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,.2); }
.footer-col a { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:rgba(255,255,255,.8); margin-bottom:12px; transition:color .2s; line-height:1.5; }
.footer-col a:hover { color:#fff; }
.footer-profissional-link { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.3); border-radius:8px; padding:12px 16px; font-size:13px; font-weight:700; color:#fff; transition:background .2s; margin-top:8px; }
.footer-profissional-link:hover { background:rgba(255,255,255,.25); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.15); padding:18px 0; text-align:center; font-size:12px; color:rgba(255,255,255,.55); max-width:1140px; margin:0 auto; }

/* ── MOBILE BOTTOM NAV ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 600;
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
}
.mobile-bottom-nav .nav-items {
  display: flex;
  justify-content: space-around;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 20px;
  border-radius: 10px;
  transition: color .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mobile-bottom-nav a svg { width: 22px; height: 22px; }
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active { color: var(--blue); }
.mobile-bottom-nav a:hover svg path,
.mobile-bottom-nav a.active svg path { fill: var(--blue); }

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 26px; }
  .insta-grid { grid-template-columns: repeat(2,1fr); }
  .insta-post:nth-child(n+3) { display: none; }
  .sobre-grid { grid-template-columns: 1fr; gap: 32px; }
  .sobre-gallery img:first-child { height: 220px; }
}

@media (max-width: 768px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 70px; }
  .site-nav { display: none; }
  #menu-toggle { display: block !important; }
  .header-inner .btn { display: none; }
  .section { padding: 56px 16px; }
  .hero { padding: 64px 20px 56px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-stats { gap: 20px; margin-top: 36px; padding-top: 28px; }
  .stat-num { font-size: 26px; }
  .stat-lbl { font-size: 10px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 14px; }
  .saude-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .psico-card { min-width: 160px; flex: 0 0 160px; }
  .servico-card { min-width: 200px; flex: 0 0 200px; }
  .depo-card { min-width: 260px; flex: 0 0 260px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-gallery { grid-template-columns: 1fr 1fr; }
  .sobre-gallery img:first-child { height: 180px; }
  .sobre-gallery img:not(:first-child) { height: 130px; }
  .instagram-section { padding: 56px 16px; }
  .insta-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .insta-post:nth-child(n+3) { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .psico-card { min-width: 150px; flex: 0 0 150px; }
  .footer-social-links { flex-direction: column; }
}
