/* === BLOCO: COMUM === */

/* ---------- Fontes auto-hospedadas (identidade visual: Playfair Display + Poppins) ---------- */
/* Subconjunto latino: cobre todos os acentos do português. */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Variable.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Poppins não tem versão variável: um arquivo por peso usado no site */
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

/* ---------- Tokens ---------- */
:root {
  /* Cores: azul petróleo (cor preferida da Kátia) como ponto de força,
     terracota do branding (#C97356) como destaque quente, fundos off-white e bege do branding.
     Pares de texto conferidos em AA (4.5:1 ou mais). */
  --color-primary:        #1B4D72;
  --color-primary-hover:  #133A57;
  --color-primary-soft:   #E1ECF3;
  --color-accent:         #C97356; /* só decorativo ou texto grande: 3.2:1 no fundo */
  --color-accent-text:    #9C4728; /* terracota escurecida para texto pequeno */
  --color-heading:        #123A57;
  --color-text:           #1A2830;
  --color-text-muted:     #4A5660;
  --color-bg:             #FAF7F4;
  --color-bg-alt:         #F1E7DD;
  --color-surface:        #FFFFFF;
  --color-border:         #E2D6CA;
  --color-on-primary:     #FFFFFF;
  --color-on-primary-muted: rgba(255, 255, 255, .86);
  --color-on-primary-soft:  rgba(255, 255, 255, .14);
  --color-footer-bg:      #0F2E44;
  --color-footer-text:    rgba(255, 255, 255, .78);
  --color-whatsapp:       #25D366;

  /* Tipografia */
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Espaçamento */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  48px;
  --space-2xl: 96px;

  /* Raios */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* Sombras (discretas: o estilo é minimalista) */
  --shadow-sm: 0 1px 2px rgba(15, 46, 68, .08);
  --shadow-md: 0 4px 12px rgba(15, 46, 68, .10);
  --shadow-lg: 0 12px 32px rgba(15, 46, 68, .14);
  --shadow-xl: 0 24px 64px rgba(15, 46, 68, .18);

  /* Transições */
  --transition-fast: .15s ease;
  --transition-base: .25s ease;

  /* Altura do header fixo */
  --header-h: 84px;
}

/* ---------- Base tipográfica ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-text);
  background: var(--color-bg);
  hyphens: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-heading);
  line-height: 1.2em;
  letter-spacing: -.01em;
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

p { margin: 0 0 var(--space-md); }

p, h1, h2, h3, h4, li { overflow-wrap: break-word; }

/* Textos curtos equilibram as linhas; parágrafos longos evitam viúva */
p { text-wrap: pretty; }
.section-label,
.section-subtitle,
.section-header p,
.hero__subtitle { text-wrap: balance; }

h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 24px; }

@media (min-width: 1025px) and (max-width: 1471px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  h3 { font-size: 22px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 20px; }
}
@media (max-width: 767px) {
  h1 { font-size: 26px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
}

/* ---------- Acessibilidade ---------- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.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;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 8px; }

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

/* ---------- Layout base ---------- */
/* overflow-x só no <html>: no <body> ele quebra o header sticky */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

.section {
  width: 100%;
}

.content-wrapper {
  margin: 0 auto;
  box-sizing: border-box;
}

.section--alt {
  background: var(--color-bg-alt);
}

/* Seção em azul petróleo: troca os tokens de texto por dentro;
   cards continuam claros e voltam aos tokens normais. */
.section--escura {
  --color-heading:     var(--color-on-primary);
  --color-text:        var(--color-on-primary);
  --color-text-muted:  var(--color-on-primary-muted);
  --color-accent-text: #F0B59D; /* terracota clara: 5:1 no petróleo */
  background: var(--color-primary);
  color: var(--color-text);
}
.section--escura :focus-visible {
  outline-color: var(--color-on-primary);
}
.section--escura .card {
  --color-heading:     #123A57;
  --color-text:        #1A2830;
  --color-text-muted:  #4A5660;
  --color-accent-text: #9C4728;
  color: var(--color-text);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.section--escura .card :focus-visible {
  outline-color: var(--color-primary);
}

/* Botões no fundo petróleo: principal em pêssego (terracota clara) com texto
   petróleo (7.5:1; botão contra o fundo 5.6:1), secundário em contorno branco.
   Dentro de card voltam ao padrão. */
.section--escura .btn-primary {
  background: #F4C3AE;
  color: #123A57; /* literal: aqui dentro --color-heading vira branco */
}
.section--escura .btn-primary:hover {
  background: #ECA387;
}
.section--escura .btn-secondary {
  color: var(--color-on-primary);
  border-color: var(--color-on-primary);
}
.section--escura .btn-secondary:hover {
  background: var(--color-on-primary);
  color: var(--color-primary);
}
.section--escura .card .btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.section--escura .card .btn-primary:hover {
  background: var(--color-primary-hover);
}

@media (min-width: 1472px) {
  .section         { padding: 96px 0; }
  .content-wrapper { width: 1280px; }
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .section         { padding: 96px 0; }
  .content-wrapper { width: 961px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section         { padding: 72px 0; }
  .content-wrapper { width: 656px; }
}

@media (min-width: 320px) and (max-width: 767px) {
  .section { padding: 56px 0; }
  .content-wrapper {
    max-width: 359px;
    width: 100%;
    padding: 0 8px;
  }
}

/* ---------- Header sticky ---------- */
.header.is-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
}

/* ---------- Cabeçalho de seção ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header :where(p:last-child) {
  margin-bottom: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.3em;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin: 0 0 var(--space-md);
}
.section-label--light {
  color: var(--color-on-primary-muted);
}

.section-subtitle {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 767px) {
  .section-header { margin-bottom: 32px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2em;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
  text-decoration: none;
  border: 2px solid transparent;
  user-select: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.btn-secondary:active {
  transform: translateY(1px);
}

.btn-light {
  background: var(--color-surface);
  color: var(--color-primary);
}
.btn-light:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-light:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 16px 32px;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 15px;
}
.btn--full {
  width: 100%;
}

.btn__icon-marca {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn[disabled],
.btn.is-disabled {
  opacity: .5;
  pointer-events: none;
}

/* ---------- Card base ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
}
@media (max-width: 1024px) {
  .card { padding: 32px; }
}
@media (max-width: 767px) {
  .card { padding: 24px 16px; }
}

/* Ícone em caixa (reutilizado em psicoterapia e grupos) */
.icone-caixa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}
.icone-caixa svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* ---------- Card com capa + texto + link (grupos e cursos) ---------- */
.projeto-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.projeto-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.projeto-card__corpo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 32px 40px 40px;
}
.projeto-card__corpo :where(p:not([class])) {
  color: var(--color-text-muted);
}

.projeto-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
  font-weight: 600;
  line-height: 1.2em;
  color: var(--color-primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.projeto-card__link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}
.projeto-card__link:hover {
  gap: 12px;
  color: var(--color-primary-hover);
}

@media (max-width: 1024px) {
  .projeto-card__corpo { padding: 24px 24px 32px; }
}
@media (max-width: 767px) {
  .projeto-card__corpo { padding: 24px 16px; }
}

/* ---------- Animação de entrada ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
[data-reveal="fade-left"]  { transform: translateX(-24px); }
[data-reveal="fade-right"] { transform: translateX(24px); }
[data-reveal="zoom-in"]    { transform: scale(.94); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Palavras entrando escalonadas (títulos de seção) ---------- */
/* O JS quebra o título em uma <span> por palavra e mantém os espaços,
   então o text-wrap: balance continua valendo. */
[data-entra] span {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .75, .2, 1);
  transition-delay: var(--d, 0s);
}
[data-entra].dentro span {
  opacity: 1;
  transform: none;
}

/* ---------- Barra de progresso de leitura ---------- */
.leitura {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .leitura {
    animation: leitura-enche linear;
    animation-timeline: scroll();
  }
}
@keyframes leitura-enche {
  to { transform: scaleX(1); }
}

/* ---------- Rota sem movimento ---------- */
/* "Reduzir movimento" do sistema ou navegador do Instagram/Facebook:
   tudo aparece direto, nada segue a rolagem. */
.sem-movimento [data-reveal],
.sem-movimento [data-entra] span {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.sem-movimento .leitura {
  display: none;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="header" === */
.header {
  border-bottom: 1px solid var(--color-border);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: var(--header-h);
  position: relative;
}

/* Logotipo (versão petróleo) + cargo/CRP ao lado, separados por um fio */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo__img {
  width: auto;
  height: 66px;
}
.logo__cargo {
  padding-left: 14px;
  border-left: 1px solid var(--color-border);
  font-size: 13px;
  line-height: 1.35em;
  color: var(--color-text-muted);
  letter-spacing: .02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav__lista {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav__lista a {
  font-size: 15px;
  line-height: 1.2em;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.main-nav__lista a:hover {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-md);
}
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1025px) and (max-width: 1471px) {
  .main-nav { gap: 28px; }
  .main-nav__lista { gap: 24px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .logo__img { height: 58px; }

  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-md) 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: flex; }

  .main-nav__lista {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav__lista a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav__cta { width: 100%; }
}

@media (max-width: 767px) {
  .logo { gap: 10px; }
  .logo__img { height: 54px; }
  .logo__cargo { padding-left: 10px; font-size: 12px; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="hero" === */
/* BG: "Imagem a direita" no desktop/notebook, "no centro" no tablet/celular.
   Fundo azul petróleo (.section--escura): a arte precisa ter fundo transparente
   e funcionar sobre escuro. Trocar a arte = sobrescrever os .webp.
   A imagem mora numa camada própria (.hero__fundo-img) para o zoom ao rolar
   usar transform. O recorte fica na moldura .hero__fundo, e não na .section,
   que continua sem overflow:hidden. */
.hero {
  position: relative;
  isolation: isolate;
}

.hero__fundo {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero__fundo-img {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-image: url("Imagens/bg-hero-desktop.webp");
  background-size: 1920px auto;
  background-position: center top;
  transform: scale(var(--zoom, 1));
  transform-origin: center top;
  will-change: transform;
}

.hero__content {
  max-width: 600px;
  text-align: left;
}

.hero__title {
  max-width: none;
  margin: 0 0 24px;
}

.hero__subtitle {
  max-width: 540px;
  color: var(--color-text-muted);
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  font-size: 14px;
  line-height: 1.3em;
  color: var(--color-text-muted);
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

@media (min-width: 1025px) {
  .hero {
    padding: 136px 0;
  }
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .hero__content { max-width: 560px; } /* Poppins é larga: 2 botões lado a lado */
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 200px;
  }
  .hero__fundo-img {
    background-image: url("Imagens/bg-hero-mobile.webp");
    background-size: 600px auto;
    background-position: center top;
  }
  .hero__content {
    max-width: none;
    text-align: center;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions,
  .hero__meta {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="sobre" === */
.sobre__wrapper {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

/* A foto é uma arte com fundo transparente (a Kátia "sai" da moldura azul):
   sem border-radius, senão corta as bordas da arte. */
.sobre__foto img {
  width: 100%;
}

.sobre__titulo {
  margin-bottom: var(--space-lg);
}

.sobre__texto :where(p:not(.section-label)) {
  color: var(--color-text-muted);
}

/* Nome completo + CRP: exigido na divulgação do psicólogo */
.sobre__registro {
  margin: calc(var(--space-sm) * -1) 0 var(--space-lg);
  font-size: 15px;
  line-height: 1.3em;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--color-primary);
}

.credenciais {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.credenciais__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 15px;
  line-height: 1.3em;
  font-weight: 500;
}
.credenciais__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}
.credenciais__icone svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .sobre__wrapper { gap: 56px; }
}

@media (max-width: 1024px) {
  .sobre__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sobre__foto {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .sobre__wrapper { gap: 32px; }
  .sobre__foto { max-width: 100%; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="abordagem" === */
.abordagem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.abordagem__card {
  background: var(--color-bg);
}

.abordagem__sigla {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1em;
  font-weight: 400;
  color: var(--color-accent);
  margin: 0 0 var(--space-lg);
}

.abordagem__card :where(p:last-child) {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .abordagem__sigla { font-size: 40px; }
}

@media (max-width: 767px) {
  .abordagem__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .abordagem__sigla { font-size: 36px; margin-bottom: var(--space-md); }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="psicoterapia" === */
.psicoterapia__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.psicoterapia__card :where(p) {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.formatos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-surface);
  margin-top: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.formatos__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 28px 40px;
}
.formatos__item + .formatos__item {
  border-left: 1px solid var(--color-border);
}
.formatos__icone {
  color: var(--color-primary);
  flex-shrink: 0;
  padding-top: 2px;
}
.formatos__icone svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}
.formatos__titulo {
  font-weight: 600;
  margin: 0 0 var(--space-xs);
}
.formatos__texto {
  font-size: 15px;
  line-height: 1.4em;
  color: var(--color-text-muted);
  margin: 0;
}

.psicoterapia__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .formatos__item { padding: 28px 32px; }
}

/* 3 itens não cabem lado a lado no tablet: empilha como no celular */
@media (max-width: 1024px) {
  .formatos { grid-template-columns: 1fr; }
  .formatos__item { padding: 24px; }
  .formatos__item + .formatos__item {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 767px) {
  .psicoterapia__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .formatos { margin-top: var(--space-md); }
  .formatos__item { padding: 20px 16px; }
  .psicoterapia__cta { margin-top: 32px; }
  .psicoterapia__cta .btn { width: 100%; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="supervisao" === */
/* 2 colunas desde o notebook; o card estica até a altura do texto */
.supervisao__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.supervisao__texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.supervisao__texto :where(p:not(.section-label)) {
  color: var(--color-text-muted);
  max-width: 520px;
}
.supervisao__texto :where(p:last-child) {
  margin-bottom: 0;
}

.supervisao__card {
  display: flex;
  flex-direction: column;
}
.supervisao__card-label {
  font-size: 14px;
  line-height: 1.3em;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-lg);
}

.supervisao__formatos {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
.supervisao__formatos li {
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
}
.supervisao__formatos li:last-child {
  border-bottom: 1px solid var(--color-border);
}
.supervisao__formatos h3 {
  margin-bottom: var(--space-sm);
}
.supervisao__formatos :where(p) {
  color: var(--color-text-muted);
  margin: 0;
}

.supervisao__card .btn {
  margin-top: auto;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .supervisao__wrapper { gap: 56px; }
}

@media (max-width: 1024px) {
  .supervisao__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .supervisao__wrapper { gap: 32px; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="grupos" === */
.grupos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.projeto-card--aberto {
  background: transparent;
  border-style: dashed;
  border-width: 2px;
}
.projeto-card--aberto .projeto-card__corpo {
  justify-content: center;
  padding: 40px;
}
.projeto-card--aberto .projeto-card__link {
  margin-top: var(--space-sm);
}

@media (max-width: 1024px) {
  .projeto-card--aberto .projeto-card__corpo { padding: 24px 24px 32px; }
}

@media (max-width: 767px) {
  .grupos__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .projeto-card--aberto .projeto-card__corpo { padding: 24px 16px; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="cursos" === */
/* Infoprodutos: 3 por linha no desktop/notebook; no tablet 1 por linha com a
   capa ao lado (2 colunas deixariam card órfão com número ímpar); 1 no celular.
   A grade aceita qualquer quantidade de cards. */
.cursos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.cursos .projeto-card__corpo {
  padding: 28px 32px 32px;
}

.produto-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) 12px;
  margin: 0 0 var(--space-md);
}
.produto-meta__formato {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1.2em;
  font-weight: 600;
}
.produto-meta__publico {
  font-size: 14px;
  line-height: 1.2em;
  color: var(--color-text-muted);
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .cursos .projeto-card__corpo { padding: 24px 24px 28px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cursos__grid { grid-template-columns: 1fr; }
  .cursos .projeto-card { flex-direction: row; }
  .cursos .projeto-card__img {
    width: 260px;
    flex-shrink: 0;
    align-self: stretch;
    height: auto;
    aspect-ratio: auto;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  .cursos .projeto-card__corpo { padding: 24px 28px 28px; }
}

@media (max-width: 767px) {
  .cursos__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .cursos .projeto-card__corpo { padding: 24px 16px; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="duvidas" === */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: 24px 0;
  font-size: 18px;
  line-height: 1.3em;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  transition: color var(--transition-fast);
}
.accordion__trigger:hover {
  color: var(--color-primary);
}

.accordion__icon {
  display: inline-flex;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.accordion__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
}

.accordion__panel {
  padding: 0 40px 24px 0;
}
.accordion__panel :where(p) {
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 767px) {
  .accordion__trigger { font-size: 16px; padding: 20px 0; }
  .accordion__panel { padding: 0 0 20px; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="contato" === */
/* O ponto de força da página: uma "ilha" azul petróleo flutuando na seção clara.
   Ela cresce de 88% para 100% enquanto sobe na tela (--ilha-escala, via JS).
   A folga da seção em volta é o ar que faz a ilha flutuar: não zerar. */
.contato {
  background: var(--color-bg);
}

.contato__ilha {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: 32px;
  padding: 80px;
  box-shadow: 0 40px 90px rgba(15, 46, 68, .22);
  transform: scale(var(--ilha-escala, 1));
  transform-origin: center;
  will-change: transform;
}

.contato :focus-visible {
  outline-color: var(--color-on-primary);
}

.contato__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.sem-movimento .contato__ilha {
  transform: none;
}

.contato__texto h2 {
  color: var(--color-on-primary);
  max-width: 520px;
  margin-bottom: var(--space-md);
}

.contato__intro {
  color: var(--color-on-primary-muted);
  margin-bottom: 32px;
}

.contato__lista {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: 40px;
}

.contato__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: 0;
  font-size: 16px;
  line-height: 1.4em;
  color: var(--color-on-primary);
}
a.contato__item:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contato__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-on-primary-soft);
  flex-shrink: 0;
}
.contato__icone svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
.contato__icone .icone-marca {
  fill: currentColor;
  stroke: none;
}

.contato__mapa {
  min-height: 420px;
  border-radius: var(--radius-md);
  background: var(--color-on-primary-soft);
}
.contato__mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius-md);
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .contato__ilha { padding: 64px 56px; }
  .contato__wrapper { gap: 48px; }
}

@media (max-width: 1024px) {
  .contato__ilha {
    padding: 56px 40px;
    border-radius: 26px;
  }
  .contato__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contato__mapa,
  .contato__mapa iframe { min-height: 320px; }
}

@media (max-width: 767px) {
  .contato__ilha {
    padding: 40px 16px;
    border-radius: 20px;
  }
  .contato__item { font-size: 15px; }
  .contato__texto .btn { width: 100%; }
  .contato__mapa,
  .contato__mapa iframe { min-height: 280px; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="footer" === */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 56px 0 96px;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px 48px;
  align-items: center;
}

.footer__logo {
  width: auto;
  height: 80px;
  margin: 0 0 var(--space-md);
}
.footer__cargo {
  font-size: 14px;
  line-height: 1.3em;
  margin: 0;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-sm) 28px;
}
.footer__nav a {
  font-size: 14px;
  line-height: 1.3em;
  transition: color var(--transition-fast);
}
.footer__nav a:hover {
  color: var(--color-on-primary);
}

.footer__aviso,
.footer__copy,
.footer__credito {
  grid-column: 1 / -1;
  font-size: 13px;
  line-height: 1.4em;
  margin: 0;
}
.footer__aviso {
  padding-top: 32px;
  border-top: 1px solid var(--color-on-primary-soft);
}
.footer__copy,
.footer__credito {
  margin-top: -16px;
}
.footer__credito a {
  color: var(--color-on-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--color-on-primary-soft);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-fast);
}
.footer__credito a:hover {
  text-decoration-color: currentColor;
}

.footer :focus-visible {
  outline-color: var(--color-on-primary);
}

@media (max-width: 1024px) {
  .footer__wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__nav ul { justify-content: center; }
  .footer__logo { margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
  .footer { padding: 48px 0 104px; }
}
/* === FIM BLOCO === */
