/* ============================================================
   AQUÁRIO37 — Design System
   ============================================================
   ARCHITECTURE RULES (read ARCHITECTURE.md before editing):
   - All colors MUST use CSS variables defined in :root
   - All font families must stay within the approved font stack
   - Do NOT add inline styles to HTML; always extend this file
   - Spacing uses the 8px base grid (--space-1 = 8px)
   - Mobile-first: base styles are for mobile, use min-width media queries
   ============================================================ */



/* ── Akzentica (self-hosted — place font files in /assets/fonts/) ── */
/* When font file is provided, uncomment:
@font-face {
  font-family: 'Akzentica';
  src: url('../assets/fonts/Akzentica.woff2') format('woff2'),
       url('../assets/fonts/Akzentica.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*/

/* ── CSS Custom Properties (Design Tokens) ───────────────── */
:root {
  /* Colors — Primary Palette */
  --color-bg-warm: #e6e2dd;
  /* main warm bg */
  --color-bg-light: #fafafa;
  /* light section bg */
  --color-bg-dark: #1a1a1a;
  /* dark sections */
  --color-text-dark: #303030;
  /* primary text */
  --color-text-medium: #6b6b6b;
  /* secondary text */
  --color-text-light: #b0a99f;
  /* subtle text */
  --color-white: #ffffff;
  --color-black: #0d0d0d;

  /* Colors — Accent */
  --color-gold: #c8a96e;
  /* premium gold accent */
  --color-gold-light: #e8d5b0;
  /* lighter gold */
  --color-gold-dark: #a0813e;
  /* darker gold */

  /* Typography */
  --font-display: 'Akzentica', 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;

  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-md: 1.125rem;
  /* 18px */
  --text-lg: 1.25rem;
  /* 20px */
  --text-xl: 1.5rem;
  /* 24px */
  --text-2xl: 2rem;
  /* 32px */
  --text-3xl: 2.5rem;
  /* 40px */
  --text-4xl: 3.5rem;
  /* 56px */
  --text-5xl: 4.5rem;
  /* 72px */
  --text-hero: clamp(3rem, 7vw, 5.5rem);

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-loose: 1.8;

  /* Spacing (8px grid) */
  --space-1: 0.5rem;
  /* 8px */
  --space-2: 1rem;
  /* 16px */
  --space-3: 1.5rem;
  /* 24px */
  --space-4: 2rem;
  /* 32px */
  --space-5: 2.5rem;
  /* 40px */
  --space-6: 3rem;
  /* 48px */
  --space-8: 4rem;
  /* 64px */
  --space-10: 5rem;
  /* 80px */
  --space-12: 6rem;
  /* 96px */
  --space-16: 8rem;
  /* 128px */
  --space-20: 10rem;
  /* 160px */

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-h: 80px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(48, 48, 48, 0.06);
  --shadow-md: 0 4px 24px rgba(48, 48, 48, 0.10);
  --shadow-lg: 0 12px 48px rgba(48, 48, 48, 0.14);
  --shadow-gold: 0 4px 32px rgba(200, 169, 110, 0.25);

  /* Transitions */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
}

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-dark);
  background-color: var(--color-bg-warm);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ── Typography ─────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  color: var(--color-text-dark);
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
}

h3 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
}

h4 {
  font-size: var(--text-lg);
}

p {
  line-height: var(--leading-loose);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.text-gold {
  color: var(--color-gold);
}

.text-medium {
  color: var(--color-text-medium);
}

.text-light {
  color: var(--color-text-light);
}

.text-white {
  color: var(--color-white);
}

.text-center {
  text-align: center;
}

.italic {
  font-style: italic;
}

/* ── Layout Utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

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

.section {
  padding: var(--space-16) 0;
}

.section--sm {
  padding: var(--space-10) 0;
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--warm {
  background-color: var(--color-bg-warm);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

/* ── Spacing Utilities ────────────────────────────────── */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: all var(--duration-normal) var(--ease-default);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-text-dark);
  color: var(--color-white);
  border: 2px solid var(--color-text-dark);
}

.btn--primary:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-text-dark);
}

.btn--outline:hover {
  background: var(--color-text-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn--lg {
  padding: 1.25rem 2.5rem;
  font-size: var(--text-md);
}

.btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--color-white);
  border: 2px solid #25D366;
  gap: 0.5rem;
}

.btn--whatsapp:hover {
  background: #1dab52;
  border-color: #1dab52;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
}

/* ── Divider & Decorative ───────────────────────────────── */
.divider {
  width: 64px;
  height: 2px;
  background: var(--color-gold);
  margin: var(--space-3) 0;
}

.divider--center {
  margin: var(--space-3) auto;
}

/* ── Scroll Reveal Utility ───────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-default),
    transform var(--duration-slow) var(--ease-default);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="100"] {
  transition-delay: 100ms;
}

[data-reveal-delay="200"] {
  transition-delay: 200ms;
}

[data-reveal-delay="300"] {
  transition-delay: 300ms;
}

[data-reveal-delay="400"] {
  transition-delay: 400ms;
}

[data-reveal-delay="500"] {
  transition-delay: 500ms;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid;
}

.badge--gold {
  background: rgba(200, 169, 110, 0.12);
  color: var(--color-gold-dark);
  border-color: rgba(200, 169, 110, 0.3);
}

.badge--dark {
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}