/* =============================================
   JULIANA VENÂNCIO – PSICÓLOGA
   Design: Feminino, Sofisticado, Profissional
   Paleta: Rose / Mauve / Creme / Charcoal
============================================= */

:root {
  --rose:      #C9748F;
  --rose-dark: #A85872;
  --rose-light:#F0D5DC;
  --mauve:     #8B6476;
  --cream:     #FBF6F0;
  --cream-2:   #F5EDE4;
  --white:     #FFFFFF;
  --charcoal:  #2C2327;
  --text:      #4A3B40;
  --text-light:#7A6570;
  --gold:      #C9A96E;
  --shadow:    rgba(169, 88, 114, 0.15);
  --font-serif:'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition: 0.3s ease;
  --radius:    12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--shadow);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow);
  background: linear-gradient(135deg, var(--rose-dark), var(--mauve));
}

.btn-ghost {
  display: inline-block;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: white; }

.btn-full { width: 100%; text-align: center; }
.mt-btn   { margin-top: 1.8rem; }

.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  margin-top: 1.5rem;
}
.btn-wpp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
  padding: 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.4s;
  line-height: 1.2;
}
.logo-tag {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.4s;
}
#navbar.scrolled .logo-name { color: var(--charcoal); }
#navbar.scrolled .logo-tag  { color: var(--text-light); }

#nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
#nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: var(--transition);
  position: relative;
}
#nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 2px;
  background: var(--rose-light);
  transition: right 0.3s;
}
#nav-links a:hover::after { right: 0; }
#navbar.scrolled #nav-links a { color: var(--text); }
#navbar.scrolled #nav-links a:hover { color: var(--rose); }

.btn-nav {
  background: var(--rose);
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-nav:hover { background: var(--rose-dark); transform: translateY(-1px); }

#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: color 0.4s;
}
#navbar.scrolled #menu-toggle { color: var(--charcoal); }

#mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  gap: 0.25rem;
}
#mobile-menu a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rose-light);
  font-weight: 500;
  color: var(--text);
}
.btn-mobile-cta {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: white !important;
  border: none !important;
  border-radius: 50px;
  text-align: center;
  padding: 0.85rem !important;
  font-weight: 600 !important;
}

/* ---- HERO ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(44, 35, 39, 0.72) 0%, rgba(168, 88, 114, 0.55) 50%, rgba(70, 38, 50, 0.68) 100%),
    url('consultório.webp') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(44, 35, 39, 0.8) 0%, rgba(201, 116, 143, 0.25) 60%, rgba(44, 35, 39, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 5rem;
  animation: fadeUp 1s ease both;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,116,143,0.35);
  border: 1px solid rgba(201,116,143,0.6);
  backdrop-filter: blur(8px);
  color: var(--rose-light);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
#hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
#hero h1 em { color: var(--rose-light); font-style: italic; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-sub strong { color: white; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

/* ---- CREDENTIALS STRIP ---- */
.credentials-strip {
  background: var(--charcoal);
  padding: 2rem 0;
}
.credentials-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 2.5rem;
}
.cred-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.cred-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  max-width: 160px;
  line-height: 1.4;
}
.cred-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ---- SOBRE ---- */
#sobre { padding: 7rem 0; }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.sobre-img-wrap { position: relative; }
.sobre-img-bg {
  position: absolute;
  top: -24px; left: -24px;
  width: 80%;
  height: 80%;
  background: var(--rose-light);
  border-radius: var(--radius);
  z-index: 0;
}
.sobre-img-box {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--rose-light), var(--cream-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.sobre-img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sobre-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--rose);
  background: linear-gradient(135deg, var(--rose-light), var(--cream-2));
}
.sobre-img-box img + .sobre-img-placeholder { display: none; }
.sobre-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  z-index: 2;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.sobre-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 1.4rem;
}
.sobre-text p { color: var(--text); margin-bottom: 1rem; }
.sobre-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.value-pill {
  background: var(--rose-light);
  color: var(--mauve);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.83rem;
  font-weight: 500;
}

/* ---- SECTION ALT ---- */
.section-alt { background: var(--cream); }

/* ---- ESPECIALIDADES ---- */
#especialidades { padding: 7rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.section-desc { color: var(--text-light); max-width: 520px; margin: 0 auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow);
  border-top-color: var(--rose);
}
.card-highlight {
  border-top-color: var(--rose);
  box-shadow: 0 8px 32px var(--shadow);
}
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.card-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--rose);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.card-link:hover { color: var(--rose-dark); letter-spacing: 0.02em; }

/* ---- ATENDIMENTO ---- */
#atendimento { padding: 7rem 0; }
.atend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.atend-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.atend-text p { color: var(--text); margin-bottom: 1.5rem; }
.atend-options { display: flex; flex-direction: column; gap: 1.2rem; margin: 1.5rem 0; }
.atend-opt {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--cream);
  border-radius: var(--radius);
  transition: var(--transition);
}
.atend-opt:hover { background: var(--rose-light); }
.atend-icon { font-size: 1.5rem; flex-shrink: 0; }
.atend-opt strong { display: block; color: var(--charcoal); font-weight: 600; }
.atend-opt p { font-size: 0.88rem; color: var(--text-light); margin: 0; }
.atend-note { font-size: 0.83rem; color: var(--text-light); }
.atend-note a { color: var(--rose); text-decoration: underline; }

.atend-quote-box {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--mauve) 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.atend-quote-box blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--rose-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.atend-quote-box cite {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

/* ---- SBPSP ---- */
.assoc-section {
  background: linear-gradient(135deg, var(--rose-light), var(--cream-2));
  padding: 4rem 0;
}
.assoc-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.assoc-logo {
  font-size: 3.5rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--shadow);
}
.assoc-text h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.assoc-text p { font-size: 0.9rem; color: var(--text); max-width: 700px; }

/* ---- CONTATO ---- */
#contato { padding: 7rem 0; }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contato-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.contato-text p { color: var(--text); margin-bottom: 1.5rem; }
.contato-info { display: flex; flex-direction: column; gap: 0.75rem; }
.ci-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.ci-item a { color: var(--rose); }

.form-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #EDE8E0;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--rose); background: white; }
.form-group textarea { resize: vertical; }

.form-success {
  text-align: center;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 1rem;
  padding: 1rem;
  background: #e8f5e9;
  border-radius: var(--radius);
}

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  padding: 3rem 0 2rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
}
.footer-crp { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--rose-light); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ---- WHATSAPP FLOAT ---- */
#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: #25D366;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: pulse-wpp 2.5s infinite;
}
#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
  animation: none;
}
.wpp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--charcoal);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.wpp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--charcoal);
}
#whatsapp-float:hover .wpp-tooltip { opacity: 1; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse-wpp {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .sobre-grid, .atend-grid, .contato-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .sobre-img-wrap { max-width: 400px; margin: 0 auto; }
  .assoc-inner { flex-direction: column; text-align: center; }
  #nav-links, .btn-nav { display: none; }
  #menu-toggle { display: block; }
  .credentials-grid { gap: 0; }
  .cred-item { padding: 0.75rem 1.2rem; }
  .cred-divider { display: none; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .form-card { padding: 1.5rem; }
  .atend-quote-box { padding: 2rem 1.5rem; }
  #sobre, #especialidades, #atendimento, #contato { padding: 4rem 0; }
}
