:root {
  /* Superfícies */
  --cream: #F7F3EA;
  --cream-warm: #FBF8F1;
  --mist: #CFE3E0;

  /* Tinta */
  --ink: #2F4A3C;
  --ink-80: #2F4A3Ccc;
  --ink-90: #2F4A3Cd9;
  --hairline: #2f4a3c1f;
  --hairline-soft: #2f4a3c14;

  /* Acentos */
  --teal-ink: #3A6E5F;
  --rust: #C25A32;
  --rust-ink: #A84A27;
  --rust-deep: #8F3A1D;

  /* Ritmo */
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 10vw, 128px);
  --radius: 18px;
  --radius-sm: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  background-image: radial-gradient(#2f4a3c0a 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 108px;
  caret-color: var(--rust-ink);
  accent-color: var(--rust-ink);
}

::selection {
  background: #C25A3226;
  color: var(--ink);
}

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

@supports (scrollbar-color: auto) {
  html {
    scrollbar-color: #2f4a3c4d var(--cream);
  }
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: #2f4a3c40;
  border: 3px solid var(--cream);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2f4a3c73;
}

a {
  color: var(--teal-ink);
  text-decoration: none;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color 0.18s var(--ease-out);
}

a:hover {
  color: var(--rust-ink);
}

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

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  color: var(--ink);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section);
  scroll-margin-top: 24px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  padding-top: clamp(20px, 4vw, 40px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: clamp(20px, 4vw, 32px);
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.brand-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 8vw, 88px) 0 clamp(28px, 5vw, 44px);
}

h1 {
  margin: 0 0 20px;
  font-weight: 500;
  font-size: clamp(44px, 9vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
  color: var(--ink-90);
  text-wrap: pretty;
}

.place {
  margin: 22px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--teal-ink);
}

.place::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--rust);
  flex: none;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 44px -24px #2f4a3c59;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #2f4a3c26;
  pointer-events: none;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn-primary {
  background: var(--rust-ink);
  color: var(--cream);
  box-shadow: 0 6px 16px -8px #8f3a1d99;
}

.btn-primary:hover {
  background: var(--rust-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px #8f3a1dcc;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 1.5px solid #2f4a3c66;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* ---------- Intro ---------- */
.intro {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.intro p {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(21px, 3.1vw, 29px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* ---------- Títulos de seção ---------- */
.section-head {
  margin-bottom: clamp(26px, 3.5vw, 38px);
}

.section-head h2 {
  margin: 0;
  max-width: 18ch;
  font-weight: 500;
  font-size: clamp(30px, 5.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

/* ---------- Áreas ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.card {
  background: var(--cream-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.card h3 {
  margin: 0;
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.012em;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-warn {
  color: var(--rust-ink);
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-80);
}

.card .list {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 14px;
}

.pill {
  align-self: flex-start;
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--rust-ink);
  border: 1px solid #a84a2755;
  border-radius: 999px;
  padding: 6px 13px;
}

.note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-80);
}

/* ---------- Estrutura ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.offer {
  background: var(--cream);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.emo {
  font-size: 18px;
  line-height: 1;
  filter: saturate(0.9);
}

.price {
  margin: 2px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--rust);
  font-variant-numeric: tabular-nums lining-nums;
}

.price span {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: var(--ink-80);
  font-weight: 400;
  letter-spacing: 0;
}

.offer p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-80);
}

/* ---------- Aviso ---------- */
.aviso {
  background: var(--mist);
  border-radius: var(--radius-sm);
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aviso h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(21px, 2.9vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.012em;
  max-width: 22ch;
  text-wrap: pretty;
}

.aviso p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-90);
  max-width: 62ch;
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.contact-card {
  background: var(--cream-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: clamp(26px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card h3 {
  margin: 0;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.012em;
}

.contact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-80);
}

.contact-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.fineprint {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-80);
  max-width: 70ch;
}

.faixa {
  margin: 0;
  border: 1px dashed #3a6e5f80;
  border-radius: 12px;
  padding: 16px 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-80);
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding-top: var(--section);
  padding-bottom: 24px;
}

.footer-bar {
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand span {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 15px;
}

.footer-meta {
  font-size: 13px;
  color: var(--ink-80);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.footer-links a {
  font-weight: 600;
}

/* ---------- CTA fixo ---------- */
.cta-fixo {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--rust-ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 28px -10px #2f4a3c99, 0 2px 6px -2px #2f4a3c4d;
  max-width: 420px;
  margin: 0 auto;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.cta-fixo:hover {
  background: var(--rust-deep);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px #2f4a3ca6, 0 3px 8px -3px #2f4a3c59;
}

.cta-fixo:active {
  transform: translateY(0);
}

/* ---------- Entrada ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.site-header h1,
.site-header .lead,
.site-header .place,
.hero-media {
  animation: riseIn 0.9s var(--ease-out) both;
}

.site-header .lead {
  animation-delay: 0.08s;
}

.site-header .place {
  animation-delay: 0.14s;
}

.hero-media {
  animation-delay: 0.2s;
  animation-duration: 1.1s;
}

/* ---------- Movimento ligado ao scroll ---------- */

/* Parallax: a foto deriva dentro da moldura. A escala extra cria a
   sobra necessária para o deslocamento não descobrir as bordas. */
.hero-media.has-parallax img {
  transform: translate3d(0, var(--py, 0%), 0) scale(1.12);
  will-change: transform;
}

/* Revelações. O estado escondido só existe com JS ativo, para a página
   nunca ficar em branco se o script falhar. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(7px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out),
    filter 0.75s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Texto de rodapé de seção: deslocamento curto, para não invadir o que
   vem abaixo dele durante a transição. */
.js .note[data-reveal],
.js .fineprint[data-reveal] {
  transform: translateY(14px);
}

/* Blocos grandes sobem sem blur: desfocar uma grade inteira custa caro
   na GPU do celular e o efeito nem lê. O blur fica para o texto. */
.js .offers[data-reveal],
.js .aviso[data-reveal],
.js .contact-grid[data-reveal] {
  filter: none;
  transform: translateY(32px);
}

/* CTA fixo: só entra depois que o hero sai de cena. */
.js .cta-fixo {
  opacity: 0;
  transform: translateY(150%);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out),
    background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.js .cta-fixo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .cta-fixo.is-visible:hover {
  transform: translateY(-2px);
}

.js .cta-fixo.is-visible:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media.has-parallax img {
    transform: none;
  }

  .js [data-reveal],
  .js .cta-fixo {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Desktop: CTA ancorado ---------- */
@media (min-width: 900px) {
  body {
    padding-bottom: 40px;
  }

  .cta-fixo {
    left: auto;
    right: 28px;
    bottom: 28px;
    max-width: none;
    margin: 0;
    font-size: 15px;
  }
}

/* ---------- Mobile: títulos e subtítulos centralizados ---------- */
@media (max-width: 640px) {
  .header-bar {
    justify-content: center;
  }

  .hero,
  .section-head,
  .aviso {
    text-align: center;
  }

  .section-head h2,
  .aviso h2 {
    max-width: none;
  }

  .hero .lead,
  .aviso p {
    margin-left: auto;
    margin-right: auto;
  }

  .aviso {
    align-items: center;
  }

  .card-top {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    justify-content: center;
    text-align: center;
  }

  /* Empilhados, os cartões entram um por um conforme o scroll.
     A cascata horizontal só faz sentido lado a lado. */
  .js .card[data-reveal] {
    transition-delay: 0s;
  }

  .card,
  .offer {
    text-align: center;
    align-items: center;
  }

  .offer h3 {
    justify-content: center;
  }

  .pill,
  .contact-card .btn {
    align-self: center;
  }

  .contact-card {
    text-align: center;
    align-items: center;
  }

  .btn-row {
    justify-content: center;
  }

  .fineprint,
  .note {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bar {
    justify-content: center;
    text-align: center;
  }
}
