﻿/* ===== Variables ===== */
:root {
  --navy-950: #1c1e23;
  --navy-900: #282b32;
  --navy-800: #34383f;
  --navy-700: #40444c;
  --navy-600: #565a63;
  --blue-600: #001159;
  --blue-500: #1c2f80;
  --blue-400: #5a72d6;
  --cyan-400: #5a72d6;
  --slate-50: #f5f6f8;
  --slate-100: #e8eaee;
  --slate-300: #c2c6cf;
  --slate-500: #6b6f78;
  --slate-600: #494d55;
  --white: #ffffff;
  --radius: 8px;
  --shadow-sm: 4px 4px 0 var(--navy-900);
  --shadow-md: 7px 7px 0 var(--navy-900);
  --shadow-lg: 12px 12px 0 var(--navy-900);
  --container: 1180px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
html, body { overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--navy-900);
  font-weight: 800;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--navy-900); }
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}
.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover { background: var(--slate-50); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); box-shadow: 6px 6px 0 rgba(255,255,255,0.4); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--navy-900);
}
body { padding-top: 81px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
  font-family: 'Space Grotesk', sans-serif;
}
.logo-img { height: 42px; width: auto; display: block; }
.logo-plate {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--navy-950);
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 3px 3px 0 var(--blue-600);
}
.logo-footer .logo-img { height: 44px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a:not(.btn) {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-600);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.site-nav a:not(.btn):hover,
.site-nav a.active:not(.btn) { color: var(--navy-900); }
.site-nav a.active:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: var(--blue-600);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

/* ===== Hero slider (full-bleed, fills the section) ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(560px, 88vh, 860px);
  outline: none;
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slider::after {
  content: '';
  position: absolute;
  top: -36px;
  right: 56px;
  width: 120px;
  height: 120px;
  background: var(--cyan-400);
  border: 3px solid var(--navy-950);
  transform: rotate(14deg);
  z-index: 2;
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.hero-slide--1 { background-image: linear-gradient(100deg, rgba(13,13,16,0.94) 0%, rgba(13,13,16,0.8) 45%, rgba(13,13,16,0.45) 100%), url('../images/slider1.png'); }
.hero-slide--2 { background-image: linear-gradient(100deg, rgba(13,13,16,0.94) 0%, rgba(13,13,16,0.8) 45%, rgba(13,13,16,0.45) 100%), url('../images/slider2.png'); }
.hero-slide--3 { background-image: linear-gradient(100deg, rgba(13,13,16,0.94) 0%, rgba(13,13,16,0.8) 45%, rgba(13,13,16,0.45) 100%), url('../images/slider3.png'); }
.hero-slide-inner { width: 100%; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,16,0.45);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow:hover { background: var(--blue-600); border-color: var(--blue-600); }
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(13,13,16,0.4);
  transition: all 0.25s ease;
}
.slider-dots .dot.is-active {
  width: 28px;
  background: var(--cyan-400);
}
.slider-dots .dot:hover { background: rgba(255,255,255,0.6); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-400);
  border: 2px solid var(--navy-950);
  color: var(--navy-900);
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  box-shadow: 3px 3px 0 var(--navy-950);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--blue-500); }
.hero p {
  font-size: 1.1rem;
  color: var(--slate-300);
  margin-bottom: 34px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--slate-50); }
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }
.tag {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--slate-600); font-size: 1.05rem; }

/* ===== About / "Qui sommes-nous" ===== */
.about-media-wrap { position: relative; }
.about-media-wrap::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 110px;
  height: 110px;
  background: var(--cyan-400);
  border: 3px solid var(--navy-950);
  z-index: 0;
}
.about-media {
  position: relative;
  z-index: 1;
  border: 3px solid var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* ===== Feature / Icon cards ===== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.icon-box {
  width: 52px; height: 52px;
  border-radius: 8px;
  border: 2px solid var(--navy-900);
  background: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--navy-900);
}
.icon-box svg { width: 26px; height: 26px; }

.card {
  background: var(--white);
  border: 2px solid var(--navy-900);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--slate-600); font-size: 0.95rem; }

/* ===== Category nav ===== */
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.category-pill {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  border: 2px solid var(--navy-900);
  background: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.category-pill:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

/* ===== Product cards ===== */
.product-card {
  background: var(--white);
  border: 2px solid var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translate(-5px, -5px); box-shadow: var(--shadow-lg); }
.product-media {
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  position: relative;
}
.product-media svg { width: 64px; height: 64px; color: var(--cyan-400); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body h3 a { color: inherit; }
.product-body h3 a:hover { color: var(--blue-600); }

/* ===== Product detail ===== */
.product-detail.grid-2 { grid-template-columns: minmax(0, 480px) 1fr; }
.product-gallery { max-width: 480px; }
.product-detail-media {
  position: relative;
  border: 3px solid var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-media svg { width: 72px; height: 72px; color: var(--cyan-400); }
.product-detail-price {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy-900);
  background: var(--white);
  border: 2px solid var(--navy-900);
  border-radius: var(--radius);
  padding: 10px 20px;
  box-shadow: 3px 3px 0 var(--navy-900);
  margin-bottom: 22px;
}
.product-detail-lead { color: var(--navy-900); font-size: 1.15rem; font-weight: 600; margin-bottom: 16px; }
.product-detail-desc { color: var(--slate-600); font-size: 1.05rem; margin-bottom: 28px; }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 {
  color: var(--navy-900);
  font-weight: 800;
  margin: 28px 0 12px;
}
.rich-content h1:first-child, .rich-content h2:first-child, .rich-content h3:first-child, .rich-content h4:first-child { margin-top: 0; }
.rich-content h3 { font-size: 1.25rem; }
.rich-content h4 { font-size: 1.1rem; }
.rich-content p { margin-bottom: 16px; }
.rich-content ul, .rich-content ol { margin: 0 0 16px 22px; }
.rich-content li { margin-bottom: 8px; }
.rich-content strong { color: var(--navy-900); }
.rich-content a { color: var(--blue-600); text-decoration: underline; }
.rich-content img { border-radius: var(--radius); margin: 16px 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.rich-content th, .rich-content td { padding: 10px 14px; border: 1px solid var(--slate-100); text-align: left; }

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
  max-width: 480px;
}
.gallery-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 2px solid var(--slate-300);
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--navy-900); }
.gallery-thumb.is-active { border-color: var(--blue-600); box-shadow: 2px 2px 0 var(--blue-600); }

.is-zoomable { cursor: zoom-in; }
.gallery-zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,16,0.55);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.gallery-zoom-btn svg { width: 20px; height: 20px; }
.gallery-zoom-btn:hover { background: var(--blue-600); border-color: var(--blue-600); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5,5,6,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  padding: 24px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
body.lightbox-open { overflow: hidden; }

/* ===== Page loader ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(13,13,16,0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.page-loader.is-active { opacity: 1; visibility: visible; }
.page-loader-spinner {
  width: 56px;
  height: 56px;
  border: 5px solid rgba(255,255,255,0.25);
  border-top-color: var(--blue-400);
  border-radius: 50%;
  animation: page-loader-spin 0.8s linear infinite;
}
@keyframes page-loader-spin { to { transform: rotate(360deg); } }
.page-loader-text {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}
.lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  border: 3px solid rgba(255,255,255,0.15);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-close:hover { background: var(--blue-600); border-color: var(--blue-600); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-arrow svg { width: 24px; height: 24px; }
.lightbox-arrow:hover { background: var(--blue-600); border-color: var(--blue-600); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 640px) {
  .lightbox-arrow, .lightbox-close { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--cyan-400);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid var(--navy-950);
}
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 1.1rem; }
.product-body p { color: var(--slate-600); font-size: 0.92rem; flex: 1; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.product-price { font-weight: 800; color: var(--navy-900); }
.product-link { color: var(--blue-600); font-weight: 700; font-size: 0.9rem; }

/* ===== Full-width project CTA (photo background) ===== */
.project-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(13,13,16,0.92) 0%, rgba(13,13,16,0.8) 45%, rgba(13,13,16,0.6) 100%),
    url('../images/projet.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 3px solid var(--navy-950);
  border-bottom: 3px solid var(--navy-950);
  padding: 110px 0;
  text-align: center;
  color: var(--white);
}
.project-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.project-cta h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.project-cta p {
  color: var(--slate-300);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .project-cta { padding: 72px 0; }
}

/* ===== CTA actions ===== */
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Timeline / list rows ===== */
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--slate-100);
}
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--slate-500); font-weight: 500; }
.info-row dd { font-weight: 700; text-align: right; }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--navy-900);
  background: var(--slate-50);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--blue-600);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 2px solid;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.95rem;
}
.alert-success { background: #eaffb0; color: #2c3b00; border-color: var(--navy-900); }
.alert-error { background: #ffe0d6; color: #7a1c00; border-color: var(--navy-900); }

.contact-grid.grid-2 { grid-template-columns: 2fr 1fr; }

.map-frame {
  border: 3px solid var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.contact-panel {
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid var(--navy-950);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-panel h3 { margin-bottom: 24px; }
.contact-panel .info-row { border-color: rgba(255,255,255,0.12); }
.contact-panel .info-row dt { color: var(--slate-300); }
.contact-panel .info-row dd { color: var(--white); }

/* ===== Page header (non-home pages) ===== */
.page-header {
  position: relative;
  background:
    linear-gradient(100deg, rgba(13,13,16,0.92) 0%, rgba(13,13,16,0.8) 45%, rgba(13,13,16,0.6) 100%),
    url('../images/projet.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 3px solid var(--navy-950);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header .tag { color: var(--cyan-400); }
.page-header h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 12px; }
.page-header p { color: var(--slate-300); max-width: 560px; margin: 0 auto; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-950); color: var(--slate-300); padding-top: 72px; border-top: 4px solid var(--blue-600); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; color: var(--slate-500); max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-600);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 3px solid var(--navy-900);
    transform: translateY(-130%);
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--slate-100); }
  .nav-cta { margin-top: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-actions .btn, .cta-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px;
    font-size: 0.76rem;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .product-detail.grid-2 { grid-template-columns: 1fr; }
  .contact-grid.grid-2 { grid-template-columns: 1fr; }
  .map-frame iframe { height: 300px; }
  .product-gallery, .product-gallery-thumbs { max-width: none; }
  .about-grid .about-content { order: 1; }
  .about-grid .about-media-wrap { order: 2; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-row { flex-direction: column; gap: 4px; }
  .info-row dd { text-align: left; }
  .slider-arrow { display: none; }
  .hero-slider { height: clamp(500px, 80vh, 640px); }
  .hero-slider::after { width: 84px; height: 84px; top: -24px; right: 24px; }
}
