/* Garante que [hidden] nunca seja sobrescrito por display:flex/block */
[hidden] { display: none !important; }

/* ================================
   DESIGN TOKENS
   ================================ */
:root {
  --verde-salvia:   #7D9B76;
  --verde-profundo: #2D4A2D;
  --terracota:      #C4725A;
  --terracota-dark: #a85948;
  --creme:          #F5EFE6;
  --texto-escuro:   #1A1A1A;
  --texto-medio:    #4A4A4A;
}

/* ================================
   RESET & BASE
   ================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--texto-escuro);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   CONTAINER
   ================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================
   BOTÃO CTA
   Mobile: largura total | Desktop: auto
   ================================ */
.btn-cta {
  display: block;
  width: 100%;
  background: var(--terracota);
  color: var(--creme);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 18px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.btn-cta:hover {
  background: var(--terracota-dark);
}

.btn-cta:active {
  transform: scale(0.97);
}

.btn-cta:focus-visible {
  outline: 3px solid var(--verde-salvia);
  outline-offset: 3px;
}

.btn-cta:disabled,
.btn-cta[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

@media (min-width: 1024px) {
  .btn-cta {
    display: inline-block;
    width: auto;
  }
}
