/* =========================================
   VOLTAIRE SIB — Stylesheet
   Palette: warm off-white base, deep navy, 
   dusty red accent, gold highlight
   Type: Playfair Display (display) + Inter (body)
   ========================================= */

:root {
  --cream: #FAF8F4;
  --cream-dark: #F0EDE6;
  --navy: #1C2B3A;
  --navy-mid: #2E4460;
  --red: #C0392B;
  --red-light: #E8D5D3;
  --gold: #B8860B;
  --gold-light: #F5EDD4;
  --text: #2C2C2C;
  --text-mid: #555;
  --text-light: #888;
  --border: #DDD8CE;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1140px;
  --header-h: 72px;
  --radius: 8px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--navy); text-decoration: underline; }
a:hover { color: var(--red); }
a.btn { text-decoration: none !important; }
a.btn-primary { color: #ffffff !important; }
a.btn-primary:hover { color: #ffffff !important; }
a.btn-outline { color: var(--navy) !important; }
a.btn-outline:hover { color: #ffffff !important; }

img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: #a02d22; border-color: #a02d22; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { height: 44px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.25;
}
.logo-text em { display: block; font-style: italic; font-size: 0.85rem; color: var(--text-mid); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-mid);
  border-radius: var(--radius);
  transition: var(--transition);
}
.main-nav a:hover { background: var(--cream-dark); color: var(--red); }
.main-nav a.active { color: var(--red); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

/* ---- LANGUAGE TOGGLE ---- */
.lang-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  letter-spacing: 0.05em;
}
.lang-toggle:hover { border-color: var(--navy); color: var(--navy); }
.lang-toggle .lang-en,
.lang-toggle .lang-fr { color: var(--text-light); transition: var(--transition); }
.lang-toggle .lang-en.active,
.lang-toggle .lang-fr.active { color: var(--red); font-weight: 700; }
.lang-divider { color: var(--border); }

/* ---- HAMBURGER ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  margin-top: var(--header-h);
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,43,58,0.1) 0%,
    rgba(28,43,58,0.45) 50%,
    rgba(28,43,58,0.82) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.hero-eyebrow-logo {
  height: 54px;
  width: auto;
  max-width: 420px;
  margin-bottom: 20px;
  display: block;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 680px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-sub a { color: rgba(255,255,255,0.85); }

/* ---- NOTICE BANNER ---- */
.notice-banner {
  background: var(--gold-light);
  border-top: 3px solid var(--gold);
  padding: 14px 0;
  text-align: center;
}
.notice-banner p {
  font-size: 0.92rem;
  color: var(--text);
}

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 48px;
  text-align: center;
}

/* ---- INTRO ---- */
.intro-section { background: var(--cream); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  margin-bottom: 20px;
}
.intro-text p { color: var(--text-mid); margin-bottom: 16px; }
.intro-text a { color: var(--red); }

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ---- FEATURES ---- */
.features-section { background: var(--navy); }
.features-section .section-title { color: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.feature-icon { margin-bottom: 18px; color: var(--red); }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ---- CTA STRIP ---- */
.cta-strip {
  background: var(--red-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-inner p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  flex: 1;
  min-width: 220px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 8px; opacity: 1; }
.footer-col p { font-size: 0.88rem; line-height: 1.5; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  background: var(--navy);
  padding: 80px 0 52px;
  margin-top: var(--header-h);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #fff;
  margin-bottom: 12px;
}
.page-header p {
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  font-size: 1rem;
}

/* ---- CONTENT SECTION ---- */
.content-section {
  padding: 64px 0;
}
.content-section .prose {
  max-width: 760px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose p { color: var(--text-mid); margin-bottom: 16px; }
.prose a { color: var(--red); }
.prose ul { margin: 12px 0 20px 24px; color: var(--text-mid); }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose ol { margin: 12px 0 20px 24px; color: var(--text-mid); }
.prose ol li { margin-bottom: 12px; }

/* ---- FAQ ACCORDION ---- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.4;
}
.faq-question:hover { color: var(--red); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: transform 0.25s ease;
  margin-top: 3px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--red); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding-bottom: 24px; color: var(--text-mid); font-size: 0.95rem; line-height: 1.75; }
.faq-answer-inner p { margin-bottom: 14px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner a { color: var(--red); }
.faq-answer-inner ul { margin: 12px 0 12px 20px; }
.faq-answer-inner li { margin-bottom: 6px; }
.faq-answer-inner ol { margin: 12px 0 12px 20px; }
.faq-answer-inner ol li { margin-bottom: 10px; }

/* ---- APPLICATIONS PAGE ---- */
.timeline {
  max-width: 680px;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--red);
}
.timeline-item.done::before { background: var(--text-light); box-shadow: 0 0 0 2px var(--text-light); }
.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.timeline-item p { font-size: 0.9rem; color: var(--text-mid); }

.alert-box {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: var(--text);
}
.alert-box a { color: var(--navy); font-weight: 600; }

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 900px;
}
.contact-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-card p { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 20px; }
.contact-card a.btn { width: 100%; text-align: center; margin-top: auto; }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    margin-left: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child { border-bottom: none; }

  .hero { min-height: 85vh; padding-bottom: 56px; }
  .hero-title { font-size: 2rem; }

  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .logo-text { display: none; }
}

@media (max-width: 960px) and (min-width: 769px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
