/* ============================================================
   MULTI MARKET — Design System
   Construído a partir do site atual (redemultimarket.com.br)
   Direção: modernizar mantendo a energia. Vermelho / Amarelo / Branco.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Figtree:wght@400;500;600;700;800&display=swap');

:root {
  /* ---- Brand palette ---- */
  --red:         #E30613;   /* primary brand red */
  --red-bright:  #FF3D3D;   /* lively header red */
  --red-dark:    #B00410;   /* deep red / footer */
  --red-ink:     #7A0009;   /* darkest red for gradients */

  --yellow:      #FFD100;   /* primary yellow */
  --yellow-deep: #F5B500;   /* yellow shadow / hover */
  --yellow-soft: #FFE873;   /* tint */

  --orange:      #F7941E;   /* accent (sub-nav heritage) */

  /* ---- Neutrals ---- */
  --ink:    #1B1614;        /* near-black text */
  --ink-2:  #4A4441;        /* secondary text */
  --ink-3:  #877F7A;        /* muted text */
  --line:   #ECE8E4;        /* hairline */
  --paper:  #FFFFFF;
  --cloud:  #F6F4F1;        /* warm off-white section bg */
  --cloud-2:#EFEBE6;

  /* ---- Semantic ---- */
  --bg:        var(--paper);
  --primary:   var(--red);
  --accent:    var(--yellow);

  /* ---- Type ---- */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  /* ---- Radius ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* ---- Shadow ---- */
  --sh-sm: 0 2px 8px rgba(27,22,20,.06);
  --sh-md: 0 8px 28px rgba(27,22,20,.10);
  --sh-lg: 0 18px 50px rgba(27,22,20,.16);
  --sh-red: 0 12px 30px rgba(227,6,19,.30);

  /* ---- Layout ---- */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 28px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; box-shadow: var(--sh-red); }
.btn--yellow  { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 26px rgba(245,181,0,.35); }
.btn--ink     { background: var(--ink); color: #fff; }
.btn--ghost   { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); filter: none; }
.btn--white   { background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn--lg { padding: 18px 36px; font-size: 17px; }
.btn--sm { padding: 11px 20px; font-size: 13px; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .25s ease;
}

/* Section spacing */
.section { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: 110px; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); scroll-margin-top: 110px; }

.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
}
.section-sub { color: var(--ink-2); font-size: clamp(16px,1.6vw,19px); max-width: 56ch; line-height: 1.5; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--yellow); color: var(--ink);
}

/* Utility */
.u-yellow { color: var(--yellow-deep); }
.u-red { color: var(--red); }

/* image-slot defaults */
image-slot {
  --is-bg: #efe9e2;
  background: var(--cloud);
}
