:root {
  --ivory: #FAF7F2;
  --ivory-2: #F4EDE4;
  --sand: #F1E4DA;
  --notice: #EDE6DC;
  --card: #FFFDF9;
  --ink: #2B1A26;
  --ink-soft: #5E4656;
  --plum: #412338;
  --plum-hover: #5A3350;
  --plum-step: #4F2D45;
  --accent: #7A3F63;
  --on-dark: #FAF7F2;
  --on-dark-soft: #DCCBD5;
  --clay-light: #E8B9A0;
  --clay: #C97B5A;
  --shape-clay: #F0E2D6;
  --shape-plum: #E6D3DC;
  --dash: #8A6B7C;
  --line: #E2D6C8;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --notice-h: 96px;
  --wrap: min(1200px, 100% - 40px);
}

@media (min-width: 1024px) {
  :root {
    --wrap: min(1200px, 100% - 64px);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--notice-h) + 12px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  touch-action: manipulation;
}

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

.container {
  width: var(--wrap);
  margin-inline: auto;
}

/* ---------- type ---------- */

h1, h2, .peak, .brand, .footer__brand {
  font-family: var(--serif);
}

h1 {
  font-size: clamp(2.75rem, 1.6rem + 5.6vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3 {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--accent);
}

.eyebrow {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.lead {
  max-width: 34em;
  color: var(--ink-soft);
}

@media (min-width: 600px) {
  body { font-size: 18px; }
  h2 { font-size: 44px; }
  h3 { font-size: 24px; }
  .eyebrow { font-size: 13px; }
}

@media (min-width: 1024px) {
  h2 { font-size: 56px; }
}

/* ---------- sticky notice ---------- */

.notice {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--notice);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-block: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.notice__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.notice__title {
  font-weight: 700;
}

/* ---------- header ---------- */

.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.header__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand pill"
    "nav nav";
  align-items: center;
  gap: 4px 16px;
  padding-block: 14px 8px;
}

.brand {
  grid-area: brand;
  min-width: 0;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.nav {
  grid-area: nav;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}

.nav .u {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  padding-block: 12px;
}

.pill {
  grid-area: pill;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

@media (min-width: 1024px) {
  .header__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav pill";
    gap: 0 32px;
    padding-block: 16px;
  }
  .nav__list {
    justify-content: center;
  }
}

/* ---------- links and press ---------- */

.u {
  position: relative;
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.u--lg {
  padding-block: 12px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  --u-bottom: 10px;
}

.u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--u-bottom, 8px);
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.5;
}

@media (hover: hover) and (pointer: fine) {
  .pill:hover {
    background: var(--plum-hover);
  }
  .u:hover::after {
    opacity: 1;
  }
}

/* ---------- inert commercial paragraphs ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.cta-note {
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink-soft);
}

/* ---------- sections: shared ---------- */

.hero,
.services,
.how,
.proof,
.final {
  padding-block: 64px;
}

.hero__grid,
.services__grid,
.how__grid,
.proof__grid,
.final__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.ill {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background: var(--ivory);
  padding-block: 40px 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -140px;
  top: -110px;
  background: var(--shape-clay);
}

.hero::after {
  width: 220px;
  height: 220px;
  left: -90px;
  bottom: -60px;
  background: var(--shape-plum);
}

.hero__text,
.hero__ill {
  min-width: 0;
}

.hero__text h1 {
  margin-bottom: 24px;
}

.hero__text .lead {
  font-size: 17px;
}

@media (min-width: 600px) {
  .hero__text .lead { font-size: 19px; }
}

/* ---------- services ---------- */

.services {
  background: var(--ivory-2);
}

.services__head,
.services__list {
  min-width: 0;
}

.service {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 8px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service .shape {
  grid-row: 1 / 4;
  grid-column: 1;
}

.service > :not(.shape) {
  grid-column: 2;
}

.service__label {
  justify-self: start;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--shape-plum);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.service__text {
  color: var(--ink-soft);
}

.shape {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--shape-plum);
}

.shape::before,
.shape::after {
  content: "";
  position: absolute;
}

.shape--a::before {
  left: 10px;
  right: 10px;
  bottom: 12px;
  height: 10px;
  border-radius: 5px;
  background: var(--clay);
}

.shape--a::after {
  left: 21px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.shape--b::before {
  inset: 12px;
  border-radius: 50%;
  border: 6px solid var(--accent);
}

.shape--b::after {
  left: 22px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clay);
}

.shape--c::before {
  left: 10px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
}

.shape--c::after {
  left: 22px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clay);
  opacity: 0.85;
}

/* ---------- como atendemos (dark) ---------- */

.how {
  background: var(--plum);
  color: var(--on-dark);
}

.how h2 {
  color: var(--on-dark);
}

.how .eyebrow {
  color: var(--clay-light);
}

.how__intro {
  display: grid;
  gap: 32px;
  min-width: 0;
}

.how__ill {
  max-width: 560px;
}

.how__ill .ill {
  border-radius: 28px;
}

.steps {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  background: var(--plum-step);
}

.step h3 {
  color: var(--on-dark);
  margin-bottom: 6px;
}

.step p {
  color: var(--on-dark-soft);
}

.step__icon {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--clay-light);
}

.step__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: var(--clay-light);
}

.step__icon--1::before {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
}

.step__icon--2::before {
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
}

.step__icon--3::before {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
}

.peak {
  position: relative;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  text-wrap: balance;
}

.peak__line {
  display: block;
  width: 120px;
  height: 4px;
  margin-top: 20px;
  border-radius: 2px;
  background: var(--clay-light);
}

@media (min-width: 600px) {
  .peak { font-size: 36px; }
}

@media (min-width: 1024px) {
  .peak { font-size: 44px; }
}

/* ---------- prova ---------- */

.proof {
  background: var(--ivory);
}

.proof__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.slot-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 28px;
  border: 2px dashed var(--dash);
  border-radius: 24px;
  background: var(--card);
}

.slot {
  min-height: 120px;
  border-radius: 16px;
  background: var(--ivory-2);
}

.slot-card__script {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.slot-card__tag {
  font-weight: 700;
  color: var(--accent);
}

.proof__note {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--accent);
}

@media (min-width: 768px) {
  .proof__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- pedido final ---------- */

.final {
  background: var(--sand);
}

.final__text,
.final__ill {
  min-width: 0;
}

.final__lead {
  margin-top: 24px;
  max-width: 32em;
  color: var(--ink-soft);
}

.final .actions .cta-note {
  color: var(--ink-soft);
}

.final__note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink-soft);
}

.final__ill {
  max-width: 460px;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--notice);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-block: 28px 36px;
}

.footer__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  justify-items: start;
}

.footer__brand {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
}

.footer__status {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (min-width: 768px) {
  .hero,
  .services,
  .how,
  .proof,
  .final {
    padding-block: 88px;
  }
  .hero {
    padding-block: 56px 96px;
  }
}

/* ---------- 12-column grid, 1024+ ---------- */

@media (min-width: 1024px) {
  .hero__grid,
  .services__grid,
  .how__grid,
  .proof__grid,
  .final__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 56px;
    align-items: center;
  }

  .hero,
  .services,
  .how,
  .proof,
  .final {
    padding-block: 112px;
  }

  .hero {
    padding-block: 72px 120px;
  }

  .hero__text { grid-column: 1 / 8; grid-row: 1; }
  .hero__ill { grid-column: 8 / 13; grid-row: 1; }

  .services__grid { align-items: start; }
  .services__head { grid-column: 1 / 7; grid-row: 1; }
  .services__list { grid-column: 7 / 13; grid-row: 1; }

  .how__intro { grid-column: 1 / 7; grid-row: 1; }
  .steps { grid-column: 7 / 13; grid-row: 1; }
  .peak { grid-column: 1 / 13; grid-row: 2; }

  .proof__grid { align-items: start; }
  .proof__title { grid-column: 1 / 7; grid-row: 1; }
  .proof__cards { grid-column: 1 / 13; grid-row: 2; gap: 24px; }
  .proof__note { grid-column: 1 / 13; grid-row: 3; }

  .final__text { grid-column: 1 / 7; grid-row: 1; }
  .final__ill { grid-column: 7 / 13; grid-row: 1; justify-self: center; width: 100%; }

  .footer__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 32px;
    align-items: center;
    justify-items: start;
  }
}

/* ---------- illustration static poses (no movement) ---------- */

.head,
.breath,
.sash-tail {
  transform-box: fill-box;
}

.head {
  transform-origin: 50% 92%;
  transform: rotate(-4deg);
}

.head--rest {
  transform: none;
}

.breath {
  transform-origin: 50% 100%;
}

.sash-tail {
  transform-origin: 50% 0%;
}

.draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

/* ---------- stagger indices (values only, no motion) ---------- */

.hero__text > :nth-child(2) { --i: 1; }
.hero__text > :nth-child(3) { --i: 2; }
.hero__text > :nth-child(4) { --i: 3; }

[data-reveal]:nth-child(2) { --stagger: 1; }
[data-reveal]:nth-child(3) { --stagger: 2; }
[data-reveal]:nth-child(4) { --stagger: 3; }

/* ---------- motion ---------- */

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes ill-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes draw {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
  }

  @keyframes listen {
    0% { transform: rotate(0deg); }
    55% { transform: rotate(-7deg); }
    100% { transform: rotate(-4deg); }
  }

  @keyframes sway {
    from { transform: rotate(-6deg); }
    to { transform: rotate(6deg); }
  }

  @keyframes breathe {
    from { transform: scaleY(1); }
    to { transform: scaleY(1.025); }
  }

  @keyframes twinkle {
    from { opacity: 0.25; }
    to { opacity: 1; }
  }

  .hero__text > * {
    animation: hero-in 700ms var(--ease-out) both;
    animation-delay: calc(var(--i, 0) * 60ms);
  }

  .hero__ill {
    transform-origin: 50% 50%;
    animation: ill-in 900ms var(--ease-out) 200ms both;
  }

  .hero__ill .draw {
    animation: draw 1200ms var(--ease-in-out) 900ms both;
  }

  .hero__ill .head {
    animation: listen 1200ms var(--ease-in-out) 1100ms both;
  }

  .final__ill[data-visible] .head {
    animation: listen 1200ms var(--ease-in-out) 500ms both;
  }

  .sash-tail {
    animation: sway 1.6s var(--ease-in-out) infinite alternate;
  }

  .breath {
    animation: breathe 2.4s var(--ease-in-out) infinite alternate;
  }

  .star {
    animation-name: twinkle;
    animation-timing-function: var(--ease-in-out);
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  .star:nth-child(1) { animation-duration: 3.2s; animation-delay: -0.6s; }
  .star:nth-child(2) { animation-duration: 3.6s; animation-delay: -2.1s; }
  .star:nth-child(3) { animation-duration: 4s; animation-delay: -1.2s; }
  .star:nth-child(4) { animation-duration: 3.4s; animation-delay: -2.8s; }
  .star:nth-child(5) { animation-duration: 3.8s; animation-delay: -0.3s; }
  .star:nth-child(6) { animation-duration: 3.2s; animation-delay: -1.7s; }
  .star:nth-child(7) { animation-duration: 4s; animation-delay: -3.1s; }
  .star:nth-child(8) { animation-duration: 3.6s; animation-delay: -2.4s; }

  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms var(--ease-out) calc(var(--stagger, 0) * 70ms), transform 700ms var(--ease-out) calc(var(--stagger, 0) * 70ms);
  }

  .js-reveal [data-reveal][data-visible] {
    opacity: 1;
    transform: translateY(0);
  }

  .js-reveal .step__icon {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 500ms var(--ease-out) calc(var(--stagger, 0) * 70ms + 300ms), transform 500ms var(--ease-out) calc(var(--stagger, 0) * 70ms + 300ms);
  }

  .js-reveal .step[data-visible] .step__icon {
    opacity: 1;
    transform: scale(1);
  }

  .js-reveal .peak__line {
    clip-path: inset(0 100% 0 0);
  }

  .js-reveal .peak[data-visible] .peak__line {
    clip-path: inset(0 0 0 0);
    transition: clip-path 800ms var(--ease-in-out) 300ms;
  }

  /* link underline: transform scaleX 200ms ease (documented deviation from the closed property list) */
  .u::after {
    transform: scaleX(0.8);
    transform-origin: 0 50%;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .press {
    transition: transform 160ms var(--ease-out);
  }

  .press:active:not(:focus-visible) {
    transform: scale(0.97);
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .u:hover::after {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__text > *,
  .hero__ill {
    animation: fade-in 400ms var(--ease-out) both;
  }

  .js-reveal [data-reveal] {
    opacity: 0;
    transition: opacity 400ms var(--ease-out);
  }

  .js-reveal [data-reveal][data-visible] {
    opacity: 1;
  }
}
