/* ==========================================================================
   OTVAGA — Maison de ferronnerie d'art
   Palette : noir profond · ivoire · or champagne
   Typographies : Spectral (titres) · Jost (texte)
   ========================================================================== */

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

:root {
  --noir: #0C0B0A;
  --noir-2: #141210;
  --noir-3: #1E1B18;
  --ivoire: #F5F0E8;
  --ivoire-2: #ECE5D8;
  --encre: #26221E;
  --or: #B8975A;
  --or-clair: #D6BF8F;
  --or-sombre: #8C6F3E;
  --gris: #8C857B;
  --gris-clair: rgba(245, 240, 232, 0.62);
  --filet-clair: rgba(184, 151, 90, 0.28);
  --filet-sombre: rgba(38, 34, 30, 0.14);
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--noir);
  color: var(--ivoire);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--or); color: var(--noir); }
section[id] { scroll-margin-top: 80px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ── TYPOGRAPHIE ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 26px;
}
.label::before { content: ''; width: 40px; height: 1px; background: currentColor; }

.titre {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.titre em { font-style: italic; color: var(--or); }

.chapo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--gris-clair);
  max-width: 520px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 90px;
}

/* ── BOUTONS ── */
.btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 19px 40px;
  border: 1px solid var(--or);
  background: transparent;
  color: var(--ivoire);
  cursor: pointer;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.btn:hover { color: var(--noir); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--plein { background: var(--or); color: var(--noir); }
.btn--plein::before { background: var(--ivoire); }
.btn--plein:hover { border-color: var(--ivoire); }

.btn--encre { border-color: var(--encre); color: var(--encre); }
.btn--encre::before { background: var(--encre); }
.btn--encre:hover { color: var(--ivoire); }

.btn-fleche { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .btn-fleche { transform: translateX(6px); }

.lien {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivoire);
  padding-bottom: 6px;
  background: linear-gradient(var(--or), var(--or)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.lien:hover { color: var(--or-clair); background-size: 40% 1px; }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 48px;
  border-bottom: 1px solid transparent;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.nav.scrolled {
  padding: 18px 48px;
  background: rgba(12, 11, 10, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--filet-clair);
}
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.nav-logo-nom {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.42em;
}
.nav-logo-sous {
  margin-top: 8px;
  font-size: 0.56rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
}
.nav-links { display: flex; align-items: center; gap: 44px; }
.nav-links a {
  position: relative;
  padding: 6px 0;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.78);
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover { color: var(--ivoire); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .nav-cta {
  padding: 13px 24px;
  border: 1px solid var(--or);
  color: var(--ivoire);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--or); color: var(--noir); }

.nav-actions { display: flex; align-items: center; gap: 22px; }

/* Sélecteur de langue FR / EN */
.lang-switch {
  display: flex;
  border: 1px solid var(--filet-clair);
}
.lang-switch a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  color: var(--gris-clair);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.lang-switch a + a { border-left: 1px solid var(--filet-clair); }
.lang-switch a:hover { color: var(--ivoire); background: rgba(184, 151, 90, 0.12); }
.lang-switch a[aria-current="true"] { background: var(--or); color: var(--noir); }
.lang-switch a:focus-visible { outline: 1px solid var(--or-clair); outline-offset: 2px; }

.nav-burger {
  display: none;
  position: relative;
  width: 34px; height: 22px;
  background: none; border: none; cursor: pointer;
}
.nav-burger span {
  position: absolute; right: 0;
  height: 1px;
  background: var(--ivoire);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease), width 0.4s var(--ease);
}
.nav-burger span:nth-child(1) { top: 6px; width: 100%; }
.nav-burger span:nth-child(2) { top: 15px; width: 62%; }
.nav-burger.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { top: 11px; width: 100%; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  background: var(--noir);
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile a {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--or-clair); font-style: italic; }
.nav-mobile-pied {
  margin-top: 30px;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or);
}

/* ── HERO ── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 170px 48px 130px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--noir-3);
  background-size: cover;
  background-position: center;
  filter: contrast(1.03) brightness(1.05);
  transform: scale(1.08);
  animation: hero-zoom 16s var(--ease) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,11,10,0.4) 0%, rgba(12,11,10,0) 18%, rgba(12,11,10,0) 70%, rgba(12,11,10,0.55) 100%),
    linear-gradient(90deg, rgba(12,11,10,0.88) 0%, rgba(12,11,10,0.62) 30%, rgba(12,11,10,0.12) 52%, rgba(12,11,10,0) 62%);
}
.hero::after {
  content: '';
  position: absolute; left: 48px; right: 48px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--or), transparent 70%);
  opacity: 0.5;
}
.hero-content { max-width: 860px; }
.hero-content > * { opacity: 0; transform: translateY(26px); animation: monte 1.4s var(--ease) forwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.65s; }
.hero-content > *:nth-child(4) { animation-delay: 0.85s; }
@keyframes monte { to { opacity: 1; transform: none; } }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 34px;
}
.hero-title em {
  display: block;
  padding-left: 0.6em;
  font-style: italic;
  color: var(--or-clair);
}
.hero-sub {
  max-width: 500px;
  margin-bottom: 50px;
  font-size: 1.02rem;
  color: var(--gris-clair);
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; }

.hero-scroll {
  position: absolute; right: 48px; bottom: 50px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gris-clair);
}
.hero-scroll span { writing-mode: vertical-rl; }
.hero-scroll::after {
  content: '';
  width: 1px; height: 70px;
  background: linear-gradient(var(--or), transparent);
  transform-origin: top;
  animation: trait 2.6s var(--ease) infinite;
}
@keyframes trait {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ── ENGAGEMENTS ── */
.engagements {
  background: var(--noir);
  padding: 90px 0;
}
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.engagement { padding: 10px 48px; border-left: 1px solid var(--filet-clair); }
.engagement:first-child { border-left: none; padding-left: 0; }
.engagement-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--or);
}
.engagement-titre {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.2;
}
.engagement p:last-child { font-size: 0.92rem; color: var(--gris-clair); }

/* ── SAVOIR-FAIRE (SERVICES) ── */
.services {
  background: var(--ivoire);
  color: var(--encre);
  padding: 160px 0;
}
.services .label { color: var(--or-sombre); }
.services .titre em { color: var(--or-sombre); }
.services .chapo { color: rgba(38, 34, 30, 0.65); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--filet-sombre);
  border-left: 1px solid var(--filet-sombre);
}
.service {
  position: relative;
  padding: 56px 44px 64px;
  border-right: 1px solid var(--filet-sombre);
  border-bottom: 1px solid var(--filet-sombre);
  transition: background 0.7s var(--ease);
}
.service::before {
  content: '';
  position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.service:hover { background: #FBF8F2; }
.service:hover::before { transform: scaleX(1); }
.service-num {
  display: block;
  margin-bottom: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--or-sombre);
}
.service h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
}
.service p { font-size: 0.95rem; line-height: 1.85; color: rgba(38, 34, 30, 0.72); }

.service--cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: var(--encre);
  color: var(--ivoire);
}
.service--cta::before { display: none; }
.service--cta:hover { background: var(--noir); }
.service--cta h3 em { font-style: italic; color: var(--or-clair); }
.service--cta p { color: var(--gris-clair); }

/* ── GALERIE ── */
.galerie { background: var(--noir); padding: 160px 0; }
.galerie-grid { columns: 3; column-gap: 28px; }
.galerie-item {
  display: block;
  width: 100%;
  margin-bottom: 40px;
  padding: 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  background: none; border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.galerie-media {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: var(--noir-3);
}
.galerie-media img {
  width: 100%;
  height: auto;
  filter: grayscale(0.2) brightness(0.92);
  transition: transform 1.4s var(--ease), filter 0.9s var(--ease);
}
.galerie-media::after {
  content: '';
  position: absolute; inset: 14px;
  border: 1px solid rgba(214, 191, 143, 0);
  transition: border-color 0.7s var(--ease), inset 0.7s var(--ease);
  pointer-events: none;
}
.galerie-voir {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  padding: 12px 22px;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivoire);
  background: rgba(12, 11, 10, 0.6);
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.galerie-item:hover .galerie-media img,
.galerie-item:focus-visible .galerie-media img { transform: scale(1.045); filter: grayscale(0) brightness(1); }
.galerie-item:hover .galerie-media::after,
.galerie-item:focus-visible .galerie-media::after { inset: 20px; border-color: rgba(214, 191, 143, 0.75); }
.galerie-item:hover .galerie-voir,
.galerie-item:focus-visible .galerie-voir { opacity: 1; transform: translate(-50%, -50%); }
.galerie-item:focus-visible { outline: 1px solid var(--or); outline-offset: 6px; }

.galerie-legende {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 2px 0;
}
.galerie-legende span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--or);
}
.galerie-legende strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 120px;
  background: rgba(8, 7, 6, 0.97);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1300px;
}
.lb-figure img {
  width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  transition: opacity 0.5s var(--ease);
}
.lb-figure img.chargement { opacity: 0; }
.lb-count {
  display: block;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--or);
}
.lb-titre {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--filet-clair);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2.1rem;
  line-height: 1.15;
}
.lb-texte { font-size: 0.93rem; line-height: 1.9; color: var(--gris-clair); }

.lb-close {
  position: absolute; top: 28px; right: 36px;
  display: flex; align-items: center; gap: 14px;
  background: none; border: none;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivoire);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.lb-close:hover { opacity: 1; }
.lb-close span { font-size: 1.4rem; line-height: 1; color: var(--or); }
.lb-nav {
  position: absolute; top: 50%;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--filet-clair);
  border-radius: 50%;
  background: none;
  color: var(--ivoire);
  font-size: 1.1rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.4s var(--ease), border-color 0.4s, color 0.4s;
}
.lb-nav:hover { background: var(--or); border-color: var(--or); color: var(--noir); }
.lb-prev { left: 32px; }
.lb-next { right: 32px; }

/* ── À PROPOS ── */
.apropos {
  background: var(--ivoire-2);
  color: var(--encre);
  padding: 170px 0;
}
.apropos .label { color: var(--or-sombre); }
.apropos .titre { margin-bottom: 40px; }
.apropos .titre em { color: var(--or-sombre); }
.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 110px;
  align-items: center;
}
.apropos-visual { position: relative; padding: 0 0 40px 30px; }
.apropos-visual::before {
  content: '';
  position: absolute; top: 30px; left: 0; right: 30px; bottom: 10px;
  border: 1px solid var(--or-sombre);
}
.apropos-visual img {
  position: relative;
  width: calc(100% - 0px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.25);
}
.apropos-sceau {
  position: absolute; right: -36px; bottom: 0;
  width: 150px; height: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  border-radius: 50%;
  background: var(--encre);
  color: var(--ivoire);
  text-align: center;
  box-shadow: 0 0 0 6px var(--ivoire-2), 0 0 0 7px var(--or-sombre);
}
.apropos-sceau em { font-family: var(--serif); font-size: 1.5rem; color: var(--or-clair); line-height: 1; }
.apropos-sceau small { font-size: 0.52rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gris-clair); }

.apropos-text p { margin-bottom: 20px; font-size: 1rem; line-height: 1.9; color: rgba(38, 34, 30, 0.76); }
.apropos-text p strong { font-weight: 500; color: var(--encre); }
.apropos-text .lettrine::first-letter {
  float: left;
  margin: 8px 14px 0 0;
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 0.8;
  color: var(--or-sombre);
}
.apropos-signature {
  margin: 34px 0 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--encre);
}

/* ── CONTACT ── */
.contact { background: var(--noir-2); padding: 160px 0; }
.contact .chapo { margin-top: 26px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 120px;
  align-items: start;
}
.contact-bloc { padding: 30px 0; border-top: 1px solid var(--filet-clair); }
.contact-bloc:last-child { border-bottom: 1px solid var(--filet-clair); }
.contact-label {
  margin-bottom: 10px;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
}
.contact-valeur {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.55rem;
  line-height: 1.35;
  transition: color 0.3s;
}
a.contact-valeur:hover { color: var(--or-clair); }
.contact-ligne + .contact-ligne { margin-top: 16px; }
.contact-zone strong,
.footer-zone strong,
.nav-mobile-pied strong { font-weight: 600; color: var(--or-clair); }
.contact-siege {
  margin-top: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gris);
}
.footer-zone {
  margin: -16px 0 40px;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gris-clair);
}
.contact-ligne small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gris);
}

.contact-form-wrap {
  padding: 60px 56px;
  background: var(--noir);
  border: 1px solid var(--filet-clair);
}
.form-titre {
  margin-bottom: 40px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.9rem;
}
.form-titre em { font-style: italic; color: var(--or-clair); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.form-group { margin-bottom: 34px; }
.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
  transition: color 0.3s;
}
.form-group:focus-within label { color: var(--or); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--filet-clair);
  border-radius: 0;
  color: var(--ivoire);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  outline: none;
  resize: vertical;
  transition: border-color 0.4s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--or); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245, 240, 232, 0.25); font-style: italic; }
.contact-form .btn { margin-top: 10px; }

.form-success {
  padding: 28px 30px;
  border: 1px solid var(--or);
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ivoire);
}
.form-success span { color: var(--or); margin-right: 10px; }
.form-error {
  margin-bottom: 30px;
  padding: 16px 20px;
  border: 1px solid rgba(190, 90, 70, 0.5);
  font-size: 0.9rem;
  color: #E8A493;
}

/* ── FOOTER ── */
.footer {
  background: var(--noir);
  border-top: 1px solid var(--filet-clair);
  padding: 100px 0 40px;
  text-align: center;
}
.footer-logo {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1;
}
.footer-logo .nav-logo-nom { font-size: 2.4rem; letter-spacing: 0.5em; margin-right: -0.5em; }
.footer-logo .nav-logo-sous { margin-top: 14px; }
.footer-ornement {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 44px auto;
  color: var(--or);
}
.footer-ornement::before,
.footer-ornement::after { content: ''; width: 70px; height: 1px; background: var(--filet-clair); }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px;
  margin-bottom: 70px;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gris-clair);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--or-clair); }
.footer-copy {
  padding-top: 30px;
  border-top: 1px solid rgba(184, 151, 90, 0.12);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris);
}

/* ── WHATSAPP ── */
.whatsapp-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 900;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--noir);
  border: 1px solid var(--or);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.whatsapp-float svg { width: 26px; height: 26px; fill: var(--or-clair); transition: fill 0.4s; }
.whatsapp-float:hover { background: var(--or); transform: translateY(-3px); }
.whatsapp-float:hover svg { fill: var(--noir); }
.whatsapp-pulse {
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--or);
  animation: halo 3s var(--ease) infinite;
  pointer-events: none;
}
@keyframes halo {
  0% { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-tooltip {
  position: fixed; right: 100px; bottom: 44px; z-index: 900;
  padding: 10px 18px;
  background: var(--noir);
  border: 1px solid var(--filet-clair);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ivoire);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.whatsapp-float:hover + .whatsapp-tooltip { opacity: 1; transform: none; }

/* ==========================================================================
   SITE MULTI-PAGES
   ========================================================================== */

/* ── SPECTRAL : titres en graisse légère, aérée ── */
.titre, .hero-title { font-weight: 300; }
.titre em, .hero-title em { font-weight: 300; }

/* ── NAVIGATION : page courante ── */
.nav-links a[aria-current="page"] { color: var(--ivoire); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .nav-cta[aria-current="page"] { background: var(--or); color: var(--noir); }
.nav-mobile a[aria-current="page"] { color: var(--or-clair); font-style: italic; }

/* ── EN-TÊTE DES PAGES INTÉRIEURES ── */
.hero--page { min-height: 72vh; min-height: 72svh; padding-bottom: 100px; }
.hero--page .hero-title { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
.hero--page .hero-sub { margin-bottom: 0; max-width: 560px; }

/* ── ACCUEIL : LES TROIS SERVICES ── */
.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.offre {
  position: relative;
  display: flex; flex-direction: column;
  background: #FBF8F2;
  border: 1px solid var(--filet-sombre);
  transition: border-color 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.7s var(--ease), opacity 1.2s var(--ease);
}
.offre::before {
  content: '';
  position: absolute; top: -1px; left: -1px; right: -1px; z-index: 1;
  height: 2px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.offre.visible:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(38, 34, 30, 0.12); }
.offre:hover::before { transform: scaleX(1); }
.offre-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--noir-3); }
.offre-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: transform 1.4s var(--ease), filter 0.9s var(--ease);
}
.offre:hover .offre-media img { transform: scale(1.05); filter: grayscale(0); }
.offre-corps {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 40px 38px 44px;
}
.offre-corps .service-num { margin-bottom: 24px; }
.offre h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.1;
}
.offre p { flex: 1; margin-bottom: 32px; font-size: 0.95rem; line-height: 1.85; color: rgba(38, 34, 30, 0.72); }
.offre .lien { align-self: flex-start; }
.lien--sombre { color: var(--encre); background-image: linear-gradient(var(--or-sombre), var(--or-sombre)); }
.offre:hover .lien--sombre { color: var(--or-sombre); background-size: 40% 1px; }

.offre--cta { justify-content: center; background: var(--encre); color: var(--ivoire); border-color: var(--encre); }
.offre--cta::before { display: none; }
.offre--cta .offre-corps { justify-content: center; padding: 56px 44px; }
.offre--cta .service-num { color: var(--or-clair); }
.offre--cta h3 em { font-style: italic; color: var(--or-clair); }
.offre--cta p { flex: 0; color: var(--gris-clair); }
.offre--cta:hover { background: var(--noir); }
.offre--cta:hover .lien { color: var(--or-clair); background-size: 40% 1px; }

/* ── SUR MESURE : miniature dans chaque carte ── */
.service-tete {
  display: flex; align-items: flex-start; justify-content: space-between;
  height: 104px;
  margin-bottom: 26px;
}
.service-tete .service-num { margin-bottom: 0; }
.service-miniature {
  display: block;
  width: 104px; height: 104px;
  overflow: hidden;
  outline: 1px solid var(--filet-sombre);
  outline-offset: 5px;
  transition: outline-color 0.6s var(--ease);
}
.service-miniature img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}
.service:hover .service-miniature { outline-color: var(--or); }
.service:hover .service-miniature img { transform: scale(1.08); filter: grayscale(0); }

/* ── VARIANTES DE GRILLES ── */
.services-grid--2 { grid-template-columns: repeat(2, 1fr); }
.engagements-tete { margin-bottom: 70px; }
.engagements-tete .titre { font-size: clamp(2rem, 3.6vw, 3rem); }
.engagements-grid--4 { grid-template-columns: repeat(4, 1fr); }
.engagements-grid--4 .engagement { padding: 10px 34px; }
.engagements-grid--4 .engagement:first-child { padding-left: 0; }

/* Section « savoir-faire » sur fond sombre */
.services--sombre { background: var(--noir-2); color: var(--ivoire); }
.services--sombre .label { color: var(--or); }
.services--sombre .titre em { color: var(--or); }
.services--sombre .chapo { color: var(--gris-clair); }
.services--sombre .services-grid { border-color: var(--filet-clair); }
.services--sombre .service { border-color: var(--filet-clair); }
.services--sombre .service:hover { background: var(--noir-3); }
.services--sombre .service-num { color: var(--or); }
.services--sombre .service p { color: var(--gris-clair); }
.services--sombre + .engagements { border-top: 1px solid var(--filet-clair); }

/* ── GALERIE : aperçu, suite, filtres ── */
.galerie--bordee { border-top: 1px solid var(--filet-clair); }
.galerie-grid--apercu { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.galerie-grid--apercu .galerie-item { margin-bottom: 0; }
.galerie-grid--apercu .galerie-media img { aspect-ratio: 4 / 5; object-fit: cover; }
.galerie-suite { margin-top: 70px; text-align: center; }

.galerie--portfolio { padding-top: 110px; }
.filtres {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 70px;
}
.filtres a {
  padding: 12px 24px;
  border: 1px solid var(--filet-clair);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gris-clair);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.filtres a:hover { color: var(--ivoire); border-color: var(--or); }
.filtres a[aria-current="true"] { background: var(--or); border-color: var(--or); color: var(--noir); }

/* ── BOUTON D'APPEL FLOTTANT (téléphones uniquement) ── */
.appel-float {
  position: fixed; right: 18px; bottom: 86px; z-index: 900;
  width: 54px; height: 54px;
  display: none; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.appel-float svg { width: 22px; height: 22px; fill: var(--noir); }
.appel-float:active { background: var(--or-clair); }

/* Menu à cinq entrées : on resserre sur les écrans moyens */
@media (max-width: 1280px) {
  .nav-links { gap: 28px; }
  .nav-links a { letter-spacing: 0.2em; }
}

/* ── BANDEAU D'APPEL AU CONTACT ── */
.bandeau {
  background: var(--noir-2);
  border-top: 1px solid var(--filet-clair);
  padding: 150px 0;
  text-align: center;
}
.bandeau-inner { display: flex; flex-direction: column; align-items: center; }
.bandeau .titre { margin-bottom: 28px; }
.bandeau .chapo { margin: 0 auto 50px; }
.bandeau-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px; }

/* ── PAGE CONTACT ── */
.contact--page { padding-top: 200px; }
.contact--page h1.titre { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }

.form-sujets { display: flex; flex-wrap: wrap; gap: 10px; border: none; }
.form-sujets legend {
  width: 100%;
  margin-bottom: 16px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris);
}
.sujet { position: relative; cursor: pointer; }
.sujet input { position: absolute; opacity: 0; pointer-events: none; }
.sujet span {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--filet-clair);
  font-size: 0.82rem;
  color: var(--gris-clair);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.sujet:hover span { border-color: var(--or); color: var(--ivoire); }
.sujet input:checked + span { background: var(--or); border-color: var(--or); color: var(--noir); }
.sujet input:focus-visible + span { outline: 1px solid var(--or-clair); outline-offset: 3px; }

/* ── PIED DE PAGE : menu ── */
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  margin: -10px 0 40px;
}
.footer-nav a {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ivoire);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--or-clair); font-style: italic; }

/* ── APPARITION AU DÉFILEMENT ── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .apropos-inner { gap: 70px; }
  .contact-grid { gap: 70px; }
  .lightbox { padding: 80px 100px; }
  .lb-figure { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
}

@media (max-width: 900px) {
  .nav, .nav.scrolled { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hero { padding: 140px 24px 110px; }
  .hero::after { left: 24px; right: 24px; }
  .hero-scroll { right: 24px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .engagements-grid { grid-template-columns: 1fr; gap: 40px; }
  .engagement, .engagement:first-child { padding: 0 0 0 26px; border-left: 1px solid var(--filet-clair); }
  .galerie-grid { columns: 2; column-gap: 20px; }
  .apropos-inner { grid-template-columns: 1fr; }
  .apropos-visual { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .lightbox { align-items: flex-start; overflow-y: auto; padding: 80px 24px 110px; }
  .lb-figure { grid-template-columns: 1fr; gap: 28px; }
  .lb-figure img { max-height: 60vh; }
  .lb-titre { font-size: 1.6rem; }
  .lb-close { top: 22px; right: 24px; }
  .lb-nav { position: fixed; top: auto; bottom: 26px; transform: none; background: var(--noir); }
  .lb-prev { left: calc(50% - 72px); }
  .lb-next { right: calc(50% - 72px); }
}

@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .services, .galerie, .apropos, .contact { padding: 110px 0; }
  .engagements { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 44px 30px 50px; }
  .galerie-grid { columns: 1; }
  .hero-cta { gap: 28px; }
  .hero-scroll { display: none; }
  .apropos-visual { padding: 0 0 30px 20px; }
  .apropos-visual::before { top: 20px; right: 20px; }
  .apropos-sceau { width: 118px; height: 118px; right: -6px; }
  .apropos-sceau em { font-size: 1.2rem; }
  .contact-form-wrap { padding: 40px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-valeur { font-size: 1.35rem; }
  .footer-logo .nav-logo-nom { font-size: 1.9rem; }
  .whatsapp-float { right: 18px; bottom: 18px; width: 54px; height: 54px; }
  .whatsapp-tooltip { display: none; }
}

/* ── RESPONSIVE (site multi-pages) ── */
@media (max-width: 1100px) {
  .offres-grid { grid-template-columns: repeat(2, 1fr); }
  .offre--cta { grid-column: 1 / -1; }
  .engagements-grid--4 { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .engagements-grid--4 .engagement:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 900px) {
  /* Sur mobile, le texte couvre toute la largeur : voile plus uniforme */
  .hero::before {
    background: linear-gradient(180deg, rgba(12,11,10,0.5) 0%, rgba(12,11,10,0.3) 40%, rgba(12,11,10,0.9) 100%);
  }
  .hero--page { min-height: 62vh; min-height: 62svh; padding-bottom: 80px; }
  .services-grid--2 { grid-template-columns: 1fr; }
  .engagements-grid--4 { grid-template-columns: 1fr; gap: 40px; }
  .engagements-grid--4 .engagement,
  .engagements-grid--4 .engagement:first-child,
  .engagements-grid--4 .engagement:nth-child(3) { padding: 0 0 0 26px; border-left: 1px solid var(--filet-clair); }
  .galerie-grid--apercu { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .contact--page { padding-top: 150px; }
}

@media (max-width: 600px) {
  .service-tete { height: 84px; }
  .service-miniature { width: 84px; height: 84px; }
  .offres-grid { grid-template-columns: 1fr; }
  .offre-corps { padding: 32px 26px 36px; }
  .galerie-grid--apercu { grid-template-columns: 1fr; }
  .bandeau { padding: 110px 0; }
  .contact--page { padding-top: 130px; }
  .footer-nav { gap: 10px 26px; }
}

@media (max-width: 900px) {
  .appel-float { display: flex; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .appel-float { right: 28px; bottom: 100px; width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-content > * { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none; }
}
