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

:root {
  --gold: #C8A960;
  --gold-hover: #D4B96E;
  --gold-glow: rgba(200, 169, 96, 0.25);

  /* Dark theme (default) */
  --bg: #0A0A0A;
  --bg-nav: rgba(10, 10, 10, 0.85);
  --text: #F0EDE6;
  --text-muted: #8A8780;
  --border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
}

html.light {
  --bg: #FAFAF8;
  --bg-nav: rgba(250, 250, 248, 0.85);
  --text: #1A1A18;
  --text-muted: #6B6B68;
  --border: rgba(0, 0, 0, 0.08);
  --card-bg: rgba(0, 0, 0, 0.02);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
  background-color: var(--bg-nav);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.nav-brand img {
  height: 32px;
  width: auto;
  mix-blend-mode: multiply;
  transition: filter 0.5s ease;
}

html:not(.light) .nav-brand img {
  filter: invert(1);
  mix-blend-mode: screen;
}

.nav-brand span {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.nav-btn:hover {
  color: var(--text);
  border-color: var(--gold);
}

.nav-btn.active {
  color: var(--gold);
  border-color: var(--gold);
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.lang-separator {
  color: var(--border);
  font-size: 0.8rem;
  user-select: none;
}

/* ========== HERO (homepage) ========== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 96, 0.3) 0%, rgba(200, 169, 96, 0.08) 40%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

html.light .hero-orb {
  background: radial-gradient(circle, rgba(200, 169, 96, 0.2) 0%, rgba(200, 169, 96, 0.05) 40%, transparent 70%);
}

.hero > *:not(.hero-orb) {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: clamp(140px, 20vw, 220px);
  height: auto;
  margin-bottom: 2rem;
  mix-blend-mode: multiply;
  transition: filter 0.5s ease;
  animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

html:not(.light) .hero-logo {
  filter: invert(1);
  mix-blend-mode: screen;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease-out 0.8s both;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 580px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease-out 1.1s both;
}

.hero-tagline .gold {
  color: var(--gold);
  font-weight: 500;
}

.hero-cta {
  animation: fadeUp 0.8s ease-out 1.4s both;
}

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.page-hero + section {
  padding-top: 3rem;
}

.page-hero .hero-orb {
  width: 500px;
  height: 500px;
}

.page-hero > *:not(.hero-orb) {
  position: relative;
  z-index: 1;
}

.page-hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  max-width: 800px;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.page-hero h1 .gold {
  color: var(--gold);
}

.page-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp 0.8s ease-out 0.6s both;
}

/* ========== CTA BUTTON ========== */
.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: #0A0A0A;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--gold-glow);
  background: var(--gold-hover);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn.cta-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.cta-btn.cta-ghost:hover {
  background: var(--gold);
  color: #0A0A0A;
}

/* ========== SECTIONS ========== */
section {
  padding: 8rem 2rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.container.wide {
  max-width: 1100px;
}

/* ========== PHILOSOPHY SECTION ========== */
.philosophy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.philosophy-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
  font-weight: 500;
}

.philosophy-quote {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 800px;
  margin-bottom: 1rem;
  font-weight: 800;
}

.philosophy-quote .gold {
  color: var(--gold);
}

.philosophy-sub {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--text-muted);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  margin-bottom: 3rem;
}

.philosophy-text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

/* ========== APPROACH SECTION ========== */
.approach {
  text-align: center;
}

.approach-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.approach-headline .gold {
  color: var(--gold);
}

.approach-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 5rem;
  font-weight: 300;
  line-height: 1.8;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.approach-card {
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
  transition: all 0.4s ease;
}

.approach-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.approach-card .number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1;
}

.approach-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.approach-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  flex-shrink: 0;
}

/* ========== PORTFOLIO ========== */
.portfolio {
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 4rem auto 0;
  text-align: left;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  outline: none;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px var(--gold-glow);
}

.portfolio-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(200, 169, 96, 0.18), rgba(200, 169, 96, 0.04) 60%, transparent);
  overflow: hidden;
  position: relative;
}

.portfolio-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.25));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

html.light .portfolio-img::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.08));
}

.portfolio-card:hover .portfolio-img::after {
  opacity: 1;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.04);
}

.portfolio-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.portfolio-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.portfolio-card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.portfolio-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

.portfolio-quote {
  margin-top: 0.75rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: rgba(200, 169, 96, 0.06);
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  font-weight: 300;
}

.portfolio-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.portfolio-testimonial-img {
  margin-top: 0.85rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.portfolio-testimonial-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== CTA BLOCK (see more) ========== */
.cta-block {
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-block h2 .gold {
  color: var(--gold);
}

.cta-block p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ========== CONTACT SECTION ========== */
.contact {
  text-align: center;
}

.contact h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.contact h2 .gold {
  color: var(--gold);
}

.contact-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
}

.contact-link .wa-icon {
  fill: var(--gold);
  stroke: none;
}

.contact-link small {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.35rem;
  letter-spacing: 0.05em;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== LANGUAGE TOGGLE ========== */
html.fr .en { display: none; }
html.en .fr { display: none; }

/* ========== ANIMATIONS ========== */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33% { transform: translate(-45%, -55%) scale(1.05); }
  66% { transform: translate(-55%, -45%) scale(0.95); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; gap: 0.75rem; }
  nav.scrolled { padding: 0.75rem 1.25rem; }

  .nav-brand span { display: none; }
  .nav-links { gap: 1.25rem; }
  .nav-link { font-size: 0.78rem; }

  section { padding: 5rem 1.5rem; }

  .approach-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 600px) {
  .nav-links { gap: 0.85rem; }
  .nav-link { font-size: 0.72rem; letter-spacing: 0.02em; }
  .nav-btn { padding: 0.35rem 0.6rem; font-size: 0.75rem; }
  .theme-toggle { width: 32px; height: 32px; }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero { padding: 5rem 1.25rem 3rem; }
  .page-hero { padding: 7rem 1.25rem 3rem; min-height: 45vh; }
  .contact-link { font-size: 0.95rem; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeUp 0.8s ease-out 2s both;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ========== AUDIT TEASER (homepage) ========== */
.audit-teaser-card {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 24px;
  background: rgba(200, 169, 96, 0.05);
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}

.audit-teaser-card::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 96, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.audit-teaser-card::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 96, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.audit-teaser-card > * { position: relative; z-index: 1; }

.audit-teaser-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.audit-teaser-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.audit-teaser-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .audit-teaser-card { padding: 3rem 1.5rem; }
}

/* ========== AUDIT PAGE ========== */
.audit-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .audit-form {
    flex-direction: row;
  }
}

.audit-form input[type=url] {
  flex: 1;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
  min-width: 0;
}

.audit-form input[type=url]::placeholder {
  color: var(--text-muted);
}

.audit-form input[type=url]:focus {
  border-color: var(--gold);
  background: var(--bg);
}

.audit-submit { cursor: pointer; white-space: nowrap; }
.audit-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.audit-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.audit-loading {
  text-align: center;
  padding: 3rem 1rem;
}

.audit-spinner {
  width: 56px;
  height: 56px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: auditSpin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes auditSpin { to { transform: rotate(360deg); } }

#audit-status {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  min-height: 1.5em;
}

.audit-error {
  text-align: center;
  padding: 2rem 1rem;
}

.audit-error p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.audit-report {
  margin-top: 2rem;
  animation: fadeUp 0.6s ease-out both;
}

.audit-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.audit-target {
  font-size: 0.95rem;
  color: var(--text-muted);
  word-break: break-all;
}

.audit-target strong {
  color: var(--text);
  font-weight: 500;
}

.audit-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.audit-section-title {
  font-size: 1.15rem;
  margin: 2.5rem 0 1.25rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.audit-section-title:first-of-type { margin-top: 0; }

.audit-section-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.audit-strategy-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.audit-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 700px) {
  .audit-scores { grid-template-columns: repeat(2, 1fr); }
}

.score-card {
  text-align: center;
  padding: 1.5rem 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card-bg);
}

.score-ring-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 0.85rem;
}

.score-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 3;
}

.score-ring-fg {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.8s ease;
}

.score-good .score-ring-fg { stroke: #0CCE6B; }
.score-avg  .score-ring-fg { stroke: #FFA400; }
.score-poor .score-ring-fg { stroke: #FF4E42; }

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  line-height: 1;
}

.score-good .score-value { color: #0CCE6B; }
.score-avg  .score-value { color: #FFA400; }
.score-poor .score-value { color: #FF4E42; }
.score-na   .score-value { color: var(--text-muted); font-size: 1.4rem; }

.score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.audit-vitals h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.audit-vitals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 3rem;
}

@media (max-width: 600px) {
  .audit-vitals-grid { grid-template-columns: repeat(2, 1fr); }
}

.vital {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
}

.vital-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.vital-label {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.vital-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.audit-report > h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* ========== AUDIT SERVER TILES ========== */
.audit-server-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (max-width: 700px) {
  .audit-server-grid { grid-template-columns: repeat(2, 1fr); }
}

.server-tile {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
}

.server-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  line-height: 1.15;
  color: var(--gold);
  word-break: break-word;
}

.server-value.good { color: #0CCE6B; }
.server-value.avg  { color: #FFA400; }
.server-value.poor { color: #FF4E42; }

.server-label {
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.server-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ========== AUDIT SCHEMA CHIPS ========== */
.audit-schema-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.schema-chip {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold);
  background: rgba(200, 169, 96, 0.05);
  letter-spacing: 0.02em;
}

.schema-empty {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.audit-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  border-top: 1px solid var(--border);
}

.audit-checks li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 1rem;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.check-ok  .check-icon { background: rgba(12, 206, 107, 0.15); color: #0CCE6B; }
.check-bad .check-icon { background: rgba(255, 78, 66, 0.15); color: #FF4E42; }

.check-label {
  font-size: 0.95rem;
  color: var(--text);
}

.check-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

@media (max-width: 600px) {
  .audit-checks li { grid-template-columns: 28px 1fr; }
  .check-detail {
    grid-column: 2;
    text-align: left;
    margin-top: -0.25rem;
  }
}

.audit-cta {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 16px;
  background: rgba(200, 169, 96, 0.05);
  margin-top: 2rem;
}

.audit-cta h3 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
}

.audit-cta p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.7;
}

.audit-pull {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 164, 0, 0.08);
  border-radius: 12px;
  margin-bottom: 2rem;
  color: var(--text);
}

/* ========== SELECTION ========== */
::selection {
  background: var(--gold);
  color: #0A0A0A;
}
