@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ===================================================================
   GLOBAL CSS — JOAQUIM OLIVEIRA NETO ADVOCACIA
   Color System: PRISMA · relatorio-fase-02-joaquim-soares
   Tokens · Reset · Layout · Componentes · Animações · Responsive
=================================================================== */

/* ─── 1. CSS TOKENS — PRISMA Color System ─── */
:root {
  /* ── Paleta de Fundo: Carvão ── */
  /* Carvão Noturno   */ --color-dark-900:   #0F0F0E;
  /* Carvão Profundo  */ --color-dark-800:   #1C1C1A;
  /* Carvão Elevado   */ --color-dark-700:   #242420;
  /* Borda            */ --color-dark-600:   #2A2A28;
  /* Superfície extra */ --color-dark-500:   #323230;

  /* ── Paleta de Destaque: Terracota Queimada ── */
  /* Terracota Light    */ --color-gold-300:   #D4845C;
  /* Terracota Média    */ --color-gold-400:   #C86F48;
  /* Terracota Queimada */ --color-gold-500:   #B85C38;
  /* Terracota Velada   */ --color-gold-600:   #8A4228;
  /* Terracota Deep     */ --color-gold-700:   #6B3120;

  /* ── Paleta de Texto: Prata ── */
  /* Prata Quente  */ --color-cream-200:  #C8C4BE;
  /* Prata Média   */ --color-cream-300:  #A0A09C;

  /* Semânticos */
  --bg-primary:       #1C1C1A;
  --bg-secondary:     #242420;
  --bg-surface:       #242420;
  --bg-elevated:      #2A2A28;
  --bg-overlay:       rgba(15, 15, 14, 0.97);
  --bg-glass:         rgba(28, 28, 26, 0.75);

  --text-primary:     #C8C4BE;
  --text-secondary:   #A0A09C;
  --text-muted:       #787874;
  --text-accent:      #B85C38;

  --border-default:   #2A2A28;
  --border-accent:    #B85C38;
  --border-light:     rgba(200, 196, 190, 0.08);
  --border-gold-glow: rgba(184, 92, 56, 0.35);

  --accent:           #B85C38;
  --accent-hover:     #8A4228;
  --accent-soft:      rgba(184, 92, 56, 0.12);
  --accent-glow-sm:   0 0 10px rgba(184, 92, 56, 0.25);
  --accent-glow-md:   0 0 20px rgba(184, 92, 56, 0.35);
  --accent-glow-lg:   0 0 40px rgba(184, 92, 56, 0.45);

  --font-display:     'Montserrat', sans-serif;
  --font-body:        'Lato', sans-serif;
  --font-serif:       'Playfair Display', serif;

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   4.5rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm:    2px;
  --radius-base:  4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --radius-full:  9999px;

  --z-base:    0;
  --z-raised:  10;
  --z-sticky:  200;
  --z-modal:   300;
  --z-top:     500;

  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.3);
  --shadow-base: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg:   0 20px 50px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 15px rgba(205,133,63,0.3), 0 4px 12px rgba(0,0,0,0.4);
}

/* ─── 2. RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: var(--z-top);
  opacity: 0.4;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  padding-block: 0.08em; /* Regra Antidecapitação */
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── 3. LAYOUT ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.section    { padding: var(--space-24) 0; position: relative; overflow: hidden; }
.section-sm { padding: var(--space-16) 0; position: relative; }

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

/* ─── 4. TYPOGRAPHY ─── */
.t-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  padding-block: 0.08em;
}
.t-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,3.75rem); }
.t-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem,3vw,2.5rem); }
.t-h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); }
.t-body { font-family: var(--font-body); font-size: var(--text-base); line-height: 1.8; }
.t-caption { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-secondary); }
.t-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-accent);
}
.t-serif { font-family: var(--font-serif); font-style: italic; }

.text-gradient {
  background: linear-gradient(135deg, var(--color-gold-300), var(--color-gold-500), var(--color-gold-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow { text-shadow: 0 0 20px rgba(205,133,63,0.4); }

/* Ghost / Stroke text */
.hero-ghost-title {
  font-family: var(--font-display);
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(205,133,63,0.15);
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
  padding-block: 0.08em;
}

/* ─── 5. SECTION HEADER ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.section-header { text-align: center; margin-bottom: var(--space-16); }
.section-header h2 { margin-bottom: var(--space-4); }
.divider-gold {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: var(--space-4) auto;
  box-shadow: 0 0 8px rgba(205,133,63,0.4);
}
.section-header p {
  max-width: 600px;
  margin: var(--space-4) auto 0;
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

/* ─── 6. NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  transition: background var(--dur-base) var(--ease-default),
              padding var(--dur-base) var(--ease-default),
              box-shadow var(--dur-base) var(--ease-default);
  padding: var(--space-5) 0;
}

.navbar.scrolled {
  background: rgba(44, 36, 22, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-default);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.navbar-logo {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  box-shadow: var(--accent-glow-sm);
  transition: transform var(--dur-base) var(--ease-bounce),
              box-shadow var(--dur-base);
  overflow: hidden;
  flex-shrink: 0;
}

.navbar-logo:hover { transform: scale(1.08); box-shadow: var(--accent-glow-md); }
.navbar-logo img { width: 100%; height: 100%; object-fit: cover; }

.navbar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.2;
  transition: color var(--dur-base);
}
.navbar-brand:hover .navbar-name { color: var(--accent); }
.navbar-oab {
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--dur-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(205,133,63,0.8);
  transition: width var(--dur-base) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-left: var(--space-6);
  border-left: 1px solid var(--border-default);
}

.nav-icon-link {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: color var(--dur-base), background var(--dur-base);
  border: 1px solid transparent;
}
.nav-icon-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--border-gold-glow);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--dur-base), opacity var(--dur-base);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border-default);
  background: var(--bg-overlay);
  backdrop-filter: blur(16px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--text-primary);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--dur-base), background var(--dur-base);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

/* ─── 7. BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-default);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--color-cream-200);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(205,133,63,0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 30px rgba(205,133,63,0.5), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-soft);
  box-shadow: 0 0 15px rgba(205,133,63,0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 0 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  box-shadow: 0 0 25px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 40px; font-size: var(--text-base); }
.btn-sm { padding: 10px 20px; font-size: var(--text-xs); }

/* ─── 8. BADGE ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--accent-glow-sm);
}

.badge-pulse::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ─── 9. CARDS ─── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent);
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-6);
  box-shadow: var(--accent-glow-sm);
  transition: background var(--dur-base), transform var(--dur-base);
}
.card:hover .card-icon {
  background: var(--accent);
  color: var(--color-cream-200);
  transform: scale(1.1);
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  transition: color var(--dur-base);
}
.card:hover h3 { color: var(--accent); }
.card p { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; }

/* Highlight card (featured) */
.card-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

/* ─── 10. STAT ITEMS ─── */
.stat-item {
  text-align: center;
  padding: var(--space-6);
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-4xl);
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 20px rgba(205,133,63,0.4);
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-2);
  letter-spacing: 0.05em;
}

/* ─── 11. FORM ─── */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.input-premium,
.textarea-premium,
.select-premium {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.input-premium::placeholder,
.textarea-premium::placeholder { color: var(--text-muted); }
.input-premium:focus,
.textarea-premium:focus,
.select-premium:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(205,133,63,0.15);
}
.textarea-premium { resize: vertical; min-height: 120px; }
.select-premium {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23CD853F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 44px;
  cursor: pointer;
}
.select-premium option { background: var(--bg-surface); color: var(--text-primary); }

/* ─── 12. TIMELINE ─── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-primary);
  box-shadow: 0 0 10px rgba(205,133,63,0.5);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  padding-block: 0.08em;
}
.timeline-desc { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; }

/* ─── 13. SERVICE LIST ─── */
.service-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.service-list li::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23CD853F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 2px;
}

/* ─── 14. PAGE HERO ─── */
.page-hero {
  padding-top: calc(80px + var(--space-16));
  padding-bottom: var(--space-16);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-default);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: var(--text-lg); }

/* ─── 15. CONTACT INFO ─── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  border: 1px solid var(--border-gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: var(--accent-glow-sm);
}
.contact-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.contact-value { color: var(--text-secondary); font-size: var(--text-sm); }
.contact-value a { color: var(--accent); transition: opacity var(--dur-fast); }
.contact-value a:hover { opacity: 0.8; }

/* ─── 16. BLOG CARDS ─── */
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-elevated);
  transition: opacity var(--dur-base);
}
.blog-card:hover .blog-card-img { opacity: 0.9; }
.blog-card-body { padding: var(--space-6); }
.blog-card-category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.blog-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  padding-block: 0.08em;
  line-height: 1.3;
  transition: color var(--dur-base);
}
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-excerpt { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--space-4); }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-4);
}

/* ─── 17. CTA SECTION ─── */
.cta-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(205,133,63,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-buttons { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; margin-top: var(--space-8); }

/* ─── 18. FOOTER ─── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  padding-block: 0.08em;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--dur-base);
}
.footer-links a:hover { color: var(--accent); }
.footer-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space-6); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-logo {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  box-shadow: var(--accent-glow-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }

.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  transition: color var(--dur-base), border-color var(--dur-base), background var(--dur-base);
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-contact-item a { color: var(--text-secondary); transition: color var(--dur-base); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-legal {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}
.footer-copy { font-size: var(--text-xs); color: var(--text-muted); }

/* ─── 19. SCROLL REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ─── 20. KEYFRAMES ─── */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(205,133,63,0.3); }
  50% { box-shadow: 0 0 30px rgba(205,133,63,0.6); }
}

@keyframes particle-float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-glow  { animation: glow-pulse 3s ease-in-out infinite; }

/* ─── 21. TABS ─── */
.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-default);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--dur-base), border-color var(--dur-base);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── 22. PARTICLES ─── */
.particles-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particle-float var(--duration, 8s) var(--delay, 0s) infinite ease-in-out;
}

/* ─── 23. BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--color-cream-200);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: opacity var(--dur-base), transform var(--dur-base);
  border: none;
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-sticky);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 0 25px rgba(205,133,63,0.6); }

/* ─── 24. DIVIDERS & ACCENTS ─── */
.border-gold { border-color: var(--accent) !important; }
.bg-grid-subtle {
  background-image:
    linear-gradient(rgba(74,63,50,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,63,50,0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-dots {
  background-image: radial-gradient(circle, rgba(205,133,63,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ─── 25. RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-16: 3rem;
  }

  .container { padding: 0 var(--space-4); }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-4); }

  .cta-buttons { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 360px; }

  .tabs-nav { justify-content: flex-start; }
  .tab-btn { padding: var(--space-3) var(--space-4); font-size: var(--text-xs); }
}

@media (max-width: 480px) {
  .t-display { font-size: clamp(2rem, 9vw, 2.5rem); }
  .hero-ghost-title { font-size: clamp(3rem, 18vw, 6rem); }
  .back-to-top { bottom: var(--space-4); right: var(--space-4); }
}
