/* ============================================================
   DERICE — v2 « ARCHITECTURAL ÉPURÉ »
   Galerie / architecte · serif élégant · whitespace · teal parcimonieux
   ============================================================ */

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-faint: #8a8a8a;
  --paper: #ffffff;
  --paper-warm: #f6f5f2;
  --teal: #21a6a5;
  --teal-deep: #178584;
  --hair: #e3e1dc;
  --hair-strong: #cfccc4;

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Work Sans", system-ui, sans-serif;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

.num {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* underline-trace link */
.trace {
  display: inline-block;
  position: relative;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 4px;
}
.trace::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.trace:hover::after { transform: scaleX(0); transform-origin: left; }
.trace.teal { color: var(--teal-deep); }
.trace.teal::after { background: var(--teal); }

/* button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1rem 1.9rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hair-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand img { height: 40px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav a {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }
.nav .nav-cta {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--ink);
  padding: 0.7rem 1.3rem;
  color: var(--ink);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: var(--paper); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  font-weight: 300;
  line-height: 0.98;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-deep);
}
.hero-lede {
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.hero-lede p { margin-bottom: 1.5rem; }
.hero-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hair);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta .k { font-family: var(--serif); font-size: 1.7rem; }
.hero-meta .l { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

.hero-figure {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
}
.hero-figure img {
  width: 100%;
  height: clamp(340px, 56vh, 640px);
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.02);
}
.hero-figure figcaption {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  flex-wrap: wrap;
}

/* ---------- Section frame ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section.warm { background: var(--paper-warm); }
.section.ink { background: var(--ink); color: #ece9e3; }
.section.ink .eyebrow { color: var(--teal); }
.section.ink .eyebrow::before { background: var(--teal); }
.section.ink h2 { color: #fff; }

.sec-head {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.sec-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 300;
}
.sec-head .lede { color: var(--ink-soft); }
.section.ink .sec-head .lede { color: #b9b6af; }

/* ---------- Manifeste / two-col asym ---------- */
.manifesto {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}
.manifesto .big {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.25;
}
.manifesto .big em { font-style: italic; color: var(--teal-deep); }
.manifesto .col p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.manifesto .col p:last-child { margin-bottom: 0; }

/* ---------- Métiers list ---------- */
.metiers { border-top: 1px solid var(--hair); }
.metier {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--hair);
  transition: padding-left 0.5s var(--ease);
  cursor: default;
}
.metier:hover { padding-left: clamp(0.5rem, 2vw, 1.5rem); }
.metier .m-num { color: var(--teal-deep); font-weight: 600; }
.metier .m-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
}
.metier .m-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 34ch;
}
.metier .m-ico {
  width: 44px; height: 44px;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}
.metier:hover .m-ico { opacity: 1; filter: grayscale(0); }

/* métiers as fine grid (a-propos / fallback) */
.metier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.metier-grid .cell {
  background: var(--paper);
  padding: 2rem 1.8rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s var(--ease);
}
.metier-grid .cell:hover { background: var(--paper-warm); }
.metier-grid .cell img { width: 38px; height: 38px; opacity: 0.6; }
.metier-grid .cell h3 { font-size: 1.5rem; font-weight: 300; }
.metier-grid .cell .num { display: block; margin-bottom: auto; }

/* ---------- Bureau d'étude split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split img {
  width: 100%;
  height: clamp(320px, 48vh, 560px);
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.02);
}
.split .body h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 300; margin: 1.2rem 0 1.4rem; }
.split .body p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.section.ink .split .body p { color: #b9b6af; }
.split .pts { list-style: none; margin: 1.8rem 0; }
.split .pts li {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--hair);
  font-size: 0.95rem;
}
.section.ink .split .pts li { border-color: rgba(255,255,255,0.14); }
.split .pts li::before { content: "—"; color: var(--teal); }

/* ---------- Atouts row ---------- */
.atouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border-block: 1px solid var(--hair);
}
.atout {
  background: var(--paper);
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.2rem, 2vw, 2rem);
}
.section.warm .atout { background: var(--paper-warm); }
.atout .num { display: block; margin-bottom: 1.4rem; }
.atout h3 { font-size: 1.4rem; font-weight: 300; margin-bottom: 0.7rem; }
.atout p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1.4vw, 1.25rem);
}
.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
  display: block;
}
.tile.wide { aspect-ratio: 8 / 5; grid-column: span 2; }
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.03);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.tile:hover img { transform: scale(1.05); filter: grayscale(0); }
/* placeholder tiles (no photo) */
.tile.ph {
  background:
    linear-gradient(160deg, rgba(33,166,165,0.16), rgba(26,26,26,0) 60%),
    var(--ink);
}
.tile.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline-c, rgba(255,255,255,0.06)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tile .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(to top, rgba(20,20,20,0.78), transparent);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.tile.ph .cap { background: none; align-items: flex-start; flex-direction: column; height: 100%; justify-content: space-between; }
.tile .cap .t { font-family: var(--serif); font-size: 1.45rem; font-weight: 300; }
.tile .cap .n { font-size: 0.72rem; letter-spacing: 0.18em; opacity: 0.8; }
.tile.ph .cap img { width: 40px; height: 40px; opacity: 0.85; filter: invert(1) grayscale(1); }

/* ---------- Values ---------- */
.values { border-top: 1px solid var(--hair); }
.value {
  display: grid;
  grid-template-columns: auto 0.4fr 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.value .num { padding-top: 0.4rem; }
.value h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; }
.value p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
}
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3.4rem); font-weight: 300; max-width: 18ch; }
.cta-band h2 em { font-style: italic; color: var(--teal); }
.cta-band .acts { display: flex; gap: 1rem; flex-wrap: wrap; }
.section.ink .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section.ink .btn:hover { background: transparent; color: #fff; }
.section.ink .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.section.ink .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--hair);
}
.page-hero .inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 300;
}
.page-hero h1 em { font-style: italic; color: var(--teal-deep); }
.page-hero .lede { color: var(--ink-soft); max-width: 46ch; }
.crumb {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.6rem;
}
.crumb a:hover { color: var(--teal-deep); }

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filters button {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--hair-strong);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- About team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.team-grid .pers {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
}
.team-grid .pers .num { display: block; margin-bottom: 1.4rem; }
.team-grid .pers h3 { font-size: 1.7rem; font-weight: 300; margin-bottom: 0.6rem; }
.team-grid .pers .role { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 1rem; }
.team-grid .pers p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Recruitment perks / positions ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.perk { border-top: 1px solid var(--hair); padding-top: 1.5rem; }
.perk .num { display: block; margin-bottom: 0.8rem; }
.perk h3 { font-size: 1.4rem; font-weight: 300; margin-bottom: 0.6rem; }
.perk p { color: var(--ink-soft); font-size: 0.95rem; }

.positions { border-top: 1px solid var(--hair); }
.position {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--hair);
  transition: padding-left 0.5s var(--ease);
}
.position:hover { padding-left: clamp(0.5rem, 2vw, 1.2rem); }
.position .p-title { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 300; }
.position .p-meta { font-size: 0.82rem; color: var(--ink-faint); letter-spacing: 0.06em; }
.position .p-type {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-deep); border: 1px solid var(--hair-strong); padding: 0.35rem 0.8rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-info .block {
  padding: 1.6rem 0;
  border-top: 1px solid var(--hair);
}
.contact-info .block:first-of-type { border-top: none; padding-top: 0; }
.contact-info .label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.6rem; }
.contact-info .val { font-family: var(--serif); font-size: 1.35rem; font-weight: 300; }
.contact-info .val a:hover { color: var(--teal-deep); }
.contact-info .small { font-size: 0.95rem; color: var(--ink-soft); }

.form-wrap { background: var(--paper-warm); padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid var(--hair); }
.field { margin-bottom: 1.5rem; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field.row .field { margin-bottom: 0; }
label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
  font-weight: 500;
}
input, select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hair-strong);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33,166,165,0.12);
}
textarea { resize: vertical; min-height: 140px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-wrap .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.form-success.show { display: block; animation: fade 0.6s var(--ease); }
.form-success .mark {
  width: 56px; height: 56px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--teal-deep);
  font-size: 1.4rem;
}
.form-success h3 { font-size: 1.8rem; font-weight: 300; margin-bottom: 0.7rem; }
.form-success p { color: var(--ink-soft); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.map-strip {
  margin-top: clamp(3rem, 6vw, 5rem);
  border: 1px solid var(--hair);
}
.map-strip img { width: 100%; height: clamp(220px, 30vh, 360px); object-fit: cover; filter: grayscale(0.3); }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink);
  color: #c8c5bd;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.foot-brand img { height: 42px; margin-bottom: 1.4rem; }
.foot-brand p { font-size: 0.92rem; color: #9b988f; max-width: 32ch; }
.foot-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.foot-col a, .foot-col p { display: block; font-size: 0.92rem; color: #9b988f; margin-bottom: 0.65rem; transition: color 0.3s var(--ease); }
.foot-col a:hover { color: var(--teal); }
.qualibat {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-top: 0.5rem;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 0.9rem;
}
.qualibat .dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  color: #7e7b73;
  letter-spacing: 0.04em;
}
.foot-bottom a:hover { color: var(--teal); }
.foot-bottom .credit em { font-style: italic; color: #b7b4ab; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-top, .sec-head, .manifesto, .split, .split.rev,
  .page-hero .inner, .contact-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .atouts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tile.wide { grid-column: span 2; }
  .team-grid, .perks { grid-template-columns: 1fr; }
  .cta-band { gap: 2rem; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hair);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
    box-shadow: 0 24px 40px rgba(0,0,0,0.06);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--hair); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav .nav-cta { margin-top: 1rem; width: 100%; text-align: center; border-bottom: 1px solid var(--ink); }
  .burger { display: flex; }
  .metier { grid-template-columns: auto 1fr; row-gap: 0.4rem; }
  .metier .m-desc, .metier .m-ico { grid-column: 2; }
  .metier .m-ico { width: 36px; height: 36px; justify-self: start; margin-top: 0.5rem; }
  .value { grid-template-columns: auto 1fr; }
  .value p { grid-column: 1 / -1; }
  .position { grid-template-columns: 1fr auto; row-gap: 0.4rem; }
  .position .p-meta { grid-column: 1; }
  .gallery { grid-template-columns: 1fr; }
  .tile.wide { grid-column: span 1; }
  .field.row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .foot-top { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; }
}
