/* ═══════════════════════════════════════════════
   BAUDCHON.EU — Design System
   Site statique de production
   ═══════════════════════════════════════════════ */

/* ─── FONTS ─── */
/* Chargées via <link rel="preconnect" + "stylesheet"> dans le <head> HTML
   pour permettre le téléchargement parallèle au CSS (cf. perfs Lighthouse). */

/* ─── VARIABLES ─── */
:root {
  --ink: #1a1a1a;
  --ink-light: #3d3d3d;
  --ink-muted: #636363;
  --cream: #f5f2ed;
  --cream-dark: #ebe6de;
  --white: #ffffff;
  --accent: #8b6914;
  --accent-light: #c49b2a;
  --accent-bg: #f9f6f0;
  --blue: #1e3a5f;
  --green: #2a6b4a;
  --red: #6b3a3a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --nav-h: 90px;
  --radius: 8px;
  --shadow: 0 10px 32px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ─── SKIP TO CONTENT ─── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--ink); color: var(--white);
  padding: 0.6rem 1.2rem; border-radius: 0 0 6px 6px;
  font-size: 0.82rem; font-weight: 600;
  z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── FOCUS ─── */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.6rem; }
p { font-size: 0.92rem; line-height: 1.75; color: var(--ink-light); margin-bottom: 0.8rem; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.99);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  transition: height 0.3s ease;
}
.nav.scrolled .nav-inner { height: calc(var(--nav-h) - 10px); }
.nav-logo img { height: 75px; object-fit: contain; transition: height 0.3s ease; }
.nav.scrolled .nav-logo img { height: 60px; }
.nav-logo:focus-visible { outline-offset: 4px; }

.nav-links { display: flex; align-items: center; gap: 0.2rem; }
.nav-item {
  position: relative;
  padding: 0.5rem 0.6rem;
  font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-muted);
  background: none; border: none;
  transition: color var(--transition);
}
.nav-item:hover, .nav-item:focus-visible { color: var(--ink); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 0.4rem 0; min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-group:hover .nav-dropdown,
.nav-group.open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-dd-link {
  display: block; width: 100%;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem; color: var(--ink-muted);
  background: none; border: none; text-align: left;
  transition: all var(--transition);
}
.nav-dd-link:hover, .nav-dd-link:focus-visible {
  background: var(--accent-bg); color: var(--ink);
}

/* CTA */
.nav-cta {
  padding: 0.45rem 1.1rem !important;
  background: var(--ink) !important;
  color: var(--white) !important;
  border-radius: 4px; margin-left: 0.4rem;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--blue) !important; }

/* Burger */
.nav-burger {
  display: none;
  background: none; border: none;
  font-size: 1.5rem; padding: 0.5rem;
  color: var(--ink);
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-burger:hover { background: rgba(0,0,0,0.04); }

/* Mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(255,255,255,0.99);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.mobile-menu.open {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.mobile-menu-header {
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu-header img { height: 55px; }
.mobile-close {
  font-size: 1.6rem; background: none; border: none;
  color: var(--ink); padding: 0.5rem;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  transition: background var(--transition);
}
.mobile-close:hover { background: rgba(0,0,0,0.04); }
.mobile-nav { padding: 1rem 1.5rem; }
.mobile-group-title {
  font-weight: 600; font-size: 0.9rem;
  padding: 0.7rem 0; color: var(--ink);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-link {
  display: block; width: 100%;
  padding: 0.7rem 0 0.7rem 1rem;
  font-size: 0.88rem; color: var(--ink-light);
  background: none; border: none; text-align: left;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.mobile-link:hover { color: var(--accent); background: var(--accent-bg); }
.mobile-link-cta {
  display: block; width: 100%;
  padding: 0.8rem 0; font-size: 0.9rem;
  font-weight: 600; color: var(--accent);
  background: none; border: none; text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color var(--transition);
}
.mobile-link-cta:hover { color: var(--ink); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  border-radius: 4px; border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--ink); color: var(--white);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,58,95,0.25); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn-secondary:active { transform: translateY(0); }
.btn-full { width: 100%; }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 0.6rem 2rem;
  background: rgba(0,0,0,0.02);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.breadcrumb ol {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: 0.3rem; align-items: center;
  font-size: 0.73rem; color: var(--ink-muted);
  flex-wrap: wrap;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.breadcrumb ol::-webkit-scrollbar { display: none; }
.breadcrumb a { text-decoration: underline; text-decoration-color: transparent; transition: all var(--transition); }
.breadcrumb a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; margin: 0 0.15rem; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ─── HERO (Home) ─── */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  background: var(--cream);
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; top: 0; right: 0;
  width: 48%; height: 100%;
  background: linear-gradient(135deg, #d4c9b8, #bfb5a3, #a89b88);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.25;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.9rem;
}
.hero-label::before { content: ''; width: 24px; height: 1.5px; background: var(--accent); }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-text {
  font-size: 1.02rem; line-height: 1.7;
  color: var(--ink-light); max-width: 440px; margin-bottom: 1.8rem;
}
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.hero-right { display: flex; flex-direction: column; gap: 0.9rem; }

/* ─── HERO (Pages intérieures) ─── */
.page-hero {
  background: var(--cream); position: relative; overflow: hidden;
}
.page-hero-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 4.5rem 2rem 3.5rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: center;
}
.page-hero-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.7rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.page-hero-label::before { content: ''; width: 22px; height: 1.5px; background: var(--accent); }
.page-hero h1 { margin-bottom: 0.7rem; }
.page-hero-text {
  font-size: 0.97rem; line-height: 1.7;
  color: var(--ink-light); max-width: 460px; margin-bottom: 1.2rem;
}

/* ─── STATS ─── */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.stat-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius); padding: 1.4rem 1rem;
  text-align: center;
}
.stat-number {
  font-family: var(--serif); font-size: 1.9rem;
  color: var(--accent); line-height: 1; margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.72rem; font-weight: 500; color: var(--ink-muted); line-height: 1.35; }

/* ─── TRUST BAND ─── */
.trust-band {
  background: var(--ink);
  padding: 0.9rem 2rem;
  display: flex; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; align-items: center;
}
.trust-item {
  font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.trust-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

/* ─── SECTIONS ─── */
.section { padding: 4.5rem 2rem; }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.5); }
.section-accent { background: var(--accent-bg); }

.section-header {
  text-align: center; max-width: 620px; margin: 0 auto 2.5rem;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.7rem;
}
.section-tag::before, .section-tag::after {
  content: ''; width: 18px; height: 1.5px; background: var(--accent-light);
}

.section-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(8rem, 16vw, 16rem);
  color: rgba(255,255,255,0.02);
  pointer-events: none;
}

/* ─── CARDS ─── */
.card-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; color: inherit;
  display: block;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.card:hover, .card:focus-visible {
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.card:hover::before, .card:focus-visible::before { transform: scaleX(1); }

.card-icon {
  width: 40px; height: 40px;
  background: var(--accent-bg); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: 0.9rem;
}
.card h3 { margin-top: 0; margin-bottom: 0.35rem; }
.card p { font-size: 0.84rem; margin-bottom: 0; }
.card-link {
  margin-top: 0.7rem; font-size: 0.73rem;
  font-weight: 600; color: var(--accent);
  transition: transform var(--transition);
  display: inline-block;
}
.card:hover .card-link { transform: translateX(4px); }

/* ─── SECTOR CARDS ─── */
.sector-grid {
  max-width: 1050px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.sector-card {
  display: flex; background: var(--white);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none; color: inherit;
}
.sector-card:hover, .sector-card:focus-visible {
  box-shadow: var(--shadow); transform: translateY(-1px);
}
.sector-icon {
  width: 100px; min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
}
.sector-icon-luxe { background: linear-gradient(135deg, #f5efe5, #e8dfd0); color: var(--accent); }
.sector-icon-literie { background: linear-gradient(135deg, #e8eef4, #d5e0ec); color: var(--blue); }
.sector-icon-medical { background: linear-gradient(135deg, #e6f2ed, #d0e8dc); color: var(--green); }
.sector-icon-protection { background: linear-gradient(135deg, #f0eaea, #e0d5d5); color: var(--red); }
.sector-icon-defense { background: linear-gradient(135deg, #2d3436, #636e72); color: #dfe6e9; }

.sector-content { padding: 1.1rem 1.3rem; flex: 1; }
.sector-content h3 { font-size: 0.97rem; margin-top: 0; margin-bottom: 0.3rem; }
.sector-content p { font-size: 0.8rem; margin-bottom: 0; }
.sector-arrow {
  align-self: center; padding-right: 0.8rem;
  color: var(--ink-muted); font-size: 0.9rem;
  transition: transform var(--transition), color var(--transition);
}
.sector-card:hover .sector-arrow { transform: translateX(3px); color: var(--accent); }

/* ─── DIFF GRID (Pourquoi Baudchon) ─── */
.diff-grid {
  max-width: 850px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; text-align: center;
}
.diff-number {
  font-family: var(--serif); font-size: 2.2rem;
  color: var(--accent-light); line-height: 1; margin-bottom: 0.4rem;
}
.diff-title { font-weight: 600; font-size: 0.88rem; color: var(--white); margin-bottom: 0.35rem; }
.diff-desc { font-size: 0.8rem; line-height: 1.6; color: rgba(255,255,255,0.42); }

/* ─── CONTENT BLOCK ─── */
.content { padding: 3.5rem 2rem; max-width: 880px; margin: 0 auto; }
.content ul { padding-left: 1.2rem; margin-bottom: 0.8rem; }
.content li {
  font-size: 0.89rem; line-height: 1.7; color: var(--ink-light);
  margin-bottom: 0.3rem; list-style: disc;
}
.highlight {
  padding: 1.2rem 1.5rem;
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
  position: relative;
}
.highlight p { margin-bottom: 0; font-weight: 400; }
.highlight::before {
  content: '"'; position: absolute; top: -0.2rem; left: 0.6rem;
  font-family: var(--serif); font-size: 2.5rem; color: var(--accent-light);
  opacity: 0.3; line-height: 1;
}

/* ─── PHOTO PLACEHOLDERS ─── */
.photo {
  width: 100%; border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.photo img {
  width: 100%; height: auto; object-fit: cover; display: block;
}
/* Hero images : hauteur fixe pour proportions cohérentes */
.page-hero .photo img,
.hero-right .photo img {
  height: 320px; object-fit: cover;
}
/* Photo duo : hauteurs alignées */
.photo-duo .photo img {
  height: 300px; object-fit: cover;
}
.photo-placeholder {
  width: 100%; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cream-dark), #d4c9b8, #c4b9a5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px dashed rgba(0,0,0,0.1);
  position: relative; overflow: hidden;
  min-height: 250px;
}
.photo-placeholder::before {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 14px, #000 14px, #000 15px);
}
.photo-placeholder .ph-icon { font-size: 2rem; margin-bottom: 0.4rem; opacity: 0.2; }
.photo-placeholder .ph-text {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(0,0,0,0.28); text-align: center;
  padding: 0 1rem; max-width: 220px;
}
.photo-duo {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 1rem; margin: 1.5rem 0;
}

/* ─── RELATED PAGES ─── */
.related { padding: 3rem 2rem; background: var(--cream); }
.related-title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.related-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}
.related-card {
  background: var(--white); border-radius: 6px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; color: inherit; display: block;
}
.related-card:hover, .related-card:focus-visible {
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.related-card h4 { font-size: 0.93rem; margin-bottom: 0.2rem; }
.related-card p { font-size: 0.77rem; color: var(--ink-muted); margin-bottom: 0; }
.related-card .arrow {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  margin-top: 0.4rem; display: inline-block;
  transition: transform var(--transition);
}
.related-card:hover .arrow { transform: translateX(4px); }

/* ─── CTA SECTION ─── */
.cta-section { text-align: center; padding: 3.5rem 2rem; }
.cta-section p { max-width: 500px; margin: 0 auto 1.5rem; }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: start;
}
.contact-info {
  padding: 1.2rem; background: var(--accent-bg);
  border-radius: var(--radius); margin-top: 1.5rem;
}
.contact-info strong { font-size: 0.84rem; display: block; margin-bottom: 0.5rem; }
.contact-info address { font-size: 0.87rem; color: var(--ink-light); line-height: 1.8; }

.contact-form {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius); padding: 1.6rem;
}
.contact-form h3 { font-size: 1.1rem; margin-top: 0; margin-bottom: 1rem; }
.form-group { margin-bottom: 0.6rem; }
.form-group label {
  display: block; font-size: 0.76rem;
  font-weight: 500; color: var(--ink-muted);
  margin-bottom: 0.2rem;
}
.form-group input, .form-group select, .form-group textarea {
  display: block; width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 6px; font-size: 0.86rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,105,20,0.1);
  outline: none;
}
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--red);
}
.form-group input:valid:not(:placeholder-shown) {
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-consent {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.76rem; color: var(--ink-muted);
  line-height: 1.5; margin-bottom: 1rem;
}
.form-consent input {
  margin-top: 0.15rem; accent-color: var(--accent);
  width: 18px; height: 18px; flex-shrink: 0; cursor: pointer;
}
.form-success {
  text-align: center; padding: 2.5rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-bg);
  animation: fadeScale 0.4s ease;
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.form-success .check {
  font-size: 2.5rem; margin-bottom: 0.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-weight: 700;
}

/* ─── TIMELINE ─── */
.timeline {
  position: relative; padding-left: 2rem;
  border-left: 2px solid var(--accent-bg);
  margin: 1rem 0 2rem;
}
.timeline-item { margin-bottom: 1.5rem; position: relative; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -2.55rem; top: 0.15rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}
.timeline-year {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--accent);
  margin-bottom: 0.15rem;
}
.timeline-title { font-family: var(--serif); font-size: 1.02rem; margin-bottom: 0.2rem; }
.timeline-desc { font-size: 0.86rem; color: var(--ink-light); line-height: 1.6; }

/* ─── FOOTER ─── */
.footer { background: var(--ink); color: rgba(255,255,255,0.5); padding: 3rem 2rem 1.5rem; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.2fr;
  gap: 1.8rem; margin-bottom: 2rem;
}
.footer-logo img { height: 55px; margin-bottom: 0.8rem; }
.footer-desc { font-size: 0.8rem; line-height: 1.7; color: rgba(255,255,255,0.28); max-width: 260px; }
.footer-col-title {
  font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 0.7rem;
}
.footer-link {
  display: block; font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 0.35rem;
  transition: color var(--transition);
  background: none; border: none; padding: 0; text-align: left;
}
.footer-link:hover, .footer-link:focus-visible { color: var(--white); }
.footer-contact { font-size: 0.82rem; color: rgba(255,255,255,0.42); line-height: 1.8; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; color: rgba(255,255,255,0.2);
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-badge {
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px; font-size: 0.62rem;
  font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── FORM LOADING ─── */
.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.btn-loading::after {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  top: 50%; left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── CONTENT LINKS ─── */
.content a:not(.btn):not(.card):not(.related-card):not(.sector-card) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(139,105,20,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}
.content a:not(.btn):not(.card):not(.related-card):not(.sector-card):hover {
  text-decoration-color: var(--accent);
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--ink); color: var(--white);
  border: none; border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 90;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover { background: var(--blue); transform: translateY(-2px); }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner, .page-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-bg { width: 100%; clip-path: none; opacity: 0.12; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .photo-duo { grid-template-columns: 1fr; }
  .page-hero .photo img,
  .hero-right .photo img { height: 260px; }
  .photo-duo .photo img { height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --nav-h: 70px; }
  .nav-logo img { height: 55px; }
  .nav.scrolled .nav-logo img { height: 48px; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  .section { padding: 3rem 1.2rem; }
  .content { padding: 2.5rem 1.2rem; }
  .back-to-top { bottom: 1.2rem; right: 1.2rem; }
  .page-hero .photo img,
  .hero-right .photo img { height: 220px; }
  .photo-duo .photo img { height: 200px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .page-hero-inner { padding: 3rem 1.5rem 2.5rem; }
  .breadcrumb { padding: 0.6rem 1.2rem; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; }
  .mobile-menu { transition: none; }
}

/* ═══ FAQ — details / summary ═══ */
.content details {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: 1rem 1.3rem;
  margin-bottom: 0.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.content details[open] {
  background: #fff;
  border-color: var(--accent-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.content summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.2rem;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
}
.content summary::-webkit-details-marker { display: none; }
.content summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.content details[open] summary::after {
  content: "−";
}
.content summary h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  display: inline;
}
.content details > p,
.content details > ol,
.content details > ul {
  margin-top: 1rem;
  margin-bottom: 0;
  font-family: var(--sans);
  color: var(--ink-light);
  line-height: 1.65;
}
.content details > ol,
.content details > ul {
  padding-left: 1.4rem;
}

/* ═══ FORMULAIRE — message d'erreur ═══ */
.form-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #fbeaea;
  border: 1px solid #d4a3a3;
  color: #6b3a3a;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ═══ ECHANTILLONS — Grille 31 miniatures ═══ */
.echantillons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 0 auto;
}
.echantillon-card {
  display: block;
  padding: 0;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.echantillon-card:hover,
.echantillon-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-color: var(--accent);
}
.echantillon-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .echantillons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}

/* ═══ LIGHTBOX ═══ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15, 15, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(255,255,255,0.25);
}
.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.4rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 0.9;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
@media (max-width: 600px) {
  .lightbox { padding: 0.5rem; }
  .lightbox-close { top: 0.6rem; right: 0.6rem; width: 40px; height: 40px; }
  .lightbox-prev { left: 0.3rem; }
  .lightbox-next { right: 0.3rem; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
}

/* ═══ SELECTEUR LANGUE FR | EN ═══ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0.5rem 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lang-switch .lang-active {
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
}
.lang-switch .lang-inactive {
  color: var(--ink-muted);
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.lang-switch .lang-inactive:hover {
  opacity: 0.7;
}
.lang-switch .lang-sep {
  color: var(--ink-muted);
  opacity: 0.4;
}

/* Mobile : sélecteur au bas du menu mobile */
.mobile-menu .lang-switch {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;
  margin: 1rem 0 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.85rem;
}

/* ═══ PHOTO-FEATURE — image vedette centree (single, full-width contraint) ═══ */
.photo-feature {
  max-width: 960px;
  margin: 0 auto;
}
.photo-feature .photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}
@media (max-width: 900px) {
  .photo-feature .photo img { height: 340px; }
}
@media (max-width: 600px) {
  .photo-feature .photo img { height: 240px; }
}

/* ═══ REALISATIONS PREVIEW — accueil ═══ */
.realisations-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.realisations-preview-card {
  display: block;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.realisations-preview-card:hover,
.realisations-preview-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
  border-color: var(--accent);
}
.realisations-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
@media (max-width: 900px) {
  .realisations-preview-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1.5rem; }
}
@media (max-width: 500px) {
  .realisations-preview-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 0 1rem; }
}
