/* Via Nítida — shared stylesheet */

@font-face { font-family: "Noto Serif"; src: url("/assets/fonts/NotoSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("/assets/fonts/NotoSerif-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/assets/fonts/NotoSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/assets/fonts/NotoSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Brand palette. Sálvia is for details only: never for text. */
  --salvia: #B9CCB9;
  --carvao: #24332F;
  --marfim: #FCFBF7;
  --verde-palido: #EDF2EB;
  --cinza: #52615B;
  --branco: #FFFFFF;
  --linha: #D9E2D7;

  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: 1rem;
  --step-0: 1.125rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: 2rem;
  --step-4: 2.4rem;

  --gutter: 1.25rem;
  --container: 72rem;
  --radius: 10px;
  --space-section: 3.5rem;
  --tap: 3.25rem;
}

@media (min-width: 960px) {
  :root {
    --step-0: 1.1875rem;
    --step-1: 1.4rem;
    --step-2: 1.9rem;
    --step-3: 2.5rem;
    --step-4: 3.25rem;
    --gutter: 2rem;
    --space-section: 5.5rem;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--marfim);
  color: var(--carvao);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--carvao);
  overflow-wrap: break-word;
}
h3 { font-weight: 700; font-size: var(--step-1); line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--carvao); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--carvao); outline-offset: 3px; border-radius: 4px; }

strong { font-weight: 700; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--carvao); color: var(--marfim); padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cinza);
  margin-bottom: 0.75rem;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 4px;
  border-radius: 2px;
  background: var(--salvia);
  margin-bottom: 0.9rem;
}

.small { font-size: var(--step--1); color: var(--cinza); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: var(--tap);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid var(--carvao);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--carvao); color: var(--marfim); }
.btn--primary:hover { background: #33473F; border-color: #33473F; }
.btn--secondary { background: transparent; color: var(--carvao); }
.btn--secondary:hover { background: var(--verde-palido); }
.btn--large { min-height: 3.6rem; padding: 0.85rem 1.75rem; font-size: var(--step-1); width: 100%; }
@media (min-width: 640px) { .btn--large { width: auto; } }
.btn--soon { background: var(--verde-palido); color: var(--carvao); border: 2px dashed var(--cinza); cursor: default; }

/* Header */
.site-header { background: var(--marfim); border-bottom: 1px solid var(--linha); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.site-header__logo { flex: 0 0 auto; }
.site-header__logo img { width: 150px; height: auto; }
.site-nav { display: none; }
.site-header__cta {
  display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0.4rem 1rem;
  border: 2px solid var(--carvao); border-radius: var(--radius);
  font-weight: 700; font-size: var(--step--1); text-decoration: none; white-space: nowrap;
}
.site-header__cta:hover { background: var(--verde-palido); }
@media (min-width: 960px) {
  .site-header__logo img { width: 200px; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
  .site-nav a { text-decoration: none; font-size: var(--step-0); padding: 0.5rem 0; }
  .site-nav a:hover { text-decoration: underline; }
}

/* Sections */
.section { padding: var(--space-section) 0; }
.tone-soft { background: var(--verde-palido); }
.tone-white { background: var(--branco); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-title { font-size: var(--step-3); }
.section-intro { font-size: var(--step-1); color: var(--cinza); line-height: 1.5; }
.section-note {
  max-width: 46rem; margin-top: 2rem; padding: 1rem 1.25rem;
  border-left: 4px solid var(--salvia); background: var(--branco); color: var(--carvao);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.tone-soft .section-note { background: var(--marfim); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--linha); }
.hero__inner { position: relative; z-index: 1; padding-top: 2.5rem; padding-bottom: 2.5rem; display: grid; gap: 2rem; }
.hero__content { max-width: 38rem; }
.hero__title { font-size: var(--step-4); margin-bottom: 0.4em; }
.hero__subtitle { font-size: var(--step-2); font-family: var(--font-serif); color: var(--cinza); line-height: 1.35; }
.hero__text { font-size: var(--step-0); }
.hero__notes { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--cinza); font-size: var(--step--1); }
.hero__notes li { display: flex; align-items: center; gap: 0.5rem; }
.hero__notes li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--cinza); }
.hero__bg { min-width: 0; }
.hero--bg .hero__bg img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: right center; border-radius: var(--radius); }
.hero__image img { width: 100%; max-width: 420px; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(36, 51, 47, 0.12); }

@media (min-width: 960px) {
  .hero--bg .hero__inner, .hero--split .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
  .hero--split .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .hero--bg .hero__bg img { aspect-ratio: 1.3 / 1; }
}

/* Price box */
.price-box {
  margin-top: 1.75rem; padding: 1.25rem; background: var(--branco);
  border: 1px solid var(--linha); border-top: 4px solid var(--salvia); border-radius: var(--radius);
  max-width: 30rem;
}
.price { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1rem; }
.price__label { font-size: var(--step--1); color: var(--cinza); }
.price__value { font-family: var(--font-serif); font-size: var(--step-3); font-weight: 700; line-height: 1; white-space: nowrap; }
.price-box__soon { margin-top: 0.9rem; font-size: var(--step--1); color: var(--cinza); }
.assurances { list-style: none; margin: 1rem 0 0; padding: 0; font-size: var(--step--1); color: var(--carvao); display: grid; gap: 0.35rem; }
.assurances li { display: flex; gap: 0.6rem; align-items: baseline; }
.assurances li::before { content: "✓"; font-weight: 700; color: var(--carvao); }

/* Cards (features / steps) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.card { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--radius); padding: 1.5rem; }
.tone-white .card { background: var(--marfim); }
.card__title { margin-bottom: 0.5rem; }
.card__text { color: var(--carvao); }
.card__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; margin-bottom: 1rem;
  background: var(--salvia); color: var(--carvao); font-family: var(--font-serif); font-weight: 700; font-size: var(--step-1);
}
@media (min-width: 720px) {
  .cards--2, .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards { gap: 1.5rem; }
}

/* Chapters */
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: ch; border-top: 1px solid var(--linha); }
.chapters > li {
  counter-increment: ch; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 0.75rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--linha);
}
.chapters > li::before {
  content: counter(ch, decimal-leading-zero); grid-row: 1 / span 3;
  font-family: var(--font-serif); color: var(--cinza); font-size: var(--step--1); padding-top: 0.2rem;
}
.chapters__kicker { display: block; font-size: var(--step--1); color: var(--cinza); }
.chapters__title { display: block; font-weight: 700; }
.chapters__text { display: block; color: var(--cinza); }
.chapters--compact > li::before { content: "•"; color: var(--carvao); }
.chapters--compact > li { grid-template-columns: 1.25rem 1fr; padding: 0.6rem 0; }
.chapter-groups { display: grid; gap: 2rem; }
.chapter-group__title { font-size: var(--step-1); margin-bottom: 0.5rem; }
@media (min-width: 900px) {
  .chapters:not(.chapters--compact) { grid-template-columns: 1fr 1fr; column-gap: 3rem; border-top: 0; }
  .chapters:not(.chapters--compact) > li:nth-child(-n+2) { border-top: 1px solid var(--linha); }
  .chapter-groups { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}
@media (min-width: 1100px) {
  .chapter-groups { grid-template-columns: repeat(3, 1fr); }
}

/* Sample pages */
@media (min-width: 960px) {
}

/* Included */
.included { display: grid; gap: 1rem; }
.included__col { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--radius); padding: 1.5rem; }
.included__col--no { background: transparent; border-style: dashed; border-color: var(--cinza); }
.included__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.included__list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.4rem; }
.included__col--yes li::before { content: "✓"; font-weight: 700; }
.included__col--no li::before { content: "—"; color: var(--cinza); }
@media (min-width: 840px) { .included { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* Lists */
.list { margin: 0 0 1em; padding-left: 1.25rem; }
.list li { margin-bottom: 0.4rem; }
.list--check { list-style: none; padding: 0; }
.list--check li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.4rem; }
.list--check li::before { content: "✓"; font-weight: 700; }

/* Price CTA */
.price-cta { display: grid; gap: 2rem; align-items: center; }
.price-cta__image img { width: 100%; max-width: 320px; margin: 0 auto; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(36, 51, 47, 0.14); }
@media (min-width: 900px) {
  .price-cta { grid-template-columns: 360px 1fr; gap: 4rem; }
  .price-cta__image img { max-width: 100%; }
}

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--linha); }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__q {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: var(--tap); padding: 1rem 0; font-weight: 700; font-size: var(--step-0);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; flex: 0 0 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--carvao); border-radius: 50%; font-size: 1.4rem; font-weight: 400; line-height: 1;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a { padding: 0 0 1.25rem; max-width: 46rem; }

/* About */
.about { display: grid; gap: 2rem; align-items: center; max-width: 48rem; }
.about__image img { width: 100%; max-width: 280px; border-radius: var(--radius); }
.about__author { font-weight: 700; margin-top: 1.5rem; }
.about__signature { font-family: var(--font-serif); font-size: var(--step-1); }
@media (min-width: 900px) { .about--image { grid-template-columns: 280px 1fr; gap: 4rem; } }

/* Product grid */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.product-card { display: flex; flex-direction: column; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--radius); overflow: hidden; }
.product-card__cover { display: block; border-bottom: 1px solid var(--linha); }
.product-card__cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.5rem; }
.product-card__title { font-family: var(--font-serif); font-weight: 400; font-size: var(--step-2); margin-bottom: 0.5rem; }
.product-card__title a { text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; }
.product-card__text { flex: 1; }
.product-card__meta { color: var(--cinza); font-size: var(--step--1); margin: 0.75rem 0 0.25rem; }
.product-card__price { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-2); margin-bottom: 1rem; }
.product-card .btn { width: 100%; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .product-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .product-grid--4 .product-card__title { font-size: var(--step-1); }
}

/* Product highlight */
.highlight { display: grid; gap: 2rem; align-items: center; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--radius); padding: 1.5rem; }
.highlight__image img { width: 100%; max-width: 420px; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--linha); }
.highlight__price { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.tag { display: inline-block; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--verde-palido); border: 1px solid var(--cinza); font-size: var(--step--1); font-weight: 700; }
@media (min-width: 900px) { .highlight { grid-template-columns: 420px 1fr; gap: 3.5rem; padding: 2.5rem; } }

/* Text block */
.text-block { display: grid; gap: 2rem; align-items: start; }
.text-block .prose { max-width: 42rem; }
.text-block--notice { background: var(--branco); border: 1px solid var(--linha); border-left: 4px solid var(--salvia); border-radius: var(--radius); padding: 1.5rem; max-width: 52rem; }
.text-block--notice .section-head { margin-bottom: 1rem; }
.text-block--notice .section-title { font-size: var(--step-2); }
.text-block__image img { width: 100%; max-width: 380px; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(36, 51, 47, 0.12); }
@media (min-width: 960px) { .text-block--image { grid-template-columns: 1fr 380px; gap: 4rem; } }

/* CTA band */
.cta-band { max-width: 44rem; }

/* Footer */
.site-footer { background: var(--carvao); color: var(--marfim); padding: 3.5rem 0; font-size: var(--step--1); }
.site-footer a { color: var(--marfim); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.25rem; }
.site-footer li a { display: inline-block; padding: 0.4rem 0; }
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer__name { font-family: var(--font-serif); font-size: var(--step-2); margin-bottom: 0.25rem; }
.site-footer__title { font-family: var(--font-sans); font-size: var(--step--1); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--marfim); margin-bottom: 0.75rem; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(252, 251, 247, 0.25); }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 3.5rem; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--marfim); border-top: 1px solid var(--linha);
  box-shadow: 0 -6px 20px rgba(36, 51, 47, 0.1);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  transition: transform 0.2s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--container); margin: 0 auto; }
.sticky-cta__price { margin: 0; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-cta__name { font-size: 0.95rem; color: var(--cinza); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .price__value { font-size: var(--step-1); }
.sticky-cta .btn { flex: 0 0 auto; padding-left: 1.6rem; padding-right: 1.6rem; }
body.has-sticky { padding-bottom: 5rem; }
@media (min-width: 960px) {
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

@media print {
  .site-header__cta, .sticky-cta, .btn { display: none !important; }
  body { background: #fff; }
}
