/* ============================================================
   WATIER VISUEL PRODUCTION — style.css
   Dark charcoal + orange accent, modern 3D production studio
   ============================================================ */

/* ----------------------------------------------------------
   0. Custom properties
   ---------------------------------------------------------- */
:root {
  --bg:       #0e0e0e;
  --bg2:      #161616;
  --bg3:      #1e1e1e;
  --surface:  #242424;
  --border:   #2e2e2e;
  --border2:  #3a3a3a;

  --white:    #ffffff;
  --off-white:#e8e8e8;
  --muted:    #888888;
  --faint:    #555555;

  --accent:   #f97316;
  --accent-d: #d9600f;
  --accent-l: #fb923c;

  --text:     #d4d4d4;
  --heading:  #f5f5f5;

  --radius:   10px;
  --radius-lg:18px;
  --shadow:   0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:0 12px 48px rgba(0,0,0,.65);

  --header-h: 68px;
  --container:1200px;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --fw-normal: 400;
  --fw-mid:    500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-black:  900;
}

/* ----------------------------------------------------------
   1. Reset & base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-weight: var(--fw-normal);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  line-height: 1.25;
  font-weight: var(--fw-bold);
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: var(--fw-black); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--heading); font-weight: var(--fw-semi); }

blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg3);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--off-white);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   2. Layout helpers
   ---------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------
   3. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: .9rem;
  font-family: var(--font);
  font-weight: var(--fw-semi);
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  letter-spacing: .01em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-d);
  border-color: var(--accent-d);
  color: #fff;
  box-shadow: 0 6px 20px rgba(249,115,22,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border-color: var(--border2);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--white);
  border-color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ----------------------------------------------------------
   4. Header & Navigation
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(14,14,14,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-menu a {
  display: block;
  padding: .45rem .85rem;
  font-size: .88rem;
  font-weight: var(--fw-mid);
  color: var(--muted);
  border-radius: 5px;
  transition: color .2s, background .2s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: var(--surface);
}
.nav-menu a.active {
  color: var(--accent);
}

.nav-cta {
  margin-left: .5rem;
  padding: .55rem 1.25rem;
  font-size: .85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   5. Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
  background: var(--bg) url('/images/hero-bg.jpg') center/cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,14,14,.92) 0%, rgba(14,14,14,.87) 60%, rgba(249,115,22,.08) 100%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: -1;
}

.hero-content {
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: var(--fw-semi);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.25);
  padding: .35rem .9rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero h1 span {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 600px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: var(--faint);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: var(--faint);
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ----------------------------------------------------------
   6. Section wrappers
   ---------------------------------------------------------- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg2);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: var(--fw-semi);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.accent { color: var(--accent); }

/* ----------------------------------------------------------
   7. Stats
   ---------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.5rem var(--container-pad, 0);
  max-width: var(--container);
  margin: 0 auto;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  color: var(--accent);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.03em;
}
.stat-label {
  font-size: .85rem;
  color: var(--muted);
  font-weight: var(--fw-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ----------------------------------------------------------
   8. Cards grid
   ---------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-semi);
  margin-bottom: .6rem;
  color: var(--heading);
}
.card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   9. Video showcase
   ---------------------------------------------------------- */
.video-showcase {
  position: relative;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
}

.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(14,14,14,.9) 0%,
    rgba(14,14,14,.7) 50%,
    rgba(249,115,22,.08) 100%);
  display: flex;
  align-items: center;
  z-index: -1;
}

.showcase-overlay .container {
  color: var(--white);
}
.showcase-overlay h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-black);
  margin-bottom: .75rem;
  color: var(--white);
}
.showcase-overlay p {
  font-size: 1.1rem;
  color: var(--off-white);
  max-width: 480px;
  margin: 0;
}

/* ----------------------------------------------------------
   10. Split / two-col
   ---------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg3);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.split-img:hover img { transform: scale(1.04); }

.split-text .section-tag {
  display: block;
  margin-bottom: .5rem;
}
.split-text h2 {
  margin-bottom: 1rem;
}
.split-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.split-text a { color: var(--accent); }
.split-text a:hover { text-decoration: underline; }

.split-list {
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.split-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-size: .95rem;
}
.split-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ----------------------------------------------------------
   11. Process grid
   ---------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: process-step;
}

.process-step {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 2rem 4rem;
  position: relative;
  counter-increment: process-step;
  transition: border-color .2s, transform .2s;
}
.process-step:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}
.process-step::before {
  content: counter(process-step, decimal-leading-zero);
  position: absolute;
  top: 1.75rem;
  left: 1.5rem;
  font-size: .75rem;
  font-weight: var(--fw-black);
  color: var(--accent);
  letter-spacing: .05em;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: var(--fw-semi);
  margin-bottom: .5rem;
  color: var(--heading);
}
.process-step p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ----------------------------------------------------------
   12. Testimonials
   ---------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-quote {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: var(--fw-bold);
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: .9rem;
  font-weight: var(--fw-semi);
  color: var(--heading);
}
.testimonial-role {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* ----------------------------------------------------------
   13. News grid
   ---------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg2);
  transition: transform .4s;
}
.news-card:hover .news-card-img { transform: scale(1.04); }

.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.2);
  padding: .2rem .6rem;
  border-radius: 3px;
  margin-bottom: .75rem;
}

.news-card-body h3 {
  font-size: 1rem;
  font-weight: var(--fw-semi);
  margin-bottom: .4rem;
  line-height: 1.4;
}
.news-card-body h3 a {
  color: var(--heading);
  transition: color .2s;
}
.news-card-body h3 a:hover { color: var(--accent); }

.news-meta {
  font-size: .8rem;
  color: var(--faint);
  margin-bottom: .75rem;
}

.news-card-body p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ----------------------------------------------------------
   14. CTA Banner
   ---------------------------------------------------------- */
.cta-banner {
  padding: 5rem 0;
  text-align: center;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(249,115,22,.07) 0%, transparent 70%);
  z-index: -1;
}
.cta-banner .section-tag { display: block; margin-bottom: .75rem; }
.cta-banner h2 { margin-bottom: 1rem; color: var(--white); }
.cta-banner p {
  max-width: 580px;
  margin: 0 auto 2.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------
   15. Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 1.1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer-col ul a {
  font-size: .88rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .82rem;
  color: var(--faint);
  margin: 0;
}

.social-links {
  display: flex;
  gap: .75rem;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.social-links svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s;
}
.social-links a:hover svg { stroke: #fff; }

/* ----------------------------------------------------------
   16. Page hero (inner pages)
   ---------------------------------------------------------- */
.page-hero {
  padding: 4rem 0 3rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin-top: .75rem;
  margin-bottom: .75rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 540px;
  font-size: 1.05rem;
  margin: 0;
}

/* ----------------------------------------------------------
   17. Breadcrumb
   ---------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--faint);
  margin-bottom: .5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden="true"] { color: var(--faint); }

/* ----------------------------------------------------------
   18. Article (blog)
   ---------------------------------------------------------- */
.article-hero {
  position: relative;
  padding: 6rem 0 4rem;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,14,14,.93) 0%, rgba(14,14,14,.8) 55%, rgba(14,14,14,.6) 100%);
  z-index: -1;
}
.article-hero-content {
  max-width: 720px;
}
.article-hero h1 {
  color: var(--white);
  margin: .75rem 0 .75rem;
}

.article-meta {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

.article-body {
  padding: 4rem 0 5rem;
}

.article-content {
  max-width: 740px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.article-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
  border: 1px solid var(--border);
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----------------------------------------------------------
   19. Contact page
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.75rem;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: .15rem;
}
.contact-detail span {
  font-size: .9rem;
  color: var(--muted);
}

/* ----------------------------------------------------------
   20. Contact form
   ---------------------------------------------------------- */
.contact-form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-group label {
  font-size: .83rem;
  font-weight: var(--fw-semi);
  color: var(--off-white);
  letter-spacing: .02em;
}

.form-control {
  font-family: var(--font);
  font-size: .9rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: .7rem 1rem;
  color: var(--white);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}
.form-control::placeholder { color: var(--faint); }
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
textarea.form-control { min-height: 130px; }

/* ----------------------------------------------------------
   21. Portfolio grid
   ---------------------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg3);
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,14,.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity .3s;
}
.portfolio-item:hover .portfolio-caption { opacity: 1; }
.portfolio-caption h3 {
  font-size: 1rem;
  color: var(--white);
}
.portfolio-caption p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
}

/* ----------------------------------------------------------
   22. Job listing (recrutement)
   ---------------------------------------------------------- */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.job-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.job-card:hover {
  border-color: var(--border2);
  transform: translateX(4px);
}

.job-info h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-semi);
  margin-bottom: .35rem;
  color: var(--heading);
}

.job-meta {
  font-size: .83rem;
  color: var(--muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 4px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
}
.job-badge.accent {
  background: rgba(249,115,22,.1);
  border-color: rgba(249,115,22,.3);
  color: var(--accent);
}

/* ----------------------------------------------------------
   23. Plan du site
   ---------------------------------------------------------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sitemap-group h3 {
  font-size: .85rem;
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.sitemap-group ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.sitemap-group ul a {
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s, padding-left .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.sitemap-group ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.sitemap-group ul a::before {
  content: '›';
  color: var(--accent);
  font-weight: var(--fw-bold);
}

/* ----------------------------------------------------------
   24. 404 Error page
   ---------------------------------------------------------- */
.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}

.error-code {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: var(--fw-black);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -.05em;
}

.error-page h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.error-page p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   25. Responsive — 900px
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  /* Nav */
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(14,14,14,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 2rem;
    gap: .25rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: .75rem 1rem;
    font-size: .95rem;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Grids */
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }

  /* Split */
  .split, .split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }
  .split.reverse .split-img { order: -1; }
}

/* ----------------------------------------------------------
   26. Responsive — 600px
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  .hero { padding: 4rem 0 4rem; }
  .hero-eyebrow { font-size: .75rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.5rem 1rem; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }

  .cards-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }

  .cta-actions { flex-direction: column; align-items: center; }

  .job-card { flex-direction: column; align-items: flex-start; }

  .video-showcase { height: 45vh; min-height: 260px; }

  .article-hero { padding: 3.5rem 0 2.5rem; }
  .article-body { padding: 3rem 0 4rem; }

  .breadcrumb { font-size: .78rem; }
}
