/* ==========================================================================
   VOXENTIS SOLUTIONS — style.css
   Palette tirée du logo : bleu nuit, navy, turquoise, cyan.
   Typo : Archivo variable (axe width) — titres étendus, texte normal.
   ========================================================================== */

:root {
  --ink: #07192b;
  --ink-2: #0d2d49;
  --navy: #123a5c;
  --teal: #1d8ca6;
  --cyan: #3ec9dd;
  --cyan-soft: #9fe4ef;
  --paper: #f4f9fb;
  --white: #ffffff;
  --mist: #c9dee9;
  --line: #d8e7ef;
  --line-dark: #1b3a53;
  --text: #15293c;
  --text-soft: #51677a;
  --text-on-dark: #e8f2f7;
  --text-on-dark-soft: #9db7c8;
  --radius: 14px;
  --container: 1140px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }

::selection { background: var(--cyan); color: var(--ink); }

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

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

/* --- Typographie ------------------------------------------------------- */

h1, h2, h3, h4, .display {
  font-variation-settings: "wdth" 122;
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-soft);
  max-width: 34em;
}

.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p, .on-dark .lead { color: var(--text-on-dark-soft); }

/* --- Boutons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-variation-settings: "wdth" 110;
  font-weight: 620;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--teal); color: var(--white); }

.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: var(--cyan-soft); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.on-dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .cta-band .btn-ghost { color: var(--white); border-color: var(--mist); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* --- Header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 249, 251, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-v { width: 34px; height: 34px; flex: none; }
.brand-name {
  display: inline-block;
  font-variation-settings: "wdth" 122;
  font-weight: 740;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1;
}
.brand-sub {
  display: block;
  text-align: center;
  font-variation-settings: "wdth" 110;
  font-weight: 480;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  margin-right: -0.34em; /* compense l'espacement après la dernière lettre */
  color: var(--teal);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 0.98rem;
  font-weight: 540;
  color: var(--text);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--cyan);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 650; }

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 620 !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--teal); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-variation-settings: "wdth" 115;
  font-weight: 680;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--teal) !important;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 6px 11px;
}
.lang-flag { width: 19px; height: 13px; border-radius: 2.5px; flex: none; display: block; }
.lang-switch::after { display: none; }
.lang-switch:hover { border-color: var(--cyan); color: var(--navy) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  background: linear-gradient(165deg, var(--ink) 0%, #0d2d49 70%, #123a5c 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  min-height: 560px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero h1 { color: var(--white); }
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.hero .lead { color: var(--text-on-dark-soft); margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-eq { justify-self: center; width: min(420px, 80vw); }
.hero-eq svg { width: 100%; height: auto; overflow: visible; }

.hero-note {
  margin-top: 30px;
  font-size: 0.92rem;
  color: var(--text-on-dark-soft);
}

/* Hero interne (pages) */
.page-hero {
  background: linear-gradient(165deg, var(--ink) 0%, #0d2d49 80%, #123a5c 100%);
  color: var(--text-on-dark);
  padding: 84px 0 64px;
}
.page-hero h1 { color: var(--white); max-width: 17em; }
.page-hero h1 em { font-style: normal; color: var(--cyan); }
.page-hero .lead { margin-top: 20px; }

/* --- Sections ---------------------------------------------------------- */

.section { padding: 88px 0; }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-tint { background: var(--white); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { margin-top: 14px; color: var(--text-soft); }
.section-dark .section-head p { color: var(--text-on-dark-soft); }

/* --- Pôles (accueil) --------------------------------------------------- */

.poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.pole {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pole-color, var(--cyan));
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pole:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(7, 25, 43, 0.12); }
.pole-1 { --pole-color: #3ec9dd; }
.pole-2 { --pole-color: #1d8ca6; }
.pole-3 { --pole-color: #123a5c; }

.pole-icon { width: 46px; height: 46px; margin-bottom: 20px; }
.pole h3 { margin-bottom: 12px; }
.pole p { color: var(--text-soft); font-size: 0.98rem; flex: 1; }
.pole ul { margin: 16px 0 22px; padding-left: 0; list-style: none; flex: 1; }
.pole li {
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 7px 0 7px 24px;
  position: relative;
}
.pole li::before {
  content: "";
  position: absolute;
  left: 2px; top: 14px;
  width: 10px; height: 3px;
  border-radius: 2px;
  background: var(--pole-color, var(--cyan));
}
.pole-link {
  font-weight: 640;
  font-variation-settings: "wdth" 110;
  color: var(--navy);
}
.pole-link:hover { color: var(--teal); }

/* --- Bande de chiffres ------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-left: 2px solid var(--line-dark); padding-left: 22px; }
.stat-num {
  font-variation-settings: "wdth" 122;
  font-weight: 720;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--cyan);
  line-height: 1.1;
}
.stat-label { margin-top: 8px; font-size: 0.95rem; color: var(--text-on-dark-soft); }

/* --- Étapes numérotées (vrai processus séquentiel) --------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 18px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-variation-settings: "wdth" 122;
  font-weight: 720;
  font-size: 2.4rem;
  color: var(--cyan);
  opacity: 0.9;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: var(--text-soft); }
.section-dark .step p { color: var(--text-on-dark-soft); }
.step + .step::after {
  content: "";
  position: absolute;
  top: 36px; left: -26px;
  width: 26px; height: 1px;
  background: var(--line);
}

/* --- Blocs service (call center, conseil) ------------------------------ */

.service {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: none; padding-top: 0; }
.service-kicker {
  font-variation-settings: "wdth" 115;
  font-weight: 660;
  font-size: 0.92rem;
  color: var(--teal);
  margin-bottom: 12px;
}
.service h2 { margin-bottom: 16px; }
.service-intro { color: var(--text-soft); }

.service-list { list-style: none; }
.service-list li {
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 24px;
  width: 14px; height: 4px;
  border-radius: 3px;
  background: var(--cyan);
}
.service-list strong { color: var(--navy); }
.service-list span { display: block; font-size: 0.95rem; color: var(--text-soft); margin-top: 3px; }

/* --- Registre d'agents IA (accordéons) --------------------------------- */

.agent-ledger { border-top: 1px solid var(--line); }
.agent {
  border-bottom: 1px solid var(--line);
}
.agent summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 8px;
  transition: background 0.2s ease;
}
.agent summary::-webkit-details-marker { display: none; }
.agent summary:hover { background: rgba(62, 201, 221, 0.07); }
.agent-name {
  font-variation-settings: "wdth" 114;
  font-weight: 650;
  font-size: 1.08rem;
  color: var(--navy);
  flex: 1;
}
.agent-tag { font-size: 0.88rem; color: var(--text-soft); }
.agent-chevron {
  flex: none;
  width: 22px; height: 22px;
  align-self: center;
  transition: transform 0.3s ease;
  color: var(--teal);
}
.agent[open] .agent-chevron { transform: rotate(45deg); }
.agent-body { padding: 0 8px 24px; }
.agent-body ul { list-style: none; columns: 2; column-gap: 40px; }
.agent-body li {
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 6px 0 6px 20px;
  position: relative;
  break-inside: avoid;
}
.agent-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 9px; height: 3px;
  border-radius: 2px;
  background: var(--cyan);
}

/* --- Points forts (pourquoi nous) -------------------------------------- */

.merits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.merit { border-left: 3px solid var(--cyan); padding-left: 20px; }
.merit h3 { font-size: 1.08rem; margin-bottom: 10px; }
.merit p { font-size: 0.94rem; color: var(--text-soft); }
.section-dark .merit p { color: var(--text-on-dark-soft); }

/* --- Marquee outils ---------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: var(--white);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 58px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-variation-settings: "wdth" 118;
  font-weight: 640;
  font-size: 1.15rem;
  color: #a9c3d2;
  white-space: nowrap;
}
.tool { display: flex; align-items: center; gap: 12px; flex: none; }
.tool img { height: 32px; width: auto; max-width: 130px; display: block; }
.tool span {
  font-variation-settings: "wdth" 110;
  font-weight: 600;
  font-size: 1rem;
  color: #5c7a8d;
  white-space: nowrap;
}
.marquee-title {
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-soft);
  padding-bottom: 20px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Bande CTA --------------------------------------------------------- */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--text-on-dark);
  text-align: left;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: var(--text-on-dark-soft); margin-bottom: 30px; max-width: 32em; }
.cta-eq { justify-self: end; width: min(260px, 60vw); opacity: 0.85; }
.cta-eq svg { width: 100%; height: auto; overflow: visible; }

/* --- Formulaire -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-aside h2 { margin-bottom: 18px; }
.contact-aside p { color: var(--text-soft); margin-bottom: 26px; }
.contact-coords { list-style: none; }
.contact-coords li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.contact-coords strong { color: var(--navy); display: block; font-size: 0.85rem; margin-bottom: 2px; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-status { margin-top: 16px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; color: #0e7a52; }
.form-status.err { display: block; color: #b4232a; }

/* --- Footer ------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand-name { color: var(--white); }
.footer-tagline { margin-top: 18px; font-size: 0.95rem; max-width: 26em; }
.footer-address {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-on-dark-soft);
  opacity: 0.85;
}
.footer-address strong {
  color: var(--text-on-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-variation-settings: "wdth" 115;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: var(--text-on-dark-soft); font-size: 0.95rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.88rem;
}
.footer-bottom a { color: var(--text-on-dark-soft); }
.footer-bottom a:hover { color: var(--cyan); }

/* --- Admin ------------------------------------------------------------- */

.admin-wrap { max-width: 1100px; margin: 60px auto; padding: 0 24px; }
.admin-login { max-width: 380px; margin: 120px auto; text-align: center; }
.admin-login input {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  margin: 18px 0;
}
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; font-size: 0.92rem; }
.admin-table th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 12px 14px;
  font-variation-settings: "wdth" 112;
  font-weight: 620;
}
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:hover td { background: rgba(62, 201, 221, 0.06); }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 22px 0; flex-wrap: wrap; }

/* --- Pop-up audit gratuit ---------------------------------------------- */

.vox-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.vox-modal.open { opacity: 1; pointer-events: auto; }
.vox-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 36, 0.72);
  backdrop-filter: blur(5px);
}
.vox-modal-box {
  position: relative;
  width: min(580px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 5px solid var(--cyan);
  padding: 36px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}
.vox-modal.open .vox-modal-box { transform: none; }
.vox-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.vox-modal-close:hover { background: var(--mist); }
.vox-modal-box h3 { font-size: 1.45rem; margin-bottom: 6px; padding-right: 40px; }
.vox-modal-sub { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 24px; }
body.vox-modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .vox-modal { padding: 12px; }
  .vox-modal-box { padding: 26px 20px; }
}

/* --- Motion helpers ---------------------------------------------------- */

/* Les éléments [data-reveal] restent visibles par défaut ;
   c'est GSAP qui pose l'état initial masqué avant de les révéler. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- Illustrations & micro-animations ---------------------------------- */

.pole-art { height: 132px; margin-bottom: 18px; }
.pole-art svg { height: 100%; width: auto; overflow: visible; }

.page-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-art { justify-self: center; width: min(400px, 76vw); }
.hero-art svg { width: 100%; height: auto; overflow: visible; }

.wave-line { display: block; margin-top: 14px; width: 150px; height: 16px; overflow: visible; }
.wave-line path { stroke: var(--teal); stroke-width: 3; fill: none; stroke-linecap: round; }
.on-dark .wave-line path, .cta-band .wave-line path { stroke: var(--cyan); }

@keyframes vox-pulse { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.95; } }
.pulse-1 { animation: vox-pulse 2.6s ease-in-out infinite; }
.pulse-2 { animation: vox-pulse 2.6s ease-in-out 0.35s infinite; }
.pulse-3 { animation: vox-pulse 2.6s ease-in-out 0.7s infinite; }

@keyframes vox-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.12); } }
.blink { transform-origin: center; transform-box: fill-box; animation: vox-blink 4.2s infinite; }

@keyframes vox-spin { to { transform: rotate(360deg); } }
.spin { transform-origin: center; transform-box: fill-box; animation: vox-spin 11s linear infinite; }

@keyframes vox-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.floaty { animation: vox-float 5.5s ease-in-out infinite; }
.floaty-2 { animation: vox-float 6.4s ease-in-out 0.9s infinite; }

@keyframes vox-grow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.68); } }
.growbar { transform-origin: bottom; transform-box: fill-box; animation: vox-grow 3.4s ease-in-out infinite; }
.growbar-2 { animation-delay: 0.5s; }
.growbar-3 { animation-delay: 1s; }
.growbar-4 { animation-delay: 1.5s; }

/* --- Page références --------------------------------------------------- */

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  align-items: baseline;
  justify-content: space-between;
}
.logo-strip span { color: #7fa7bd; white-space: nowrap; }
.lg-1 { font-variation-settings: "wdth" 124; font-weight: 760; font-size: 1.3rem; letter-spacing: 0.01em; }
.lg-2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.3rem; font-style: italic; }
.lg-3 { font-variation-settings: "wdth" 108; font-weight: 500; font-size: 1.1rem; letter-spacing: 0.3em; text-transform: uppercase; }
.lg-4 { font-variation-settings: "wdth" 118; font-weight: 680; font-size: 1.25rem; border: 2px solid #7fa7bd; border-radius: 6px; padding: 2px 10px; }
.lg-5 { font-family: Georgia, serif; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.08em; }

.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.case:first-of-type { border-top: none; padding-top: 0; }
.case-sector {
  font-variation-settings: "wdth" 115;
  font-weight: 660;
  font-size: 0.92rem;
  color: var(--teal);
  margin-bottom: 10px;
}
.case h2 { margin-bottom: 14px; }
.case-context { color: var(--text-soft); }
.case blockquote {
  border-left: 3px solid var(--cyan);
  padding: 6px 0 6px 20px;
  margin-top: 24px;
  color: var(--navy);
  font-size: 1.05rem;
  font-style: italic;
}
.case blockquote footer { font-style: normal; font-size: 0.9rem; color: var(--text-soft); margin-top: 8px; }
.case-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.metric-num {
  font-variation-settings: "wdth" 122;
  font-weight: 720;
  font-size: 2.1rem;
  color: var(--teal);
  line-height: 1.1;
}
.metric-label { margin-top: 8px; font-size: 0.92rem; color: var(--text-soft); }

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .page-hero .container { grid-template-columns: 1fr; }
  .hero-art { justify-self: flex-start; margin-top: 8px; }
  .case { grid-template-columns: 1fr; gap: 30px; }
  .logo-strip { justify-content: flex-start; }
  .hero-eq { justify-self: start; width: min(320px, 70vw); margin-top: 10px; }
  .poles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step::after { display: none; }
  .service { grid-template-columns: 1fr; gap: 24px; }
  .merits { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-eq { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .agent-body ul { columns: 1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-open .main-nav { transform: translateY(0); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .steps { grid-template-columns: 1fr; }
  .merits { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .case-metrics { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
