/* Júlia Duque — modelo 2
   Estrutura e linguagem visual inspiradas em psicologamarianapires.com.br:
   serifada de display, sem contraste escuro, cartões claros com borda âmbar,
   faixa de palavras em movimento e botão em cápsula com gradiente.
   A paleta usa o terracota da marca da Júlia (#BB6C26) no lugar do âmbar. */

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  src: url("assets/playfair-roman.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 900;
  src: url("assets/playfair-italic.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  src: url("assets/poppins-400.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  src: url("assets/poppins-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  src: url("assets/poppins-600.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  src: url("assets/poppins-700.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --ink: #1b1410;
  --ink-soft: #3f352d;
  --muted: #6d6158;
  --paper: #ffffff;
  --cream: #fdf8f2;
  --sand: #ead9c8;
  --sand-soft: #f5ece2;
  --line: #e4d7c9;
  --line-soft: #f0e6da;

  --brand: #bb6c26;
  --brand-deep: #8f4f17;
  --grad-1: #eec69c;
  --grad-2: #dda76c;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Poppins, "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 84px;
  --radius: 16px;
  --shadow: rgb(0 0 0 / 12%) 12px 12px 40px;
  --shadow-forte: rgb(0 0 0 / 16%) 12px 12px 19px;
  /* Sombra dura, sem desfoque, deslocada para a esquerda: a aresta âmbar
     dos cartões de destaque da referência. */
  --shadow-borda: -3px 4px 0 0 var(--grad-1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
}

/* O sprite não pode usar [hidden]: a regra do agente de usuário é do
   namespace HTML e não alcança o SVG, que renderiza em 300x150. */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  flex: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 10px 0;
  font-size: 14px;
}
.skip-link:focus {
  left: 0;
}

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

.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

/* ---------- Barra de rolagem ----------
   O Chromium ignora os pseudo-elementos da WebKit quando `scrollbar-color`
   está declarado, então o padrão fica atrás de um @supports: assim o
   Firefox recebe a cor sólida e o resto recebe o gradiente do botão. */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-color: var(--grad-2) var(--cream);
  }
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  border: 3px solid var(--cream);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--grad-1), var(--grad-2));
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--grad-2), var(--brand));
}

/* ---------- Tipografia ---------- */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 4.5vw, 64px);
}

h2 {
  font-size: clamp(30px, 3.5vw, 50px);
}

h3 {
  font-size: 21px;
  line-height: 1.25;
}

h1 em,
h2 em {
  display: block;
  font-style: normal;
  color: var(--brand);
}
/* Títulos curtos cabem em uma linha: o <em> em bloco só serve aos longos. */
.heading-inline em {
  display: inline;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.pill {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.centered {
  text-align: center;
  margin-inline: auto;
}

h2.centered {
  max-width: 26ch;
}

.section {
  padding-block: 108px;
}

/* ---------- Botões ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 30px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--grad-1), var(--grad-2));
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.22s ease,
    transform 0.22s ease;
}
.button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.button-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
  transition: transform 0.22s ease;
}
.button:hover .button-arrow {
  transform: translateX(2px);
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
  padding: 10px 12px 10px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgb(255 255 255 / 86%);
  backdrop-filter: blur(14px);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 96%);
  box-shadow: var(--shadow);
}

.brand {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 40px;
  text-decoration: none;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}
.brand-dot {
  color: var(--brand);
}
.brand-role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-header nav a:hover {
  color: var(--brand-deep);
}

.header-cta {
  flex-shrink: 0;
  min-height: 40px;
  gap: 12px;
  padding: 9px 9px 9px 20px;
  font-size: 15px;
}
.header-cta .button-arrow {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 1.6px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.24s ease;
}
.menu-bars::before,
.menu-bars::after {
  content: "";
}
.menu-bars::before {
  transform: translateY(-6px);
}
.menu-bars::after {
  transform: translateY(4.4px);
}
.site-header.is-open .menu-bars {
  background: transparent;
}
.site-header.is-open .menu-bars::before {
  transform: rotate(45deg);
}
.site-header.is-open .menu-bars::after {
  transform: translateY(-1.6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 46%;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(
    115deg,
    var(--cream) 0%,
    var(--cream) 46%,
    var(--sand-soft) 100%
  );
  overflow: hidden;
}

.hero-copy {
  z-index: 2;
  padding: calc(var(--header-h) + 56px) 56px 80px
    max(48px, calc((100vw - 1200px) / 2));
  justify-self: end;
  width: 100%;
}

/* O separador é gerado aqui, não escrito no HTML: assim a quebra de linha
   da formatação do arquivo não vira espaço em branco no meio da frase. */
.eyebrow-crp::before {
  content: "·";
  margin: 0 0.42em;
}
.hero-eyebrow {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-lead {
  max-width: 44ch;
  margin-bottom: 36px;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  align-self: stretch;
}
/* A foto sangra até a borda e se dissolve no fundo. A dissolução é uma
   máscara na própria imagem, não uma camada creme por cima: assim o degradê
   diagonal da hero aparece por trás e não há cor para casar. Os passos
   intermediários suavizam a rampa — uma rampa linear curta o olho lê como
   borda. */
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  -webkit-mask-image: linear-gradient(
    90deg,
    rgb(0 0 0 / 0%) 0%,
    rgb(0 0 0 / 2%) 5%,
    rgb(0 0 0 / 6%) 9%,
    rgb(0 0 0 / 13%) 13%,
    rgb(0 0 0 / 23%) 17%,
    rgb(0 0 0 / 35%) 21%,
    rgb(0 0 0 / 49%) 24%,
    rgb(0 0 0 / 63%) 27%,
    rgb(0 0 0 / 76%) 30%,
    rgb(0 0 0 / 87%) 33%,
    rgb(0 0 0 / 95%) 35%,
    rgb(0 0 0 / 99%) 37%,
    rgb(0 0 0 / 100%) 39%
  );
  mask-image: linear-gradient(
    90deg,
    rgb(0 0 0 / 0%) 0%,
    rgb(0 0 0 / 2%) 5%,
    rgb(0 0 0 / 6%) 9%,
    rgb(0 0 0 / 13%) 13%,
    rgb(0 0 0 / 23%) 17%,
    rgb(0 0 0 / 35%) 21%,
    rgb(0 0 0 / 49%) 24%,
    rgb(0 0 0 / 63%) 27%,
    rgb(0 0 0 / 76%) 30%,
    rgb(0 0 0 / 87%) 33%,
    rgb(0 0 0 / 95%) 35%,
    rgb(0 0 0 / 99%) 37%,
    rgb(0 0 0 / 100%) 39%
  );
}

/* ---------- Faixa de palavras ---------- */

.marquee {
  overflow: hidden;
  padding-block: 18px;
  background: var(--sand);
  border-block: 1px solid rgb(146 106 60 / 14%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: desliza 42s linear infinite;
}
.marquee-run {
  padding-right: 24px;
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 27px);
  font-style: italic;
  white-space: nowrap;
  color: var(--ink);
}
@keyframes desliza {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Faixa de credenciais ---------- */

.credentials {
  padding-block: 44px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.credential {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--grad-2);
}
.credential strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.credential span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Bloco dividido (A terapia) ---------- */

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.split-aside p {
  max-width: 46ch;
  color: var(--ink-soft);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Cartão claro com a aresta esquerda âmbar e a sombra caída — o padrão
   que a referência repete em todas as grades. */
.topic-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 32px 28px 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-borda);
}
/* Ícone sem cápsula, como nos cartões da referência: só o traço na cor da
   marca, com uma linha de respiro até o título. */
.topic-icon {
  display: block;
  margin-bottom: 4px;
  font-size: 32px;
  line-height: 1;
  color: var(--brand);
}
.topic-card h3 {
  font-size: 20px;
  line-height: 1.28;
  /* Reserva duas linhas para o título: sem isso os textos de cada cartão
     começam em alturas diferentes e a grade fica desalinhada. */
  min-height: calc(2 * 1.28em);
}
.topic-card p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Serviços ---------- */

.services {
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.services-intro h2 {
  margin-bottom: 18px;
}
.services-intro > p {
  max-width: 40ch;
  color: var(--ink-soft);
}
.services-intro .button {
  margin-top: 30px;
}

.services-list {
  display: grid;
  gap: 16px;
}
.service {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}
.service summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 22px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.service summary::-webkit-details-marker {
  display: none;
}
.service .marker {
  font-size: 20px;
  color: var(--brand);
  transition: transform 0.24s ease;
}
.service[open] .marker {
  transform: rotate(180deg);
}
.service-body {
  padding: 0 22px 24px;
}
.service-body p {
  font-size: 15px;
  color: var(--ink-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sand-soft);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Sobre ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
}
.about-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-copy h2 {
  margin-bottom: 24px;
}
.about-copy p {
  max-width: 56ch;
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.about-copy p:last-child {
  margin-bottom: 0;
}

.quote-card {
  display: flex;
  align-items: center;
  gap: 70px;
  margin: 72px 0 0;
  padding: 62px 72px;
  border-radius: 30px;
  background: var(--sand);
  box-shadow: rgb(0 0 0 / 10%) 12px 12px 24px;
}
.quote-photo {
  width: 237px;
  height: 237px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}
.quote-text {
  margin: 0;
  max-width: 800px;
  font-family: var(--display);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.3;
}

/* ---------- Processo ---------- */

.process {
  background: var(--cream);
}
.process .lead-text {
  max-width: 68ch;
  margin-block: 24px 60px;
  color: var(--ink-soft);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 34px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
  justify-items: center;
}
.process-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--sand-soft);
  color: var(--brand-deep);
  font-size: 24px;
}
.process-card p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Depoimentos ---------- */

.testimonials-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}
.testimonials-head h2 {
  max-width: 22ch;
}
/* As setas só existem com JavaScript: sem ele a faixa continua rolável
   na mão, então nada se perde. */
.carousel-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 6px;
}
/* Regra de autor para vencer o [hidden] do agente de usuário. */
.carousel-nav[hidden] {
  display: none;
}
.carousel-nav button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}
.carousel-nav button:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand-deep);
}
.carousel-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-nav .icon {
  width: 19px;
  height: 19px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  margin-block: -28px -52px;
  padding: 28px 52px 52px 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar {
  display: none;
}
.testimonial-track > li {
  display: flex;
  flex: 0 0 clamp(268px, 31%, 384px);
  scroll-snap-align: start;
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.stars {
  display: flex;
  gap: 3px;
  font-size: 17px;
  color: var(--grad-2);
}
.testimonial blockquote {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.testimonial-author img,
.avatar-letter {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  flex: none;
}
.avatar-letter {
  display: grid;
  place-items: center;
  background: var(--sand);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-deep);
}
.testimonial-author span span,
.testimonial-author > span:last-child {
  display: grid;
  line-height: 1.35;
}
.testimonial-author strong {
  font-size: 15px;
}
.testimonial-author small {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Faixa de chamada ---------- */

.cta-band {
  padding-block: 0 108px;
}
.cta-card {
  display: grid;
  justify-items: center;
  gap: 30px;
  padding: clamp(48px, 7vw, 92px) 32px;
  border-radius: var(--radius);
  background: var(--sand);
  text-align: center;
}
.cta-card h2 {
  max-width: 20ch;
}

/* ---------- Dúvidas ---------- */

.faq {
  background: var(--cream);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.faq-intro h2 {
  margin-bottom: 18px;
}
.faq-intro > p {
  max-width: 38ch;
  color: var(--ink-soft);
}
.faq-intro .button {
  margin-top: 30px;
}

.faq-list {
  display: grid;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 16px 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item .marker {
  font-size: 19px;
  color: var(--brand);
  transform: rotate(-90deg);
  transition: transform 0.24s ease;
}
.faq-item[open] .marker {
  transform: rotate(0deg);
}
.faq-body {
  display: grid;
  gap: 14px;
  padding: 0 0 26px 33px;
  font-size: 15px;
  color: var(--ink-soft);
}
.faq-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

/* ---------- Formulário ---------- */

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}
.lead-intro h2 {
  margin-bottom: 20px;
}
.lead-intro > p {
  max-width: 34ch;
  color: var(--ink-soft);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.field {
  display: grid;
  gap: 7px;
  margin: 0;
}
.field label {
  font-size: 14px;
  font-weight: 500;
}
.field label span {
  color: var(--brand-deep);
}
.field input,
.field textarea {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  /* Nunca abaixo de 16px: o Safari no iOS dá zoom ao focar o campo. */
  font-size: 16px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--brand-deep);
  outline-offset: 1px;
  background: var(--paper);
}
.field-error {
  font-size: 13px;
  color: #9a2f22;
}
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #9a2f22;
}
.form-status {
  font-size: 14px;
  color: #9a2f22;
}
.form-status:empty {
  display: none;
}
.lead-form .button {
  justify-self: start;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
}
.lead-form noscript p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding-block: 72px 36px;
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
}
.footer-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
/* Precisa do escopo: .footer-brand p vence .footer-name na especificidade. */
.footer-brand p:not(.footer-name) {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
}
.footer-claim {
  max-width: 30ch;
  margin-top: 14px;
  color: var(--muted);
}
.footer-col h2 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.footer-list,
.footer-contact {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  width: fit-content;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}
.footer-list a {
  font-size: 15px;
}
.footer-contact a {
  font-size: 14px;
}
.footer-list a:hover,
.footer-contact a:hover {
  color: var(--brand-deep);
}
.footer-contact .icon {
  font-size: 18px;
  color: var(--brand);
}
.footer-plain {
  display: grid;
  min-height: 40px;
  align-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.footer-plain small {
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom {
  display: grid;
  gap: 8px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}
/* Assinatura miúda, isolada no fim de tudo. */
.footer-credito {
  margin: 18px auto 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.footer-credito a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.footer-credito a:hover {
  color: var(--brand-deep);
}

/* ---------- Chamada fixa do celular ----------
   Só existe abaixo de 900px, onde não há cabeçalho. É `sticky` como último
   filho do <main>: gruda no rodapé da tela enquanto houver conteúdo e
   estaciona sozinha no fim, logo acima do rodapé — sem script de posição.
   A faixa não intercepta o toque; só o botão intercepta. */
.cta-fixa {
  display: none;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1180px) {
  .wrap,
  .site-header {
    width: min(1200px, calc(100% - 64px));
  }
  .hero-copy {
    padding-left: 32px;
    padding-right: 32px;
  }
  .credentials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-grid,
  .faq-grid,
  .lead-grid,
  .about-grid {
    gap: 48px;
  }
}

/* O menu vira hambúrguer antes de os links espremerem em duas linhas. */
@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
    order: 3;
  }
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 10px 10px 20px;
  }
  .site-header nav {
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 6px 4px 10px;
    border-top: 1px solid var(--line-soft);
  }
  .site-header.is-open nav {
    display: flex;
  }
  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    font-size: 15px;
  }
  .header-cta {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  /* Sem cabecalho no celular, como no site de referencia: a foto abre a
     pagina e a navegacao fica no rodape. */
  .site-header {
    display: none;
  }
  html {
    scroll-padding-top: 16px;
  }
  .cta-fixa {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    margin-top: -1px;
    padding: 0;
    background: var(--cream);
    pointer-events: none;
  }
  .cta-fixa .button {
    pointer-events: auto;
    width: 100%;
    justify-content: center;
    gap: 14px;
    border-radius: 0;
    /* A área segura do aparelho entra no próprio botão, para o gradiente
       chegar até a borda de baixo da tela — mas substituindo o recuo, não
       somando: com `calc` a barra dobrava de altura no iPhone. */
    padding: 13px 20px max(13px, env(safe-area-inset-bottom, 0px));
    font-size: 17px;
    box-shadow: rgb(70 44 18 / 20%) 0 -10px 26px -12px;
  }
  .cta-fixa .button-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .hero-visual {
    order: -1;
    aspect-ratio: 1 / 1;
    max-height: 460px;
  }
  .hero-visual img {
    object-position: 50% 22%;
  }
  /* Na vertical a foto se dissolve para baixo, não para o lado. */
  .hero-visual img {
    -webkit-mask-image: linear-gradient(
      180deg,
      rgb(0 0 0 / 100%) 0%,
      rgb(0 0 0 / 99%) 40%,
      rgb(0 0 0 / 93%) 54%,
      rgb(0 0 0 / 82%) 64%,
      rgb(0 0 0 / 65%) 73%,
      rgb(0 0 0 / 44%) 81%,
      rgb(0 0 0 / 24%) 88%,
      rgb(0 0 0 / 9%) 94%,
      rgb(0 0 0 / 0%) 100%
    );
    mask-image: linear-gradient(
      180deg,
      rgb(0 0 0 / 100%) 0%,
      rgb(0 0 0 / 99%) 40%,
      rgb(0 0 0 / 93%) 54%,
      rgb(0 0 0 / 82%) 64%,
      rgb(0 0 0 / 65%) 73%,
      rgb(0 0 0 / 44%) 81%,
      rgb(0 0 0 / 24%) 88%,
      rgb(0 0 0 / 9%) 94%,
      rgb(0 0 0 / 0%) 100%
    );
  }
  .hero-copy {
    justify-self: stretch;
    max-width: none;
    margin-top: -46px;
    padding: 26px 0 56px;
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
  }
  .split-head,
  .services-grid,
  .about-grid,
  .faq-grid,
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-visual {
    max-width: 440px;
  }
  .quote-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    margin-top: 48px;
    padding: 40px 34px;
    border-radius: 22px;
  }
  .quote-photo {
    width: 200px;
    height: 200px;
  }
  .quote-text {
    font-size: 25px;
  }
  h2.centered {
    max-width: 20ch;
  }
}

@media (max-width: 860px) {
  .wrap,
  .site-header {
    width: min(1200px, calc(100% - 44px));
  }
  .hero-copy {
    width: min(1200px, calc(100% - 44px));
  }
  .section {
    padding-block: 80px;
  }
  .cta-band {
    padding-block: 0 80px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .topic-card h3 {
    min-height: 0;
  }
  .credentials-grid,
  .topic-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .split-head {
    margin-bottom: 40px;
  }
  .site-header nav {
    max-height: min(62vh, 420px);
    overflow-y: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 74px;
  }
  .wrap,
  .site-header,
  .hero-copy {
    width: min(1200px, calc(100% - 32px));
  }
  .section {
    padding-block: 64px;
  }
  .cta-band {
    padding-block: 0 64px;
  }
  .brand-name {
    font-size: 21px;
  }
  .site-header .header-cta {
    padding: 8px 8px 8px 16px;
    gap: 10px;
    font-size: 13px;
  }
  .site-header .header-cta .button-arrow {
    width: 27px;
    height: 27px;
    font-size: 13px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    margin-top: 40px;
  }
  .topic-card,
  .process-card,
  .testimonial {
    padding: 26px 22px;
  }
  .testimonials-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 30px;
  }
  .testimonials-head h2 {
    max-width: none;
  }
  .carousel-nav {
    margin-top: 0;
  }
  .faq-body {
    padding-left: 0;
  }
}

/* Ate 430px a assinatura da marca sai e a seta do botao some: os tres
   elementos so cabem em uma linha assim. */
@media (max-width: 430px) {
  .brand-role {
    display: none;
  }
  .site-header .header-cta {
    padding: 8px 14px;
    font-size: 12px;
  }
  .site-header .header-cta .button-arrow {
    display: none;
  }
}

/* Abaixo de 400px nem assim cabe: o botao sai da barra. O menu fica a um
   toque e a chamada da hero aparece logo abaixo. */
@media (max-width: 400px) {
  /* Em 320px a coluna tem 288px e a sobrelinha a 21px ocupa 284: encosta
     na borda e qualquer acento a joga para uma terceira linha. */
  .hero .hero-eyebrow {
    font-size: 18px;
  }
  .site-header .header-cta {
    display: none;
  }
  .button {
    font-size: 17px;
    padding-left: 22px;
  }
  .service summary,
  .faq-item summary {
    font-size: 17px;
  }
}

/* ---------- Celular: centralizado, como no site de referência ----------
   Ela vira esse layout abaixo de 767px. Centraliza a hero, os títulos de
   seção, as intros e os botões; o conteúdo dos cartões, as dúvidas e o
   rodapé continuam alinhados à esquerda, que é como o original faz — texto
   corrido centralizado cansa a leitura. Os corpos abaixo são os medidos
   na referência em 390px. */
@media (max-width: 767px) {
  .hero-copy,
  .split-head,
  .split-aside,
  .services-intro,
  .about-copy,
  .faq-intro,
  .lead-intro,
  .testimonials-head {
    text-align: center;
  }
  .hero-copy .button,
  .services-intro .button,
  .faq-intro .button {
    align-self: center;
  }
  .hero-copy,
  .services-intro,
  .faq-intro,
  .lead-intro,
  .about-copy {
    display: grid;
    justify-items: center;
  }
  .testimonials-head {
    align-items: center;
  }

  .hero-eyebrow {
    font-size: 21px;
    font-weight: 500;
  }
  /* No celular o CRP desce para a própria linha e o "·" some, em vez de
     ficar pendurado no fim da primeira linha. */
  .eyebrow-crp {
    display: block;
  }
  .eyebrow-crp::before {
    content: none;
  }
  .hero h1 {
    max-width: none;
    font-size: 42px;
    font-weight: 600;
  }
  .hero-lead {
    max-width: 34ch;
    font-size: 18px;
  }
  h2 {
    font-size: 28px;
  }
  h2.centered,
  .testimonials-head h2,
  .cta-card h2 {
    max-width: 18ch;
  }
  .pill {
    font-size: 16px;
    font-weight: 500;
  }
  .split-aside p,
  .services-intro > p,
  .faq-intro > p,
  .lead-intro > p,
  .about-copy p,
  .process .lead-text {
    max-width: 38ch;
    font-size: 16px;
  }
  .button {
    font-size: 20px;
  }
  .quote-text {
    font-size: 24px;
  }

  /* Cartões, dúvidas e rodapé seguem à esquerda. */
  .topic-card h3 {
    font-size: 21px;
  }
  .topic-card p {
    font-size: 14px;
  }
  .process-card h3 {
    font-size: 22px;
  }
}

/* Abaixo de 430px "Enviar pelo WhatsApp" pede 299px e o formulário só
   oferece 232: o botão ocupa a linha toda e encolhe o corpo. */
@media (max-width: 430px) {
  .lead-form {
    padding: 26px 22px;
  }
  .lead-form .button {
    justify-self: stretch;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    font-size: 16px;
  }
  .lead-form .button-label {
    white-space: nowrap;
  }
  .lead-form .button-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  .testimonial-track {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
