/* ============================================================
   ECTO-BAT — Page-specific styles
   ============================================================ */

/* ── HOME HERO ──────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Grid lines */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Filigranes verticaux orange — signature visuelle */
.hero__filaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__filaments::before,
.hero__filaments::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
}

/* Ligne principale — bien visible, côté gauche du contenu */
.hero__filaments::before {
  left: clamp(120px, 12vw, 200px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(215,122,47,.0) 5%,
    rgba(215,122,47,.7) 20%,
    rgba(215,122,47,.9) 50%,
    rgba(215,122,47,.7) 80%,
    rgba(215,122,47,.0) 95%,
    transparent 100%
  );
}

/* Ligne secondaire — plus discrète, côté droit */
.hero__filaments::after {
  right: clamp(200px, 22vw, 380px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(215,122,47,.0) 15%,
    rgba(215,122,47,.25) 40%,
    rgba(215,122,47,.35) 60%,
    rgba(215,122,47,.0) 85%,
    transparent 100%
  );
}

/* Filament additionnel via span dédié (optionnel — ajouté en JS) */
.hero__filament-extra {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  left: clamp(60px, 6vw, 100px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(215,122,47,.0) 10%,
    rgba(215,122,47,.15) 30%,
    rgba(215,122,47,.2) 55%,
    rgba(215,122,47,.0) 80%,
    transparent 100%
  );
  pointer-events: none;
}

/* Glow */
.hero__glow-1 {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,92,138,.25) 0%, transparent 65%);
}

.hero__glow-2 {
  position: absolute;
  left: 30%;
  bottom: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,122,47,.1) 0%, transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-2xl);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  background: rgba(215,122,47,.12);
  border: 1px solid rgba(215,122,47,.25);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.hero__kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero__kicker span {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero__title {
  font-size: var(--t-hero);
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  max-width: 800px;
}

.hero__title em {
  font-style: italic;
  color: var(--orange);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,.6);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  font-weight: 300;
}

.hero__disciplines {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.hero__disc-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--t-small);
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

.hero__disc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── EXPERTISE SECTION (home) ───────────────────────────── */
.expertise-strip {
  background: var(--orange);
  padding: var(--space-md) 0;
  overflow: hidden;
}

.expertise-strip__inner {
  display: flex;
  gap: var(--space-2xl);
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.expertise-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  flex-shrink: 0;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── REFERENCES/CLIENTS ─────────────────────────────────── */
.ref-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  transition: all var(--t-mid) var(--ease);
}

.ref-card:hover {
  border-color: rgba(215,122,47,.3);
  box-shadow: var(--shadow-md);
}

.ref-card__sector {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-lt);
  margin-bottom: var(--space-sm);
}

.ref-card__title {
  font-size: var(--t-h4);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: .5rem;
}

.ref-card__desc {
  font-size: var(--t-small);
  color: var(--steel);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.ref-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
}

/* ── ARTICLE PAGE ───────────────────────────────────────── */
.article-body {
  max-width: 720px;
  margin-inline: auto;
}

.article-body h2 {
  font-size: var(--t-h3);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-body h3 {
  font-size: var(--t-h4);
  font-family: var(--font-body);
  font-weight: 700;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-body p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  list-style: revert;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body li { margin-bottom: .5rem; }

/* ── 404 ────────────────────────────────────────────────── */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h);
}

.not-found__code {
  font-family: var(--font-mono);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 500;
  color: var(--smoke);
  line-height: 1;
  margin-bottom: -.5rem;
}

/* ── CONTACT PAGE ───────────────────────────────────────── */
.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--rule);
}

.contact-info-block:last-child { border-bottom: none; }

.contact-info-block__icon {
  width: 40px;
  height: 40px;
  background: rgba(215,122,47,.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.contact-info-block__label {
  font-size: var(--t-xs);
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel-lt);
  margin-bottom: .25rem;
}

.contact-info-block__value {
  font-size: var(--t-small);
  color: var(--navy);
  font-weight: 600;
}

/* ── A PROPOS TIMELINE ──────────────────────────────────── */
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.timeline-item__year {
  font-family: var(--font-mono);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--orange);
  text-align: center;
  padding-top: .2rem;
}

.timeline-item__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  margin: .3rem auto 0;
  flex-shrink: 0;
}

/* ── LEGAL PAGES ────────────────────────────────────────── */
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--rule);
}

.legal-content h2:first-child { border-top: none; padding-top: 0; }

.legal-content p, .legal-content li {
  font-size: var(--t-small);
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: .75rem;
}

.legal-content ul { padding-left: 1.5rem; list-style: disc; }
