/* ═══════════════════════════════════════════════════════
   François Jeanjean — Chef de Chantier TCE Paris
   style.css — Version 2.0
   ═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ──────────────────────────────────────── */
:root {
  --black:    #0A0907;
  --carbon:   #141210;
  --charcoal: #1E1C1A;
  --stone:    #2C2A27;
  --warm:     #6B6560;
  --sand:     #A89F94;
  --linen:    #D6CFC4;
  --cream:    #F2EDE6;
  --paper:    #FAF7F3;
  --gold:     #C8A96E;
  --gold2:    #E8C98A;
  --red:      #C84B2F;

  --gap-mural: 6px;
  --nav-h: 76px;
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ─── GRAIN OVERLAY ──────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.6;
}

/* ─── CURSEUR CUSTOM ─────────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 169, 110, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 14px;
  height: 14px;
  background: var(--gold2);
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(200, 169, 110, 0.7);
}

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.96) 0%, transparent 100%);
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 169, 110, 0.35);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--cream);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  position: relative;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  text-decoration: none;
  transition: color 0.2s;
  cursor: none;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 10px 22px;
  letter-spacing: 0.15em;
}

.nav-links a.nav-cta:hover {
  background: var(--gold2);
  color: var(--black);
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 72px;
  overflow: hidden;
  background-image: url('images/chef_de_chantier.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay sombre pour lisibilité du texte */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg,   rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.70) 50%, rgba(0,0,0,0.50) 100%),
    linear-gradient(90deg,  rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.30) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.9s 0.3s both;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 9vw, 136px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -2px;
  color: var(--cream);
  margin-bottom: 40px;
  animation: fadeUp 1s 0.5s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-title .l2 {
  display: block;
  padding-left: 6vw;
}

.hero-title .l3 {
  display: block;
  padding-left: 12vw;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  animation: fadeUp 1s 0.8s both;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.72;
  color: var(--sand);
  max-width: 420px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* Badge disponibilité */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(200, 169, 110, 0.08);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 110, 0.28);
  padding: 9px 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

.hero-ctas {
  display: flex;
  gap: 12px;
}

/* ─── BOUTONS ────────────────────────────────────────── */
.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: all 0.22s;
  display: inline-block;
  border: none;
  cursor: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold2);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(214, 207, 196, 0.28);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── TICKER ─────────────────────────────────────────── */
.ticker {
  background: var(--gold);
  padding: 11px 0;
  overflow: hidden;
  flex-shrink: 0;
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 45s linear infinite;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
}

/* ─── STATS ──────────────────────────────────────────── */
.stats-outer {
  padding: 0 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(214, 207, 196, 0.1);
  border-left: 1px solid rgba(214, 207, 196, 0.1);
  margin: 80px 0;
}

.stat-item {
  padding: 40px 36px;
  border-right: 1px solid rgba(214, 207, 196, 0.1);
  border-bottom: 1px solid rgba(214, 207, 196, 0.1);
  transition: background 0.3s;
}

.stat-item:hover {
  background: rgba(200, 169, 110, 0.04);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
}

/* ─── SECTION HEADER COMMUN ──────────────────────────── */
.s-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.s-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--cream);
  margin-bottom: 16px;
}

.s-title em {
  font-style: italic;
  color: var(--gold);
}

.s-sub {
  font-size: 15px;
  line-height: 1.72;
  color: var(--warm);
  max-width: 560px;
  margin-bottom: 56px;
  font-weight: 300;
}

/* ─── MURAL QUINCONCE ────────────────────────────────── */

/*
  PLAN DES 16 IMAGES sur grille 12 colonnes
  Chaque "row unit" = hauteur variable selon ratio image

  Rectangles paysage : ratio ~16:9 ou 4:3
  Carrés : ratio 1:1

  Disposition quinconce (rangées alternées rect / carré):
  ┌─────────────────────────────────────────────────┐
  │  RECT(8col)  │  CARRÉ(4col) │                   │  row A
  │──────────────────────────────────────────────── │
  │ CARRÉ(4col)  │  RECT(8col)                      │  row B
  │──────────────────────────────────────────────── │
  │  RECT(8col)  │  CARRÉ(4col)                     │  row C
  │──────────────────────────────────────────────── │
  │ CARRÉ(4col)  │  RECT(8col)                      │  row D
  │──────────────────────────────────────────────── │
  │ CARRÉ(4col)  │  CARRÉ(4col) │  CARRÉ(4col)      │  row E (reste)
  └─────────────────────────────────────────────────┘
*/

.mural-section {
  padding-bottom: 120px;
}

.mural-header {
  padding: 80px 48px 56px;
  max-width: 1280px;
  margin: 0 auto;
}

.mural-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 48px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Cellule photo ── */
.m-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--charcoal);
  cursor: none;
  /* Apparition au scroll */
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity  0.65s ease,
    transform 0.65s ease;
}

.m-cell.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Décalage en colonne pour effet vague */
.m-cell:nth-child(4n+2) { transition-delay: 0.09s; }
.m-cell:nth-child(4n+3) { transition-delay: 0.18s; }
.m-cell:nth-child(4n+4) { transition-delay: 0.27s; }

/* Ligne gold qui sweep au hover */
.m-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 3;
}

.m-cell:hover::after {
  transform: scaleX(1);
}

.m-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.45s ease;
  will-change: transform;
}

.m-cell:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) brightness(1.02);
}

/* Overlay */
.m-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, transparent 52%);
  opacity: 0;
  transition: opacity 0.38s ease;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
}

.m-cell:hover .m-cell-overlay {
  opacity: 1;
}

.m-cell-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  transform: translateY(6px);
  transition: transform 0.38s ease;
}

.m-cell:hover .m-cell-label {
  transform: translateY(0);
}

/* Toutes les cellules : ratio uniforme, pas de span individuel */
.m-r1, .m-r2, .m-r3, .m-r4,
.m-r5, .m-r6, .m-r7, .m-r8,
.m-r9, .m-r10, .m-r11, .m-r12,
.m-r13, .m-r14, .m-r15, .m-r16 {
  grid-column: span 1;
  aspect-ratio: 4 / 3;
}

/* ─── COMPÉTENCES ────────────────────────────────────── */
.comps-section {
  background: var(--carbon);
  padding: 110px 0;
}

.comps-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}

.comps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(214, 207, 196, 0.07);
  border-left: 1px solid rgba(214, 207, 196, 0.07);
}

.comp-item {
  padding: 44px 40px;
  border-right: 1px solid rgba(214, 207, 196, 0.07);
  border-bottom: 1px solid rgba(214, 207, 196, 0.07);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.comp-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}

.comp-item:hover {
  background: rgba(200, 169, 110, 0.03);
}

.comp-item:hover::before {
  width: 100%;
}

.comp-icon-box {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(200, 169, 110, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: border-color 0.3s, background 0.3s;
}

.comp-item:hover .comp-icon-box {
  border-color: var(--gold);
  background: rgba(200, 169, 110, 0.07);
}

.comp-icon-box .material-symbols-outlined {
  font-size: 22px;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.comp-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
}

.comp-desc {
  font-size: 13px;
  color: var(--warm);
  line-height: 1.68;
  font-weight: 300;
}

/* ─── PARCOURS ───────────────────────────────────────── */
.parcours-section {
  padding: 110px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.parcours-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.tl-list {
  margin-top: 8px;
}

.tl-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0;
  padding: 32px 0;
  border-bottom: 1px solid rgba(214, 207, 196, 0.08);
}

.tl-item:first-child {
  border-top: 1px solid rgba(214, 207, 196, 0.08);
}

.tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.tl-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.tl-body {
  font-size: 13px;
  color: var(--warm);
  line-height: 1.68;
  font-weight: 300;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.cert-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border: 1px solid rgba(200, 169, 110, 0.18);
  color: var(--sand);
  transition: border-color 0.2s, color 0.2s;
}

.cert-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── DOCUMENTS ──────────────────────────────────────── */
.docs-section {
  background: var(--charcoal);
  padding: 110px 0;
}

.docs-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.doc-card {
  background: var(--carbon);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
  border: 1px solid rgba(214, 207, 196, 0.05);
  cursor: none;
}

.doc-card:hover {
  background: rgba(200, 169, 110, 0.05);
  border-color: rgba(200, 169, 110, 0.18);
}

.doc-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}

.doc-card:hover .doc-icon-box {
  background: rgba(200, 169, 110, 0.16);
}

.doc-icon-box .material-symbols-outlined {
  font-size: 26px;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.doc-info h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 5px;
}

.doc-info p {
  font-size: 13px;
  color: var(--warm);
  font-weight: 300;
}

.doc-arrow {
  margin-left: auto;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  color: var(--stone);
  transition: color 0.2s, transform 0.2s;
}

.doc-card:hover .doc-arrow {
  color: var(--gold);
  transform: translateX(5px);
}

/* ─── CONTACT ────────────────────────────────────────── */
.contact-section {
  padding: 110px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: start;
}

.contact-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 130px;
  font-weight: 300;
  color: rgba(200, 169, 110, 0.06);
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: -16px;
  user-select: none;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
}

.c-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(214, 207, 196, 0.07);
  font-size: 14px;
  color: var(--sand);
  font-weight: 300;
  transition: color 0.2s;
}

.c-line:first-child {
  border-top: 1px solid rgba(214, 207, 196, 0.07);
}

.c-line:hover {
  color: var(--gold);
}

.c-line .material-symbols-outlined {
  font-size: 18px;
  color: var(--gold);
  opacity: 0.65;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  flex-shrink: 0;
}

.c-line a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

.c-line a:hover {
  color: var(--gold);
}

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: #1a1a18;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 6px;
  color: #e8e3da;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25D366;
  color: #25D366;
}

.wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ─── FORMULAIRE ─────────────────────────────────────── */
.form-block {
  background: var(--carbon);
  border: 1px solid rgba(214, 207, 196, 0.07);
  padding: 52px;
}

.form-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.f-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 10px;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(214, 207, 196, 0.11);
  padding: 14px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  cursor: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--stone);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  background: rgba(200, 169, 110, 0.04);
}

select option {
  background: var(--carbon);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--gold2);
}

.form-note {
  font-size: 11px;
  color: var(--stone);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.05em;
}

/* Succès */
.form-success {
  display: none;
  padding: 56px 20px;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.fs-icon .material-symbols-outlined {
  font-size: 48px;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
  margin-bottom: 20px;
}

.fs-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}

.fs-body {
  font-size: 14px;
  color: var(--warm);
  font-weight: 300;
  line-height: 1.65;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq-section {
  background: var(--carbon);
  padding: 110px 0;
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px;
}

.faq-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-top: 1px solid rgba(214, 207, 196, 0.08);
  list-style: none;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(214, 207, 196, 0.08);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--sand);
  cursor: pointer;
  list-style: none;
  gap: 24px;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--white);
}

.faq-answer {
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--warm);
  max-width: 680px;
}

@media (max-width: 768px) {
  .faq-inner { padding: 0 24px; }
  .faq-item summary { font-size: 15px; }
}

/* ─── WHATSAPP FLOTTANT ──────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.wa-float:active {
  transform: scale(0.96);
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(214, 207, 196, 0.07);
  padding: 48px 48px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: none;
}

.footer-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 169, 110, 0.3);
  transition: border-color 0.3s;
}

.footer-logo:hover .footer-logo-img {
  border-color: var(--gold);
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--cream);
  transition: color 0.2s;
}

.footer-logo:hover .footer-logo-text {
  color: var(--gold);
}

.footer-copy {
  font-size: 11px;
  color: var(--sand);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ─── ANIMATIONS GÉNÉRALES ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  nav        { padding: 0 24px; }
  .hero      { padding: 0 24px 56px; }
  .stats-outer { padding: 0 24px; }
  .parcours-section,
  .contact-section { padding: 80px 24px; }
  .comps-inner,
  .docs-inner { padding: 80px 24px; }
  .mural-header { padding: 60px 24px 48px; }

  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .comps-grid        { grid-template-columns: repeat(2, 1fr); }
  .parcours-layout   { grid-template-columns: 1fr; gap: 0; }
  .contact-layout    { grid-template-columns: 1fr; gap: 60px; }
  .docs-grid         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --gap-mural: 4px; }

  .nav-links li:not(:last-child) { display: none; }

  .hero-title .l2 { padding-left: 20px; }
  .hero-title .l3 { padding-left: 40px; }
  .hero-bottom     { flex-direction: column; gap: 28px; align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .comps-grid { grid-template-columns: 1fr; }

  /* Hero — image mobile allégée */
  .hero {
    background-image: url('images/chef_de_chantier-mobile.jpeg');
  }

  /* Mural mobile : 2 colonnes */
  .mural-wall {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
    gap: 8px;
  }
  .m-r1, .m-r2, .m-r3, .m-r4,
  .m-r5, .m-r6, .m-r7, .m-r8,
  .m-r9, .m-r10, .m-r11, .m-r12,
  .m-r13, .m-r14, .m-r15, .m-r16 {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }

  .f-row { grid-template-columns: 1fr; }
  .form-block { padding: 32px 24px; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── PHOTO STRIP ── */
.photo-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;height:340px;}
.photo-strip-cell{overflow:hidden;}
.photo-strip-cell img{width:100%;height:100%;object-fit:cover;transition:transform .55s;}
.photo-strip-cell:hover img{transform:scale(1.04);}
@media(max-width:768px){
  .photo-strip{grid-template-columns:repeat(2,1fr);height:420px;}
}
