/* ========================================================================
   Maju Vendas Online — Design System (tokens)
   ======================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  /* Base ramp — brand teal */
  --teal-900: #0B302C;
  --teal-800: #10403B;
  --teal-700: #14514B;
  --teal-300: #7FB69B;
  --teal-50:  #E9F1EE;
  --teal-100: #D8E6E1;

  /* Base ramp — action amber */
  --amber-700: #C4741F;
  --amber-600: #D9832F;
  --amber-500: #E8944A;
  --amber-50:  #FDF0E3;
  --amber-ink: #A65B14;

  /* Warm neutrals */
  --ink-900: #16211F;
  --ink-700: #3A423F;
  --ink-500: #5C6360;
  --ink-400: #8B8478;
  --ink-300: #A9A296;
  --sand-300: #CFC7B9;
  --sand-250: #DDD4C6;
  --sand-200: #E5DCCE;
  --sand-150: #EDE6DC;
  --sand-100: #F6F1E9;
  --sand-50:  #FBF8F4;
  --white:    #FFFFFF;

  /* Semantic status */
  --red-600:  #A8382A;
  --red-50:   #FBE9E6;

  /* Aliases */
  --brand:        var(--teal-800);
  --brand-hover:  var(--teal-700);
  --brand-active: var(--teal-900);
  --brand-50:     var(--teal-50);
  --action:        var(--amber-500);
  --action-hover:  var(--amber-600);
  --action-active: var(--amber-700);
  --action-50:     var(--amber-50);
  --support:       var(--teal-300);
  --danger:  var(--red-600);
  --danger-bg: var(--red-50);
  --warning: var(--amber-ink);
  --warning-bg: var(--amber-50);

  /* Typography */
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --size-display: 3.25rem;
  --leading-display: 1.02;
  --tracking-display: -0.03em;

  --size-h2: 2.5rem;
  --leading-h2: 1.1;
  --tracking-h2: -0.025em;

  --size-h3: 1.5rem;
  --leading-h3: 1.25;
  --tracking-h3: -0.01em;

  --size-body: 1.1875rem;
  --leading-body: 1.65;

  --size-ui: 1.0625rem;
  --size-small: 0.9375rem;
  --leading-small: 1.5;

  --size-eyebrow: 0.8125rem;
  --tracking-eyebrow: 0.1em;
  --tracking-wordmark: 0.3em;

  --measure-prose: 68ch;

  /* Spacing — base 8 */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 72px;
  --space-6: 88px;

  --container: 1200px;
  --gutter: 24px;
  --gutter-mobile: 16px;

  /* Effects */
  --radius-chip: 8px;
  --radius-input: 12px;
  --radius-card: 16px;
  --radius-card-lg: 20px;
  --radius-pill: 999px;

  --border-color-base: var(--sand-150);
  --shadow-card: 0 1px 2px rgba(22, 33, 31, 0.04), 0 8px 24px rgba(22, 33, 31, 0.06);
  --shadow-float: 0 30px 70px rgba(22, 33, 31, 0.18);
  --focus-ring: 0 0 0 4px var(--brand-50);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 150ms;
  --transition: all var(--duration) var(--ease);

  /* Semantic */
  --bg: var(--sand-50);
  --surface: var(--sand-100);
  --surface-card: var(--white);
  --surface-inverse: var(--brand);
  --border-color: var(--sand-150);

  --text-body: var(--ink-700);
  --text-heading: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-subtle: var(--ink-400);
  --text-on-brand: var(--sand-50);
  --text-on-brand-muted: #C9DAD6;
  --text-on-brand-subtle: #9DBDB7;
  --text-eyebrow: var(--brand);
  --text-link: var(--brand);
  --text-link-hover: #C97A2E;
}

/* ========================================================================
   Base
   ======================================================================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
  margin: 0;
}

p { margin: 0; }

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); text-decoration: underline; }

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

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-eyebrow);
}

/* ========================================================================
   Layout helpers
   ======================================================================== */
.wrap-wide { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap { max-width: 720px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-legal { max-width: 760px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ========================================================================
   Logo
   ======================================================================== */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: inherit; }
.logo-mark {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sand-50);
  font-size: 19px;
  line-height: 1;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: -2px; bottom: -2px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--action);
  border: 2px solid var(--bg);
}
.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}
.logo-word .dot { color: var(--action); }
.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--tracking-wordmark);
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-top: 1px;
}

.logo-mark.negative { background: var(--sand-50); }
.logo-mark.negative span { color: var(--brand); }
.logo-mark.negative::after { border-color: var(--brand); }

/* ========================================================================
   Header / Footer
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-color);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 40px;
  background: var(--surface-inverse);
  flex-wrap: wrap;
}
.site-footer .footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer .footer-brand span { font-size: 15px; color: var(--text-on-brand-muted); }
.site-footer nav { display: flex; gap: 22px; font-size: 15px; flex-wrap: wrap; }
.site-footer nav a { color: var(--text-on-brand-subtle); }
.site-footer nav a:hover { color: var(--text-on-brand); text-decoration: none; }

/* ========================================================================
   Button
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-ui);
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-lg { height: 56px; padding: 0 32px; font-size: 18px; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 15px; }
.btn-md { height: 48px; padding: 0 24px; }

.btn-action { background: var(--action); color: var(--ink-900); }
.btn-action:hover { background: var(--action-hover); color: var(--ink-900); text-decoration: none; transform: translateY(-1px); }
.btn-action:active { background: var(--action-active); transform: translateY(1px); }

.btn-outline { background: transparent; color: var(--text-heading); border: 1px solid var(--sand-300); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-50); color: var(--text-heading); text-decoration: none; }

/* ========================================================================
   Chip
   ======================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-chip);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  background: var(--surface-card);
}
.chip-verified { border-color: var(--teal-100); background: var(--teal-50); }
.chip-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--support); flex: none; }

/* ========================================================================
   Affiliate disclosure
   ======================================================================== */
.affiliate-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border-color);
}
.affiliate-disclosure .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--support); flex: none; margin-top: 8px; }
.affiliate-disclosure p { font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.affiliate-disclosure a { color: var(--text-muted); text-decoration: underline; }

/* ========================================================================
   Sections shared with legal pages
   ======================================================================== */
.legal-hero { background: var(--surface); border-bottom: 1px solid var(--border-color); padding: 60px 0; }
.legal-hero h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.03em; margin-top: 10px; }
.legal-hero p { margin-top: 16px; font-size: 19px; line-height: 1.65; color: var(--text-muted); }

.legal-main { padding: 60px 0 72px; display: flex; flex-direction: column; gap: 40px; }
.legal-block { display: flex; flex-direction: column; gap: 14px; }
.legal-block h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.025em; }
.legal-block p { font-size: 19px; line-height: 1.65; }

.legal-list { display: flex; flex-direction: column; gap: 12px; }
.legal-list .item { display: flex; gap: 12px; align-items: flex-start; }
.legal-list .item .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--support); flex: none; margin-top: 10px; }
.legal-list .item p { font-size: 19px; line-height: 1.6; margin: 0; }

.legal-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-card h2 { font-size: 22px; letter-spacing: -0.02em; }
.legal-card p { font-size: 19px; line-height: 1.65; }

.pull-quote { border-left: 3px solid var(--action); padding: 4px 0 4px 20px; }
.pull-quote p { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; color: var(--text-heading); margin: 0; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .two-col { grid-template-columns: 1fr !important; }
  .prof-grid { grid-template-columns: repeat(2, 1fr) !important; }
  h1 { font-size: 38px !important; }
  .legal-hero h1 { font-size: 34px !important; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 20px; }
  .site-footer { padding: 26px 24px; flex-direction: column; align-items: flex-start; }
  .prof-grid { grid-template-columns: 1fr !important; }
  h1 { font-size: 32px !important; }
}
