:root {
  --color-grafite: #292d2f;
  --color-verde-profundo: #344c43;
  --color-vinho-queimado: #6b454d;
  --color-areia: #d3c0a4;
  --color-creme: #f4eee5;
  --color-cobre-fosco: #9c7056;
  --color-madeira: #6c5547;
  --color-cinza-claro: #d7d3cc;
  --color-texto-primario: #292d2f;
  --color-texto-inverso: #f4eee5;

  --color-fundo: var(--color-creme);
  --color-superficie: var(--color-creme);
  --color-superficie-suave: var(--color-cinza-claro);
  --color-superficie-escura: var(--color-grafite);
  --color-superficie-verde: var(--color-verde-profundo);
  --color-texto: var(--color-texto-primario);
  --color-texto-suave: var(--color-madeira);
  --color-borda: rgb(156 112 86 / 55%);
  --color-borda-suave: rgb(41 45 47 / 16%);
  --color-foco: var(--color-areia);
  --color-erro: var(--color-vinho-queimado);
  --color-sucesso: var(--color-verde-profundo);

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;

  --text-display: clamp(3rem, 7vw, 7.5rem);
  --text-h1: clamp(2.75rem, 5.5vw, 5.5rem);
  --text-h2: clamp(2.1rem, 4vw, 4rem);
  --text-h3: clamp(1.45rem, 2.2vw, 2.2rem);
  --text-lead: clamp(1.2rem, 1.8vw, 1.6rem);
  --text-body: 1rem;
  --text-menu: clamp(0.95rem, 1vw, 1.05rem);
  --text-meta: clamp(0.72rem, 0.8vw, 0.82rem);

  --leading-display: 0.92;
  --leading-h1: 0.95;
  --leading-h2: 1.02;
  --leading-h3: 1.1;
  --leading-body: 1.6;
  --leading-meta: 1.3;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5.5rem;
  --space-10: 7.5rem;
  --space-11: 10rem;

  --container-max: 77.5rem;
  --container-padding: 2rem;
  --section-space: clamp(4rem, 9vw, 9rem);

  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;

  --border-thin: 1px solid var(--color-borda);
  --border-soft: 1px solid var(--color-borda-suave);

  --shadow-soft: 0 18px 48px rgb(20 22 22 / 16%);
  --shadow-header: 0 10px 30px rgb(20 22 22 / 14%);

  --transition-fast: 180ms ease;
  --transition-base: 240ms ease;
  --transition-image: 600ms ease;

  --header-offset: 4.75rem;
}

@media (max-width: 64rem) {
  :root {
    --container-padding: 1.5rem;
    --section-space: clamp(5rem, 10vw, 6rem);
  }
}

@media (max-width: 40rem) {
  :root {
    --container-padding: 1.25rem;
    --section-space: clamp(4rem, 12vw, 5rem);
    --header-offset: 4rem;
  }
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-fundo);
  color: var(--color-texto);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main,
header,
footer,
section,
article,
aside,
nav,
form,
fieldset,
figure,
blockquote,
dl {
  min-width: 0;
}

img,
picture,
svg,
canvas,
video,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

iframe {
  border: 0;
}

img {
  font-style: italic;
}

a {
  color: inherit;
  text-decoration-color: currentcolor;
  text-underline-offset: 0.18em;
  transition:
    color var(--transition-fast),
    text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--color-cobre-fosco);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

ul,
ol {
  padding-left: 1.25em;
}

ul[role="list"],
ol[role="list"] {
  margin: 0;
  padding: 0;
  list-style: none;
}

blockquote {
  margin-inline: 0;
}

hr {
  height: 1px;
  margin: var(--space-7) 0;
  border: 0;
  background: var(--color-borda);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
blockquote,
figure,
pre,
table {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  margin-bottom: var(--space-6);
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
}

h2 {
  margin-bottom: var(--space-5);
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
}

h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: var(--leading-h3);
}

h4,
h5,
h6 {
  margin-bottom: var(--space-3);
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  margin-bottom: var(--space-5);
}

ul,
ol {
  margin-bottom: var(--space-5);
}

dl {
  margin-bottom: var(--space-5);
}

dt {
  font-weight: 600;
}

dd {
  margin: 0 0 var(--space-3);
}

blockquote {
  margin-bottom: var(--space-6);
  padding-left: var(--space-5);
  border-left: 1px solid var(--color-cobre-fosco);
  color: var(--color-verde-profundo);
  font-family: var(--font-heading);
  font-size: var(--text-lead);
  line-height: 1.35;
}

figure {
  margin-bottom: var(--space-6);
}

figcaption {
  margin-top: var(--space-3);
  color: var(--color-texto-suave);
  font-size: var(--text-meta);
  letter-spacing: 0.06em;
  line-height: var(--leading-meta);
}

pre {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  overflow: auto;
  background: var(--color-superficie-suave);
  border: var(--border-soft);
  border-radius: var(--radius-md);
}

code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

small {
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

strong,
b {
  font-weight: 600;
}

::selection {
  background: var(--color-areia);
  color: var(--color-grafite);
}

:focus-visible {
  outline: 2px solid var(--color-foco);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - (var(--container-padding) * 2), var(--container-max));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - (var(--container-padding) * 2), 90rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.section--compact {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--cream {
  background: var(--color-creme);
  color: var(--color-texto-primario);
}

.section--graphite {
  background: var(--color-grafite);
  color: var(--color-texto-inverso);
}

.section--green {
  background: var(--color-verde-profundo);
  color: var(--color-texto-inverso);
}

.section--sand {
  background: var(--color-areia);
  color: var(--color-grafite);
}

.display {
  margin-bottom: var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: var(--leading-display);
  text-wrap: balance;
}

.lead {
  margin-bottom: var(--space-5);
  font-size: var(--text-lead);
  line-height: 1.35;
}

.eyebrow {
  margin-bottom: var(--space-3);
  color: var(--color-cobre-fosco);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.section--graphite .eyebrow,
.section--green .eyebrow {
  color: var(--color-areia);
}

.meta {
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.price {
  font-size: var(--text-menu);
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.surface {
  background: var(--color-superficie);
  border: var(--border-soft);
  border-radius: var(--radius-lg);
}

.surface--elevated {
  box-shadow: var(--shadow-soft);
}

.card {
  min-width: 0;
  padding: var(--space-5);
  background: var(--color-superficie);
  border: var(--border-soft);
  border-radius: var(--radius-lg);
}

.card > :last-child,
.surface > :last-child,
.compact-group > :last-child {
  margin-bottom: 0;
}

.stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
}

.stack--tight {
  gap: var(--space-2);
}

.stack--loose {
  gap: var(--space-6);
}

.cluster {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.cluster > * {
  min-width: 0;
}

.cluster--spread {
  justify-content: space-between;
}

.button,
.button-secondary {
  display: inline-flex;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.1875rem;
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
}

.button {
  background: var(--color-areia);
  border-color: var(--color-areia);
  color: var(--color-grafite);
}

.button:hover {
  background: var(--color-creme);
  border-color: var(--color-creme);
  color: var(--color-grafite);
}

.button-secondary {
  background: transparent;
  border-color: currentcolor;
  color: inherit;
}

.button-secondary:hover {
  background: rgb(244 238 229 / 12%);
  color: inherit;
}

.section--cream .button-secondary,
.section--sand .button-secondary {
  color: var(--color-grafite);
}

.section--cream .button-secondary:hover,
.section--sand .button-secondary:hover {
  background: rgb(41 45 47 / 8%);
}

.button:disabled,
.button-secondary:disabled {
  pointer-events: none;
}

.field {
  display: grid;
  min-width: 0;
  gap: var(--space-2);
}

.field label,
.field legend {
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

fieldset {
  min-width: 0;
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--color-cinza-claro);
  border-radius: var(--radius-md);
  background: var(--color-creme);
  color: var(--color-grafite);
  line-height: 1.4;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

input,
select {
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
}

textarea {
  padding: 0.875rem;
}

input::placeholder,
textarea::placeholder {
  color: rgb(108 85 71 / 75%);
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-cobre-fosco);
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgb(156 112 86 / 20%);
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.125rem;
  min-width: 1.125rem;
  height: 1.125rem;
  min-height: 1.125rem;
  padding: 0;
  accent-color: var(--color-verde-profundo);
}

input[type="file"] {
  padding: var(--space-2);
}

input[type="file"]::file-selector-button {
  margin-right: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-grafite);
  color: var(--color-creme);
  cursor: pointer;
}

.check-control {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: var(--space-3);
}

.check-control label {
  min-width: 0;
  font-size: 0.9rem;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
}

.form-help,
.form-error,
.form-success {
  margin-top: var(--space-2);
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.form-help {
  color: var(--color-texto-suave);
}

.form-error {
  color: var(--color-erro);
  font-weight: 600;
}

.form-success {
  padding: var(--space-4);
  background: var(--color-verde-profundo);
  color: var(--color-texto-inverso);
  border-radius: var(--radius-md);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-3) var(--space-4);
  transform: translateY(-200%);
  background: var(--color-areia);
  color: var(--color-grafite);
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 40rem) {
  h1 {
    margin-bottom: var(--space-5);
  }

  h2 {
    margin-bottom: var(--space-4);
  }

  .display {
    margin-bottom: var(--space-5);
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .cluster .button,
  .cluster .button-secondary {
    flex: 1 1 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}