/* ============================================================
   Provencelia — Professionnels (projects.provencelia.com)
   Adapté du design Claude Design (thème « editorial »).
   Polices self-hostées (RGPD), menu mobile, états formulaire.
   ============================================================ */

/* ---------- Fonts (self-hosted, subset latin) ---------- */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marcellus-v14-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-v20-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-v20-latin-600.woff2') format('woff2');
}

/* ---------- Tokens (thème editorial) ---------- */
:root {
  --bg:        #FFFFFF;
  --bg-2:      #F3F1EB;
  --surface:   #FFFFFF;
  --ink:       #131210;
  --ink-soft:  #45413A;
  --muted:     #807B6F;
  --line:      #E7E3D9;
  --line-soft: #F0EDE5;
  --accent:    #3F4A3A;   /* vert botanique */
  --accent-ink:#FFFFFF;
  --olive:     #5E6B4A;
  --hero-overlay: linear-gradient(90deg, rgba(15,14,11,.66) 0%, rgba(15,14,11,.30) 52%, rgba(15,14,11,0) 100%);
  --shadow:    0 1px 2px rgba(0,0,0,.05), 0 18px 44px -26px rgba(0,0,0,.30);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 10px 26px -20px rgba(0,0,0,.28);
  --header-bg: rgba(255,255,255,.85);
  --slot-bg:   #ECE8DE;

  /* Typography */
  --font-display: 'Marcellus', Georgia, serif;
  --font-sans: 'Jost', system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gut: clamp(20px, 4.5vw, 56px);
  --sect-y: clamp(56px, 7vw, 104px);
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }

/* ---------- Helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.serif { font-family: var(--font-display); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head { text-align: center; margin-bottom: clamp(34px, 4.2vw, 52px); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -.015em;
}
.section-head .rule {
  width: 54px; height: 1px; background: var(--accent);
  margin: 18px auto 0; opacity: .8;
}
.section-head .sub {
  margin: 18px auto 0; max-width: 54ch;
  font-size: 15px; font-weight: 300; color: var(--ink-soft); line-height: 1.6;
}

/* Images remplissant leur slot (remplace <image-slot> du design) */
.slot-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost.on-dark:hover { border-color:#fff; color:#fff; background:rgba(255,255,255,.08); }
.btn-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink);
  padding: 10px 17px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, color .25s, gap .25s, background-color .25s;
}
.btn-link:hover { border-color: var(--accent); color: var(--accent); gap: 14px; }
.btn-link .arr { transition: transform .25s; }
.btn-link:hover .arr { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; height: 64px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
/* Centre optique du wordmark plus bas que son centre géométrique (feuille
   au-dessus du « a ») : on remonte le logo, le reste du header reste centré. */
.brand img { height: 32px; width: auto; transform: translateY(-3px); }
/* Le wordmark du SVG occupe le bas du logo (feuille/PRO au-dessus) : son
   centre optique est sous le centre géométrique → on descend trait et texte. */
.brand-divider {
  width: 1px; height: 22px; background: var(--accent); opacity: .45; flex-shrink: 0;
}
.brand-sub {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
  padding-right: .1em;
  line-height: 1;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 11.5px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 6px 0; white-space: nowrap;
  transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width .25s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 18px; }
/* Sélecteur de langue : sobre, dans l'esprit des liens de nav (texte espacé,
   souligné fin accent pour la langue active) */
.lang { display: inline-flex; align-items: center; }
.lang button {
  background: transparent; border: 0; color: var(--muted);
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  padding: 4px 0; position: relative;
  transition: color .2s;
}
.lang button + button {
  margin-left: 12px; padding-left: 12px;
  border-left: 1px solid var(--line);
}
.lang button:hover { color: var(--ink); }
.lang button.on { color: var(--ink); }
.lang button.on::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.lang button + button.on::after { left: 12px; }
.header-cta .btn { padding: 10px 18px; }
.burger { display: none; }

/* ---------- Menu mobile (créé pour la prod, absent du design) ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  padding: 24px var(--gut) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mobile-menu-top img { height: 24px; }
.mobile-close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--ink);
}
.mobile-nav { display: flex; flex-direction: column; margin-top: clamp(24px, 6vh, 56px); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(26px, 6.4vw, 34px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav a::after { content: '→'; font-size: .6em; color: var(--accent); opacity: .7; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 18px; }
.mobile-menu-foot .btn { justify-content: center; }
.mobile-menu .lang { align-self: center; }
body.menu-locked { overflow: hidden; }

/* ============================================================
   Hero
   ============================================================ */
/* Hauteur qui suit la largeur d'écran (42vw, bornée) : sur grand écran le
   hero est plus haut, l'image 3:2 est donc nettement moins recadrée. */
.hero { position: relative; min-height: clamp(540px, 42vw, 820px); display: flex; align-items: center; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(118deg, #241f19 0%, #3a3328 46%, #574a39 100%); }
.hero-media img, .hero-media picture { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero::after { content:''; position:absolute; inset:0; z-index:-1; background: var(--hero-overlay); }
.hero-inner { width: 100%; max-width: none; margin-inline: 0; padding-inline: clamp(22px, 3.4vw, 56px); padding-block: clamp(56px, 8.5vw, 100px); color: #fff; }
.hero .eyebrow { color: #E8C9A6; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500; line-height: 1.06; max-width: 16ch;
  margin: 0;
}
.hero p {
  margin: 20px 0 0; max-width: 44ch; font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.9);
}
.hero-rule { display: block; width: 50px; height: 1px; background: rgba(255,255,255,.55); margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-feats { display: flex; flex-wrap: wrap; gap: clamp(24px, 3.4vw, 48px); margin-top: clamp(32px, 4vw, 48px); max-width: 540px; }
.hfeat { display: flex; flex-direction: column; gap: 10px; max-width: 158px; color: #fff; }
.hfeat-ic {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34);
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.hfeat-ic svg { width: 22px; height: 22px; }
.hfeat > span:last-child { font-size: 13.5px; font-weight: 300; line-height: 1.35; color: rgba(255,255,255,.92); letter-spacing: .01em; }
.hero-badge {
  position: absolute; right: clamp(20px,4.5vw,56px); bottom: 32px; z-index: 1;
  width: 94px; height: 94px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); color: #fff;
  display: grid; place-items: center; text-align: center;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 500; line-height: 1.5;
  background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
@media (max-width: 720px){ .hero-badge { display:none; } }

/* ============================================================
   Trusted brands
   ============================================================ */
.trusted { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.trusted .wrap { padding-block: clamp(48px, 6vw, 72px); }
.trusted .label {
  text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(28px, 3.4vw, 44px); font-weight: 500;
}
.brand-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(30px, 5vw, 68px);
}
.brand-mark {
  color: #6f665a; opacity: .78; transition: opacity .25s, color .25s;
  text-align: center; line-height: 1.05; white-space: nowrap;
}
.brand-mark:hover { opacity: 1; color: var(--ink); }
.brand-mark img { height: 34px; width: auto; filter: grayscale(1); opacity: .85; transition: filter .25s, opacity .25s; }
.brand-mark:hover img { filter: none; opacity: 1; }
.bm-serif { font-family: var(--font-display); font-size: 25px; font-weight: 500; letter-spacing: .01em; }
.bm-caps { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.bm-stack { line-height: 1.02; }
.bm-caps.bm-stack { font-size: 13.5px; letter-spacing: .16em; }
.bm-caps.bm-stack small, .bm-serif.bm-stack small { display: block; font-size: 8px; letter-spacing: .22em; font-weight: 500; margin-top: 4px; opacity: .85; }
/* Mobile : bandeau défilant en continu (marquee). Le JS duplique les marques
   dans deux .brand-set identiques → translateX(-50%) boucle sans à-coup. */
.brand-scroll { overflow: hidden; }
@media (max-width: 600px){
  .brand-row.marquee {
    display: flex; flex-wrap: nowrap; align-items: center;
    justify-content: flex-start; gap: 0; width: max-content;
    animation: trusted-marquee 22s linear infinite;
  }
  .brand-row.marquee .brand-set {
    display: flex; flex-wrap: nowrap; align-items: center;
    gap: 38px; padding-right: 38px; flex-shrink: 0;
  }
  .brand-row.marquee .brand-mark { opacity: .85; }
  .brand-mark img { height: 28px; }
  .bm-serif { font-size: 21px; }
  .bm-caps { font-size: 11.5px; letter-spacing: .16em; }
  .bm-caps.bm-stack { font-size: 12px; }
  /* Motion réduit : pas d'animation, défilement manuel au doigt */
  @media (prefers-reduced-motion: reduce) {
    .brand-row.marquee { animation: none; }
    .brand-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  }
}
@keyframes trusted-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Industries — grandes cartes image, titres en surimpression
   ============================================================ */
.industries {
  padding-block: var(--sect-y);
  background:
    radial-gradient(110% 70% at 50% -8%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 62%),
    var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 1.8vw, 26px); }
.ind-card {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 16/10; isolation: isolate;
  box-shadow: 0 20px 44px -30px rgba(0,0,0,.9);
}
.ind-card .slot-img { position: absolute; inset: 0; z-index: -2; }
.ind-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(8,6,4,.78) 0%, rgba(8,6,4,.34) 42%, rgba(8,6,4,.06) 72%);
  transition: background .35s;
}
.ind-card:hover::after { background: linear-gradient(to top, rgba(8,6,4,.82) 0%, rgba(8,6,4,.4) 48%, rgba(8,6,4,.12) 80%); }
.ind-card .slot-img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ind-card:hover .slot-img { transform: scale(1.045); }
.ind-card h3 {
  position: absolute; left: clamp(18px,1.8vw,26px); bottom: clamp(16px,1.6vw,22px);
  right: clamp(18px,1.8vw,26px); margin: 0; z-index: 1;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.05; letter-spacing: -.005em;
  color: #FBF7EF; text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
@media (max-width: 900px){ .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .ind-grid { grid-template-columns: 1fr; } .ind-card { aspect-ratio: 16/9; } }

/* ============================================================
   Materials — grandes cartes éditoriales (2×2)
   ============================================================ */
.materials { padding-block: var(--sect-y); }
.mat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mat-card {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.mat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.mat-card .ph { min-height: 100%; background: var(--slot-bg); position: relative; overflow: hidden; }
.mat-card .ph .slot-img { position: absolute; inset: 0; height: 100%; }
.mat-card .ph::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(0,0,0,.14), transparent 58%);
}
.mat-body { padding: clamp(24px,2.2vw,32px) clamp(22px,2vw,30px); display: flex; flex-direction: column; }
.mat-body h3 {
  font-family: var(--font-display); font-size: clamp(20px,1.6vw,24px); font-weight: 600;
  letter-spacing: -.01em; line-height: 1.08;
}
.mat-desc {
  margin: 14px 0 22px; font-size: 14px; color: var(--ink-soft);
  font-weight: 300; line-height: 1.6; max-width: 38ch;
}
.mat-body .btn-link { align-self: flex-start; margin-top: auto; }
@media (max-width: 680px){
  .mat-card { grid-template-columns: 1fr; }
  .mat-card .ph { min-height: 0; aspect-ratio: 16/10; }
  .mat-card .ph .slot-img { position: static; aspect-ratio: 16/10; }
}

/* ---------- Teintes placeholder évoquant les matières (slots vides) ---------- */
.ph-ceramic  { background: linear-gradient(150deg, #6f8a72 0%, #3f5a4a 55%, #9a5a3e 100%) !important; }
.ph-metal    { background: linear-gradient(150deg, #4a4640 0%, #2a2723 60%, #131210 100%) !important; }
.ph-concrete { background: linear-gradient(150deg, #d9d3c8 0%, #b7b1a6 55%, #8f897d 100%) !important; }
.ph-steel    { background: linear-gradient(150deg, #d9c39c 0%, #a98a63 50%, #6b5a44 100%) !important; }
.ph-hotels   { background: linear-gradient(150deg, #c7a987 0%, #8a6a4e 100%); }
.ph-resto    { background: linear-gradient(150deg, #9a8467 0%, #5e4f3d 100%); }
.ph-cities   { background: linear-gradient(150deg, #8b9a8c 0%, #4f5e50 100%); }
.ph-mall     { background: linear-gradient(150deg, #b9b2a4 0%, #7e7768 100%); }
.ph-airports { background: linear-gradient(150deg, #a9a496 0%, #6d6757 100%); }
.ph-nursery  { background: linear-gradient(150deg, #9aa39a 0%, #5a6356 100%); }

/* ============================================================
   Custom manufacturing — process pleine largeur
   ============================================================ */
.custom {
  padding-block: var(--sect-y);
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.custom-shell {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.custom-top { display: grid; grid-template-columns: 1.04fr 1fr; }
.custom-intro { padding: clamp(32px, 3.6vw, 52px); display: flex; flex-direction: column; }
.custom-intro .eyebrow { display: block; margin-bottom: 14px; }
.custom-intro h2 {
  font-family: var(--font-display); font-size: clamp(26px,3vw,38px); font-weight: 500; line-height: 1.04;
}
.custom-intro p { color: var(--ink-soft); margin: 16px 0 22px; font-weight: 300; max-width: 44ch; }
.custom-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.custom-list li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--ink-soft); font-weight: 300; }
.custom-list li::before {
  content:''; position:absolute; left:0; top:7px; width:13px; height:7px;
  border-left:1.5px solid var(--accent); border-bottom:1.5px solid var(--accent); transform: rotate(-45deg);
}
.custom-intro .btn { align-self: flex-start; margin-top: auto; }
.custom-media { background: linear-gradient(150deg, #b3a48c 0%, #6b6150 100%); min-height: 100%; position: relative; overflow: hidden; }
.custom-media .slot-img { position: absolute; inset: 0; height: 100%; }

/* Process — timeline pleine largeur */
.custom-process {
  padding: clamp(38px,4vw,54px) clamp(40px,4.4vw,64px) clamp(46px,5vw,62px);
  border-top: 1px solid var(--line-soft);
}
.process-eyebrow { display: block; text-align: center; margin-bottom: clamp(30px,3.5vw,46px); }
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.process-track::before {
  content: ''; position: absolute; top: 27px; left: 10%; right: 10%; height: 1px;
  background: var(--line); z-index: 0;
}
.pstep { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.pnode {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--accent); box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, color .3s;
}
.pnode svg { width: 23px; height: 23px; }
.pstep:hover .pnode { transform: translateY(-5px); border-color: var(--accent); }
.pnum {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin: 0 auto 7px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 50%;
}
.pstep h4 { font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 7px; }
.pstep p { font-size: 12.5px; color: var(--muted); margin: 0 auto; font-weight: 300; line-height: 1.5; max-width: 24ch; }

@media (max-width: 1080px){
  .custom-top { grid-template-columns: 1fr; }
  .custom-media { min-height: 320px; order: -1; }
}
@media (max-width: 760px){
  .custom-list { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
  .process-track::before { display: none; }
}

/* ============================================================
   Contact (« Échangeons sur votre projet »)
   ============================================================ */
.contact { padding-block: var(--sect-y); background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-aside h2 { font-family: var(--font-display); font-size: clamp(25px,3vw,36px); font-weight:500; line-height:1.04; }
.contact-aside .eyebrow { display:block; margin-bottom:14px; }
.contact-aside > p { color: var(--ink-soft); margin: 16px 0 26px; font-weight: 300; }
.value-row { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.value-row:last-of-type { border-bottom: 1px solid var(--line); }
.value-row .ic { flex-shrink:0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display:grid; place-items:center; color: var(--accent); }
.value-row .ic svg { width: 18px; height: 18px; }
.value-row h4 { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; letter-spacing:.03em; }
.value-row p { margin: 3px 0 0; font-size: 13px; color: var(--muted); font-weight: 300; }

.contact-form {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 36px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 14px; font-weight: 300; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 13px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.upload {
  border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 18px 16px;
  display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 13px;
  background: var(--bg); transition: border-color .2s, color .2s;
  cursor: pointer;
}
.upload:hover, .upload.dragover { border-color: var(--accent); color: var(--ink-soft); }
.upload.has-file { border-style: solid; border-color: var(--accent); color: var(--ink); }
.upload .ic { color: var(--accent); flex-shrink: 0; }
.form-submit { margin-top: 18px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* Combobox pays (recherche + liste filtrée, sans lib externe) */
.combo { position: relative; }
.combo input { padding-right: 36px; }
.combo-caret {
  position: absolute; right: 11px; top: 50%; width: 16px; height: 16px;
  transform: translateY(-50%); color: var(--muted); pointer-events: none;
  transition: transform .2s;
}
.combo.open .combo-caret { transform: translateY(-50%) rotate(180deg); }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30;
  margin: 0; padding: 5px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 240px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.combo-list[hidden] { display: none; }
.combo-list li {
  padding: 9px 11px; border-radius: 3px; cursor: pointer;
  font-size: 14px; font-weight: 300; color: var(--ink);
}
.combo-list li:hover, .combo-list li.focused { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.combo-list li[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.combo-list li.combo-sep { border-top: 1px solid var(--line-soft); border-radius: 0; margin-top: 4px; padding-top: 12px; }
.combo-list li.combo-empty { color: var(--muted); cursor: default; }

/* Honeypot : hors écran, jamais display:none (les bots le détectent) */
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* Statut d'envoi */
.form-status {
  display: none; margin-top: 16px; padding: 14px 16px;
  border-radius: var(--radius); font-size: 14.5px; font-weight: 400;
  border: 1px solid transparent;
}
.form-status.show { display: block; }
.form-status.ok { background: color-mix(in srgb, var(--olive) 12%, #fff); border-color: color-mix(in srgb, var(--olive) 40%, transparent); color: #3d4a2e; }
.form-status.ko { background: #FBF1EF; border-color: #E3B7AD; color: #8C3B2E; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #3F4A3A; color: #fff; padding-block: clamp(48px,6vw,72px) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.88); font-weight: 300; max-width: 36ch; }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { width: 34px; height:34px; border:1px solid rgba(255,255,255,.3); border-radius:50%; display:grid; place-items:center; color:rgba(255,255,255,.88); transition: border-color .2s, color .2s, background-color .2s; }
.footer-social a:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h5 { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin: 0 0 15px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.82); font-weight: 300; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(40px,5vw,60px); border-top: 1px solid rgba(255,255,255,.22);
  padding-block: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: rgba(255,255,255,.7);
}
.footer-bottom .links { display: flex; gap: 26px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px){
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 860px){
  .nav, .header-cta .lang, .header-cta .btn { display: none; }
  .burger { display: inline-grid; place-items:center; width:40px; height:40px; border:1px solid var(--line); border-radius:var(--radius); background:transparent; color:var(--ink); }
  .header-cta { gap: 10px; }
  .header-inner { height: 60px; }
  .brand img { height: 26px; }
  .brand { gap: 11px; }
  .brand-sub { letter-spacing: .24em; font-size: 10px; }
}
@media (max-width: 680px){
  .mat-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .hero h1 { font-size: clamp(32px,9vw,44px); }
  .hero { min-height: 500px; }
  .hero-feats { gap: 18px; }
  .hfeat { flex-direction: row; align-items: center; max-width: none; gap: 12px; }
  .hfeat-ic { width: 40px; height: 40px; }
  .hfeat-ic svg { width: 19px; height: 19px; }
}
@media (max-width: 420px){
  .brand-divider, .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
