/* ============================================================
   ARTISAN FRANCE FENÊTRE — Feuille de style
   Palette : crème / or-chêne / anthracite
   Typo    : Cormorant Garamond (titres) + Jost (texte)
   ============================================================ */

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

:root {
  --cream:        #F5F0E8;
  --warm-white:   #FDFAF4;
  --oak:          #8B6914;
  --oak-light:    #C49A35;
  --oak-deep:     #6E520F;
  --dark:         #1C1812;
  --dark-muted:   #3D3729;
  --gray:         #7A7468;
  --border:       rgba(139, 105, 20, 0.18);
  --border-light: rgba(139, 105, 20, 0.09);
  --shadow-soft:  0 8px 32px rgba(28, 24, 18, 0.10);
  --shadow-deep:  0 24px 60px rgba(28, 24, 18, 0.22);
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h:        76px;
}

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

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: var(--warm-white);
  overflow-x: hidden;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--oak-light); color: var(--warm-white); }

/* Skip link (accessibilité) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--dark); color: var(--warm-white);
  padding: 12px 20px; font-size: 0.85rem; letter-spacing: 0.08em;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

/* ─── UTILITAIRES ─── */
.container { width: 100%; padding-inline: 7vw; }

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oak);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-label::after {
  content: ''; display: block; flex: 1;
  height: 0.5px; background: var(--border); max-width: 60px;
}
.section-label.centered { justify-content: center; }
.section-label.centered::after { display: none; }
.section-label.centered::before {
  content: ''; display: block; flex: none;
  width: 60px; height: 0.5px; background: var(--border);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: 0.005em;
  color: var(--dark);
}
.section-title em { font-style: italic; color: var(--oak); }

/* ─── NAV ─── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: var(--nav-h);
  background: rgba(253, 250, 244, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border-light);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
nav.scrolled {
  box-shadow: 0 1px 24px rgba(28, 24, 18, 0.06);
  background: rgba(253, 250, 244, 0.95);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }

/* ─── WORDMARK (logo texte) ─── */
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--dark);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.brand-name em { font-style: italic; color: var(--oak); }
.brand-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oak);
  margin-top: 4px;
  white-space: nowrap;
}
.nav-logo:hover .brand-name em { color: var(--oak-light); }

/* Variante claire (footer sur fond sombre) */
.brand--light .brand-name { color: var(--cream); }
.brand--light .brand-name em { color: var(--oak-light); }
.brand--light .brand-sub { color: rgba(196, 154, 53, 0.78); }

.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  position: relative;
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark-muted); text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--oak);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--oak); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-white); background: var(--dark);
  padding: 11px 24px; text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--oak); transform: translateY(-1px); }

/* Burger (mobile) */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 110;
}
.nav-burger span {
  display: block; width: 26px; height: 1.5px; background: var(--dark);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── BOUTONS ─── */
.btn-primary {
  display: inline-block;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--warm-white); background: var(--dark);
  padding: 16px 34px; text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-primary:hover { background: var(--oak); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark-muted); text-decoration: none;
  background: none; border: none; cursor: pointer;
  transition: color 0.25s;
}
.btn-ghost svg { transition: transform 0.3s var(--ease); }
.btn-ghost:hover { color: var(--oak); }
.btn-ghost:hover svg { transform: translateX(5px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  padding-top: var(--nav-h);
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6vw 4.5vw 6vw 7vw;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--oak); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 36px; height: 1px; background: var(--oak);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.9rem, 5vw, 5.4rem);
  font-weight: 300; line-height: 1.08;
  margin-bottom: 2rem; color: var(--dark);
}
.hero h1 em { font-style: italic; color: var(--oak); }
.hero-desc {
  font-size: 1.02rem; line-height: 1.78;
  color: var(--dark-muted); font-weight: 400; max-width: 440px; margin-bottom: 2.8rem;
}
.hero-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }

.hero-stats {
  margin-top: 3.6rem; padding-top: 2.4rem;
  border-top: 0.5px solid var(--border);
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem; font-weight: 300; color: var(--oak); display: block; line-height: 1;
}
.stat-label {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em;
  color: var(--gray); text-transform: uppercase; margin-top: 8px; display: block;
}

.hero-right { position: relative; overflow: hidden; }
.hero-right picture, .hero-right img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right, var(--warm-white) 0%, transparent 14%),
              linear-gradient(135deg, rgba(28,24,18,0.10) 0%, transparent 45%);
  pointer-events: none;
}
.hero-img-anim { animation: heroZoom 16s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-badge {
  position: absolute; z-index: 3;
  bottom: 48px; left: -30px;
  background: var(--warm-white);
  border: 0.5px solid var(--border);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-soft);
}
.badge-icon {
  width: 46px; height: 46px; background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--oak); flex-shrink: 0;
}
.badge-icon svg { width: 22px; height: 22px; }
.badge-text strong { display: block; font-size: 0.84rem; font-weight: 500; color: var(--dark); }
.badge-text span { font-size: 0.72rem; color: var(--gray); }

/* ─── INTRO BAND ─── */
.intro-band {
  background: var(--dark);
  padding: 30px 7vw;
  display: flex; align-items: center; gap: 3rem; flex-wrap: wrap;
}
.intro-band p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 300; font-style: italic;
  color: rgba(253, 250, 244, 0.85);
  flex: 1; min-width: 260px;
}
.intro-band p em { color: var(--oak-light); font-style: normal; }
.intro-dividers { display: flex; gap: 1rem; }
.intro-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--oak); opacity: 0.6; }
.intro-dot:nth-child(2) { opacity: 1; }
.intro-phone {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em;
  color: rgba(253, 250, 244, 0.65); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.25s;
}
.intro-phone:hover { color: var(--oak-light); }
.intro-phone svg { width: 15px; height: 15px; }

/* ─── SAVOIR-FAIRE ─── */
.savoir-faire {
  padding: clamp(70px, 9vw, 110px) 7vw;
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: clamp(48px, 6vw, 84px); align-items: center;
}
.sf-desc { font-size: 0.98rem; line-height: 1.85; color: var(--dark-muted); font-weight: 400; margin: 1.8rem 0 2.5rem; }
.sf-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.95rem; }
.sf-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; color: var(--dark-muted);
}
.sf-checklist li::before {
  content: '✦'; color: var(--oak); font-size: 0.65rem; margin-top: 5px; flex-shrink: 0;
}

.sf-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sf-img { overflow: hidden; aspect-ratio: 3/4; position: relative; }
.sf-img:first-child { margin-top: 36px; }
.sf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.sf-img:hover img { transform: scale(1.05); }
.sf-img-label {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(28,24,18,0.72));
  padding: 28px 16px 14px;
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(253, 250, 244, 0.92);
}
.sf-img-wide { grid-column: 1 / -1; aspect-ratio: 16/9; margin-top: 16px; }

/* ─── GALERIE ─── */
.galerie { padding: clamp(70px, 9vw, 110px) 7vw; background: var(--cream); }
.galerie-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gal-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--dark);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.5s; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,18,0.55), transparent 55%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.gal-item:hover::after { opacity: 1; }
.gal-cap {
  position: absolute; left: 20px; bottom: 16px; z-index: 2;
  color: var(--warm-white);
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gal-item:hover .gal-cap { opacity: 1; transform: translateY(0); }
.gal-zoom {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(253,250,244,0.92); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gal-item:hover .gal-zoom { opacity: 1; transform: scale(1); }
/* placements (collage) */
.gal-a { grid-column: span 3; grid-row: span 2; }
.gal-b { grid-column: span 3; grid-row: span 1; }
.gal-c { grid-column: span 3; grid-row: span 1; }
.gal-d { grid-column: span 2; grid-row: span 2; }
.gal-e { grid-column: span 2; grid-row: span 2; }
.gal-f { grid-column: span 2; grid-row: span 2; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(19, 16, 9, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
  padding: 5vh 6vw;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  box-shadow: var(--shadow-deep);
  transform: scale(0.96); transition: transform 0.4s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox figcaption {
  margin-top: 18px; color: rgba(245, 240, 232, 0.7);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.lb-btn {
  position: absolute; background: none; border: none; cursor: pointer;
  color: rgba(245, 240, 232, 0.7); transition: color 0.25s, transform 0.25s;
}
.lb-btn:hover { color: var(--oak-light); }
.lb-close { top: 4vh; right: 5vw; }
.lb-close svg { width: 30px; height: 30px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); padding: 16px; }
.lb-prev { left: 2vw; }
.lb-next { right: 2vw; }
.lb-prev:hover { transform: translateY(-50%) translateX(-4px); }
.lb-next:hover { transform: translateY(-50%) translateX(4px); }
.lb-prev svg, .lb-next svg { width: 34px; height: 34px; }
.lb-counter {
  position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%);
  color: rgba(245, 240, 232, 0.5); font-size: 0.78rem; letter-spacing: 0.15em;
}

/* ─── PRODUITS ─── */
.produits { padding: clamp(70px, 9vw, 110px) 7vw; }
.produits-header { text-align: center; margin-bottom: 60px; }
.produits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border-light); }
.produit-card { background: var(--warm-white); overflow: hidden; position: relative; }
.produit-card::after {
  content: ''; position: absolute; inset: 0;
  border: 1.5px solid transparent; transition: border-color 0.35s var(--ease); pointer-events: none;
}
.produit-card:hover::after { border-color: var(--oak); }
.produit-img { aspect-ratio: 4/3; overflow: hidden; }
.produit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.produit-card:hover .produit-img img { transform: scale(1.06); }
.produit-body { padding: 26px 28px 30px; }
.produit-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak);
  background: rgba(139, 105, 20, 0.08); padding: 5px 10px; margin-bottom: 14px;
}
.produit-body h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400;
  color: var(--dark); margin-bottom: 10px;
}
.produit-body p { font-size: 0.88rem; line-height: 1.68; color: var(--dark-muted); font-weight: 400; }
.produit-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--oak); text-decoration: none;
}
.produit-link svg { transition: transform 0.3s var(--ease); }
.produit-card:hover .produit-link svg { transform: translateX(6px); }

/* ─── PROCESS ─── */
.process {
  padding: clamp(70px, 9vw, 110px) 7vw;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px); align-items: start; background: var(--cream);
}
.process-intro { font-size: 0.98rem; line-height: 1.85; color: var(--dark-muted); font-weight: 400; margin-top: 1.8rem; }
.process-steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  padding: 28px 0; border-bottom: 0.5px solid var(--border-light); position: relative;
}
.step:first-child { border-top: 0.5px solid var(--border-light); }
.step-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 300;
  color: rgba(139, 105, 20, 0.28); line-height: 1; padding-top: 4px;
  transition: color 0.4s var(--ease);
}
.step:hover .step-num { color: var(--oak); }
.step h4 { font-size: 0.94rem; font-weight: 500; letter-spacing: 0.03em; color: var(--dark); margin-bottom: 7px; }
.step p { font-size: 0.87rem; line-height: 1.68; color: var(--dark-muted); font-weight: 400; }

/* ─── MATÉRIAUX (sombre) ─── */
.materiaux { background: var(--dark); padding: clamp(70px, 9vw, 110px) 7vw; }
.materiaux .section-label { color: var(--oak-light); }
.materiaux .section-label::after { background: rgba(196, 154, 53, 0.3); }
.materiaux .section-title { color: var(--cream); }
.materiaux .section-title em { color: var(--oak-light); }
.mat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 56px; border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.06);
}
.mat-item { padding: 38px 28px; background: var(--dark); transition: background 0.4s var(--ease); }
.mat-item:hover { background: #221d15; }
.mat-icon { color: var(--oak-light); margin-bottom: 20px; }
.mat-icon svg { width: 30px; height: 30px; }
.mat-item h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400;
  color: var(--cream); margin-bottom: 12px;
}
.mat-item p { font-size: 0.84rem; line-height: 1.68; color: rgba(245, 240, 232, 0.52); }

/* ─── ZONES ─── */
.zones { padding: clamp(70px, 9vw, 110px) 7vw; text-align: center; }
.zones-header { max-width: 580px; margin: 0 auto 52px; }
.zones-desc { font-size: 0.96rem; line-height: 1.78; color: var(--dark-muted); font-weight: 400; margin-top: 1.4rem; }
.zones-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 820px; margin: 0 auto;
}
.zone-pill {
  font-size: 0.82rem; font-weight: 400; color: var(--dark-muted);
  border: 0.5px solid var(--border); padding: 11px 24px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.zone-pill:hover {
  background: var(--oak); color: var(--warm-white); border-color: var(--oak); transform: translateY(-2px);
}

/* ─── ENGAGEMENTS (remplace les faux avis) ─── */
.engagements { padding: clamp(70px, 9vw, 110px) 7vw; background: var(--cream); }
.engagements-header { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.eng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eng-card {
  background: var(--warm-white); padding: 38px 32px;
  border: 0.5px solid var(--border-light); position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.eng-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.eng-icon { color: var(--oak); margin-bottom: 22px; }
.eng-icon svg { width: 32px; height: 32px; }
.eng-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 400;
  color: var(--dark); margin-bottom: 12px;
}
.eng-card p { font-size: 0.9rem; line-height: 1.75; color: var(--dark-muted); font-weight: 400; }

/* ─── CONTACT ─── */
.contact {
  padding: clamp(80px, 10vw, 130px) 7vw; position: relative; overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url('../photos/exterieur-lucarne.jpg') center/cover no-repeat;
  opacity: 0.06;
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 6vw, 90px); align-items: start; max-width: 1200px; margin: 0 auto;
}
.contact-intro .section-title { margin-bottom: 1.5rem; }
.contact-desc { font-size: 1rem; line-height: 1.78; color: var(--dark-muted); font-weight: 400; margin-bottom: 2.5rem; max-width: 420px; }
.contact-meta { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2.5rem; }
.contact-meta a, .contact-meta div {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--dark);
}
.cm-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--cream); color: var(--oak);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cm-icon svg { width: 20px; height: 20px; }
.contact-meta a:hover .cm-icon { background: var(--oak); color: var(--warm-white); }
.cm-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.cm-value { font-size: 0.98rem; color: var(--dark); }

/* Formulaire */
.contact-form { background: var(--warm-white); border: 0.5px solid var(--border); padding: clamp(28px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark-muted); margin-bottom: 8px;
}
.field label .req { color: var(--oak); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  font-family: 'Jost', sans-serif; font-size: 0.92rem; font-weight: 300;
  color: var(--dark); background: var(--warm-white);
  border: 0.5px solid var(--border); outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--oak); box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.08);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238B6914' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form-submit { width: 100%; margin-top: 8px; text-align: center; }
.form-consent { font-size: 0.74rem; color: var(--gray); margin-top: 16px; line-height: 1.5; }
.form-fallback { font-size: 0.78rem; color: var(--gray); margin-top: 18px; text-align: center; }
.form-fallback a { color: var(--oak); }
/* Honeypot anti-spam : invisible et non focusable, sans display:none (certains bots l'ignorent). */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; font-size: 0.9rem; display: none; }
.form-status.show {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 18px 22px;
  animation: status-in 0.6s var(--ease) both;
}
@keyframes status-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.form-status .fs-icon {
  flex: none; width: 36px; height: 36px; margin-top: -1px;
  display: grid; place-items: center; border-radius: 50%;
  box-shadow: 0 4px 14px rgba(28, 24, 18, 0.14);
}
.form-status .fs-icon svg { width: 19px; height: 19px; }
.form-status .fs-text { line-height: 1.62; padding-top: 6px; }

/* Succès — encadré or / crème */
.form-status.ok {
  background: linear-gradient(135deg, rgba(196, 154, 53, 0.12), rgba(245, 240, 232, 0.55));
  border: 0.5px solid rgba(139, 105, 20, 0.28);
  border-left: 3px solid var(--oak);
  color: var(--oak-deep);
}
.form-status.ok .fs-icon { background: var(--oak); color: var(--warm-white); }
/* Tracé animé de la coche */
.form-status.ok .fs-check {
  stroke-dasharray: 26; stroke-dashoffset: 26;
  animation: draw-check 0.55s var(--ease) 0.3s forwards;
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }

/* Erreur — discret, ton brique */
.form-status.err {
  background: rgba(180, 40, 30, 0.06);
  border: 0.5px solid rgba(154, 45, 34, 0.3);
  border-left: 3px solid #9a2d22;
  color: #9a2d22;
}
.form-status.err .fs-icon { background: #9a2d22; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .form-status.show { animation: none; }
  .form-status.ok .fs-check { animation: none; stroke-dashoffset: 0; }
}

/* ─── FOOTER ─── */
footer { background: #131009; padding: 70px 7vw 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 0.5px solid rgba(255,255,255,0.07);
}
.footer-brand .brand-name { font-size: 2rem; }
.footer-brand .brand-sub { font-size: 0.6rem; letter-spacing: 0.28em; margin-top: 7px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; color: rgba(245, 240, 232, 0.42); margin-top: 22px; max-width: 320px; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245, 240, 232, 0.42); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a {
  font-size: 0.86rem; color: rgba(245, 240, 232, 0.66); text-decoration: none; transition: color 0.25s;
}
.footer-col ul a:hover { color: var(--oak-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 28px; font-size: 0.76rem; color: rgba(245, 240, 232, 0.28); flex-wrap: wrap;
}
.footer-bottom a { color: rgba(245, 240, 232, 0.42); text-decoration: none; }
.footer-bottom a:hover { color: var(--oak-light); }

/* ─── SCROLL REVEAL ─── */
/* État masqué uniquement si JS est actif : sans JS, tout reste visible. */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* Hero entrance */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-left > * { animation: fadeUp 0.8s var(--ease) both; }
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1       { animation-delay: 0.24s; }
.hero-desc     { animation-delay: 0.38s; }
.hero-actions  { animation-delay: 0.5s; }
.hero-stats    { animation-delay: 0.62s; }

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

/* ─── PAGE RÉALISATIONS ─── */
.page-hero {
  padding: calc(var(--nav-h) + clamp(60px, 8vw, 100px)) 7vw clamp(50px, 7vw, 80px);
  text-align: center; background: var(--cream);
}
.page-hero .section-title { max-width: 760px; margin: 0 auto; }
.page-hero p { font-size: 1rem; line-height: 1.78; color: var(--dark-muted); font-weight: 400; max-width: 560px; margin: 1.4rem auto 0; }
.breadcrumb { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--oak); text-decoration: none; }

.realisations-grid {
  padding: clamp(50px, 7vw, 90px) 7vw;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.real-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--dark); }
.real-item.tall { aspect-ratio: 3/4; }
.real-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.real-item:hover img { transform: scale(1.05); }
.real-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,18,0.6), transparent 50%);
  opacity: 0.65; transition: opacity 0.4s var(--ease);
}
.real-item:hover::after { opacity: 0.9; }
.real-cap { position: absolute; left: 26px; bottom: 22px; z-index: 2; color: var(--warm-white); }
.real-cap .t { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; }
.real-cap .s { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.75); margin-top: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .galerie-grid { grid-auto-rows: 170px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* Menu mobile en panneau */
  .nav-mobile {
    position: fixed; inset: 0; z-index: 105;
    background: var(--warm-white);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.8rem;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  }
  .nav-mobile.open { opacity: 1; visibility: visible; transform: none; }
  .nav-mobile a {
    font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400;
    color: var(--dark); text-decoration: none;
  }
  .nav-mobile a:hover { color: var(--oak); }
  .nav-mobile .nav-cta {
    display: inline-block; font-family: 'Jost', sans-serif; font-size: 0.82rem; margin-top: 1rem;
  }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 8vw 7vw 4vw; order: 2; }
  .hero-right { order: 1; height: 56vh; min-height: 360px; }
  .hero-right::before { background: linear-gradient(to top, var(--warm-white) 0%, transparent 22%); }
  .hero-badge { left: 7vw; bottom: 20px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); }

  .savoir-faire { grid-template-columns: 1fr; gap: 40px; }
  .sf-right { grid-template-columns: 1fr 1fr; }
  .sf-img:first-child { margin-top: 0; }

  .produits-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 32px; }
  .mat-grid { grid-template-columns: 1fr 1fr; }
  .eng-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Galerie : collage simplifié sur mobile */
  .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gal-a { grid-column: 1 / -1; grid-row: span 2; }
  .gal-b, .gal-c, .gal-d, .gal-e, .gal-f { grid-column: span 1; grid-row: span 1; }

  .realisations-grid { grid-template-columns: 1fr; }
  .real-item, .real-item.tall { aspect-ratio: 4/3; }

  .lb-prev { left: 1vw; }
  .lb-next { right: 1vw; }
}

@media (max-width: 560px) {
  .container, nav { padding-inline: 6vw; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-stats { gap: 1.8rem; }
  .stat-num { font-size: 1.9rem; }
  .mat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gal-cap { left: 14px; bottom: 12px; }
  .nav-logo .brand-name { font-size: 1.32rem; }
  .nav-logo .brand-sub { font-size: 0.5rem; letter-spacing: 0.2em; }
}
