/* Fontes (self-hosted, subsets latin + latin-ext) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F7F0E7;
  --sand: #E8D9C6;
  --sand-line: #E2D2C2;
  --photo-bg: #E8DCCB;
  --brown: #4C2E1E;
  --brown-text: #3B2A20;
  --brown-soft: #6B5344;
  --brown-muted: #7D6352;
  --brown-light: #C9B5A3;
  --lilac: #9B7CB8;
  --lilac-ink: #7B5C9E;
  --lilac-bg: #ECE2F2;
  --lilac-dark: #4A3159;
  --lilac-text: #5B4570;

  --font-display: 'Bricolage Grotesque', Georgia, serif;
  --font-body: Karla, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: #5C3A26; text-decoration: none; }
a:hover { color: #7E5B45; }

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

h1, h2, h3, p { margin: 0; }

.display { font-family: var(--font-display); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(24px, 4vw, 56px);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lg {
  font-size: 16px;
  padding: 18px 28px;
  min-height: 56px;
}
.btn--sm {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  min-height: 44px;
}
.btn--dark { background: var(--brown); color: var(--cream); }
.btn--dark:hover { background: #5E3A27; color: var(--cream); }
.btn--light { background: var(--cream); color: var(--brown); }
.btn--light:hover { background: #fff; color: var(--brown); }

.btn__arrow { font-size: 18px; line-height: 1; }

/* Hero */
.hero { padding-top: clamp(24px, 4vw, 56px); }
.hero .grid-2 { grid-template-columns: minmax(0, 1fr); }

.hero__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  background: var(--photo-bg);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
}

/* Desktop: foto acompanha a altura do texto, sem sobras acima/abaixo */
@media (min-width: 760px) {
  .hero .grid-2 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: stretch;
  }
  .hero__photo {
    aspect-ratio: auto;
    min-height: 420px;
  }
  .hero__photo img { position: absolute; inset: 0; }
  .hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}

.hero__text { container-type: inline-size; }

/* Nome sempre em uma linha: o tamanho acompanha a largura da coluna */
.hero__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.5vw, 64px);
  font-size: clamp(28px, 12cqi, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--brown);
}
.hero__name span { color: var(--lilac); }

.hero__role {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-muted);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 26px;
  color: var(--brown);
  text-wrap: pretty;
}

.hero__lead {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--brown-soft);
  text-wrap: pretty;
  max-width: 480px;
}

.hero .btn { margin-top: 22px; }

.hero__note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--brown-muted);
}

/* Dor */
.pain { padding-top: clamp(28px, 4vw, 48px); }
.pain__box {
  background: var(--lilac-bg);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px);
  max-width: 780px;
  margin: 0 auto;
}
.pain__box h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.15;
  color: var(--lilac-dark);
}
.pain__box p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lilac-text);
  text-wrap: pretty;
}
.pain__box p + p {
  margin-top: 12px;
  font-weight: 600;
  color: var(--lilac-dark);
}

/* Serviços */
.services { padding-top: clamp(40px, 5vw, 72px); }

.eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac-ink);
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
}

.card {
  background: var(--sand);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--photo-bg);
}
.card__body { padding: 20px; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  color: var(--brown);
}
.card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--brown-soft);
}

.card--dark { background: var(--brown); }
.card--dark h3 { color: var(--cream); }
.card--dark p { color: var(--sand-line); }

/* Sobre */
.about {
  margin-top: clamp(44px, 5vw, 72px);
  background: var(--lilac-bg);
  padding-block: clamp(36px, 5vw, 64px);
}
.about .grid-2 {
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.about__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 320px;
  object-fit: cover;
  border-radius: 24px;
  background: #DCCDE6;
}
.about h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  color: var(--lilac-dark);
}
.about p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--lilac-text);
  text-wrap: pretty;
  max-width: 520px;
}
.about p + p { margin-top: 12px; }

/* Passos + FAQ */
.next { padding-top: clamp(40px, 5vw, 72px); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.15;
  color: var(--brown);
}

.steps {
  max-width: 640px;
}
.steps ol {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand-line);
}
.step:last-child { border-bottom: 0; }
.step__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--lilac);
}
.step h3,
.faq h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--brown);
}
.step p {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--brown-soft);
}
.steps .btn { margin-top: 20px; }

.faq .section-title { margin-bottom: 18px; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--sand);
  border-radius: 18px;
  padding: 18px 20px;
}
.faq__item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--brown-soft);
}

/* Rodapé */
.footer {
  margin-top: clamp(44px, 5vw, 72px);
  background: var(--brown);
  padding: clamp(28px, 4vw, 40px) var(--gutter);
  text-align: center;
}
.footer__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
}
.footer__addr {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--brown-light);
}

/* 404 */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px var(--gutter);
}
.notfound .hero__name { font-size: clamp(64px, 12vw, 120px); }
.notfound .hero__lead { margin-inline: auto; }
.notfound .btn { margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
