/* ============================================================
   BASE — RTR v2 Google-style
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t);
}

a:hover {
  color: var(--gold-deep);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text);
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-semibold); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-semibold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); }

p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: var(--lh-base);
}

strong {
  color: var(--text);
  font-weight: var(--fw-semibold);
}

::selection {
  background: var(--gold-soft-bg);
  color: var(--text);
}

/* Scrollbar discreta */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--divider); border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--text   { max-width: var(--container-text); }

/* Section base — generoso por padrão */
.section {
  padding: var(--sp-11) 0;
  position: relative;
}
.section--tight { padding: var(--sp-9) 0; }
.section--xl    { padding: var(--sp-12) 0; }

/* Helpers */
.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-medium);
  color: var(--gold-deep);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  display: inline-block;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  line-height: var(--lh-base);
  max-width: 60ch;
  font-weight: var(--fw-regular);
}

.gold       { color: var(--gold-deep); }
.muted      { color: var(--text-muted); }
.dim        { color: var(--text-dim); }
.text-center { text-align: center; }

.spacer-sm { height: var(--sp-5); }
.spacer    { height: var(--sp-7); }
.spacer-lg { height: var(--sp-10); }
