/* ============================================================
   Espaço Eu Mais Zen — style.css
   Mobile First | Breakpoints: 640px · 1024px · 1280px
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Halant:wght@300;400;500&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:          #EBE4DE;
  --surface:     #F7F3F0;
  --white:       #ffffff;
  --primaria:    #E0CBC4;
  --cta:         #4F6C6B;
  --cta-hover:   #1FA5A6;
  --texto:       #1E292B;
  --texto-sec:   #4F6C6B;
  --borda:       rgba(30,41,43,0.12);
  --borda-suave: rgba(30,41,43,0.07);

  --font-titulo: 'Playfair Display', Georgia, serif;
  --font-corpo:  'Halant', Georgia, serif;
  --font-ui:     'Inter', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  --shadow-sm:   0 2px 8px  rgba(30,41,43,0.07);
  --shadow-md:   0 6px 28px rgba(30,41,43,0.11);
  --shadow-lg:   0 12px 48px rgba(30,41,43,0.13);

  --t:       0.25s ease;
  --nav-h:   68px;
  --max-w:   1140px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  background: var(--bg);
  color: var(--texto);
  font-family: var(--font-corpo);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: var(--font-ui); border: none; background: none; }

/* ── Tipografia Mobile ──────────────────────────────────── */
h1 { font-family: var(--font-titulo); font-weight: 500; font-size: 2.1rem;  line-height: 1.2;  color: var(--texto); }
h2 { font-family: var(--font-titulo); font-weight: 500; font-size: 1.8rem;  line-height: 1.25; color: var(--texto); }
h3 { font-family: var(--font-titulo); font-weight: 500; font-size: 1.2rem;  line-height: 1.3;  color: var(--texto); }
h4 { font-family: var(--font-titulo); font-weight: 400; font-size: 1.0rem;  line-height: 1.4;  color: var(--texto); }
p  { font-size: 1.05rem; line-height: 1.75; color: var(--texto-sec); }

.label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cta);
}

/* ── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
section    { padding: 4rem 0; }

.section-header { margin-bottom: 2.5rem; }
.section-header .label { display: block; margin-bottom: 0.5rem; }
.section-header h2    { margin-bottom: 0.75rem; }
.section-header p     { max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ── Botões ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
  width: 100%;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--cta);
  border: 1.5px solid var(--cta);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--cta);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--texto-sec);
  border: 1.5px solid var(--borda);
}
.btn-ghost:hover {
  border-color: var(--cta);
  color: var(--cta);
}

/* ── Badge / Tag ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primaria);
  color: var(--texto);
}

/* ── Card base ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--borda-suave);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   NAVEGAÇÃO
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(235,228,222,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borda-suave);
  z-index: 100;
  transition: box-shadow var(--t);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--texto);
  line-height: 1.2;
}
.nav__logo span { display: block; font-size: 0.65rem; font-family: var(--font-ui); font-weight: 400; letter-spacing: 0.1em; color: var(--texto-sec); text-transform: uppercase; }

/* Menu mobile */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  display: none;
  flex-direction: column;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  padding: 2rem 1.25rem;
  gap: 0.25rem;
  overflow-y: auto;
}
.nav__menu.open { display: flex; }

.nav__link {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  color: var(--texto-sec);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--borda-suave);
  transition: color var(--t);
}
.nav__link:hover { color: var(--cta); }
.nav__link:last-of-type { border-bottom: none; }

.nav__cta-mobile {
  margin-top: 1.5rem;
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(160deg, var(--bg) 60%, var(--primaria) 140%);
  overflow: hidden;
}

.hero__img-wrap {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 2rem;
  position: relative;
}
.hero__img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero__img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  background: var(--primaria);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--cta);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  box-shadow: var(--shadow-lg);
}
.hero__img-placeholder svg { width: 48px; height: 48px; opacity: 0.4; }

.hero__badge { margin-bottom: 1rem; }

.hero__content h1 { margin-bottom: 1rem; }
.hero__content h1 em { font-style: italic; color: var(--cta); }
.hero__content p  { margin-bottom: 2rem; font-size: 1.1rem; }

.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; }

.hero__credencial {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--texto-sec);
}
.hero__credencial::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--borda);
}

/* ══════════════════════════════════════════════════════════
   SEÇÃO DORES
   ══════════════════════════════════════════════════════════ */
.dores { background: var(--white); }

.dores__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.dor-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 3px solid var(--primaria);
  transition: border-color var(--t), box-shadow var(--t);
}
.dor-card:hover { border-color: var(--cta); box-shadow: var(--shadow-sm); }

.dor-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.dor-card p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.dores__fechamento {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cta);
}

/* ══════════════════════════════════════════════════════════
   SOBRE
   ══════════════════════════════════════════════════════════ */
.sobre { background: var(--bg); }

.sobre__img-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 2rem;
}
.sobre__img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.sobre__img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 2px dashed var(--borda);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--texto-sec);
  font-family: var(--font-ui);
  font-size: 0.8rem;
}

.sobre__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.sobre__content h2 { margin-bottom: 1rem; }
.sobre__content p  { margin-bottom: 1rem; }
.sobre__content p:last-of-type { margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════════════════════
   COMO FUNCIONA
   ══════════════════════════════════════════════════════════ */
.processo { background: var(--surface); }

.processo__steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primaria);
  color: var(--texto);
  font-family: var(--font-titulo);
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.step__body h3 { margin-bottom: 0.4rem; }
.step__body p  { font-size: 0.98rem; }

/* ══════════════════════════════════════════════════════════
   SERVIÇOS
   ══════════════════════════════════════════════════════════ */
.servicos { background: var(--white); }

.servicos__grupos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.grupo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--borda-suave);
  box-shadow: var(--shadow-sm);
}

.grupo__head {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.grupo__head span { font-size: 1.5rem; }
.grupo__head div { }
.grupo__head h3  { font-size: 1.05rem; margin-bottom: 0.15rem; }
.grupo__head p   { font-size: 0.82rem; line-height: 1.4; }

.grupo--terapia   .grupo__head { background: #F9EEEB; }
.grupo--oraculos  .grupo__head { background: #EEEDF9; }
.grupo--corpo     .grupo__head { background: #EBF4F0; }
.grupo--expansao  .grupo__head { background: #F4EBF9; }

.grupo__items { background: var(--white); }

.grupo__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid var(--borda-suave);
  transition: background var(--t);
}
.grupo__item:hover { background: var(--surface); }

.grupo__item-nome {
  font-family: var(--font-corpo);
  font-size: 0.98rem;
  color: var(--texto);
  flex: 1;
}

.grupo__item-btn {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--cta);
  color: var(--white);
  transition: background var(--t);
  white-space: nowrap;
}
.grupo__item-btn:hover { background: var(--cta-hover); }

.servicos__cta {
  margin-top: 2rem;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   DEPOIMENTOS
   ══════════════════════════════════════════════════════════ */
.depoimentos { background: var(--bg); }

.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.dep {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.dep::before {
  content: '\201C';
  font-family: var(--font-titulo);
  font-size: 4rem;
  color: var(--primaria);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  opacity: 0.6;
}

.dep__texto {
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--texto);
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.dep__autor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.dep__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primaria);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titulo);
  font-size: 1rem;
  color: var(--cta);
}
.dep__nome  { font-family: var(--font-ui); font-size: 0.82rem; font-weight: 500; color: var(--texto); }
.dep__serv  { font-family: var(--font-ui); font-size: 0.72rem; color: var(--texto-sec); }

/* ══════════════════════════════════════════════════════════
   ONDE E COMO
   ══════════════════════════════════════════════════════════ */
.atendimento { background: var(--surface); }

.atendimento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.atend-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--primaria);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.atend-card--online { border-top-color: var(--cta); }

.atend-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.atend-card h3 { margin-bottom: 0.5rem; }
.atend-card p  { font-size: 0.95rem; }

/* ══════════════════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════════════════ */
.cta-final {
  background: var(--primaria);
  padding: 5rem 0;
  text-align: center;
}
.cta-final h2 { margin-bottom: 1rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-final p  { margin-bottom: 2rem; max-width: 440px; margin-left: auto; margin-right: auto; }
.cta-final .btn { max-width: 320px; margin: 0 auto; }

.cta-final__insta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--texto-sec);
  transition: color var(--t);
}
.cta-final__insta:hover { color: var(--cta); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--texto);
  color: var(--bg);
  padding: 3rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(235,228,222,0.12);
}

.footer__logo {
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 0.5rem;
}
.footer__tagline {
  font-size: 0.88rem;
  color: rgba(235,228,222,0.55);
  line-height: 1.6;
}

.footer__col h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235,228,222,0.45);
  margin-bottom: 1rem;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(235,228,222,0.7);
  line-height: 1.6;
  margin-bottom: 0.4rem;
  transition: color var(--t);
}
.footer__col a:hover { color: var(--primaria); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(235,228,222,0.35);
}

/* ── Divisor decorativo ─────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--primaria);
  border-radius: 2px;
  margin: 1rem 0;
}
.divider--center { margin: 1rem auto; }

/* ══════════════════════════════════════════════════════════
   BREAKPOINT: TABLET 640px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 640px) {

  section { padding: 5rem 0; }

  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }

  .btn { width: auto; }

  .hero__actions { flex-direction: row; }

  .dores__grid { grid-template-columns: 1fr 1fr; }

  .depoimentos__grid { grid-template-columns: 1fr 1fr; }

  .atendimento__grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   BREAKPOINT: DESKTOP 1024px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  section { padding: 6.5rem 0; }

  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.5rem; }

  /* Nav desktop */
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    gap: 0;
    align-items: center;
    overflow: visible;
    inset: auto;
  }
  .nav__link {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-bottom: none;
    position: relative;
  }
  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 1.5px;
    background: var(--cta);
    transform: scaleX(0);
    transition: transform var(--t);
    border-radius: 2px;
  }
  .nav__link:hover::after { transform: scaleX(1); }
  .nav__cta-mobile { display: none; }
  .nav__cta-desktop { display: inline-flex; margin-left: 1rem; }

  /* Hero 2 colunas */
  .hero { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 5rem; }
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
  .hero__img-wrap { max-width: 100%; margin: 0; order: 2; }
  .hero__content  { order: 1; }

  /* Sobre 2 colunas */
  .sobre__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
  .sobre__img-wrap { max-width: 100%; margin: 0; }

  /* Serviços 2x2 */
  .servicos__grupos { grid-template-columns: 1fr 1fr; }

  /* Depoimentos 3 colunas */
  .depoimentos__grid { grid-template-columns: 1fr 1fr 1fr; }

  /* Footer 3 colunas */
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }

  .footer__bottom { flex-direction: row; justify-content: space-between; }

  /* Processo lado a lado */
  .processo__steps {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
  .step { flex-direction: column; align-items: flex-start; flex: 1; }
}

/* ══════════════════════════════════════════════════════════
   BREAKPOINT: DESKTOP LARGO 1280px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  h1 { font-size: 3.6rem; }
  .container { padding: 0 2rem; }
}

/* ── Utilitários ────────────────────────────────────────── */
.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;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
