/* ════════════════════════════════════════════════════════════════
   ATELIER KERN — DESIGN SYSTEM (multi-pages)
   Studio d'architecture · Rénovation haut de gamme · Luxembourg
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:      #0e0c0a;
  --bg-s:    #181410;
  --bg-l:    #f5f0e8;
  --fg:      #f5f0e8;
  --fg-m:    rgba(245,240,232,.44);
  --fg-sub:  rgba(245,240,232,.12);
  --accent:  #c9a96e;
  --acc-d:   rgba(201,169,110,.15);
  --acc-dk:  #7a6235;   /* accent sur fond clair */

  --font-d: 'Fraunces', Georgia, serif;
  --font-b: 'Syne', system-ui, sans-serif;
  --font-m: 'Courier New', monospace;

  --pad:  clamp(1.5rem, 5.5vw, 6.5rem);
  --sec:  clamp(5rem, 11vw, 9.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.72s;
  --fast: 0.28s;

  --maxw: 1280px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.5;
}

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

/* Warm grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
}

/* ── REVEALS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .32s; }
.d4 { transition-delay: .44s; }

/* ── SIGNATURE MOTIF: gold rule ── */
.gold-rule { display: block; height: 1px; background: var(--accent); }
.gold-rule-sm { width: 36px; margin-bottom: 1.5rem; }

/* ── CONTAINER ── */
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════════ */
.btn-acc {
  display: inline-block;
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg); background: var(--accent);
  padding: .8rem 1.8rem; text-decoration: none;
  transition: opacity var(--fast), transform var(--fast);
  cursor: pointer; border: none;
}
.btn-acc:hover { opacity: .82; transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-m); border: 1px solid rgba(245,240,232,.2);
  padding: .8rem 1.8rem; text-decoration: none;
  transition: border-color var(--fast), color var(--fast);
  background: transparent; cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(245,240,232,.55); color: var(--fg); }
.btn-acc-light {
  display: inline-block;
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg-l); background: var(--bg);
  padding: .8rem 1.8rem; text-decoration: none;
  transition: background var(--fast), transform var(--fast);
}
.btn-acc-light:hover { background: var(--acc-dk); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--pad);
  transition: background var(--fast), padding var(--fast), border-color var(--fast);
  border-bottom: 1px solid transparent;
}
nav.sc {
  background: rgba(14,12,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .95rem var(--pad);
  border-bottom-color: rgba(245,240,232,.06);
}
.nav-logo {
  font-family: var(--font-d); font-style: italic;
  font-size: 1.35rem; font-weight: 400;
  letter-spacing: .04em; color: var(--fg);
  text-decoration: none; display: flex; align-items: center; gap: .7rem;
}
.nav-logo span {
  display: inline-block; width: 1px; height: 18px;
  background: var(--accent); margin: 0 .2rem;
}
.nav-logo small {
  font-family: var(--font-m); font-style: normal;
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-m); font-weight: 400;
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-m); text-decoration: none;
  position: relative; padding-bottom: 3px;
  transition: color var(--fast);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--fast) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg); background: var(--accent);
  padding: .52rem 1.4rem; text-decoration: none;
  transition: opacity var(--fast), transform var(--fast);
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  z-index: 120;
}
.nav-burger span {
  width: 24px; height: 1.5px; background: var(--fg);
  transition: transform var(--fast), opacity var(--fast);
}
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--fast) var(--ease), visibility var(--fast);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu::before {
  content: 'K'; position: absolute; top: 8vh; right: -2vw;
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: 60vw; line-height: 1; color: rgba(245,240,232,.025);
  pointer-events: none; user-select: none;
}
.mm-links { list-style: none; display: flex; flex-direction: column; gap: .4rem; position: relative; }
.mm-links li { overflow: hidden; }
.mm-links a {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.15;
  color: var(--fg); text-decoration: none;
  display: flex; align-items: baseline; gap: 1rem;
  transition: color var(--fast);
}
.mm-links a small {
  font-family: var(--font-m); font-style: normal;
  font-size: .6rem; letter-spacing: .2em; color: var(--accent);
  transform: translateY(-.6em);
}
.mm-links a:hover { color: var(--accent); }
.mm-foot {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--fg-sub);
  display: flex; flex-direction: column; gap: .5rem;
  font-family: var(--font-m); font-size: .7rem;
  letter-spacing: .1em; color: var(--fg-m);
  position: relative;
}
.mm-foot a { color: var(--accent); text-decoration: none; }

/* ════════════════════════════════════════════════════════════════
   HERO (homepage)
════════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 40%;
  background: var(--bg);
  position: relative;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(3rem, 7vh, 5rem);
  position: relative; z-index: 2;
}
.hero-text::before {
  content: 'XII';
  position: absolute; bottom: 3rem; right: 0;
  font-family: var(--font-d); font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 300; line-height: 1;
  color: rgba(245,240,232,.025);
  letter-spacing: -.06em;
  pointer-events: none; user-select: none;
}
.hero-eyebrow {
  font-family: var(--font-m);
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .9rem;
  opacity: 0; animation: fadeUp .6s .2s var(--ease) forwards;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 22px; height: 1px; background: var(--accent);
}
.hero-h1 {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: .88; letter-spacing: -.025em;
  color: var(--fg); margin-bottom: 2.5rem;
}
.hero-h1 .ital { font-style: italic; color: var(--fg); }
.hero-h1 .ital-acc { font-style: italic; color: var(--accent); }
.hero-line { display: block; overflow: hidden; }
.hero-line span { display: block; opacity: 0; transform: translateY(102%); }
.hero-line:nth-child(1) span { animation: slideUp .8s .38s var(--ease) forwards; }
.hero-line:nth-child(2) span { animation: slideUp .8s .52s var(--ease) forwards; }
.hero-line:nth-child(3) span { animation: slideUp .8s .66s var(--ease) forwards; }
.hero-sep {
  width: 0; height: 1px; background: var(--accent);
  margin-bottom: 1.8rem;
  animation: growLine .6s .95s var(--ease) forwards;
}
.hero-sub {
  font-size: clamp(.88rem, 1.4vw, 1rem);
  color: var(--fg-m); max-width: 420px; line-height: 1.7;
  font-weight: 400; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .7s 1.05s var(--ease) forwards;
}
.hero-actions {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .65s 1.2s var(--ease) forwards;
}
.hero-img-col {
  position: relative; overflow: hidden;
  opacity: 0; animation: fadeIn .9s .3s ease forwards;
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.78) saturate(1.05) sepia(.08);
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 20%),
              linear-gradient(to top, rgba(14,12,10,.5) 0%, transparent 40%);
}
.hero-badge {
  position: absolute; bottom: 3rem; right: 2rem;
  background: rgba(14,12,10,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245,240,232,.08);
  padding: 1.2rem 1.6rem;
  opacity: 0; animation: fadeUp .6s 1.1s var(--ease) forwards;
}
.hero-badge-n {
  font-family: var(--font-d); font-style: italic;
  font-size: 2.5rem; font-weight: 300;
  color: var(--accent); line-height: 1;
}
.hero-badge-lbl {
  font-family: var(--font-m); font-size: .55rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-m); margin-top: .3rem; display: block;
}
/* Scroll cue */
.hero-cue {
  position: absolute; bottom: 2rem; left: var(--pad);
  font-family: var(--font-m); font-size: .55rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--fg-m); display: flex; align-items: center; gap: .7rem;
  opacity: 0; animation: fadeUp .6s 1.5s var(--ease) forwards;
  z-index: 3;
}
.hero-cue::after { content: ''; width: 30px; height: 1px; background: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 12rem var(--pad) clamp(3.5rem, 8vw, 6rem);
  background: var(--bg-s);
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: brightness(.42) saturate(.95) sepia(.12);
  z-index: 0;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--bg) 0%, rgba(14,12,10,.55) 45%, rgba(14,12,10,.7) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.breadcrumb {
  font-family: var(--font-m); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-m); margin-bottom: 2rem;
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
}
.breadcrumb a { color: var(--fg-m); text-decoration: none; transition: color var(--fast); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }
.breadcrumb .sep { color: rgba(245,240,232,.25); }
.page-hero h1 {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: .92; letter-spacing: -.025em;
  color: var(--fg); max-width: 16ch;
}
.page-hero h1 .ital { font-style: italic; }
.page-hero h1 .ital-acc { font-style: italic; color: var(--accent); }
.page-hero .lead {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: var(--fg-m); max-width: 56ch; line-height: 1.7;
  margin-top: 1.8rem;
}

/* ════════════════════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg-s);
  border-top: 1px solid rgba(245,240,232,.06);
  border-bottom: 1px solid rgba(245,240,232,.06);
  padding: 2.5rem var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-num {
  font-family: var(--font-d); font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--fg); line-height: 1;
}
.stat-lbl {
  font-family: var(--font-m); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-m); margin-top: .4rem; display: block;
}

/* ════════════════════════════════════════════════════════════════
   SECTION COMMONS
════════════════════════════════════════════════════════════════ */
section { position: relative; }
.sec-eyebrow {
  font-family: var(--font-m); font-size: .6rem;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1rem;
}
.sec-eyebrow::before {
  content: ''; display: inline-block; width: 18px; height: 1px; background: var(--accent);
}
.sec-heading {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .9; letter-spacing: -.025em; color: var(--fg);
}
.sec-heading .ital { font-style: italic; }
.sec-heading .ital-acc { font-style: italic; color: var(--accent); }
.sec-heading-dark {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .9; letter-spacing: -.025em; color: var(--bg);
}
.sec-heading-dark .ital { font-style: italic; }
.sec-intro {
  font-size: .92rem; color: var(--fg-m);
  line-height: 1.7; font-weight: 400; max-width: 420px;
}
.section-pad { padding: var(--sec) var(--pad); }
.section-pad-sm { padding: clamp(3.5rem, 7vw, 6rem) var(--pad); }
.bg-s { background: var(--bg-s); }
.bg-l { background: var(--bg-l); color: var(--bg); }
.bg-l .sec-eyebrow { color: var(--acc-dk); }
.bg-l .sec-eyebrow::before { background: var(--acc-dk); }

/* Section header (two-col) */
.sec-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: end; margin-bottom: 5rem;
}
.sec-head .sec-intro { align-self: end; }

/* ════════════════════════════════════════════════════════════════
   SERVICES GRID
════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--fg-sub);
}
.scard {
  background: var(--bg-s); padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background var(--fast);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.scard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.scard:hover::before { transform: scaleX(1); }
.scard:hover { background: rgba(24,20,16,.8); }
.scard-num {
  font-family: var(--font-m); font-size: .56rem;
  letter-spacing: .22em; color: var(--accent);
  margin-bottom: 1.8rem; display: block;
}
.scard-icon { font-size: 1.8rem; display: block; margin-bottom: 1.5rem; line-height: 1; }
.scard-title {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.05; color: var(--fg);
  margin-bottom: .9rem; letter-spacing: -.01em;
}
.scard-desc {
  font-size: .82rem; color: var(--fg-m);
  line-height: 1.65; font-weight: 400;
}
.scard-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.2rem; }
.tag {
  font-family: var(--font-m); font-size: .52rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,240,232,.3);
  border: 1px solid rgba(245,240,232,.1);
  padding: .22rem .65rem;
}
.scard-link {
  margin-top: auto; padding-top: 1.5rem;
  font-family: var(--font-m); font-size: .58rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: .5rem;
}
.scard-link::after { content: '→'; transition: transform var(--fast); }
.scard:hover .scard-link::after { transform: translateX(4px); }

/* Services list variant (rows) */
.svc-row {
  display: grid; grid-template-columns: 80px 1fr 1fr auto;
  gap: 2rem; align-items: center;
  padding: 2.2rem 0; border-bottom: 1px solid var(--fg-sub);
  text-decoration: none; color: inherit;
  transition: padding var(--fast);
}
.svc-row:first-of-type { border-top: 1px solid var(--fg-sub); }
.svc-row:hover { padding-left: 1rem; }
.svc-row .num {
  font-family: var(--font-m); font-size: .56rem;
  letter-spacing: .22em; color: var(--accent);
}
.svc-row .name {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--fg); line-height: 1.05;
}
.svc-row .desc {
  font-size: .85rem; color: var(--fg-m); line-height: 1.6;
}
.svc-row .arrow { font-size: 1.2rem; color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   PORTFOLIO GRID
════════════════════════════════════════════════════════════════ */
.porto-hd {
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--fg-sub);
  margin-bottom: 3.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; flex-wrap: wrap;
}
.porto-link {
  font-family: var(--font-m); font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-m); text-decoration: none;
  display: flex; align-items: center; gap: .6rem;
  transition: color var(--fast);
}
.porto-link:hover { color: var(--accent); }
.porto-link::after { content: '→'; }
.porto-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 440px 340px;
  gap: 3px;
}
.pj { position: relative; overflow: hidden; background: var(--bg-s); text-decoration: none; color: inherit; display: block; }
.pj-main { grid-row: 1 / 3; }
.pj-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.75) saturate(.9) sepia(.1);
  transition: transform .9s var(--ease), filter .5s;
}
.pj:hover .pj-img { transform: scale(1.04); filter: brightness(.82) saturate(1) sepia(.05); }
.pj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,12,10,.95) 0%, rgba(14,12,10,.3) 50%, transparent 100%);
}
.pj-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.8rem 2rem;
  transform: translateY(6px);
  transition: transform .4s var(--ease);
}
.pj:hover .pj-info { transform: none; }
.pj-type {
  font-family: var(--font-m); font-size: .56rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .4rem; display: block;
}
.pj-name {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--fg); line-height: 1; margin-bottom: .3rem;
}
.pj-loc { font-size: .75rem; color: rgba(245,240,232,.4); font-style: italic; }
.pj::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent); z-index: 2;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.pj:hover::before { transform: scaleX(1); }

/* Portfolio list (réalisations page) — grid of cards */
.proj-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px;
}
.proj-card { position: relative; overflow: hidden; background: var(--bg-s); aspect-ratio: 4/3; text-decoration: none; color: inherit; display: block; }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.9) sepia(.1); transition: transform .9s var(--ease), filter .5s; }
.proj-card:hover img { transform: scale(1.05); filter: brightness(.82); }
.proj-card .pj-overlay { background: linear-gradient(to top, rgba(14,12,10,.95) 0%, rgba(14,12,10,.25) 55%, transparent 100%); }
.proj-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent); z-index: 2;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.proj-card:hover::before { transform: scaleX(1); }

/* ════════════════════════════════════════════════════════════════
   PROCESS
════════════════════════════════════════════════════════════════ */
.proc-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; background: var(--fg-sub);
}
.pstep {
  background: var(--bg); padding: 2.8rem 2rem;
  position: relative;
}
.pstep-ghost {
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-d); font-style: italic;
  font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 300;
  line-height: 1; color: rgba(245,240,232,.04);
  letter-spacing: -.04em;
  user-select: none; pointer-events: none;
}
.pstep-line {
  width: 0; height: 1px; background: var(--accent);
  margin-bottom: 1.5rem;
  transition: width .65s var(--ease);
}
.pstep.vis .pstep-line { width: 28px; }
.pstep-n {
  font-family: var(--font-m); font-size: .56rem;
  letter-spacing: .22em; color: var(--accent);
  margin-bottom: .9rem; display: block;
}
.pstep-title {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.05; color: var(--fg);
  margin-bottom: .9rem; letter-spacing: -.01em;
}
.pstep-desc {
  font-size: .85rem; color: var(--fg-m);
  line-height: 1.68; font-weight: 400;
}
.pstep-dur {
  display: inline-block; margin-top: 1.2rem;
  font-family: var(--font-m); font-size: .55rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--acc-d);
  padding: .25rem .7rem;
}

/* ════════════════════════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════════════════════════ */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  background: var(--bg-s);
}
.cta-band-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.4) saturate(.9) sepia(.12);
  z-index: 0;
}
.cta-band-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(14,12,10,.92) 0%, rgba(14,12,10,.6) 60%, rgba(14,12,10,.4) 100%);
}
.cta-band-inner {
  position: relative; z-index: 2; max-width: 720px;
}
.cta-band h2 {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .95; letter-spacing: -.025em; color: var(--fg);
  margin-bottom: 1.5rem;
}
.cta-band h2 .ital { font-style: italic; color: var(--accent); }
.cta-band p {
  font-size: .95rem; color: var(--fg-m); line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 50ch;
}
.cta-band .hero-actions { animation: none; opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   CONTENT PROSE (two-col image+text rows)
════════════════════════════════════════════════════════════════ */
.it-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.it-row:last-child { margin-bottom: 0; }
.it-row.flip .it-media { order: 2; }
.it-media { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.it-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) saturate(.95) sepia(.06); transition: transform .9s var(--ease); }
.it-media:hover img { transform: scale(1.04); }
.it-media .frame-num {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-m); font-size: .56rem;
  letter-spacing: .2em; color: var(--accent);
  background: rgba(14,12,10,.7); backdrop-filter: blur(6px);
  padding: .3rem .7rem;
}
.it-body p {
  font-size: .92rem; color: var(--fg-m); line-height: 1.75; margin-bottom: 1.1rem;
}
.it-body h3 {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05;
  color: var(--fg); margin-bottom: 1.3rem; letter-spacing: -.01em;
}

/* Feature list (checkmarks) */
.feat-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-top: 1.8rem; }
.feat-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 1rem;
  font-size: .88rem; color: var(--fg); line-height: 1.5;
  padding-bottom: .9rem; border-bottom: 1px solid var(--fg-sub);
}
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before {
  content: '✦'; color: var(--accent); font-family: var(--font-m);
  font-size: .8rem;
}
.feat-list li small { grid-column: 2; display: block; color: var(--fg-m); font-size: .8rem; margin-top: .2rem; }

/* ════════════════════════════════════════════════════════════════
   PROJECT DETAIL
════════════════════════════════════════════════════════════════ */
.proj-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--fg-sub);
  border-top: 1px solid var(--fg-sub);
  border-bottom: 1px solid var(--fg-sub);
  margin: clamp(2.5rem, 5vw, 4rem) 0;
}
.proj-meta .cell { background: var(--bg); padding: 1.8rem 1.5rem; }
.proj-meta .k {
  font-family: var(--font-m); font-size: .55rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-m); display: block; margin-bottom: .5rem;
}
.proj-meta .v {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: 1.4rem; color: var(--fg); line-height: 1;
}
.proj-meta .v small {
  font-family: var(--font-b); font-style: normal; font-size: .78rem;
  color: var(--fg-m); display: block; margin-top: .3rem;
}

.proj-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
}
.proj-gallery .full { grid-column: 1 / 3; }
.proj-gallery img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); aspect-ratio: 4/3; }
.proj-gallery .full img { aspect-ratio: 21/9; }

/* Pull quote / testimonial */
.quote {
  border-left: 2px solid var(--accent);
  padding: .5rem 0 .5rem 2rem;
  margin: clamp(2rem, 4vw, 3rem) 0;
}
.quote p {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.3;
  color: var(--fg); margin-bottom: 1.2rem; letter-spacing: -.01em;
}
.quote cite {
  font-family: var(--font-m); font-style: normal; font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}

/* Project nav (prev/next) */
.proj-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  background: var(--fg-sub); border-top: 1px solid var(--fg-sub);
}
.proj-nav a {
  background: var(--bg-s); padding: 2.5rem 2rem;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .5rem;
  transition: background var(--fast);
}
.proj-nav a:hover { background: rgba(24,20,16,.8); }
.proj-nav a.next { text-align: right; align-items: flex-end; }
.proj-nav .lbl {
  font-family: var(--font-m); font-size: .55rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.proj-nav .nm {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--fg);
}

/* ════════════════════════════════════════════════════════════════
   TEAM / ABOUT
════════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  background: var(--fg-sub);
}
.team-card { background: var(--bg-s); padding: 0 0 2rem; }
.team-card .ph { aspect-ratio: 4/5; overflow: hidden; background: var(--bg); }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) saturate(.9) sepia(.08); transition: transform .9s var(--ease); }
.team-card:hover .ph img { transform: scale(1.04); }
.team-card h4 {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: 1.5rem; color: var(--fg); margin: 1.5rem 1.5rem .3rem;
}
.team-card .role {
  font-family: var(--font-m); font-size: .56rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin: 0 1.5rem; display: block;
}
.team-card p {
  font-size: .82rem; color: var(--fg-m); line-height: 1.6;
  margin: 1rem 1.5rem 0;
}

/* Values grid */
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--fg-sub); }
.val-cell { background: var(--bg-s); padding: 2.5rem 2rem; }
.val-cell .num { font-family: var(--font-m); font-size: .56rem; letter-spacing: .22em; color: var(--accent); display: block; margin-bottom: 1.5rem; }
.val-cell h4 { font-family: var(--font-d); font-style: italic; font-weight: 300; font-size: 1.4rem; color: var(--fg); margin-bottom: .8rem; line-height: 1.1; }
.val-cell p { font-size: .85rem; color: var(--fg-m); line-height: 1.65; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: grid; grid-template-columns: 140px 1fr; gap: 2rem;
  padding: 1.8rem 0; border-bottom: 1px solid var(--fg-sub);
}
.tl-item:first-of-type { border-top: 1px solid var(--fg-sub); }
.tl-year { font-family: var(--font-d); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--accent); line-height: 1; }
.tl-body h4 { font-family: var(--font-b); font-weight: 600; font-size: .95rem; color: var(--fg); margin-bottom: .4rem; }
.tl-body p { font-size: .85rem; color: var(--fg-m); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════════
   FAQ ACCORDION
════════════════════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--fg-sub); }
.faq-item:first-of-type { border-top: 1px solid var(--fg-sub); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 1.8rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--fg);
  transition: color var(--fast);
}
.faq-q:hover { color: var(--accent); }
.faq-q .ico {
  font-family: var(--font-m); font-style: normal; font-size: 1.2rem;
  color: var(--accent); transition: transform var(--fast); flex-shrink: 0;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-a-inner { padding: 0 0 1.8rem; font-size: .9rem; color: var(--fg-m); line-height: 1.7; max-width: 70ch; }

/* ════════════════════════════════════════════════════════════════
   CONTACT (LIGHT section)
════════════════════════════════════════════════════════════════ */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem); align-items: start;
}
.contact-hl {
  font-family: var(--font-d); font-weight: 300;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: .9; letter-spacing: -.025em;
  color: var(--bg); margin-top: 1.5rem; margin-bottom: 2rem;
}
.contact-hl .ital { font-style: italic; color: var(--acc-dk); }
.contact-body {
  font-size: .9rem; color: rgba(14,12,10,.55);
  line-height: 1.7; margin-bottom: 2.5rem;
}
.contact-infos {
  display: flex; flex-direction: column; gap: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(14,12,10,.1);
}
.cinfo { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo-label {
  font-family: var(--font-m); font-size: .56rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(14,12,10,.38); min-width: 70px; margin-top: 2px;
}
.cinfo-val { font-size: .88rem; color: rgba(14,12,10,.7); line-height: 1.5; }
.cinfo-val a { color: inherit; text-decoration: none; }
.cinfo-val a:hover { color: var(--bg); }
.cert-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.5rem; padding: .7rem 1rem;
  background: rgba(14,12,10,.05); border: 1px solid rgba(14,12,10,.1);
  font-family: var(--font-m); font-size: .58rem;
  letter-spacing: .14em; color: rgba(14,12,10,.5);
}
.cert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc-dk); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-label {
  font-family: var(--font-m); font-size: .58rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(14,12,10,.45);
}
.form-input, .form-select, .form-textarea {
  font-family: var(--font-b); font-size: .9rem;
  background: rgba(14,12,10,.04);
  border: 1px solid rgba(14,12,10,.15);
  padding: .8rem 1rem; color: var(--bg);
  width: 100%; resize: none;
  transition: border-color var(--fast);
  outline: none; -webkit-appearance: none; border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--acc-dk); }
.form-textarea { height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  font-family: var(--font-m); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg-l); background: var(--bg);
  border: none; padding: 1rem 2rem; cursor: pointer;
  transition: background var(--fast), opacity var(--fast);
  width: 100%;
}
.form-submit:hover { background: var(--acc-dk); }
.form-note { font-size: .72rem; color: rgba(14,12,10,.38); text-align: center; line-height: 1.5; }
.form-ok {
  background: var(--bg); color: var(--accent);
  padding: 1rem; text-align: center;
  font-family: var(--font-m); font-size: .7rem; letter-spacing: .12em;
}

/* ════════════════════════════════════════════════════════════════
   ZONES / COVERAGE
════════════════════════════════════════════════════════════════ */
.zones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--fg-sub); }
.zone-cell { background: var(--bg-s); padding: 1.8rem 1.5rem; transition: background var(--fast); }
.zone-cell:hover { background: rgba(24,20,16,.8); }
.zone-cell .zc-name { font-family: var(--font-d); font-style: italic; font-weight: 300; font-size: 1.2rem; color: var(--fg); margin-bottom: .3rem; }
.zone-cell .zc-meta { font-family: var(--font-m); font-size: .55rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }

/* Mini stats row */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
footer {
  background: var(--bg-s);
  padding: 4.5rem var(--pad) 2.5rem;
  border-top: 1px solid rgba(245,240,232,.05);
}
.fgrid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 3.5rem; padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(245,240,232,.06);
}
.f-brand {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: 1.7rem; color: var(--fg); margin-bottom: .8rem;
}
.f-desc { font-size: .82rem; color: var(--fg-m); line-height: 1.62; max-width: 230px; }
.f-oai {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.2rem; font-family: var(--font-m);
  font-size: .54rem; letter-spacing: .15em;
  color: var(--accent); border: 1px solid var(--acc-d);
  padding: .28rem .7rem;
}
.fcol h5 {
  font-family: var(--font-m); font-size: .54rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.flinks { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.flinks a { font-size: .82rem; color: var(--fg-m); text-decoration: none; transition: color var(--fast); }
.flinks a:hover { color: var(--fg); }
.fbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.fleg { font-family: var(--font-m); font-size: .58rem; color: rgba(245,240,232,.2); letter-spacing: .1em; }
.fbar .fleg a { color: rgba(245,240,232,.35); text-decoration: none; }
.fbar .fleg a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   LEGAL / TEXT PAGES
════════════════════════════════════════════════════════════════ */
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 {
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--fg);
  margin: 2.8rem 0 1.2rem; line-height: 1.1;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: var(--font-b); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin: 2rem 0 .8rem;
}
.legal-body p { font-size: .9rem; color: var(--fg-m); line-height: 1.8; margin-bottom: 1rem; }
.legal-body ul { list-style: none; margin-bottom: 1rem; }
.legal-body ul li { font-size: .9rem; color: var(--fg-m); line-height: 1.8; padding-left: 1.4rem; position: relative; }
.legal-body ul li::before { content: '—'; color: var(--accent); position: absolute; left: 0; }
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body strong { color: var(--fg); font-weight: 600; }
.legal-body .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 1.5rem 0; }
.legal-body .meta-grid div { font-size: .88rem; color: var(--fg-m); }
.legal-body .meta-grid .k { font-family: var(--font-m); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .3rem; }

/* Plan du site */
.sitemap-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.sitemap-list > li { padding: 1.2rem 0; border-bottom: 1px solid var(--fg-sub); }
.sitemap-list .sm-section { font-family: var(--font-m); font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; display: block; }
.sitemap-list .sm-main { font-family: var(--font-d); font-style: italic; font-weight: 300; font-size: 1.4rem; color: var(--fg); text-decoration: none; transition: color var(--fast); display: block; margin-bottom: .5rem; }
.sitemap-list .sm-main:hover { color: var(--accent); }
.sitemap-list ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.sitemap-list ul a { font-size: .82rem; color: var(--fg-m); text-decoration: none; transition: color var(--fast); }
.sitemap-list ul a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   404
════════════════════════════════════════════════════════════════ */
.err-wrap {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 10rem var(--pad) 4rem; position: relative;
}
.err-wrap::before {
  content: '404'; position: absolute; inset: 0;
  font-family: var(--font-d); font-style: italic; font-weight: 300;
  font-size: clamp(14rem, 40vw, 34rem); line-height: 1;
  color: rgba(245,240,232,.025); display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none; letter-spacing: -.04em;
}
.err-wrap .num { font-family: var(--font-d); font-style: italic; font-weight: 300; font-size: clamp(5rem, 14vw, 10rem); color: var(--accent); line-height: 1; position: relative; }
.err-wrap h1 { font-family: var(--font-d); font-weight: 300; font-size: clamp(2rem, 5vw, 3.4rem); color: var(--fg); margin: 1rem 0 1.2rem; line-height: 1.05; position: relative; }
.err-wrap h1 .ital { font-style: italic; color: var(--accent); }
.err-wrap p { font-size: .95rem; color: var(--fg-m); max-width: 46ch; line-height: 1.7; margin-bottom: 2rem; position: relative; }
.err-wrap .hero-actions { animation: none; opacity: 1; position: relative; }

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(102%); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes growLine { from { width: 0; } to { width: 40px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  #hero { grid-template-columns: 1fr; }
  .hero-img-col { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .porto-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 240px; }
  .pj-main { grid-row: 1; grid-column: 1 / 3; }
  .sec-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .proc-steps { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .it-row { grid-template-columns: 1fr; gap: 2rem; }
  .it-row.flip .it-media { order: 0; }
  .team-grid, .val-grid { grid-template-columns: 1fr 1fr; }
  .proj-meta { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: 1fr; gap: 1rem; }
  .proj-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 50px 1fr auto; }
  .svc-row .desc { display: none; }
  .sitemap-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.sc { padding: .9rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  #hero { padding: 8rem 1.5rem 3.5rem; }
  section, .section-pad, .section-pad-sm, #contact, footer, .cta-band, .page-hero, .stats-bar { padding-left: 1.5rem; padding-right: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .porto-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .pj, .pj-main { aspect-ratio: 4/3; grid-column: auto; grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; gap: 2.5rem; }
  .fbar { flex-direction: column; gap: .7rem; text-align: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .val-grid, .zones-grid { grid-template-columns: 1fr; }
  .proj-meta { grid-template-columns: 1fr 1fr; }
  .proj-gallery { grid-template-columns: 1fr; }
  .proj-gallery .full { grid-column: 1; }
  .proj-nav { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: .4rem; }
  .legal-body .meta-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: .5rem; }
  .svc-row .desc { display: block; }
  .svc-row .arrow { display: none; }
}
