@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;

  /* Paratempo — cores da marca */
  --color-paper: #ffffe9;
  --color-ink: #35192f;
  --color-wine: #6d3a43;
  --color-clay: #a46f5f;
  --color-sand: #cea893;
  --color-lilac: #bdb8e0;

  /* Papéis semânticos */
  --color-text: var(--color-ink);
  --color-text-muted: #665060;
  --color-surface: var(--color-paper);
  --color-surface-soft: #f6f1e8;
  --color-border: rgba(53, 25, 47, .16);

  /* Campos de cor — degradês atmosféricos da Paratempo */
  --gradient-atelier:
    radial-gradient(ellipse at 12% 18%, rgba(255, 255, 233, .98) 0 12%, rgba(255, 255, 233, 0) 43%),
    radial-gradient(ellipse at 78% 68%, rgba(206, 168, 147, .92) 0 8%, rgba(206, 168, 147, 0) 58%),
    radial-gradient(ellipse at 48% 38%, rgba(189, 184, 224, .68) 0 5%, rgba(189, 184, 224, 0) 58%),
    #eadbd7;
  --gradient-alvorada:
    radial-gradient(ellipse at 20% 82%, rgba(255, 255, 233, .88) 0 8%, rgba(255, 255, 233, 0) 50%),
    radial-gradient(ellipse at 82% 18%, rgba(206, 168, 147, .9) 0 5%, rgba(206, 168, 147, 0) 56%),
    radial-gradient(ellipse at 50% 48%, rgba(164, 111, 95, .46) 0 6%, rgba(164, 111, 95, 0) 64%),
    #e6d8df;
  --gradient-fio:
    radial-gradient(ellipse at 18% 24%, rgba(255, 255, 233, .92) 0 10%, rgba(255, 255, 233, 0) 48%),
    radial-gradient(ellipse at 86% 76%, rgba(206, 168, 147, .72) 0 8%, rgba(206, 168, 147, 0) 54%),
    radial-gradient(ellipse at 46% 48%, rgba(189, 184, 224, .9) 0 7%, rgba(189, 184, 224, 0) 62%),
    #eee7df;
  --gradient-entardecer:
    radial-gradient(ellipse at 14% 18%, rgba(189, 184, 224, .52) 0 6%, rgba(189, 184, 224, 0) 46%),
    radial-gradient(ellipse at 84% 70%, rgba(206, 168, 147, .62) 0 8%, rgba(206, 168, 147, 0) 52%),
    radial-gradient(ellipse at 54% 40%, rgba(164, 111, 95, .72) 0 5%, rgba(164, 111, 95, 0) 62%),
    #4b293e;

  /* Tipografia: editorial, leitura e gesto */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;
  --text-xs: .72rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(2.5rem, 5.5vw, 5rem);
  --text-hero: clamp(3.5rem, 8vw, 7.5rem);

  /* Espaçamento e estrutura */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --section-space: clamp(6rem, 10vw, 9.5rem);
  --content-width: 74rem;
  --page-gutter: clamp(1.25rem, 6vw, 5.5rem);

  /* Cantos e movimento */
  --radius-pill: 999px;
  --radius-control: 12px;
  --radius-card: 18px;
  --radius-feature: 28px;
  --shadow-resting: 0 16px 38px rgba(53, 25, 47, .09);
  --shadow-raised: 0 28px 66px rgba(53, 25, 47, .16);
  --shadow-feature: 0 36px 86px rgba(53, 25, 47, .18);
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-reveal: 680ms;
  --ease-gentle: cubic-bezier(.2, .8, .2, 1);
  --reveal-distance: 18px;

  /* Botão em duas partes: mensagem + impulso */
  --button-label-height: 52px;
  --button-icon-size: 44px;
  --button-gap: 8px;
  --button-padding-inline: 22px;
}

.ds-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: 700 11px / 1 var(--font-body);
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.ds-button-label {
  display: inline-flex;
  min-height: var(--button-label-height);
  align-items: center;
  justify-content: center;
  padding: 0 var(--button-padding-inline);
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  transition: transform var(--motion-base) var(--ease-gentle), border-color var(--motion-fast) ease, background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.ds-button-arrow {
  display: inline-grid;
  width: var(--button-icon-size);
  height: var(--button-icon-size);
  flex: 0 0 var(--button-icon-size);
  place-items: center;
  border-radius: 50%;
  color: var(--color-paper);
  background: var(--color-clay);
  box-shadow: 0 7px 18px rgba(53,25,47,.12);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  transform-origin: center;
  transition: transform 420ms cubic-bezier(.34,1.2,.64,1), background-color var(--motion-fast) ease, color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
  will-change: transform;
}

.ds-button:hover .ds-button-label { transform: translateX(3px); }
.ds-button:hover .ds-button-arrow { background: var(--color-wine); box-shadow: 0 9px 24px rgba(53,25,47,.2); transform: translateX(5px) rotate(360deg); }
.ds-button:active .ds-button-label, .ds-button:active .ds-button-arrow { transform: translateY(0); }
.ds-button:focus-visible { outline: 3px solid var(--color-clay); outline-offset: 3px; }
.ds-button--primary .ds-button-label { color: var(--color-paper); border-color: var(--color-ink); background: var(--color-ink); }
.ds-button--secondary .ds-button-label { color: var(--color-ink); border-color: var(--color-ink); background: transparent; }
.ds-button--inverse .ds-button-label { color: var(--color-paper); border-color: rgba(255, 255, 233, .72); background: transparent; }
.ds-button--inverse .ds-button-arrow { color: var(--color-ink); background: var(--color-sand); }
.ds-button--primary:hover .ds-button-label { border-color: var(--color-wine); background: var(--color-wine); }
.ds-button--secondary:hover .ds-button-label { color: var(--color-paper); background: var(--color-ink); }
.ds-button--inverse:hover .ds-button-label { color: var(--color-ink); border-color: var(--color-paper); background: var(--color-paper); }
.ds-button--inverse:hover .ds-button-arrow { color: var(--color-paper); background: var(--color-wine); }
.ds-button--compact { --button-label-height: 44px; --button-icon-size: 38px; --button-gap: 6px; --button-padding-inline: 18px; font-size: 10px; }
.ds-button[aria-disabled='true'] { cursor: not-allowed; opacity: .42; pointer-events: none; }

.ds-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: .5rem .75rem;
  border-radius: var(--radius-pill);
  color: var(--color-ink);
  background: var(--color-lilac);
  font: 700 var(--text-xs) / 1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ds-button:hover .ds-button-label, .ds-button:hover .ds-button-arrow { transform: none; }
}
