/* =========================================================
   Psicóloga Luciana Carvalho — folha de estilos
   Paleta original da marca:
   teal #0E8992 · pêssego #E9A27C · azul-névoa #8CB6BC
   ========================================================= */

:root {
  --teal: #0e8992;
  --teal-dark: #0a6b72;
  --teal-deep: #0b4f55;
  --peach: #e9a27c;
  --peach-dark: #d98a62;
  --peach-soft: #f7e1d3;
  --mist: #8cb6bc;
  --mist-soft: #e3eff0;
  --ink: #1e363c;
  --text: #4a5a5e;
  --cream: #fbf6f1;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(14, 73, 79, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(14, 73, 79, 0.35);
  --container: 1180px;
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 999;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  padding: .95em 1.8em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }

.btn-peach { background: var(--peach); color: var(--ink); box-shadow: 0 14px 30px -16px rgba(217,138,98,.9); }
.btn-peach:hover { background: var(--peach-dark); color: var(--ink); }

.btn-ghost { border-color: currentColor; color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); border-color: var(--mist-soft); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand img { height: 64px; width: auto; mix-blend-mode: multiply; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  display: block; padding: 8px 14px; color: var(--ink);
  font-size: .9rem; font-weight: 500; letter-spacing: .04em; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after,
.nav a.active::after { transform: scaleX(1); }
.nav .btn { padding: .7em 1.3em; font-size: .85rem; margin-left: 10px; }

.menu-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--cream) 0%, var(--peach-soft) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px;
  min-height: calc(92vh - var(--header-h)); padding: 64px 0 80px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--peach); }

.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); color: var(--ink); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .lead { font-size: 1.12rem; max-width: 34em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding: 0; list-style: none; font-size: .88rem; color: var(--ink); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--teal); }

.hero-media { position: relative; }
.hero-media .photo {
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow);
}
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero-media .psi {
  position: absolute; left: -38px; bottom: 48px; width: 120px; height: 120px;
  border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-soft);
}
.hero-media .psi img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .blob {
  position: absolute; inset: auto -60px -60px auto; width: 260px; height: 260px; border-radius: 50%;
  background: var(--mist); opacity: .35; z-index: -1; filter: blur(2px);
}
.hero::after {
  content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,137,146,.18), transparent 70%);
  pointer-events: none;
}

/* ---------- Seções ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--peach); }
.section-head h2, .section h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.section-head p { font-size: 1.05rem; }

/* Por que fazer terapia */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-media { position: relative; }
.why-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.why-media::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: var(--radius-lg);
  border: 2px solid var(--peach); z-index: -1;
}
.why-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.why-list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--mist-soft); border-radius: var(--radius);
  padding: 16px 20px; color: var(--ink); font-weight: 500;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.why-list li:hover { border-color: var(--mist); transform: translateX(4px); box-shadow: var(--shadow-soft); }
.why-list .icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--peach-soft); color: var(--peach-dark);
}
.why-list .icon svg { width: 18px; height: 18px; }

/* Serviços */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 38px 32px 34px;
  border: 1px solid var(--mist-soft); box-shadow: var(--shadow-soft); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--mist));
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service .s-icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: var(--teal); color: #fff; margin-bottom: 22px;
  box-shadow: 0 12px 24px -14px rgba(14,137,146,.9);
}
.service:nth-child(even) .s-icon { background: var(--peach); color: var(--ink); box-shadow: 0 12px 24px -14px rgba(217,138,98,.9); }
.service .s-icon svg { width: 30px; height: 30px; }
.service h3 { font-size: 1.7rem; margin-bottom: 10px; }
.service p { margin: 0; font-size: .95rem; }

.services-cta { text-align: center; margin-top: 50px; }

/* Sobre */
.about { background: linear-gradient(180deg, #fff 0%, var(--mist-soft) 100%); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.about-photo::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px; border-radius: var(--radius-lg);
  background: var(--peach-soft); z-index: -1;
}
.about-photo .tag {
  position: absolute; right: -24px; bottom: 34px; background: var(--teal); color: #fff;
  padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; line-height: 1.2;
}
.about-photo .tag strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 600; }
.about-photo .tag span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.about-text p { text-align: justify; hyphens: auto; }
.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.credentials li {
  background: #fff; border: 1px solid var(--mist); color: var(--teal-deep);
  font-size: .82rem; font-weight: 600; padding: 8px 16px; border-radius: 999px;
}

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--mist-soft); transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--mist-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .date {
  position: absolute; left: 18px; top: 18px; background: var(--peach); color: var(--ink);
  border-radius: 14px; padding: 8px 12px; text-align: center; line-height: 1.05; font-weight: 700;
}
.post-card .date b { display: block; font-size: 1.35rem; }
.post-card .date small { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.post-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal); }
.post-card p {
  font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more { margin-top: auto; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.read-more svg { width: 16px; height: 16px; transition: transform .2s; }
.read-more:hover svg { transform: translateX(4px); }

/* Depoimentos */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.testimonial {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 44px 32px 30px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--peach-soft);
}
.testimonial::before {
  content: "\201C"; position: absolute; top: -8px; left: 26px;
  font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--peach);
}
.testimonial blockquote { margin: 0 0 24px; font-style: italic; color: var(--ink); font-size: .98rem; }
.testimonial blockquote p { margin-bottom: .7em; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--teal); color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.testimonial:nth-child(2) .avatar { background: var(--peach); color: var(--ink); }
.testimonial:nth-child(3) .avatar { background: var(--mist); color: var(--ink); }
.testimonial figcaption small { display: block; font-weight: 400; color: var(--text); font-size: .8rem; }

/* CTA contato */
.cta {
  position: relative; color: #fff; text-align: center; padding: 120px 0; overflow: hidden;
  background: url("../img/contato.jpg") center / cover no-repeat;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,79,85,.94), rgba(14,137,146,.85));
}
.cta .container { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.3rem); }
.cta p { max-width: 640px; margin: 0 auto 34px; font-size: 1.1rem; color: rgba(255,255,255,.9); }
.cta .eyebrow { color: var(--peach-soft); justify-content: center; }

/* Contato / localização */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius);
  padding: 22px 24px; border: 1px solid var(--mist-soft); box-shadow: var(--shadow-soft); color: var(--text);
}
a.contact-card:hover { border-color: var(--mist); color: var(--text); }
.contact-card .c-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--mist-soft); color: var(--teal);
}
.contact-card .c-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--teal); margin: 0 0 4px; font-weight: 700; }
.contact-card p { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: var(--mist-soft); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--teal); color: rgba(255,255,255,.88); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 50px; }
.footer-brand img { width: 220px; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer a:hover { color: var(--peach); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--peach); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { background: var(--peach-soft); color: var(--ink); font-size: .85rem; padding: 18px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom a { color: var(--teal-dark); font-weight: 600; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Páginas de artigo ---------- */
.article-hero { background: linear-gradient(120deg, var(--cream), var(--peach-soft)); padding: 80px 0 60px; }
.article-hero .container { max-width: 860px; }
.article-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.article-meta { font-size: .88rem; color: var(--teal-dark); font-weight: 500; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; margin-bottom: 24px; }
.back-link svg { width: 16px; height: 16px; }
.article { padding: 60px 0 100px; }
.article .container { max-width: 760px; }
.article .cover { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin: -100px 0 50px; width: 100%; max-height: 480px; object-fit: cover; }
.article h2 { font-size: 2rem; margin-top: 1.6em; }
.article h3 { font-size: 1.5rem; margin-top: 1.4em; }
.article p, .article li { font-size: 1.04rem; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .5em; }
.article li::marker { color: var(--peach-dark); }
.article a { text-decoration: underline; text-decoration-color: var(--peach); text-underline-offset: 3px; word-break: break-word; }
.callout {
  background: var(--mist-soft); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 30px 0; color: var(--ink);
}
.callout.peach { background: var(--peach-soft); border-color: var(--peach-dark); }
.services-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; padding: 0 !important; list-style: none; }
.services-list li { background: var(--cream); border-radius: 14px; padding: 16px 18px; margin: 0 !important; font-size: .94rem !important; }
.services-list strong { display: block; color: var(--ink); }
.author-box {
  display: flex; gap: 22px; align-items: center; margin-top: 60px; padding: 28px; border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid var(--peach-soft);
}
.author-box img { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.author-box h4 { font-size: 1.4rem; margin-bottom: 4px; }
.author-box p { margin: 0; font-size: .92rem; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float::after { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .services-grid, .blog-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); padding: 12px 24px 26px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--mist-soft); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 0 0; justify-content: center; }

  .hero-grid, .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid { min-height: auto; padding: 48px 0 70px; text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .hero-media .psi { left: -10px; width: 96px; height: 96px; }
  .why-media { max-width: 560px; margin: 0 auto; }
  .about-photo { max-width: 400px; margin: 0 auto; }
  .about-photo .tag { right: -10px; }
  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  .services-grid, .blog-grid, .testimonials-grid, .footer-grid, .services-list { grid-template-columns: 1fr; }
  .why-media::before { inset: 16px -12px -16px 12px; }
  .about-text p { text-align: left; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .author-box { flex-direction: column; text-align: center; }
  .article .cover { margin-top: -70px; }
}
