@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  /* Background */
  --bg-light: #faf5e5;
  --bg-dark: #2a2a29;
  --bg-card-light: #f0ebd8;
  --bg-card-dark: #363634;
  --bg-border: #e0d9c8;
  --bg-border-dark: #3d3d3b;

  /* Text */
  --text-dark: #2a2a29;
  --text-light: #f0ebd8;
  --text-muted-dark: #6b6b68;
  --text-muted-light: #bfbfba;

  /* Accent */
  --gold: #dca54a;
  --gold-hover: #c8943e;
  --gold-soft: #a8883a;
  --gold-bg: rgba(220, 165, 74, 0.1);

  /* Action */
  --whatsapp: #25d366;
  --whatsapp-hover: #1da851;

  /* Gradients */
  --hero-overlay: linear-gradient(
    to bottom,
    rgba(42, 42, 41, 0.65) 0%,
    rgba(42, 42, 41, 0.85) 100%
  );
  --section-transition: linear-gradient(
    to bottom,
    var(--bg-dark) 0%,
    var(--bg-light) 100%
  );

  /* Typography */
  --font-titulo: "Sora", sans-serif;
  --font-corpo: "Manrope", sans-serif;

  /* Layout */
  --section-py: 80px;
  --section-py-mob: 48px;
  --container-max: 1200px;
  --container-px: 40px;
  --container-px-mob: 20px;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-img: 8px;
  --gap-grid: 24px;
  --header-h: 72px;
}

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-corpo);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

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

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

/* Typography hierarchy */
h1 {
  font-family: var(--font-titulo);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

h2 {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

h3 {
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
}

p {
  font-family: var(--font-corpo);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 60ch;
}

.stat-number {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -1px;
  color: var(--gold);
}

.btn,
.nav-link {
  font-family: var(--font-corpo);
  font-weight: 600;
}

/* Utility classes */
.container {
  width: min(100% - (var(--container-px-mob) * 2), var(--container-max));
  margin-inline: auto;
}

.section-py {
  padding-block: var(--section-py-mob);
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - (var(--container-px) * 2), var(--container-max));
  }

  .section-py {
    padding-block: var(--section-py);
  }
}
