/* 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;
  }
}

/* Celular: bloco do topo centralizado sob a foto */
@media (max-width: 759.98px) {
  .hero__text { text-align: center; }
  .hero__lead { margin-inline: auto; }
}

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

/* Nome de três palavras: quebra em duas linhas no celular, uma no desktop */
.hero__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 58px);
  font-size: clamp(30px, 10.5cqi, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  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);
}

/* Desktop: a caixa vai até as margens, alinhada com o topo e os cartões.
   Pergunta à esquerda e resposta à direita: ocupa a largura toda sem que
   as linhas fiquem longas demais de ler. */
@media (min-width: 960px) {
  .pain__box {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    /* a segunda linha absorve a sobra, para os parágrafos não se afastarem
       quando o título for mais alto que eles */
    grid-template-rows: auto 1fr;
    column-gap: clamp(32px, 3.5vw, 56px);
    padding: clamp(40px, 3.4vw, 52px) clamp(44px, 4vw, 60px);
  }
  .pain__box h2 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .pain__box p {
    grid-column: 2;
    align-self: start;
  }
  .pain__box p:first-of-type { margin-top: 0; }
}

/* 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); }

/* Desktop: os três cartões lado a lado, na mesma largura das outras seções.
   O corpo vira coluna flexível para que os botões fiquem alinhados na base,
   mesmo com títulos de uma ou duas linhas. */
@media (min-width: 960px) {
  .services__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 26px);
    max-width: none;
  }
  .card img { height: 232px; }
  .card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px 26px;
  }
  .card__body .btn { margin-top: auto; }
}

/* 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;
}
/* Desktop: a foto é vertical e, em colunas iguais, fica alta demais
   ao lado de um texto curto. Dá-se mais espaço ao texto, como no topo. */
@media (min-width: 960px) {
  .about .grid-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.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);
}
.footer__social {
  margin-top: 10px;
  font-size: 14.5px;
}
.footer__social a {
  color: var(--brown-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 181, 163, 0.4);
  padding-bottom: 1px;
}
.footer__social a:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}
.footer__legal {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(201, 181, 163, 0.72);
}

/* ===== Página de vendas LETRAR.LINK ===== */

.section { padding-top: clamp(44px, 5vw, 72px); }
.section__head { max-width: 640px; margin-bottom: 26px; }
.section__head .eyebrow { margin-bottom: 12px; }
.section__lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--brown-soft);
  text-wrap: pretty;
}

/* Hero de vendas: texto primeiro (aparece sem rolar no celular), imagem depois */
.hero--sales .hero__text .eyebrow { margin-bottom: 18px; }
.hero__name--headline {
  font-size: clamp(32px, 8cqi, 50px);
  line-height: 1.08;
}
.hero--sales .hero__lead { max-width: 520px; }
.hero--sales .hero__photo { max-width: 460px; margin-inline: auto; width: 100%; }
@media (min-width: 760px) {
  .hero--sales .grid-2 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .hero--sales .hero__photo { max-width: none; margin-inline: 0; }
  /* altura para o celular aparecer inteiro (50% da largura x 19/9 + respiro) */
  .hero--sales .hero__photo--phone { min-height: 540px; }
}

/* Celular com a página do exemplo rolando em loop (só CSS: sem vídeo, sem JS).
   O celular é 50% da largura do quadro; --end é o quanto a captura sobe para
   mostrar o rodapé: -(1 - altura da tela / altura da imagem). Se a imagem
   mudar de proporção, recalcule: tela ≈ 2,24 larguras de imagem, então
   --end = -(1 - 2,24 / (altura ÷ largura da imagem)). */
.hero__photo--phone {
  container-type: inline-size;
  background: radial-gradient(circle at 50% 30%, var(--cream) 0, var(--lilac-bg) 62%);
}
.phone {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 50%;
  aspect-ratio: 9 / 19;
  transform: translateX(-50%);
  border: 2.6cqi solid var(--brown);
  border-radius: 12cqi;
  background: var(--cream);
  overflow: hidden;
  box-shadow: 0 6cqi 12cqi rgba(74, 49, 89, 0.28);
}
.hero__photo .phone__scroll {
  --end: -81.7%;
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
  will-change: transform;
  animation: phone-scroll 28s infinite;
}
.hero__photo--phone:hover .phone__scroll { animation-play-state: paused; }
@keyframes phone-scroll {
  0%, 8%   { transform: translateY(0); animation-timing-function: linear; }
  70%, 78% { transform: translateY(var(--end)); animation-timing-function: ease-in-out; }
  92%, 100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo .phone__scroll { animation: none; }
}

/* Cartões sem imagem */
.card--plain .card__body { padding: 24px 22px 26px; }

/* Como funciona: três passos lado a lado no desktop */
.steps--wide { max-width: none; }
@media (min-width: 960px) {
  .steps--wide ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 26px);
  }
  .steps--wide .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 22px 22px 24px;
    background: var(--sand);
    border: 0;
    border-radius: 22px;
  }
}

/* Planos */
.plan .card__body { display: flex; flex-direction: column; align-items: flex-start; }
.plan { position: relative; }
.plan__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lilac-bg);
  color: var(--lilac-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card .plan__price {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brown);
}
.card--dark .card__body .plan__price { color: var(--cream); }
.plan__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--brown-soft);
}
.card--dark .plan__list { color: var(--sand-line); }
.plan__list li {
  position: relative;
  padding-left: 24px;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.4em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--lilac-ink);
  border-bottom: 2px solid var(--lilac-ink);
  transform: rotate(-45deg);
}
.card--dark .plan__list li::before { border-color: var(--lilac-bg); }
.plan .btn { margin-top: 24px; }
@media (min-width: 960px) {
  .plan .card__body > p:first-of-type { min-height: 3.1em; }
  .plan .btn { margin-top: auto; }
  .plan .plan__list { margin-bottom: 24px; }
}

/* FAQ em duas colunas no desktop */
@media (min-width: 960px) {
  .faq--wide .faq__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
  }
}

/* Convite final */
.cta { padding-top: clamp(44px, 5vw, 72px); }
.cta__box {
  background: var(--lilac-bg);
  border-radius: 26px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px);
  text-align: center;
}
.cta__box h2 {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--lilac-dark);
  text-wrap: balance;
}
.cta__box p {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lilac-text);
  text-wrap: pretty;
}
.cta__box .btn { margin-top: 24px; }

.pain__box a { color: var(--lilac-dark); text-decoration: underline; text-underline-offset: 3px; }

/* 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; }
}

/* Oferta única (R$ 10): variações da lista de cartões */
.services__list--duo, .services__list--solo { margin-top: 0; }
@media (min-width: 760px) {
  .services__list--duo { display: grid; grid-template-columns: repeat(2, 1fr); max-width: none; gap: clamp(18px, 2vw, 26px); }
}
@media (min-width: 960px) {
  .services__list--duo { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .services__list--solo { display: block; max-width: 520px; }
}
.compare h3 { margin-bottom: 4px; }
.compare .plan__list { margin-top: 12px; }

/* Botão "Criar meu site" esticado e centralizado; preço em destaque */
.btn--block { display: flex; width: 100%; align-self: stretch; text-align: center; }
.hero__price {
  align-self: stretch;
  margin-top: 14px;
  text-align: center;
  font-size: 16px;
  color: var(--brown-soft);
}
.hero__price strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 6cqi, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--brown);
  margin-left: 6px;
}
.plan .card__body > .hero__note { align-self: center; text-align: center; }

/* Prova social: celulares estáticos com a captura do topo de cada site */
.proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
}
@media (min-width: 760px) {
  .proof { flex-direction: row; justify-content: center; align-items: flex-start; }
}
.proof__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.proof__phone {
  width: clamp(210px, 62vw, 250px);
  aspect-ratio: 9 / 19;
  border: 9px solid var(--brown);
  border-radius: 38px;
  background: var(--cream);
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(74, 49, 89, 0.24);
}
.proof__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof__item figcaption { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.proof__item figcaption strong { font-family: var(--font-display); font-size: 19px; color: var(--brown); }
.proof__item figcaption span { font-size: 14.5px; color: var(--brown-soft); }
