/* VsimplifAI — Feuille de style principale Responsive « Premium »
   Palette : limestone #F5F2ED · nuit #0A1A2F · or discret #C5A059 · encre #2D3748
   Polices : Playfair Display (titres) + Inter (texte).
   Espacements : marges latérales généreuses (clamp), respiration visuelle optimisée sur tous écrans.
*/

:root {
  --limestone: #F5F2ED;
  --paper: #FFFFFF;
  --paper-warm: #F6F1E7;
  --stone: #ECE6DB;
  --navy: #0A1A2F;
  --navy-brand: #1B2A4A;
  --navy-2: #12263F;
  --gold: #C5A059;
  --gold-brand: #C8A24B;
  --gold-2: #B8934A;
  --gold-soft: #EBDCBE;
  --ink: #0A1A2F;
  --text: #2A3140;
  --text-2: #525F73;
  --muted: #7A8494;
  --sand: #8A7A55;
  --line: rgba(10, 26, 47, 0.12);
  --line-soft: rgba(10, 26, 47, 0.07);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 52px);
  --shadow-soft: 0 24px 60px -34px rgba(10, 26, 47, 0.5);
  --shadow-card: 0 18px 44px -30px rgba(10, 26, 47, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-h: 70px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--limestone);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: break-word;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-2);
}

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

::selection {
  background: var(--gold);
  color: #fff;
}

.serif-em {
  font-style: italic;
  color: var(--gold-2);
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
  font-weight: 600;
  font-family: var(--sans);
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Container & Sections with Generous Responsive Side Gutters */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.section {
  padding: clamp(64px, 8vw, 96px) 0 clamp(28px, 4vw, 42px);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 12px;
  display: inline-block;
}

h2.title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-head.center h2.title {
  display: inline-block;
  padding-bottom: 16px;
  position: relative;
}

.section-head.center h2.title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 2px;
  background: var(--gold-brand);
  transform: translateX(-50%);
  border-radius: 2px;
}

.lead {
  font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.62;
  color: var(--text);
  margin-top: 14px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(197, 160, 89, 0.5);
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.08);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--gold-2);
  text-transform: uppercase;
  max-width: 100%;
  line-height: 1.4;
  flex-wrap: wrap;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.15s ease;
  min-height: 48px;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.09);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: var(--gold-2);
  color: #fff;
}

.btn-outline-gold {
  background: transparent;
  border-color: rgba(197, 160, 89, 0.6);
  color: var(--gold-soft);
}

.btn-outline-gold:hover {
  background: rgba(197, 160, 89, 0.12);
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* Header & Navigation with Responsive Side Padding */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(245, 242, 237, 0.94);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.brand .ai {
  color: var(--gold-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
}

.nav-links a:not(.nav-fr):not(.nav-en):not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-2);
}

.nav-links a:not(.nav-fr):not(.nav-en):not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-fr, .nav-en {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-2) !important;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-fr:hover, .nav-en:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.nav-cta:hover {
  background: var(--navy-2);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--navy);
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(10, 26, 47, 0.05);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-links svg {
  width: 15px;
  height: 15px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 44px);
  padding: clamp(40px, 7vw, 76px) 0 clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero.hero-split {
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 52px);
}

.hero h1 {
  font-size: clamp(28px, 5.2vw, 56px);
  letter-spacing: -0.8px;
  font-weight: 700;
  margin: 18px 0;
  line-height: 1.12;
}

.hero .lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--text);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-frame-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: var(--paper-warm);
}

.hero-frame-wrap > picture,
.hero-frame-wrap > picture > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* Editorial Atmosphere & Applications Bands */
.office-wrap {
  padding: 8px 0 0;
}

.atmosphere-band,
.applications-hero {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background: var(--paper-warm);
  margin-bottom: 24px;
}

.atmosphere-band picture,
.applications-hero picture,
.atmosphere-band picture > img,
.applications-hero picture > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* Human-Control Principle Band */
.principle-band {
  text-align: center;
  padding: clamp(24px, 4vw, 36px) 0 clamp(10px, 2vw, 18px);
}

.principle-line {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 3.2vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--ink);
  max-width: 860px;
  margin: 0 auto;
}

/* Trust Bar */
.trust {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(22px, 3.5vw, 32px) 0;
}

.trust-preamble {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-2);
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.trust-grid.trust-6 {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(197, 160, 89, 0.13);
  color: var(--gold-2);
  flex-shrink: 0;
}

.trust-item svg {
  width: 20px;
  height: 20px;
}

.trust-item p {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.35;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 24px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

/* Service Cards with Comfortable Internal Padding */
.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 3.5vw, 32px) clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.svc:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.svc .num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.svc h3 {
  font-size: 21px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.svc p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.svc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
}

.svc li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

.svc li .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.svc.svc-warm {
  background: var(--paper-warm);
}

/* Use Cases */
.usecase {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px) clamp(18px, 2.5vw, 26px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.usecase:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.usecase .uc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(10, 26, 47, 0.05);
  color: var(--navy);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.usecase .uc-icon svg {
  width: 22px;
  height: 22px;
}

.usecase h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.usecase p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Method Section */
.method {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
  padding-top: 10px;
}

.method .thread {
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 1.6px;
  background: linear-gradient(90deg, rgba(200, 162, 75, 0.1), rgba(200, 162, 75, 0.65), rgba(200, 162, 75, 0.1));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 4px;
}

.step .num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  color: rgba(200, 162, 75, 0.35);
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.step p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* Approach & Principles Band with Refined Inset Padding */
.approach-band {
  background: var(--navy);
  color: #e7ecf3;
  padding: clamp(44px, 6vw, 72px) clamp(22px, 5vw, 48px);
  border-radius: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.approach-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 75, 0.55), transparent);
}

.approach-band::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 75, 0.35), transparent);
}

.approach-band .eyebrow {
  color: var(--gold-brand);
}

.approach-band h2 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 820px;
  margin: 10px auto 18px;
}

.approach-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 32px;
}

.approach-principles .principle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 26px) clamp(18px, 2.5vw, 24px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.approach-principles .principle:hover {
  border-color: var(--gold-brand);
  box-shadow: var(--shadow-card);
}

.approach-principles .p-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(200, 162, 75, 0.14);
  color: var(--gold-2);
  flex-shrink: 0;
}

.approach-principles .p-ic svg {
  width: 20px;
  height: 20px;
}

.approach-principles h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.2px;
}

.approach-principles p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* FAQ Section */
.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color 0.25s ease;
}

.faq details[open] {
  border-color: var(--gold);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px clamp(18px, 3vw, 26px);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(16.5px, 2.2vw, 18.5px);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  line-height: 1.35;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .sign {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.14);
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.25s ease;
  font-family: var(--sans);
}

.faq details[open] summary .sign {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 clamp(18px, 3vw, 26px) 22px;
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-2);
}

.faq details a {
  color: var(--gold-2);
  text-decoration: underline;
}

/* Contact Section & Form with Spacious Inset */
.contact {
  background: var(--navy);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.contact-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background: rgba(197, 160, 89, 0.06);
  transform: skewX(-12deg) translateX(40%);
  z-index: 0;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: clamp(36px, 5.5vw, 54px) clamp(24px, 4.5vw, 46px);
  color: #c8d0dc;
}

.contact-left .badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 160, 89, 0.5);
  color: var(--gold-soft);
}

.contact-left h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 20px 0 16px;
  line-height: 1.2;
}

.contact-left .contact-lead {
  color: #b9c2d0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 24px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 380px;
}

.mail-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--gold-soft);
  font-size: 14.5px;
  padding: 4px 0;
}

.mail-gold:hover {
  color: #fff;
}

.contact-right {
  background: var(--paper);
  padding: clamp(36px, 5.5vw, 50px) clamp(24px, 4.5vw, 42px);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.field input,
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 16px; /* Prevents auto-zoom on iOS */
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid rgba(10, 26, 47, 0.2);
  border-radius: 10px;
  background: var(--paper);
  outline: none;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 105px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.22);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Footer with Balanced Responsive Margins */
.site-footer {
  background: var(--navy);
  color: #aeb8c6;
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(40px, 6vw, 56px) var(--gutter) clamp(24px, 3.5vw, 36px);
  max-width: var(--wrap);
  margin: 0 auto;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand .ai {
  color: var(--gold);
}

.footer-top h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
}

.footer-links a {
  color: #c2cbd8;
  padding: 2px 0;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.txt-muted {
  color: #8b96a6;
  font-size: 13.5px;
  line-height: 1.5;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c2cbd8;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.socials .foot-en,
.socials .socials-en {
  width: auto !important;
  gap: 7px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 600;
}

.footer-bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter) 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--sans);
  font-size: 13px;
  color: #8b96a6;
}

.footer-bar nav {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
}

.footer-bar a {
  color: #a2adbc;
}

.footer-bar a:hover {
  color: var(--gold-soft);
}

.footer-bar .sep {
  color: #4a5568;
}

/* Utilities */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Responsive Media Queries */
@media (max-width: 1010px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: var(--limestone);
    border-bottom: 1px solid var(--line);
    padding: 20px var(--gutter) 28px;
    box-shadow: 0 20px 40px rgba(10, 26, 47, 0.16);
    z-index: 100;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open a {
    font-size: 16px;
    padding: 8px 0;
  }
  .nav-links.open .nav-cta,
  .nav-links.open .nav-fr,
  .nav-links.open .nav-en {
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  
  .method {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .method .thread {
    display: none;
  }
  
  .approach-principles {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-actions {
    max-width: 100%;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  
  .hero {
    gap: 24px;
  }
  
  .hero h1 {
    font-size: clamp(26px, 7vw, 36px);
    margin: 14px 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-frame-wrap > picture > img,
  .atmosphere-band picture > img,
  .applications-hero picture > img {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .approach-band {
    border-radius: 18px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .btn {
    font-size: 14.5px;
    padding: 12px 18px;
  }
  
  .badge {
    font-size: 11px;
  }
}
