/* ==============================================================
   notre-vision.css — Styles partagés entre les 3 variations
   ============================================================== */

:root {
  --nv-navy: #1B3454;
  --nv-navy-deep: #0F1F35;
  --nv-navy-medium: #4A6890;
  --nv-navy-pale: #8FA4BE;
  --nv-cream: #FAFAF8;
  --nv-paper: #F5F2EA;
  --nv-paper-warm: #EFE9DB;
  --nv-ink: #1B3454;
  --nv-ink-soft: #2D4A70;
  --nv-accent: #714B67; /* Odoo violet */
  --nv-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Body of the canvas page itself */
.nv-canvas-page {
  background: #2a2a2e;
  margin: 0;
  font-family: 'EB Garamond', Georgia, serif;
}

/* Each variation gets a fixed-size artboard frame; inside we set our own type */
.nv-art {
  width: 1280px;
  background: var(--nv-cream);
  color: var(--nv-ink);
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

.nv-art *,
.nv-art *::before,
.nv-art *::after {
  box-sizing: border-box;
}

.nv-art img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========= Language toggle visibility (defaults: EN visible, FR hidden) ========= */
[data-fr] { display: none; }
html[lang="fr"] [data-fr] { display: inline; }
html[lang="fr"] [data-en] { display: none; }
html[lang="fr"] [data-fr="block"] { display: block; }
html[lang="en"] [data-en="block"] { display: block; }

/* Floating language toggle */
.nv-lang-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  gap: 0;
  background: rgba(15, 31, 53, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 4px;
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.nv-lang-toggle button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nv-lang-toggle button:hover { color: #fff; }
.nv-lang-toggle button.active {
  background: #fff;
  color: var(--nv-navy-deep);
}

/* Shared utilities */
.nv-italic { font-style: italic; }
.nv-mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
}
.nv-eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nv-navy-medium);
  font-weight: 500;
}

/* ============ V1 — ROMAN ILLUSTRÉ ============ */
.v1 { background: var(--nv-cream); }
.v1::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--nv-grain);
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.v1 > * { position: relative; z-index: 1; }

.v1-cover {
  padding: 110px 90px 90px;
  border-bottom: 1px solid rgba(27, 52, 84, 0.12);
}
.v1-classification {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nv-navy-medium);
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.v1-classification::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
}
.v1-cover-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(64px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--nv-navy);
  font-weight: 400;
  max-width: 14ch;
  margin: 0;
}
.v1-cover-meta {
  margin-top: 64px;
  display: flex;
  gap: 80px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-navy-medium);
}
.v1-cover-meta strong {
  display: block;
  color: var(--nv-navy);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.v1-chapter {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  padding: 110px 90px 70px;
  align-items: start;
}
.v1-chapter-roman {
  font-family: 'Instrument Serif', serif;
  font-size: 140px;
  line-height: 1;
  color: var(--nv-navy-pale);
  font-style: italic;
  letter-spacing: -0.02em;
}
.v1-chapter-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nv-navy-medium);
  margin-bottom: 28px;
}
.v1-chapter-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.08;
  color: var(--nv-navy);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 36px 0;
  max-width: 18ch;
}
.v1-lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--nv-ink-soft);
  max-width: 38ch;
  margin: 0 0 18px 0;
  font-weight: 400;
}
.v1-lead.drop-cap::first-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 5em;
  line-height: 0.85;
  float: left;
  margin: 6px 12px 0 -2px;
  color: var(--nv-navy);
  font-weight: 400;
  font-style: italic;
}
.v1-body {
  font-size: 19px;
  line-height: 1.65;
  color: var(--nv-ink-soft);
  max-width: 38ch;
  margin: 0;
}

.v1-image-full {
  width: 100%;
  position: relative;
  margin: 30px 0 70px;
}
.v1-image-full img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
}
.v1-caption {
  margin-top: 14px;
  padding: 0 90px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nv-navy-medium);
}
.v1-caption-fig {
  color: var(--nv-navy);
  margin-right: 18px;
}

.v1-pull {
  padding: 110px 90px;
  border-top: 1px solid rgba(27, 52, 84, 0.12);
  border-bottom: 1px solid rgba(27, 52, 84, 0.12);
  text-align: center;
  background: var(--nv-paper);
}
.v1-pull-mark {
  font-family: 'Instrument Serif', serif;
  font-size: 140px;
  line-height: 0.6;
  color: var(--nv-navy-pale);
  display: block;
  margin-bottom: -10px;
}
.v1-pull-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.15;
  color: var(--nv-navy);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  font-style: italic;
}

.v1-number-spread {
  padding: 130px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--nv-navy);
  color: #fff;
}
.v1-number-spread::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(143, 164, 190, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(74, 104, 144, 0.2) 0%, transparent 55%);
  pointer-events: none;
}
.v1-number-big {
  font-family: 'Instrument Serif', serif;
  font-size: 360px;
  line-height: 0.85;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: right;
  position: relative;
}
.v1-number-caption {
  font-size: 24px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}
.v1-number-caption strong {
  color: #fff;
  font-weight: 500;
}

.v1-manifesto {
  padding: 130px 90px;
  text-align: center;
  background: var(--nv-paper);
}
.v1-manifesto-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nv-navy-medium);
  margin-bottom: 36px;
}
.v1-manifesto-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.12;
  color: var(--nv-navy);
  font-weight: 400;
  margin: 0 auto 40px;
  max-width: 22ch;
  letter-spacing: -0.015em;
}
.v1-manifesto-text em {
  font-style: italic;
  color: var(--nv-navy-medium);
}
.v1-manifesto-sig {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--nv-navy-medium);
}

.v1-cta {
  padding: 110px 90px;
  background: var(--nv-navy-deep);
  color: #fff;
  text-align: center;
}
.v1-cta h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 24px 0;
  letter-spacing: -0.015em;
}
.v1-cta p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 48px 0;
}
.v1-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: #fff;
  color: var(--nv-navy-deep);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.4);
}
.v1-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -12px rgba(0, 0, 0, 0.5);
}
