/* ============================================
   DELTA — Design tokens
   ============================================ */
:root {
  --navy: #0A2540;
  --navy-deep: #071A30;
  --steel: #1768A6;
  --steel-light: #4A9BD4;
  --ice: #EEF3F8;
  --white: #FFFFFF;
  --slate: #5C6B78;
  --slate-light: #8B97A3;
  --ember: #B3242E;
  --line: #DCE5EC;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.kicker-fire { color: var(--ember); }
.kicker-heat { color: var(--steel); }
.kicker-light { color: var(--steel-light); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}

.brand-logo {
  height: 30px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a {
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--steel);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--navy);
}
.header-cta .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(179,36,46,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(179,36,46,0.45); }
  70% { box-shadow: 0 0 0 6px rgba(179,36,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(179,36,46,0); }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #0E3358 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 110px;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-network {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
}
.network-svg { width: 100%; height: 100%; }

.net-lines path {
  fill: none;
  stroke: rgba(255,255,255,0.14);
  stroke-width: 2;
}
.net-trunk { stroke: rgba(74,155,212,0.45) !important; stroke-width: 3 !important; }

.net-nodes circle {
  fill: rgba(255,255,255,0.3);
}

.valve {
  fill: var(--navy);
  stroke-width: 4;
  stroke-dasharray: 6 5;
  animation: spin 14s linear infinite;
  transform-origin: center;
}
.valve-fire { stroke: var(--ember); }
.valve-heat { stroke: var(--steel-light); }
@keyframes spin { to { transform: rotate(360deg); } }

.hub {
  fill: rgba(255,255,255,0.06);
  stroke: rgba(255,255,255,0.35);
  stroke-width: 1.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel-light);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  margin-bottom: 24px;
  max-width: 14ch;
}
.hero h1 span { color: var(--steel-light); }

.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--steel);
  color: var(--white);
}
.btn-primary:hover { background: var(--steel-light); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-full { width: 100%; justify-content: center; }

/* Ticker */
.astreinte-ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(7,26,48,0.55);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}
.ticker-track span::before {
  content: '●';
  color: var(--ember);
  margin-right: 14px;
  font-size: 0.5rem;
  vertical-align: middle;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   INTRO
   ============================================ */
.intro {
  padding: 100px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.intro-body p {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 62ch;
  margin-bottom: 20px;
}
.intro-body strong { color: var(--navy); }

@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================
   ACTIVITY SECTIONS
   ============================================ */
.activity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.activity-reverse .activity-body { order: 2; }
.activity-reverse .activity-media { order: 1; }

.activity-media {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.activity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10,37,64,0.85);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 3px;
  letter-spacing: 0.01em;
}

.activity-media-split {
  display: grid;
  grid-template-rows: 1.4fr 1fr;
  gap: 2px;
}
.activity-media-split img { height: 100%; }

.activity-body {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.activity-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 18px;
  max-width: 16ch;
}
.activity-body > p {
  color: var(--slate);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 48ch;
}

.capability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.capability-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.97rem;
  color: var(--navy);
}
.capability-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--steel);
}
#incendie .capability-list li::before { background: var(--ember); }

.env-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.env-row span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .activity, .activity-reverse .activity-body, .activity-reverse .activity-media {
    grid-template-columns: 1fr;
    order: initial;
  }
  .activity { grid-template-columns: 1fr; }
  .activity-body { padding: 56px 28px; order: 2 !important; }
  .activity-media { order: 1 !important; min-height: 320px; }
}

/* ============================================
   WELD STRIP
   ============================================ */
.weld-strip {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.weld-strip img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.weld-overlay {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}
.weld-overlay::before {
  content: '';
  position: absolute;
  inset: -40px -24px;
  background: linear-gradient(90deg, rgba(7,26,48,0.92) 0%, rgba(7,26,48,0.55) 55%, transparent 100%);
  z-index: -1;
}
.weld-overlay h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 14px;
  max-width: 16ch;
}
.weld-overlay p:not(.kicker) {
  color: rgba(255,255,255,0.75);
  max-width: 40ch;
  font-size: 1rem;
}
.weld-overlay .kicker { color: var(--steel-light); }

/* ============================================
   ENGAGEMENTS
   ============================================ */
.engagements {
  background: var(--navy-deep);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
}
.section-title-light {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  max-width: 26ch;
  margin: 0 auto 64px;
  color: var(--white);
}
.engagements-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.engagement-item {
  background: var(--navy-deep);
  padding: 36px 28px;
  text-align: left;
}
.eng-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--steel-light);
  margin-bottom: 18px;
}
.engagement-item h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.engagement-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .engagements-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .engagements-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CLIENTS
   ============================================ */
.clients {
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.clients-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 28px;
}
.clients-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.client-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--slate-light);
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.25s ease;
}
.client-name:hover {
  color: var(--steel);
  opacity: 1;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 24px;
  background: var(--ice);
}
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}
.contact-zone {
  color: var(--slate);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 36ch;
}
.contact-details {
  display: grid;
  gap: 22px;
}
.contact-details > div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.contact-details dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 4px;
}
.contact-details dd {
  font-size: 1.05rem;
  font-weight: 500;
}
.contact-details a:hover { color: var(--steel); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--steel);
}
.form-note {
  font-size: 0.88rem;
  color: var(--steel);
  min-height: 1.2em;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 48px 24px;
  font-size: 0.85rem;
}
.footer-logo {
  height: 22px;
  margin: 0 auto 18px;
  filter: brightness(0) invert(1) opacity(0.85);
}
.site-footer p { margin-bottom: 4px; }
.footer-copy { color: rgba(255,255,255,0.35); margin-top: 10px; }
