/* =========================================
   MARCELO ZWONOK — PSICÓLOGO
   style.css
   ========================================= */

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #e8ddd4;
  --brown:      #633b1c;
  --dark-brown: #3a2010;
  --black:      #1e1a17;
  --dark:       #2e2a27;

  --bg:         #fdfaf7;
  --bg-alt:     #f5ede5;
  --bg-mid:     #ede2d8;

  --text:       #2e2a27;
  --text-muted: #6b5f56;
  --text-light: #a89a8e;

  --accent:     #633b1c;
  --accent-lt:  #8a5630;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --header-h: 72px;
  --radius:   4px;
  --radius-md: 10px;
  --shadow:   0 2px 20px rgba(99,59,28,.08);
  --shadow-md: 0 8px 40px rgba(99,59,28,.13);

  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul { list-style: none; }

/* ----- CONTAINER ----- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ----- TYPOGRAPHY HELPERS ----- */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark-brown);
}

.section-title em {
  font-style: italic;
  color: var(--brown);
}

.section-desc {
  margin-top: .75rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc { margin-inline: auto; }

/* Variante de seção em fundo escuro (somente para-quem) */
.section-header--light .section-title,
.section-header--light .section-label { color: #fff; }
.section-header--light .section-title em { color: rgba(232,221,212,.8); font-style: italic; }
.section-header--light .section-desc { color: rgba(232,221,212,.7); }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}
.btn--primary:hover {
  background: var(--dark-brown);
  border-color: var(--dark-brown);
  box-shadow: 0 4px 20px rgba(99,59,28,.3);
}

.btn--ghost {
  background: transparent;
  color: var(--brown);
  border-color: rgba(99,59,28,.35);
}
.btn--ghost:hover {
  background: rgba(99,59,28,.06);
  border-color: var(--brown);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn--outline:hover {
  background: var(--brown);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn--header {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
  padding: .6rem 1.4rem;
  font-size: .8125rem;
}
.btn--header:hover {
  background: var(--dark-brown);
  border-color: var(--dark-brown);
}

.btn--large { padding: .9rem 2.25rem; font-size: 1rem; }
.btn--sm    { padding: .55rem 1.25rem; font-size: .8125rem; }
.btn--full  { width: 100%; justify-content: center; }

.btn-loading { display: none; }
.btn.is-loading .btn-text   { display: none; }
.btn.is-loading .btn-loading { display: inline; }

/* ----- HEADER ----- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(253,250,247,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(99,59,28,.1);
}

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

.header__logo { display: flex; align-items: center; }

.header__logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav { display: flex; align-items: center; gap: 2.5rem; }

.nav__list { display: flex; gap: 2rem; }

.nav__link {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--dark-brown);
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--brown);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active { color: var(--brown); }

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* Botão fechar menu mobile */
.nav__close {
  display: none;
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brown);
  padding: 4px;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--brown);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 80% 40%, rgba(99,59,28,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 100%, rgba(99,59,28,.08) 0%, transparent 55%),
    linear-gradient(160deg, #f8efe6 0%, #ede0d2 50%, #e5d3c2 100%);
  z-index: 0;
}

.hero__bg-overlay { display: none; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}

.hero__eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--brown);
}

.hero__subheadline {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.br-desk { display: block; }

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--text-light);
  letter-spacing: .03em;
}

.badge svg { color: var(--brown); flex-shrink: 0; }

.hero__image-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero__image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100%; height: 100%;
  border: 1px solid rgba(99,59,28,.2);
  border-radius: var(--radius-md);
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(99,59,28,.4), transparent);
  margin: auto;
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ----- DORES ----- */
.dores {
  background: var(--bg);
  padding: 6rem 0;
}

.dores__inner { display: flex; flex-direction: column; gap: 3.5rem; }

.dores__text .section-title { max-width: 600px; }

.dores__lead {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

.dores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.dore-card {
  background: #fff;
  border: 1px solid rgba(99,59,28,.09);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.dore-card:hover {
  border-color: rgba(99,59,28,.22);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.dore-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--brown);
  flex-shrink: 0;
}

.dore-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: .5rem;
}

.dore-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.dores__cta { text-align: center; padding-top: 1rem; }

.dores__cta p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

/* ----- SOBRE ----- */
.sobre {
  background: var(--bg-alt);
  padding: 6rem 0;
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.sobre__image-wrap { position: relative; }

.sobre__image-frame { position: relative; }

.sobre__image-frame::before {
  content: '';
  position: absolute;
  bottom: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 1px solid rgba(99,59,28,.2);
  border-radius: var(--radius-md);
}

.sobre__photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.sobre__card-destaque {
  position: absolute;
  bottom: 2rem; right: -1.5rem;
  background: var(--brown);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 2;
  text-align: center;
}

.sobre__card-destaque strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.sobre__card-destaque span {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.sobre__content .section-title { margin-bottom: 1.25rem; }

.sobre__intro {
  font-size: 1.0625rem;
  color: var(--dark-brown);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sobre__content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: .85rem;
}

.sobre__lista {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1.5rem 0;
}

.sobre__lista li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text);
}

.sobre__lista li svg { color: var(--brown); flex-shrink: 0; margin-top: 2px; }

.sobre__redes { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; }

.rede-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--brown);
  font-weight: 500;
  transition: opacity var(--transition);
}

.rede-link:hover { opacity: .7; }

/* ----- SERVIÇOS ----- */
.servicos {
  background: var(--bg-alt);
  padding: 6rem 0;
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.servico-card {
  background: #fff;
  border: 1px solid rgba(99,59,28,.09);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.servico-card:hover {
  border-color: rgba(99,59,28,.22);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.servico-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--bg-alt);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: var(--brown);
}

.servico-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: .6rem;
}

.servico-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ----- ATENDIMENTO ----- */
.atendimento {
  background: var(--bg);
  padding: 6rem 0;
}

.atendimento__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 4rem;
}

.step {
  flex: 1;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(99,59,28,.09);
}

.step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(99,59,28,.15);
  line-height: 1;
  margin-bottom: .75rem;
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: .6rem;
}

.step p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step__connector {
  flex-shrink: 0;
  width: 2rem;
  height: 1px;
  background: linear-gradient(to right, rgba(99,59,28,.15), rgba(99,59,28,.35), rgba(99,59,28,.15));
  margin-top: 2.75rem;
  align-self: flex-start;
}

.atendimento__modalidades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.modalidade {
  background: var(--bg-alt);
  border: 1px solid rgba(99,59,28,.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.modalidade__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: var(--brown);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  color: #fff;
}

.modalidade h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: .6rem;
}

.modalidade p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: .75rem;
}

.modalidade__detalhe {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--brown);
  text-transform: uppercase;
}

/* ----- PARA QUEM ----- */
.para-quem {
  background: var(--dark-brown);
  padding: 6rem 0;
}

.para-quem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.pq-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  color: rgba(232,221,212,.9);
  font-size: .9rem;
  transition: background var(--transition), border-color var(--transition);
}

.pq-item:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

.pq-item svg { color: rgba(232,221,212,.5); flex-shrink: 0; }

/* ----- BENEFÍCIOS ----- */
.beneficios {
  background: var(--bg-alt);
  padding: 6rem 0;
}

.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.beneficio {
  background: #fff;
  border: 1px solid rgba(99,59,28,.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.beneficio:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.beneficio__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--bg-alt);
  border-radius: 50%;
  margin-bottom: 1.1rem;
  color: var(--brown);
}

.beneficio h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: .5rem;
}

.beneficio p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ----- CTA BANNER ----- */
.cta-banner {
  background: var(--brown);
  padding: 5rem 0;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.cta-banner__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: .5rem;
}

.cta-banner__text p { color: rgba(255,255,255,.8); font-size: 1.0625rem; }

.btn--cta-wpp {
  background: #fff;
  color: var(--brown);
  border-color: #fff;
  font-weight: 600;
}

.btn--cta-wpp:hover {
  background: var(--bg-alt);
  border-color: var(--bg-alt);
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}

/* ----- AUTORIDADE ----- */
.autoridade {
  background: var(--bg);
  padding: 6rem 0;
}

.autoridade__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

.autoridade__stat {
  padding: 2rem;
  border-bottom: 2px solid var(--bg-mid);
}

.autoridade__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--brown);
  line-height: 1;
  margin-bottom: .4rem;
}

.autoridade__stat span {
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.autoridade__destaques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.destaque {
  display: flex;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid rgba(99,59,28,.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}

.destaque:hover { box-shadow: var(--shadow); }

.destaque__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--bg-alt);
  border-radius: 50%;
  color: var(--brown);
}

.destaque h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: .4rem;
}

.destaque p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ----- LOCALIZAÇÃO ----- */
.localizacao {
  background: var(--bg-alt);
  padding: 6rem 0;
}

.localizacao__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.localizacao__content .section-title { margin-bottom: .75rem; }

.localizacao__content > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.localizacao__endereco {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 2rem;
}

.endereco-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  color: var(--text);
}

.endereco-item svg { color: var(--brown); flex-shrink: 0; margin-top: 2px; }
.endereco-item a { color: var(--brown); }
.endereco-item a:hover { text-decoration: underline; }

.localizacao__mapa iframe {
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-md);
}

/* ----- CONTATO / FORMULÁRIO ----- */
.contato {
  background: var(--bg);
  padding: 6rem 0;
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: flex-start;
}

.contato__text .section-title { margin-bottom: .75rem; }

.contato__text > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contato__direto { display: flex; flex-direction: column; gap: .85rem; }

.contato-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--brown);
  transition: opacity var(--transition);
}

.contato-link:hover { opacity: .7; }

/* Form */
.form {
  background: #fff;
  border: 1px solid rgba(99,59,28,.09);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.25rem;
}

.form__label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .03em;
}

.form__label span { color: var(--brown); }

.form__input,
.form__textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid rgba(99,59,28,.14);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-light); }

.form__input:focus,
.form__textarea:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(99,59,28,.1);
}

.form__input.error,
.form__textarea.error { border-color: #c0392b; }

.form__error {
  font-size: .75rem;
  color: #c0392b;
  min-height: 1rem;
}

.form__disclaimer {
  margin-top: .85rem;
  font-size: .75rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--dark-brown);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(232,221,212,.12);
}

.footer__logo { display: inline-flex; align-items: center; margin-bottom: 1rem; }

.footer__logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.footer__brand p {
  font-size: .875rem;
  color: rgba(232,221,212,.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer__redes { display: flex; gap: 1rem; }

.footer__redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(232,221,212,.18);
  border-radius: 50%;
  color: rgba(232,221,212,.55);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.footer__redes a:hover {
  border-color: var(--cream);
  color: var(--cream);
  background: rgba(232,221,212,.1);
}

.footer__nav h4,
.footer__contato h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232,221,212,.4);
  margin-bottom: 1.1rem;
}

.footer__nav ul { display: flex; flex-direction: column; gap: .6rem; }

.footer__nav a {
  font-size: .875rem;
  color: rgba(232,221,212,.6);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--cream); }

.footer__contato address p {
  font-size: .875rem;
  color: rgba(232,221,212,.6);
  line-height: 1.6;
  margin-bottom: .5rem;
}

.footer__contato address a { color: rgba(232,221,212,.6); }
.footer__contato address a:hover { color: var(--cream); }
.footer__contato .btn {
  margin-top: 1.25rem;
  border-color: rgba(232,221,212,.3);
  color: rgba(232,221,212,.7);
}
.footer__contato .btn:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--dark-brown);
}

.footer__bottom { padding: 1.5rem 0; }

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer__bottom p { font-size: .8125rem; color: rgba(232,221,212,.3); }

.footer__bottom a { color: rgba(232,221,212,.5); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--cream); }

/* ----- WHATSAPP FLOAT ----- */
.wpp-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.wpp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
}

/* ----- SCROLL ANIMATIONS ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- RESPONSIVE ----- */

/* Previne scroll horizontal global */
html, body { overflow-x: hidden; max-width: 100%; }

/* Tablet */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: calc(var(--header-h) + 2rem);
  }
  .hero__image-wrap { justify-content: center; order: -1; }
  .hero__image-frame { max-width: 360px; width: 100%; }
  .hero__photo { height: 400px; }
  .br-desk { display: none; }

  .sobre__inner { grid-template-columns: 1fr; gap: 3rem; }
  .sobre__image-wrap { max-width: 380px; margin-inline: auto; }

  .servicos__grid { grid-template-columns: repeat(2, 1fr); }

  .atendimento__steps { flex-direction: column; }
  .step__connector {
    width: 1px; height: 2rem; margin: 0 auto;
    background: linear-gradient(to bottom, rgba(99,59,28,.15), rgba(99,59,28,.35), rgba(99,59,28,.15));
  }

  .beneficios__grid { grid-template-columns: repeat(2, 1fr); }
  .autoridade__grid { grid-template-columns: repeat(3, 1fr); }
  .autoridade__destaques { grid-template-columns: 1fr; }

  .localizacao__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contato__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Garante que nenhum elemento ultrapasse a largura da tela */
  img, iframe, video { max-width: 100%; }

  .hamburger { display: flex; }

  .nav__close { display: flex; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 75%;
    height: 100vh;
    background: rgba(253,250,247,.99);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 999;
    border-left: 1px solid rgba(99,59,28,.1);
  }

  .nav.open { transform: translateX(0); }

  .nav__list { flex-direction: column; gap: 1.5rem; }
  .nav__link { font-size: 1.1rem; color: var(--dark-brown); }
  .btn--header {
    align-self: center;
    margin-top: .5rem;
  }

  /* Hero mobile: foto acima do texto */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 3rem;
    min-height: unset;
  }

  .hero__image-wrap { order: -1; justify-content: center; }
  .hero__image-frame { max-width: 100%; width: 100%; }
  .hero__image-frame::before { display: none; }
  .hero__photo { height: 380px; border-radius: var(--radius-md); }

  .hero__content { text-align: center; }
  .hero__ctas { justify-content: center; flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__badges { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  .sobre__card-destaque { right: 0; }
  .sobre__inner { gap: 2rem; }

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

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

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .btn--cta-wpp { align-self: center; }

  .autoridade__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .autoridade__stat { padding: 1.25rem .75rem; }
  .autoridade__stat strong { font-size: 2rem; }

  .para-quem__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom .container { flex-direction: column; text-align: center; gap: .5rem; }

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

  .form { padding: 1.5rem 1rem; }

  .localizacao__inner { gap: 2rem; }
  .localizacao__mapa iframe { height: 280px; }

  .contato__inner { gap: 2rem; }
  .contato__form-wrap { width: 100%; }
}

@media (max-width: 480px) {
  .hero__photo { height: 340px; }
  .autoridade__grid { grid-template-columns: 1fr 1fr; }
  .autoridade__stat { padding: 1rem; }
  .header__logo-img { height: 60px; }
  .nav { width: 85%; }
}
