/* ==========================================================
   Elysian Intelligence Solutions — feuille de style
   Charte : crème #EEE0D9 · marine #0F2B46 · bordeaux #801D3D
            ardoise #4A4A4A · or clair #C9B07B
   ========================================================== */

/* Polices hébergées localement (aucun appel à Google Fonts) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #EEE0D9;
  --cream-light: #F6EEEA;
  --cream-dark: #E3D1C8;
  --navy: #0F2B46;
  --navy-deep: #0A1F33;
  --bordeaux: #801D3D;
  --bordeaux-dark: #661530;
  --slate: #4A4A4A;
  --gold: #C9B07B;
  --white: #FFFCFA;

  --line: rgba(15, 43, 70, 0.14);
  --shadow-sm: 0 1px 2px rgba(15, 43, 70, 0.06), 0 2px 8px rgba(15, 43, 70, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 43, 70, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(15, 43, 70, 0.30);

  --font-serif: "Cormorant Garamond", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--bordeaux); text-decoration: none; }
a:hover { color: var(--bordeaux-dark); }

h1, h2, h3, h4,
.price, .big, .timeline__num, .agent-card__foot strong {
  font-variant-numeric: lining-nums;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; position: relative; }
.section--light { background: var(--cream-light); }
.section--navy { background: var(--navy); color: rgba(238, 224, 217, 0.82); }
.section--navy h2,
.section--navy h3 { color: var(--cream); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--cream); padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 2px; height: 18px;
  background: var(--bordeaux);
}
.section--navy .eyebrow { color: var(--gold); }
.section--navy .eyebrow::before { background: var(--gold); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--bordeaux); color: var(--white); }
.btn--primary:hover { background: var(--bordeaux-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-deep); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(15, 43, 70, 0.35); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: rgba(15, 43, 70, 0.04); }

.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.95rem; color: var(--bordeaux);
  border-bottom: 1px solid rgba(128, 29, 61, 0.3);
  padding-bottom: 2px;
  transition: border-color .2s, gap .2s;
}
.text-link:hover { border-color: var(--bordeaux); gap: 12px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.mono {
  display: inline-flex; align-items: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}
.mono .bar {
  display: inline-block;
  width: 2px;
  height: 1.35em;
  background: var(--bordeaux);
  margin: 0 0.14em;
  transform: translateY(-0.02em);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--navy);
  max-width: 130px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 224, 217, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(238, 224, 217, 0.95); }
.header-inner {
  display: flex; align-items: center;
  height: 84px; gap: 24px;
}

.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; order: 2; }

/* Sélecteur de langue FR | EN */
.lang-switch {
  order: 3;
  display: inline-flex; align-items: center;
  border: 1px solid rgba(15, 43, 70, 0.22);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
}
.lang-switch a,
.lang-switch span {
  display: inline-block; padding: 5px 10px; border-radius: 999px; line-height: 1;
  color: var(--navy);
}
.lang-switch a:hover { background: rgba(15, 43, 70, 0.07); color: var(--navy); }
.lang-switch [aria-current="true"] { background: var(--navy); color: var(--cream); }
.nav-toggle { order: 4; }
.nav-list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--bordeaux);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--bordeaux); }
.nav .btn { padding: 11px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  position: relative;
  color: var(--navy);
}
.nav-toggle span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .3s, opacity .3s, top .3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; }
  .nav {
    /* le header (backdrop-filter) sert de bloc conteneur : hauteur explicite */
    position: fixed; top: 84px; left: 0; right: 0;
    height: calc(100vh - 84px); height: calc(100dvh - 84px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    padding: 24px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
    overflow-y: auto;
  }
  .nav-open .nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .3s ease, transform .3s ease, visibility 0s;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block; padding: 18px 0;
    font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { display: none; }
  .nav .btn { margin-top: 32px; padding: 16px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(72px, 10vw, 130px);
  overflow: hidden;
}
.hero-waves {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-waves svg { position: absolute; right: -10%; top: -10%; width: 85%; height: 130%; opacity: 0.9; }
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 780px);
}
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { display: block; }
.hero .lead { max-width: 620px; margin-bottom: 36px; }
.hero-note {
  margin-top: 28px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--slate);
}
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 176, 123, 0.25); }

/* Agent card mock */
.agent-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 43, 70, 0.06);
  overflow: hidden;
  font-size: 0.88rem;
}
.agent-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--navy);
  color: var(--cream);
}
.agent-card__title { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.agent-card__title .mono { font-size: 1.2rem; color: var(--cream); }
.agent-card__title .mono .bar { background: var(--gold); }
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.75rem; letter-spacing: 0.05em; color: rgba(238, 224, 217, 0.75);
}
.status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6FCF97;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.agent-card__body { padding: 8px 20px 4px; }
.task {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 43, 70, 0.07);
}
.task:last-child { border-bottom: 0; }
.task__icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-light); color: var(--navy);
}
.task__icon svg { width: 16px; height: 16px; }
.task__label { color: var(--navy); font-weight: 500; line-height: 1.35; }
.task__meta { display: block; font-size: 0.78rem; color: #7a7a7a; font-weight: 400; }
.tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.tag--done { background: rgba(15, 43, 70, 0.07); color: var(--navy); }
.tag--human { background: rgba(128, 29, 61, 0.1); color: var(--bordeaux); }
.tag--draft { background: rgba(201, 176, 123, 0.22); color: #7a6331; }

.agent-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: var(--cream-light);
  font-size: 0.8rem; color: var(--slate);
}
.agent-card__foot strong { font-family: var(--font-serif); font-size: 1.4rem; color: var(--bordeaux); font-weight: 600; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; left: -24px; top: 12%; bottom: 12%;
  width: 2px; background: var(--bordeaux);
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .hero-visual::before { display: none; }
  .hero-waves svg { width: 140%; right: -50%; opacity: 0.55; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 90px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; font-size: clamp(2.4rem, 5.2vw, 4rem); }
.page-hero .lead { max-width: 640px; }
.page-hero .hero-waves svg { width: 70%; opacity: 0.6; }

/* ---------- Problem cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 5vw, 72px); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.problem {
  padding: 36px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 43, 70, 0.06);
  box-shadow: var(--shadow-sm);
}
.problem__num {
  font-family: var(--font-serif); font-size: 1rem; font-style: italic;
  color: var(--gold); margin-bottom: 18px; display: block;
}
.problem h3 { font-size: 1.5rem; }
.problem p { margin: 0; }

.statement {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--navy);
  max-width: 820px; margin-left: auto; margin-right: auto;
}

/* ---------- Solution cards ---------- */
.solution {
  position: relative;
  display: flex; flex-direction: column;
  padding: 40px 34px 34px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 43, 70, 0.07);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.solution::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--bordeaux); transform: scaleY(0); transform-origin: top;
  transition: transform .45s ease;
}
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.solution:hover::before { transform: scaleY(1); }
.solution__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--cream);
  margin-bottom: 26px;
}
.solution__icon svg { width: 22px; height: 22px; }
.solution h3 { margin-bottom: 12px; }
.solution p { flex: 1; }
.solution ul { list-style: none; padding: 0; margin: 0 0 28px; }
.solution li {
  position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 0.95rem;
}
.solution li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 10px; height: 1px; background: var(--bordeaux);
}

/* ---------- Why Elysian ---------- */
.pillar { padding-top: 28px; border-top: 1px solid rgba(238, 224, 217, 0.2); }
.pillar__icon { color: var(--gold); margin-bottom: 20px; }
.pillar__icon svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.55rem; margin-bottom: 10px; }
.pillar p { font-size: 0.95rem; margin: 0; }

.section--light .pillar,
.pillar--light { border-top-color: var(--line); }
.pillar--light .pillar__icon { color: var(--bordeaux); }

/* ---------- Steps ---------- */
.steps-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.steps-strip li {
  list-style: none;
  padding: 28px 20px 0 0;
  position: relative;
}
.steps-strip li::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--bordeaux);
}
.steps-strip .num { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.steps-strip h4 { margin: 6px 0 6px; font-size: 1.35rem; }
.steps-strip p { font-size: 0.9rem; margin: 0; }
.steps-strip { padding: 0; margin: 0; }
@media (max-width: 960px) {
  .steps-strip { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .steps-strip li { padding: 0 0 28px 28px; }
  .steps-strip li::before { top: 8px; left: -5px; }
}

/* Detailed method timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 44px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(to bottom, var(--bordeaux), rgba(128, 29, 61, 0.15));
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 90px 1fr; gap: 32px;
  padding: 0 0 56px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline__num {
  width: 90px; height: 90px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--bordeaux);
  font-family: var(--font-serif); font-size: 2rem; color: var(--bordeaux);
  position: relative; z-index: 1;
}
.timeline__content { padding-top: 14px; }
.timeline__content h3 { margin-bottom: 8px; }
.timeline__content .short { font-size: 1.1rem; color: var(--navy); font-weight: 500; margin-bottom: 10px; }
.timeline__content ul { margin: 0; padding-left: 18px; }
.timeline__content li { display: list-item; padding: 0; margin-bottom: 6px; grid-template-columns: none; }
@media (max-width: 620px) {
  .timeline::before { left: 28px; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 20px; }
  .timeline__num { width: 56px; height: 56px; font-size: 1.35rem; }
  .timeline__content { padding-top: 4px; }
}

/* ---------- Offer detail (solutions page) ---------- */
.offer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.offer:first-of-type { border-top: 0; padding-top: 0; }
.offer__index {
  font-family: var(--font-serif); font-style: italic; color: var(--gold);
  font-size: 1.1rem; margin-bottom: 12px; display: block;
}
.offer h2 { margin-bottom: 18px; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.feature-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.feature-list .check {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(128, 29, 61, 0.1); color: var(--bordeaux);
  margin-top: 1px;
}
.feature-list .check svg { width: 13px; height: 13px; }
.feature-list strong { color: var(--navy); font-weight: 600; }

.price-box {
  position: sticky; top: 110px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--navy);
}
.price-box__label {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--slate);
}
.price {
  font-family: var(--font-serif); color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.1;
  margin: 10px 0 4px;
}
.price-sub { font-size: 0.9rem; margin-bottom: 22px; }
.price-sub strong { color: var(--navy); }
.price-box hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.price-box .btn { width: 100%; }
.price-box small { display: block; margin-top: 14px; font-size: 0.8rem; color: #777; line-height: 1.5; }

.notice {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(201, 176, 123, 0.16);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.93rem; color: var(--navy);
}
.notice svg { width: 20px; height: 20px; color: #9a7f45; margin-top: 2px; }

.offer--pack {
  background: var(--navy);
  color: rgba(238, 224, 217, 0.85);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  border-top: 0;
  margin-top: 24px;
  position: relative; overflow: hidden;
}
.offer--pack h2 { color: var(--cream); }
.offer--pack .offer__index { color: var(--gold); }
.offer--pack .feature-list strong { color: var(--cream); }
.offer--pack .feature-list .check { background: rgba(201, 176, 123, 0.2); color: var(--gold); }
.offer--pack .price-box { border-top-color: var(--gold); }
.badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: var(--gold); color: var(--navy);
  margin-bottom: 18px;
}

.sub-nav {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px;
}
.sub-nav a {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(15, 43, 70, 0.2);
  color: var(--navy); font-size: 0.88rem; font-weight: 500;
  transition: all .2s;
}
.sub-nav a:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

@media (max-width: 960px) {
  .offer { grid-template-columns: 1fr; }
  .price-box { position: static; }
}

/* ---------- Security block ---------- */
.security {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.security blockquote {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--cream);
}
.security blockquote span { color: var(--gold); font-style: italic; }
.flow { display: grid; gap: 12px; }
.flow__item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(238, 224, 217, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(238, 224, 217, 0.04);
  color: var(--cream);
}
.flow__item svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.flow__item small { display: block; color: rgba(238, 224, 217, 0.6); font-size: 0.82rem; }
.flow__item--human { border-color: rgba(201, 176, 123, 0.55); background: rgba(201, 176, 123, 0.08); }
.flow__arrow { text-align: center; color: rgba(238, 224, 217, 0.35); font-size: 1.1rem; line-height: 1; }
@media (max-width: 960px) { .security { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 176, 123, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__placeholder { text-align: center; color: rgba(238, 224, 217, 0.7); padding: 24px; }
.portrait__placeholder .mono { font-size: 4.5rem; color: var(--cream); justify-content: center; }
.portrait__placeholder .mono .bar { background: var(--gold); }
.portrait__placeholder p { margin-top: 20px; font-size: 0.85rem; letter-spacing: 0.08em; }
.portrait-frame { position: relative; }
.portrait-frame::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 60%; height: 60%;
  border-right: 2px solid var(--bordeaux); border-bottom: 2px solid var(--bordeaux);
  z-index: -1; border-radius: 0 0 var(--radius-lg) 0;
}

.quote-block {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.quote-block .mark {
  font-family: var(--font-serif); font-size: 5rem; line-height: 0.6; color: var(--bordeaux); display: block; height: 40px;
}
.quote-block p {
  font-family: var(--font-serif); font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: var(--navy); line-height: 1.25; margin: 0 0 20px;
}
.quote-block cite { font-style: normal; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }

.values { display: grid; gap: 0; }
.values__row {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.values__row:last-child { border-bottom: 1px solid var(--line); }
.values__row h3 { font-size: 1.5rem; margin: 0; }
.values__row p { margin: 0; }
@media (max-width: 620px) { .values__row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  color: rgba(238, 224, 217, 0.82);
  padding: clamp(72px, 9vw, 120px) 0;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 56px;
  background: var(--bordeaux); transform: translateX(-50%);
}
.cta-band h2 { color: var(--cream); max-width: 820px; margin: 0 auto 20px; }
.cta-band p { max-width: 560px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .hero-waves svg { opacity: 0.18; width: 100%; right: -30%; }
.cta-band .container { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-size: 0.85rem; font-weight: 500; color: var(--navy); margin-bottom: 8px;
}
.field label .opt { font-weight: 400; color: #888; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: 0.95rem;
  color: var(--navy);
  background: var(--cream-light);
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(15, 43, 70, 0.25);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 13px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F2B46' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; background: var(--white);
  border-color: rgba(15, 43, 70, 0.15); border-bottom-color: var(--bordeaux);
  box-shadow: 0 1px 0 var(--bordeaux);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: #B3261E; background: #FBEDEC; }
.field .error { display: none; font-size: 0.8rem; color: #B3261E; margin-top: 6px; }
.field.has-error .error { display: block; }

.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 15px; border-radius: 999px;
  border: 1px solid rgba(15, 43, 70, 0.22); font-size: 0.88rem; color: var(--navy);
  cursor: pointer; transition: all .2s; user-select: none;
}
.chip input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--bordeaux); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 0.85rem; align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bordeaux); }
.consent.has-error { color: #B3261E; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: #777; font-size: 0.82rem; }
.hp { position: absolute; left: -9999px; }

.form-success {
  display: none; text-align: center; padding: 40px 10px;
}
.form-success .icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
  display: grid; place-items: center; background: rgba(128, 29, 61, 0.1); color: var(--bordeaux);
}
.form-success .icon svg { width: 28px; height: 28px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }

.aside-card {
  padding: 32px; border-radius: var(--radius-lg);
  background: var(--navy); color: rgba(238, 224, 217, 0.82);
  margin-bottom: 24px;
}
.aside-card h3 { color: var(--cream); font-size: 1.6rem; }
.aside-card .big {
  font-family: var(--font-serif); font-size: 3.6rem; color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.next-steps { list-style: none; padding: 0; margin: 0; counter-reset: ns; }
.next-steps li {
  counter-increment: ns;
  display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0;
  border-top: 1px solid var(--line);
}
.next-steps li::before {
  content: counter(ns, decimal-leading-zero);
  font-family: var(--font-serif); font-style: italic; color: var(--bordeaux); font-size: 1.15rem;
}
.next-steps strong { color: var(--navy); display: block; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.8rem; margin-top: 48px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 20px; }
.todo {
  background: rgba(201, 176, 123, 0.25); color: var(--navy);
  padding: 1px 6px; border-radius: 3px; font-size: 0.92em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(238, 224, 217, 0.65);
  padding: 80px 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(238, 224, 217, 0.1);
}
.site-footer .brand, .site-footer .mono, .site-footer .brand-name { color: var(--cream); }
.site-footer .mono .bar { background: var(--bordeaux); }
.footer-tagline { font-family: var(--font-serif); font-size: 1.35rem; color: var(--cream); font-style: italic; margin: 24px 0 0; max-width: 280px; line-height: 1.3; }
.site-footer h4 {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: rgba(238, 224, 217, 0.75); transition: color .2s; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; font-size: 0.82rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}

.no-js .reveal { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.faq-toc a {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 0.88rem; color: var(--navy); transition: border-color .2s, color .2s;
}
.faq-toc a:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

.faq-section { max-width: 780px; margin-bottom: 56px; scroll-margin-top: 110px; }
.faq-section h2 { font-size: 1.6rem; margin-bottom: 20px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  margin-bottom: 12px; background: var(--white); box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
  font-family: var(--font-sans); font-weight: 600; color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--bordeaux); font-weight: 400;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; border-radius: var(--radius-lg); }
.faq-answer { padding: 0 22px 20px; color: var(--slate); }
.faq-answer p { margin: 0; }
.faq-answer a { text-decoration: underline; }
