/* ══════════════════════════════════════════════════════════════════
   SITE PÚBLICO — Jucely Dantas Neuropsicopedagoga
   Tema claro inspirado no folder: creme, vinho, azul-petróleo, laranja
   Carregar DEPOIS de style.css (sobrescreve o visual verde nas páginas
   públicas; o painel interno continua usando apenas style.css)
   ══════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --p-white:   #FFFFFF;
  --p-cream:   #FBF5EF;   /* fundo do folder */
  --p-cream-2: #F7EDE4;
  --p-ink:     #3E3A45;   /* texto principal */
  --p-ink-soft:#7A7382;
  --p-wine:    #B0416B;   /* magenta do folder */
  --p-wine-dk: #93335A;
  --p-wine-bg: #FBEDF3;
  --p-teal:    #2B7A9E;   /* azul do script "Dantas" */
  --p-teal-dk: #1E5F7D;
  --p-teal-bg: #EAF4F9;
  --p-orange:  #E8905F;   /* laranja "Aprendizagem" */
  --p-orange-bg:#FDF1E9;
  --p-green:   #8FAF6B;   /* verde "Conexão" */
  --p-green-bg:#F2F7EA;
  --p-navy:    #1E3A50;   /* bloco escuro (CTA) */
  --p-radius:  18px;
  --p-shadow:  0 8px 30px rgba(62,58,69,.09);
  --p-shadow-lg:0 16px 50px rgba(62,58,69,.14);
}

/* ── BASE ─────────────────────────────────────────────────────────── */
body.public {
  font-family: 'Quicksand', 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--p-ink);
  background: var(--p-white);
  line-height: 1.6;
}
body.public h1, body.public h2, body.public h3, body.public h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--p-ink);
}
body.public a { color: var(--p-teal); }

.script { font-family: 'Allura', cursive; font-weight: 400; letter-spacing: 0; }

/* ── BOTÕES ───────────────────────────────────────────────────────── */
.p-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 30px;
  font-family: 'Quicksand', sans-serif; font-size: .9rem; font-weight: 700;
  text-decoration: none !important; transition: all .18s; border: 2px solid transparent;
  cursor: pointer;
}
.p-btn-wine  { background: var(--p-wine); color: #fff !important; box-shadow: 0 6px 20px rgba(176,65,107,.3); }
.p-btn-wine:hover { background: var(--p-wine-dk); transform: translateY(-2px); }
.p-btn-line  { border-color: var(--p-teal); color: var(--p-teal) !important; background: #fff; }
.p-btn-line:hover { background: var(--p-teal-bg); }
.p-btn-wa    { background: #25D366; color: #fff !important; box-shadow: 0 6px 20px rgba(37,211,102,.3); }
.p-btn-wa:hover { background: #1fb457; transform: translateY(-2px); }
.p-btn-lg    { padding: 15px 34px; font-size: .95rem; }

/* ── HEADER ───────────────────────────────────────────────────────── */
.p-header {
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  padding: 14px 6vw; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(176,65,107,.08);
}
.p-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.p-brand img { width: 46px; height: 46px; object-fit: contain; }
.p-brand-name { font-family: 'Allura', cursive; font-size: 1.7rem; line-height: 1; color: var(--p-wine); }
.p-brand-name .alt { color: var(--p-teal); }
.p-brand-tag { display: block; font-family: 'Quicksand', sans-serif; font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--p-ink-soft); margin-top: 3px; }
.p-nav { display: flex; align-items: center; gap: 26px; }
.p-nav > a { font-size: .85rem; font-weight: 600; color: var(--p-ink-soft); text-decoration: none !important; transition: color .15s; }
.p-nav > a:hover { color: var(--p-wine); }
.p-nav .p-btn { padding: 10px 22px; font-size: .8rem; }

/* ── HERO ─────────────────────────────────────────────────────────── */
.p-hero {
  background: linear-gradient(160deg, var(--p-cream) 55%, var(--p-cream-2) 100%);
  padding: 40px 6vw 0;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: end;
  overflow: hidden; position: relative;
}
.p-hero-text { padding: 30px 0 70px; }
.p-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 30px; padding: 8px 18px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--p-wine); box-shadow: var(--p-shadow); margin-bottom: 26px;
}
.p-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.18; margin-bottom: 8px; }
.p-hero h1 .hl-wine { color: var(--p-wine); }
.p-hero h1 .hl-teal { color: var(--p-teal); }
.p-hero-script { font-family: 'Allura', cursive; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--p-wine); line-height: 1; margin: 6px 0 18px; }
.p-hero-script .alt { color: var(--p-teal); }
.p-hero p { color: var(--p-ink-soft); font-size: 1rem; line-height: 1.75; max-width: 480px; margin-bottom: 30px; }
.p-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.p-hero-visual { position: relative; align-self: end; text-align: center; }
.p-hero-visual img {
  width: 100%; max-width: 520px; display: block; margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(62,58,69,.18));
}
/* selos flutuantes estilo folder */
.p-chip {
  position: absolute; padding: 9px 18px; border-radius: 30px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: #fff; box-shadow: var(--p-shadow); animation: p-float 5s ease-in-out infinite;
}
.p-chip.c1 { top: 8%;  left: 2%;  color: var(--p-teal);   border: 1.5px solid var(--p-teal);   animation-delay: 0s; }
.p-chip.c2 { top: 22%; right: 0;  color: var(--p-orange); border: 1.5px solid var(--p-orange); animation-delay: 1.4s; }
.p-chip.c3 { top: 46%; right: -2%;color: var(--p-green);  border: 1.5px solid var(--p-green);  animation-delay: 2.8s; }
@keyframes p-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* onda de transição hero → conteúdo */
.p-wave { display: block; width: 100%; margin-top: -2px; }

/* ── SEÇÕES ───────────────────────────────────────────────────────── */
.p-section { padding: 84px 6vw; }
.p-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.p-kicker.wine { color: var(--p-wine); } .p-kicker.teal { color: var(--p-teal); } .p-kicker.orange { color: var(--p-orange); }
.p-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.p-title .script { font-size: 1.35em; color: var(--p-wine); font-weight: 400; }
.p-sub { color: var(--p-ink-soft); font-size: .95rem; max-width: 560px; margin-bottom: 44px; }
.p-center { text-align: center; }
.p-center .p-sub { margin-left: auto; margin-right: auto; }

/* ── CARDS DE SERVIÇO (hero-strip) ────────────────────────────────── */
.p-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: -46px; position: relative; z-index: 5; padding: 0 6vw 0; }
.p-service {
  background: #fff; border-radius: var(--p-radius); padding: 28px 26px;
  box-shadow: var(--p-shadow-lg); border-top: 4px solid var(--p-wine);
  transition: transform .2s;
}
.p-service:hover { transform: translateY(-5px); }
.p-service.t { border-top-color: var(--p-teal); }
.p-service.o { border-top-color: var(--p-orange); }
.p-service-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.p-service h3 { font-size: 1.02rem; margin-bottom: 8px; }
.p-service p { font-size: .85rem; color: var(--p-ink-soft); line-height: 1.65; }

/* ── SOBRE ────────────────────────────────────────────────────────── */
.p-about { display: grid; grid-template-columns: 400px 1fr; gap: 60px; align-items: center; }
.p-about-visual { position: relative; }
.p-about-visual::before {
  content: ''; position: absolute; inset: -16px -16px auto auto;
  width: 75%; height: 75%; border-radius: var(--p-radius);
  background: var(--p-wine-bg); z-index: 0; transform: rotate(3deg);
}
.p-about-visual img { position: relative; z-index: 1; width: 100%; border-radius: var(--p-radius); box-shadow: var(--p-shadow-lg); }
.p-about-text p { color: var(--p-ink-soft); font-size: .95rem; line-height: 1.8; margin-bottom: 18px; max-width: 620px; }
.p-about-text strong { color: var(--p-ink); }
.p-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.p-badge { padding: 8px 16px; border-radius: 20px; font-size: .74rem; font-weight: 700; }
.p-badge.w { background: var(--p-wine-bg);   color: var(--p-wine); }
.p-badge.t { background: var(--p-teal-bg);   color: var(--p-teal); }
.p-badge.o { background: var(--p-orange-bg); color: var(--p-orange); }
.p-badge.g { background: var(--p-green-bg);  color: var(--p-green); }
.p-quote {
  background: var(--p-cream); border-radius: var(--p-radius); padding: 24px 28px;
  font-size: .92rem; font-style: italic; color: var(--p-ink-soft); line-height: 1.8; position: relative;
}
.p-quote::before { content: '“'; font-family: 'Allura', cursive; font-size: 3.4rem; color: var(--p-wine); position: absolute; top: -6px; left: 16px; opacity: .5; }
.p-quote span { display: block; margin-top: 10px; font-style: normal; font-family: 'Allura', cursive; font-size: 1.5rem; color: var(--p-wine); }

/* ── COMO FUNCIONA ────────────────────────────────────────────────── */
.p-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.p-step { background: #fff; border-radius: var(--p-radius); padding: 30px 26px; box-shadow: var(--p-shadow); position: relative; }
.p-step-num {
  font-family: 'Allura', cursive; font-size: 2.6rem; line-height: 1; margin-bottom: 12px;
}
.p-step:nth-child(1) .p-step-num { color: var(--p-wine); }
.p-step:nth-child(2) .p-step-num { color: var(--p-teal); }
.p-step:nth-child(3) .p-step-num { color: var(--p-orange); }
.p-step:nth-child(4) .p-step-num { color: var(--p-green); }
.p-step h3 { font-size: .98rem; margin-bottom: 8px; }
.p-step p { font-size: .84rem; color: var(--p-ink-soft); line-height: 1.65; }

/* ── ESPECIALIDADES ───────────────────────────────────────────────── */
.p-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.p-spec {
  border-radius: var(--p-radius); padding: 26px 24px; background: #fff;
  border: 1.5px solid rgba(62,58,69,.08); transition: all .2s;
}
.p-spec:hover { box-shadow: var(--p-shadow-lg); transform: translateY(-4px); border-color: transparent; }
.p-spec-icon { font-size: 30px; margin-bottom: 12px; }
.p-spec h3 { font-size: .98rem; margin-bottom: 6px; }
.p-spec p { font-size: .82rem; color: var(--p-ink-soft); line-height: 1.6; }

/* ── EQUIPE ───────────────────────────────────────────────────────── */
.p-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.p-team-card {
  width: 260px; background: #fff; border-radius: var(--p-radius); overflow: hidden;
  box-shadow: var(--p-shadow); text-align: center; transition: transform .2s;
}
.p-team-card:hover { transform: translateY(-5px); box-shadow: var(--p-shadow-lg); }
.p-team-photo { width: 100%; height: 230px; object-fit: cover; object-position: center top; display: block; background: var(--p-cream); }
.p-team-body { padding: 20px 18px 24px; }
.p-team-name { font-weight: 700; font-size: .95rem; margin-bottom: 3px; }
.p-team-spec { font-size: .74rem; font-weight: 700; color: var(--p-wine); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.p-team-bio { font-size: .8rem; color: var(--p-ink-soft); line-height: 1.65; }

/* ── CTA FINAL ────────────────────────────────────────────────────── */
.p-cta { background: linear-gradient(140deg, var(--p-navy), #17547A); padding: 80px 6vw; text-align: center; border-radius: 0; }
.p-cta .script { font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; display: block; margin-bottom: 8px; }
.p-cta h2 { color: #fff; font-size: 1.3rem; font-weight: 500; margin-bottom: 14px; }
.p-cta p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 32px; font-size: .95rem; line-height: 1.75; }
.p-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RODAPÉ ───────────────────────────────────────────────────────── */
.p-footer { background: var(--p-cream); padding: 34px 6vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--p-ink-soft); }
.p-footer .p-brand-name { font-size: 1.4rem; }
.p-footer a { color: var(--p-ink-soft); }
.p-footer a:hover { color: var(--p-wine); }

/* ── WHATSAPP FLUTUANTE ───────────────────────────────────────────── */
.p-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.28); transition: transform .15s;
}
.p-wa-float:hover { transform: scale(1.1); }
.p-wa-float svg { width: 31px; height: 31px; fill: #fff; }

/* ── PÁGINA DE AGENDAMENTO (reaproveita form do style.css) ────────── */
body.public .form-control { font-family: 'Quicksand', sans-serif; border-radius: 12px; }
body.public .form-control:focus { border-color: var(--p-wine); box-shadow: 0 0 0 3px rgba(176,65,107,.12); }
body.public .btn-primary { background: var(--p-wine); border-radius: 30px; }
body.public .btn-primary:hover { background: var(--p-wine-dk); }
body.public .mini-cal .cal-day.selected { background: var(--p-wine); }

/* ── RESPONSIVO ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .p-hero { grid-template-columns: 1fr; padding-top: 24px; }
  .p-hero-text { padding-bottom: 30px; }
  .p-hero-visual { max-width: 420px; margin: 0 auto; }
  .p-about { grid-template-columns: 1fr; gap: 40px; }
  .p-about-visual { max-width: 380px; margin: 0 auto; }
  .p-section { padding: 60px 5vw; }
  .p-services { margin-top: 20px; }
  .p-nav { gap: 14px; }
  .p-nav > a:not(.p-btn) { display: none; }
}
