/* ===========================
   AUBIER — CUSTOM THEME
   =========================== */

:root {
  --bg: #FAFAF8;
  --fg: #1C2B35;
  --fg-muted: #50646F;
  --accent: #D4841F;
  --accent-dark: #A86518;
  --secondary: #7A9088;
  --surface: #EEECE5;
  --border: #D8D5CC;
  --header-h: 72px;
}

*, *::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;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, .headline, .stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

em { font-style: italic; color: var(--accent); }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.header-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  padding: calc(var(--header-h) + 80px) 40px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  margin-bottom: 72px;
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--fg);
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* Hero Visual — concentric rings */
.hero-visual {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}
.ring-1 { width: 380px; height: 380px; animation: spin 40s linear infinite; }
.ring-2 { width: 280px; height: 280px; border-color: var(--secondary); opacity: 0.5; }
.ring-3 { width: 180px; height: 180px; border-color: var(--accent); opacity: 0.7; }
.visual-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  justify-content: center;
  border: 1.5px solid var(--border);
}
.ring-label {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}
.ring-sub {
  font-size: 0.6rem;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.3;
}
.ring-tick {
  position: absolute;
  width: 6px;
  border-radius: 3px;
  background: var(--accent);
}
.tick-1 { width: 28px; height: 6px; top: 50%; left: -14px; transform: translateY(-50%); }
.tick-2 { width: 6px; height: 28px; top: -14px; left: 50%; transform: translateX(-50%); }
.tick-3 { width: 28px; height: 6px; bottom: 50%; right: -14px; transform: translateY(-50%); }
.tick-4 { width: 6px; height: 28px; bottom: -14px; left: 50%; transform: translateX(-50%); }

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

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.stat {
  flex: 1;
  padding: 0 40px 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fg);
  font-family: 'Fraunces', serif;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.stat-div {
  width: 1px;
  height: 56px;
  background: var(--border);
  margin-right: 48px;
  flex-shrink: 0;
}

/* ── PROBLEM ── */
.problem {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 40px;
}
.problem-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.problem-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.problem-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--bg);
  margin-bottom: 56px;
  max-width: 640px;
}
.problem-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.problem-col p {
  font-size: 1rem;
  line-height: 1.75;
  color: #B8C4C8;
  margin-bottom: 20px;
}
.problem-quote {
  border-left: 3px solid var(--accent);
  padding-left: 32px;
  margin-top: 16px;
}
.problem-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--bg);
  margin-bottom: 16px;
}
.problem-quote cite {
  font-size: 0.8rem;
  color: var(--secondary);
}

/* ── HOW ── */
.how {
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.how-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.how-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 640px;
  margin-bottom: 64px;
}
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 32px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
}
.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-top: 36px;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── GUARANTEES ── */
.guarantees {
  background: var(--surface);
  padding: 100px 40px;
}
.guarantees-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.guarantees-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--border);
}
.guarantee {
  background: var(--bg);
  padding: 48px 40px;
}
.guarantee-icon {
  margin-bottom: 24px;
}
.guarantee h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.guarantee p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── VISION ── */
.vision {
  padding: 100px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.vision-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.vision-overline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.vision-statement {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 36px;
}
.vision-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.vision-aside {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.vision-card {
  background: var(--surface);
  padding: 32px;
}
.vc-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.vc-target {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.vc-detail {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding: 64px 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid #2E3D48;
  margin-bottom: 32px;
}
.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--secondary);
  font-style: italic;
  font-family: 'Fraunces', serif;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy, .footer-rgpd {
  font-size: 0.8rem;
  color: var(--secondary);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-columns { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; gap: 16px; }
  .step-connector { transform: rotate(90deg); margin: 0 auto; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .vision-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-stats { flex-direction: column; gap: 32px; }
  .stat { padding: 0; }
  .stat-div { display: none; }
  .footer-top { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}