/* =========================================================
   BASE.CSS — Reset, typography, global elements
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--le-font-body);
  font-size: var(--le-fs-body);
  line-height: 1.6;
  color: var(--le-text);
  background: var(--le-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--le-font-display);
  font-weight: 600;
  color: var(--le-ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---- Focus states (accessibility floor) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--le-rust);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */

.le-container {
  max-width: var(--le-max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.le-container--narrow {
  max-width: var(--le-max-width-narrow);
}

.le-section {
  padding-block: var(--le-space-2xl);
  position: relative;
}

@media (max-width: 640px) {
  .le-section { padding-block: var(--le-space-xl); }
}

.le-section--ink {
  background: var(--le-ink);
  color: var(--le-text-on-ink);
}
.le-section--ink h1, .le-section--ink h2, .le-section--ink h3, .le-section--ink h4 {
  color: var(--le-text-on-ink);
}

.le-section--deep {
  background: var(--le-paper-deep);
}

.le-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--le-font-mono);
  font-size: var(--le-fs-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--le-rust);
  font-weight: 600;
  margin-bottom: var(--le-space-sm);
}

.le-eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--le-rust);
  display: inline-block;
}

.le-section--ink .le-eyebrow { color: var(--le-brass); }
.le-section--ink .le-eyebrow::before { background: var(--le-brass); }

.le-section-head {
  max-width: 640px;
  margin-bottom: var(--le-space-xl);
}

.le-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.le-lede {
  font-size: var(--le-fs-body-lg);
  color: var(--le-text-muted);
  margin-top: var(--le-space-sm);
  max-width: 56ch;
}
.le-section--ink .le-lede { color: var(--le-text-on-ink-muted); }

/* =========================================================
   BUTTONS
   ========================================================= */

.le-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--le-font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95em 1.7em;
  border-radius: var(--le-radius-sm);
  white-space: nowrap;
  transition: transform var(--le-speed-fast) var(--le-ease),
              background var(--le-speed-fast) var(--le-ease),
              box-shadow var(--le-speed-fast) var(--le-ease),
              border-color var(--le-speed-fast) var(--le-ease);
  border: 1.5px solid transparent;
  line-height: 1.2;
}

.le-btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.le-btn--primary {
  background: var(--le-rust);
  color: var(--le-white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--le-shadow-sm);
}
.le-btn--primary:hover {
  background: var(--le-rust-dark);
  transform: translateY(-2px);
  box-shadow: var(--le-shadow-md);
}
.le-btn--primary:active { transform: translateY(0); }

.le-btn--ink {
  background: var(--le-ink);
  color: var(--le-paper);
}
.le-btn--ink:hover {
  background: var(--le-ink-soft);
  transform: translateY(-2px);
  box-shadow: var(--le-shadow-md);
}

.le-btn--outline {
  background: transparent;
  border-color: var(--le-ink);
  color: var(--le-ink);
}
.le-btn--outline:hover {
  background: var(--le-ink);
  color: var(--le-paper);
  transform: translateY(-2px);
}

.le-section--ink .le-btn--outline {
  border-color: var(--le-text-on-ink-muted);
  color: var(--le-text-on-ink);
}
.le-section--ink .le-btn--outline:hover {
  background: var(--le-paper);
  color: var(--le-ink);
  border-color: var(--le-paper);
}

.le-btn--whatsapp {
  background: #25D366;
  color: #08361A;
}
.le-btn--whatsapp:hover {
  background: #1FBE5C;
  transform: translateY(-2px);
  box-shadow: var(--le-shadow-md);
}

.le-btn--lg {
  padding: 1.15em 2.1em;
  font-size: 1.05rem;
}

.le-btn--sm {
  padding: 0.65em 1.2em;
  font-size: 0.875rem;
}

.le-btn--block { width: 100%; }

.le-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--le-space-sm);
  align-items: center;
}

.le-btn--ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--le-ink);
  border-bottom: 1.5px solid var(--le-line);
  padding-bottom: 2px;
  transition: border-color var(--le-speed-fast) var(--le-ease), color var(--le-speed-fast) var(--le-ease);
}
.le-btn--ghost-link:hover { border-color: var(--le-rust); color: var(--le-rust); }
