/* Base visual da Carta Branca, usada pelo site e pelo painel.
   Preto do logo como chão, vermelho da marca como destaque. */
:root {
  --black: #000000;      /* igual ao fundo do logo */
  --coal: #121214;
  --coal-2: #1c1c1f;
  --red: #e5313a;        /* vermelho do logo */
  --red-deep: #b9222b;
  --green: #1f9d55;
  --white: #ffffff;
  --paper: #f3f3f1;
  --ink: #141416;
  --muted: #5d5e64;
  --muted-dark: #a3a3aa;
  --line: #e0e0dc;
  --line-dark: rgba(255,255,255,.12);

  --f-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  --s-xs: .8125rem;
  --s-sm: .9375rem;
  --s-md: 1.0625rem;
  --s-lg: 1.3rem;
  --s-xl: clamp(2.2rem, 4.6vw, 3.6rem);
  --s-hero: clamp(2.4rem, 5.6vw, 4.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  font-size: var(--s-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
section[id] { scroll-margin-top: 78px; }
.light { background: var(--paper); color: var(--ink); }

/* Faixa inclinada, como "CARTÃO DE DESCONTOS" no logo */
.ribbon {
  display: inline-block; justify-self: start;
  background: var(--red); color: var(--white);
  padding: 6px 16px 7px;
  transform: rotate(-2.5deg) skewX(-10deg);
  box-shadow: 0 6px 0 -2px var(--red-deep);
}
.ribbon > span {
  display: block; transform: skewX(10deg);
  font: italic 900 var(--s-xs)/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
}

.h2 { font-family: var(--f-display); font-size: var(--s-xl); line-height: 1.02; text-transform: uppercase; letter-spacing: .005em; }
.h2 em { font-style: normal; color: var(--red); }
.lead { color: var(--muted); max-width: 58ch; }
.section-head { display: grid; gap: 18px; max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 2px solid transparent;
  font: 800 var(--s-sm)/1 var(--f-body); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, opacity .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-black { background: var(--ink); color: var(--white); }
.btn-black:hover { background: #000; }
.btn-green { background: #25d366; color: #fff; }
.btn-green:hover { background: #1fb457; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* Campos de formulário (fundo claro) */
.input { display: grid; gap: 6px; min-width: 0; }
.input label, .input .label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.input label i, .input .label i { font-style: normal; color: var(--red); }
.input input, .input select, .input textarea {
  width: 100%; border: 2px solid var(--line); background: var(--paper); border-radius: 10px;
  font: 500 var(--s-md) var(--f-body); color: var(--ink); padding: 11px 14px;
  transition: border-color .2s, background .2s;
}
.input textarea { resize: vertical; min-height: 96px; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--red); background: var(--white); }
.input .hint { font-size: var(--s-xs); color: var(--muted); }
.input.is-invalid input, .input.is-invalid select, .input.is-invalid textarea, .input.is-invalid .drop { border-color: var(--red); }
