/* ============================================
   COMPTOIR DES SERRURIERS · PÔLE HAUTE SÉCURITÉ
   Direction artistique : Éditorial premium institutionnel
   Palette : Navy + Or champagne + Ivoire
   ============================================ */

:root {
  /* Palette */
  --ink: #0a1230;
  --anthracite: #0a1230;
  --navy: #001856;
  --navy-deep: #0a1230;
  --navy-light: #1a3478;
  --ivory: #f5f1e8;
  --paper: #fafaf7;
  --gold: #c9a961;
  --gold-light: #e0c789;
  --gold-deep: #a8843d;
  --burgundy: #001856;
  --gray-500: #4a5066;
  --gray-300: #a8aebe;
  --gray-100: #e8eaef;
  --line: rgba(201, 169, 97, 0.28);

  /* Typo */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Espacement */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ============================================ TYPOGRAPHIE ============================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--gray-500);
  font-weight: 300;
}

em.gold {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

/* ============================================ BOUTONS ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 24, 86, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(245, 241, 232, 0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn-link {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: all 0.3s;
}
.btn-link:hover { color: var(--burgundy); gap: 0.85rem; }
.btn-link::after { content: '→'; transition: transform 0.3s; }
.btn-link:hover::after { transform: translateX(4px); }

/* ============================================ HEADER / NAV ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.logo-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 280px;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-mark span { color: var(--gold); }
.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.4rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--burgundy); }
.nav-links a.active { color: var(--burgundy); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.75rem;
  padding: 0.75rem 1.5rem;
}

/* ============================================ HERO ============================================ */
.hero {
  min-height: 100vh;
  padding: 9rem 0 5rem;
  background:
    linear-gradient(135deg, rgba(10, 18, 48, 0.92) 0%, rgba(0, 24, 86, 0.88) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(201, 169, 97, 0.15) 0%, transparent 60%);
  background-color: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 97, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 97, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  color: var(--ivory);
  margin: 1.5rem 0;
  font-weight: 400;
}

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

.hero-subtitle {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: rgba(245, 241, 232, 0.78);
  font-weight: 300;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-subtitle strong { color: var(--ivory); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  font-size: 0.8rem;
  color: rgba(245, 241, 232, 0.5);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

.hero-trust {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  z-index: 2;
}
.hero-trust .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
}
.hero-trust span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
  font-weight: 500;
}
.hero-trust span strong {
  color: var(--gold);
  margin-right: 0.5rem;
  font-weight: 600;
}

/* ============================================ HERO INTERNE (sous-pages) ============================================ */
.hero-internal {
  min-height: auto;
  padding: 10rem 0 5rem;
}

.hero-internal h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero-internal .hero-subtitle { margin-bottom: 2rem; }

.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.5);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: rgba(245, 241, 232, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.5rem; }

/* ============================================ SECTIONS GÉNÉRIQUES ============================================ */
section { padding: var(--section-pad) 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head h2 { margin: 1rem 0 1.5rem; }
.section-head p { color: var(--gray-500); font-size: 1.1rem; }

.section-head.left {
  text-align: left;
  margin: 0 0 4rem;
  max-width: 720px;
}

.section-light { background: var(--ivory); }
.section-dark { background: var(--anthracite); color: var(--ivory); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--ivory); }
.section-dark .section-head p { color: rgba(245, 241, 232, 0.65); }
.section-paper { background: var(--paper); }

/* ============================================ POURQUOI NOUS CHOISIR ============================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.diff-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}
.diff-card:last-child { border-right: none; }
.diff-card:hover { background: rgba(201, 169, 97, 0.04); }

.diff-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.diff-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  height: 120px;
}

.diff-illustration img {
  width: 110px;
  height: 110px;
  display: block;
  transition: transform 0.4s ease;
}

.diff-card:hover .diff-illustration img {
  transform: scale(1.05);
}

.diff-card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 500; }
.diff-card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.65; }

/* ============================================ SOLUTIONS (Grille 6 blocs) ============================================ */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.sol-card {
  background: var(--ivory);
  padding: 2.75rem 2.25rem;
  position: relative;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
}
.sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sol-card:hover {
  background: var(--anthracite);
  color: var(--ivory);
  transform: translateY(-4px);
}
.sol-card:hover::before { width: 100%; }
.sol-card:hover h3 { color: var(--gold); }
.sol-card:hover p { color: rgba(245, 241, 232, 0.7); }
.sol-card:hover .sol-arrow { color: var(--gold); transform: translateX(8px); }

.sol-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.sol-card h3 { font-size: 1.5rem; margin-bottom: 0.85rem; transition: color 0.3s; }
.sol-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
  min-height: 4em;
}

.sol-arrow {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--ink);
  transition: all 0.3s;
}

/* ============================================ SECTEURS ============================================ */
.sect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  border-left: 1px solid rgba(201, 169, 97, 0.2);
}

.sect-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(201, 169, 97, 0.2);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  transition: background 0.4s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.sect-item:hover { background: rgba(201, 169, 97, 0.06); }
.sect-item:hover h4 { color: var(--gold); }
.sect-item:hover h3 { color: var(--gold); }
.sect-item:hover .sect-link { color: var(--gold); transform: translateX(4px); }

.sect-item h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ivory);
  transition: color 0.3s;
}
.sect-item p {
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.6);
  line-height: 1.5;
}

/* Variante de .sect-item sur fond clair (pour page d'index secteurs) */
.section-paper .sect-item,
.section-light .sect-item {
  padding: 3rem 2.5rem;
}
.section-paper .sect-item:hover,
.section-light .sect-item:hover { background: var(--ivory); }

.sect-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-paper .sect-item h3,
.section-light .sect-item h3,
.sect-item h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.8rem;
  transition: color 0.3s;
  line-height: 1.3;
}

.section-paper .sect-item p,
.section-light .sect-item p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.sect-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.3s, transform 0.3s;
}

.sectors-cta {
  text-align: center;
  margin-top: 4rem;
}
.sectors-cta .btn-link {
  color: var(--gold);
  border-color: var(--gold);
}
.sectors-cta .btn-link:hover { color: var(--ivory); }

/* ============================================ MÉTHODE (4 étapes) ============================================ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.method-grid::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
}

.step-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  height: 80px;
}

.step-illustration img {
  width: 72px;
  height: 72px;
  display: block;
  transition: transform 0.4s ease;
}

.step:hover .step-illustration img {
  transform: scale(1.06);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--gold);
  background: var(--paper);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.step p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.55; }

/* ============================================ PARTENAIRES ============================================ */
.partners {
  background: var(--ivory);
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners .container { text-align: center; }
.partners-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}
.partners-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem 4rem;
}
.partner {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: all 0.3s;
}
.partner:hover { opacity: 1; color: var(--gold); }

/* ============================================ CTA FINAL ============================================ */
.final-cta {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: var(--ivory); margin: 1.5rem 0; }
.final-cta h2 em { font-style: italic; color: var(--gold); }
.final-cta p {
  font-size: 1.15rem;
  color: rgba(245, 241, 232, 0.7);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  font-weight: 300;
}

.contact-line {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.5);
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-line a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
.contact-line a:hover { color: var(--ivory); }

/* ============================================ FOOTER ============================================ */
.site-footer {
  background: var(--anthracite);
  color: rgba(245, 241, 232, 0.7);
  padding: 5rem 0 2rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-mark { color: var(--ivory); font-size: 1.4rem; }
.footer-brand .logo-mark span { color: var(--gold); }
.footer-brand .logo-img { height: 26px; margin-bottom: 0.5rem; }
.footer-brand .logo-sub { color: var(--gold); opacity: 0.9; display: block; margin-bottom: 1rem; }
.footer-brand p {
  margin-top: 1rem;
  color: rgba(245, 241, 232, 0.5);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(245, 241, 232, 0.65);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(245, 241, 232, 0.4);
}
.footer-bottom a { color: rgba(245, 241, 232, 0.5); text-decoration: none; margin-left: 1.5rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================ CONTENU TEXTE (pages internes) ============================================ */
.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose h2 { margin: 3rem 0 1.5rem; }
.prose h3 { margin: 2.5rem 0 1.25rem; }
.prose h4 { margin: 2rem 0 1rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.prose p { margin-bottom: 1.25rem; color: var(--gray-500); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.5rem; }
.prose li { margin-bottom: 0.6rem; color: var(--gray-500); }
.prose li strong { color: var(--ink); }

/* ============================================ TABLEAUX ============================================ */
.norm-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.92rem;
}

.norm-table th, .norm-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.norm-table thead th {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.norm-table tbody tr { transition: background 0.2s; }
.norm-table tbody tr:hover { background: rgba(201, 169, 97, 0.05); }

.norm-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.table-wrap .norm-table { margin: 0; }

/* ============================================ CARTES PRODUITS / GAMMES ============================================ */
.product-card {
  background: var(--paper);
  padding: 2.5rem;
  margin: 2rem 0;
  border-left: 3px solid var(--gold);
}

/* Version AVEC IMAGE : layout 2 colonnes */
.product-card.has-image {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr;
  gap: 2.5rem;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.product-card.has-image.image-right {
  grid-template-columns: 1.4fr 1.2fr;
}

.product-card.has-image .product-image {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--ivory);
}

.product-card.has-image.image-right .product-image {
  order: 2;
}

.product-card.has-image .product-image picture,
.product-card.has-image .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card.has-image:hover .product-image img {
  transform: scale(1.03);
}

.product-card.has-image .product-content {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

.product-card.has-image.image-right .product-content {
  padding: 2.5rem 0 2.5rem 2.5rem;
  order: 1;
}

@media (max-width: 800px) {
  .product-card.has-image,
  .product-card.has-image.image-right {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .product-card.has-image .product-image,
  .product-card.has-image.image-right .product-image {
    order: 1;
    min-height: 240px;
  }
  .product-card.has-image .product-content,
  .product-card.has-image.image-right .product-content {
    order: 2;
    padding: 2rem;
  }
}

.product-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.product-card h3 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.product-card p { color: var(--gray-500); margin-bottom: 1rem; }
.product-card .product-meta {
  background: var(--ivory);
  padding: 1.25rem;
  margin-top: 1rem;
  font-size: 0.88rem;
}
.product-card .product-meta strong { color: var(--ink); }

/* Légende sous l'image (mention fabricant pour transparence) */
.product-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  background: rgba(10, 18, 48, 0.85);
  color: var(--ivory);
  font-size: 0.72rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================ FAQ ============================================ */
.faq-list {
  max-width: 820px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item h4::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.open h4::after { content: '−'; }
.faq-item p { color: var(--gray-500); padding-right: 2rem; }

/* ============================================ SCÉNARIOS DE MENACE ============================================ */
.threat {
  background: var(--ivory);
  padding: 2.5rem;
  margin: 2rem 0;
  border-left: 3px solid var(--burgundy);
  position: relative;
}

.threat-num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}

.threat h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.threat h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}
.threat p { color: var(--gray-500); margin-bottom: 0.75rem; }
.threat ul { margin: 0.5rem 0 0 1.5rem; }
.threat li { color: var(--gray-500); margin-bottom: 0.4rem; font-size: 0.95rem; }

/* ============================================ CARTES SECTEURS ============================================ */
.sector-card {
  background: var(--paper);
  padding: 2rem;
  margin: 1.5rem 0;
  border-left: 2px solid var(--gold);
}
.sector-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.sector-card p { color: var(--gray-500); font-size: 0.95rem; }

/* ============================================ TIMELINE / CAS TYPES ============================================ */
.case-list { margin: 2rem 0; }

.case {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.case:last-child { border-bottom: none; }

.case-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.case h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.case p { color: var(--gray-500); }
.case-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ============================================ FORMULAIRE ============================================ */
.form-section {
  background: var(--ivory);
  padding: 3rem 2.5rem;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.form-group { margin-bottom: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-block {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.form-block:last-of-type { border-bottom: none; }

.form-block-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.form-block-title::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
}

label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
label .req { color: var(--burgundy); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--burgundy);
}
.checkbox-group label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 400;
  margin-bottom: 0;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-help {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 1rem;
}

/* ============================================ COLONNES / SPLIT ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-list {
  list-style: none;
  padding: 0;
}
.split-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--gray-500);
  font-size: 0.95rem;
  position: relative;
  padding-left: 2rem;
}
.split-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}
.split-list li:last-child { border-bottom: none; }

/* ============================================ ANIMATIONS ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.42s; }
.hero-content > *:nth-child(5) { animation-delay: 0.54s; }
.hero-content > *:nth-child(6) { animation-delay: 0.66s; }

/* ============================================ VALUES (À propos) ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}

.value-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.value-card:hover { background: rgba(201, 169, 97, 0.04); }

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.value-card .value-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.value-card p { color: var(--gray-500); font-size: 0.93rem; line-height: 1.6; }

/* ============================================ RESPONSIVE ============================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .method-grid::before { display: none; }
  .diff-card { border-right: none; border-bottom: 1px solid var(--line); }
  .diff-card:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .value-card { border-right: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { padding: 1rem 0; }
  .logo-mark { font-size: 1.4rem; }
  .nav-cta { display: none; }
  .partners-list { gap: 2rem 2.5rem; }
  .partner { font-size: 1.2rem; }
  .form-section { padding: 2rem 1.5rem; }
}

/* ============================================
   HEROS SPÉCIFIQUES (variations subtiles)
   ============================================ */

.hero-pharmacies {
  background:
    linear-gradient(135deg, rgba(26,26,26,0.78) 0%, rgba(42,40,38,0.85) 100%),
    radial-gradient(ellipse at top right, rgba(201, 169, 97,0.18) 0%, transparent 60%);
}

.hero-banques {
  background:
    linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.92) 100%),
    radial-gradient(ellipse at bottom left, rgba(107,31,46,0.22) 0%, transparent 60%);
}

.hero-galeries {
  background:
    linear-gradient(135deg, rgba(10,18,48,0.82) 0%, rgba(26,26,26,0.88) 100%),
    radial-gradient(ellipse at top left, rgba(201, 169, 97,0.20) 0%, transparent 60%);
}

.hero-musees {
  background:
    linear-gradient(160deg, rgba(10,18,48,0.85) 0%, rgba(10,18,48,0.92) 100%),
    radial-gradient(ellipse at bottom right, rgba(201, 169, 97,0.18) 0%, transparent 65%);
}

.hero-secteurs {
  background:
    linear-gradient(135deg, rgba(10,18,48,0.80) 0%, rgba(26,26,26,0.90) 100%),
    radial-gradient(ellipse at center, rgba(201, 169, 97,0.16) 0%, transparent 70%);
}

.hero-apropos {
  background:
    linear-gradient(160deg, rgba(26,26,26,0.78) 0%, rgba(42,40,38,0.82) 100%),
    radial-gradient(ellipse at center, rgba(201, 169, 97,0.15) 0%, transparent 70%);
}

.hero-contact {
  background:
    linear-gradient(135deg, rgba(26,26,26,0.80) 0%, rgba(42,40,38,0.88) 100%),
    radial-gradient(ellipse at top left, rgba(201, 169, 97,0.18) 0%, transparent 65%);
}

/* ============================================
   INTRO-GRID (titre à gauche, texte à droite)
   ============================================ */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-500);
  margin-bottom: 1.4rem;
}

.intro-text p:last-child { margin-bottom: 0; }
.intro-text strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   PHARMACIES — reg-grid (réglementation)
   ============================================ */

.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.reg-card {
  background: var(--ivory);
  padding: 2rem;
  border-top: 3px solid var(--gold);
}

.reg-card h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}

.reg-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.reg-card strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .reg-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PHARMACIES — plan-grid (4 étapes)
   ============================================ */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.plan-step {
  position: relative;
  padding: 2rem 2rem 2rem 4.5rem;
  background: var(--paper);
  border-left: 2px solid var(--gold);
}

.plan-step .step-num {
  position: absolute;
  left: 2rem;
  top: 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}

.plan-step h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.plan-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BANQUES — banque-grid (6 cartes domaines)
   ============================================ */

.banque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.banque-card {
  background: var(--paper);
  padding: 2rem;
  border-top: 3px solid var(--burgundy);
}

.banque-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 500;
}

.banque-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.banque-card strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .banque-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BANQUES — protocole-grid (4 étapes)
   ============================================ */

.protocole-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.protocole-item {
  position: relative;
  padding: 2rem 2rem 2rem 4.5rem;
  background: var(--ivory);
  border-left: 2px solid var(--burgundy);
}

.protocole-item .step-num {
  position: absolute;
  left: 2rem;
  top: 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--burgundy);
  font-weight: 600;
}

.protocole-item h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.protocole-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .protocole-grid { grid-template-columns: 1fr; }
}

/* ============================================
   À PROPOS — story-grid
   ============================================ */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.story-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-500);
  margin-bottom: 1.4rem;
}

.story-text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   À PROPOS — values-grid (6 convictions)
   ============================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  position: relative;
  background: var(--paper);
  padding: 2rem 2rem 2rem 2rem;
  border-top: 1px solid var(--line);
}

.value-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================
   À PROPOS — boutiques-grid (4 boutiques)
   ============================================ */

.boutiques-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.boutique {
  background: var(--ivory);
  padding: 1.8rem;
  border-top: 2px solid var(--gold);
  text-align: center;
}

.boutique h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.boutique-zone {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.boutique-addr {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
}

.boutique-tel {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
  .boutiques-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .boutiques-grid { grid-template-columns: 1fr; }
}

/* ============================================
   À PROPOS — team-grid (4 métiers)
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--paper);
  padding: 2rem;
  border-left: 3px solid var(--gold);
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.team-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================
   À PROPOS — partners-detailed
   ============================================ */

.partners-detailed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.partner-block {
  background: var(--ivory);
  padding: 2rem;
  border-top: 2px solid var(--gold);
}

.partner-block h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.partner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-list li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-500);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.partner-list li:last-child { border-bottom: none; }
.partner-list strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .partners-detailed { grid-template-columns: 1fr; }
}

/* ============================================
   À PROPOS — Manifesto (section dark finale)
   ============================================ */

.manifesto {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.manifesto-line em {
  color: var(--gold-light);
  font-style: italic;
}

.manifesto-sign {
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 500;
}

@media (max-width: 700px) {
  .manifesto-line { font-size: 1.35rem; }
}

/* ============================================
   CONTACT — Grid principal
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ASIDE (colonne de gauche) */

.contact-aside {
  position: sticky;
  top: 100px;
}

.contact-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-child { border-bottom: none; }
.contact-block:first-child { padding-top: 0; }

.contact-block h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-tel {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.contact-hours {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.contact-block p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-500);
}

.contact-block a {
  color: var(--ink);
  font-weight: 500;
}

.contact-shops {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-shops li {
  font-size: 0.88rem;
  padding: 0.4rem 0;
  color: var(--gray-500);
  border-bottom: 1px dotted var(--line);
}

.contact-shops li:last-child { border-bottom: none; }
.contact-shops strong { color: var(--ink); font-weight: 600; }

.contact-confid {
  background: var(--ivory);
  padding: 1.5rem !important;
  margin-top: 1rem;
  border-left: 3px solid var(--gold);
  border-bottom: none !important;
}

@media (max-width: 1000px) {
  .contact-aside { position: static; }
}

/* ============================================
   CONTACT — Formulaire
   ============================================ */

.contact-form {
  background: var(--paper);
  padding: 3rem;
  border-top: 3px solid var(--gold);
}

.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.form-section h3 em {
  color: var(--gold);
  font-style: italic;
}

.form-block {
  margin-bottom: 1.5rem;
}

.form-block-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem 1.5rem; }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97,0.12);
}

.form-field textarea {
  resize: vertical;
  font-family: var(--font-body);
}

.form-radio-grid,
.form-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

@media (max-width: 600px) {
  .form-radio-grid,
  .form-check-grid { grid-template-columns: 1fr; }
}

.form-radio,
.form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.form-radio:hover,
.form-check:hover {
  border-color: var(--gold);
  background: var(--ivory);
}

.form-radio input,
.form-check input {
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-rgpd {
  margin-bottom: 2rem;
}

.form-rgpd .form-check {
  border: none;
  padding: 0;
  background: transparent;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.form-rgpd .form-check:hover {
  background: transparent;
  border: none;
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1rem;
  width: 100%;
}

.form-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
  font-style: italic;
}

/* ============================================
   CONTACT — Audit flow
   ============================================ */

.audit-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.audit-step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--paper);
  border-top: 2px solid var(--gold);
  text-align: center;
}

.audit-step .step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.audit-step h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.audit-step p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .audit-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .audit-flow { grid-template-columns: 1fr; }
}

/* ============================================
   UTILITAIRES TRANSVERSAUX MANQUANTS
   ============================================ */

.hero-inner {
  max-width: 880px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-top: 1.5rem;
  max-width: 760px;
}

.hero-lead strong {
  color: #fff;
  font-weight: 600;
}

.centered {
  text-align: center;
}

.eyebrow.centered {
  display: block;
  text-align: center;
}

h2.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.lead-centered {
  text-align: center;
  max-width: 760px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.lead-centered.light {
  color: rgba(255,255,255,0.78);
}

.lead-centered strong {
  color: var(--ink);
  font-weight: 600;
}

.section-dark .lead-centered.light strong {
  color: #fff;
}

.light {
  color: #fff;
}

.light-muted {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .section-head.left .light-muted {
  color: rgba(245, 241, 232, 0.75);
}

h2.light {
  color: #fff;
}

h2.light em {
  color: var(--gold-light);
}

.eyebrow.light {
  color: var(--gold-light);
}

.table-note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gray-500);
  text-align: center;
  margin-top: 1rem;
}

/* ============================================
   CASE-GRID (cas types anonymisés)
   ============================================ */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.case {
  background: rgba(255,255,255,0.04);
  padding: 2rem;
  border-top: 2px solid var(--gold);
  border-left: 1px solid rgba(201, 169, 97,0.18);
}

.section-paper .case,
.section-light .case {
  background: var(--paper);
  border-left: 1px solid var(--line);
}

.case h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.section-paper .case h4,
.section-light .case h4 {
  color: var(--ink);
}

.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(201, 169, 97,0.12);
}

.section-paper .case-list li,
.section-light .case-list li {
  color: var(--gray-500);
  border-bottom: 1px solid var(--line);
}

.case-list li:last-child {
  border-bottom: none;
}

.case-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ============================================
   THREAT — body (corps du scénario menace)
   ============================================ */

.threat-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.threat-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.threat-body strong {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  font-weight: 600;
}

.threat-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.threat-body ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-500);
}

.threat-body ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================ PAGES LÉGALES ============================================ */

.hero-legal {
  background:
    linear-gradient(160deg, rgba(10,18,48,0.78) 0%, rgba(26,26,26,0.85) 100%),
    radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-body);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--navy);
  margin: 3rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.3);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin: 2rem 0 0.8rem 0;
}

.legal-content p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.legal-content .legal-intro {
  font-size: 1.05rem;
  color: var(--ink);
  padding: 1.5rem;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  margin-bottom: 2.5rem;
}

.legal-content ul {
  margin: 1rem 0 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.legal-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
}

.legal-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.legal-content ul.legal-info li::before {
  content: "·";
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.legal-content ul.legal-info li {
  padding-left: 1.2rem;
}

.legal-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 97, 0.5);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

.legal-content a:hover {
  text-decoration-color: var(--gold);
}

/* ============================================ EDITORIAL SHOWCASE (Pattern A) ============================================ */
/* Section éditoriale magazine : image grande + texte split 55/45, pleine largeur */

.editorial-showcase {
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

.editorial-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  min-height: 640px;
}

/* Bloc image (gauche) */
.editorial-image {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.editorial-image:hover img {
  transform: scale(1.03);
}

/* Légende discrète en bas de l'image */
.editorial-caption {
  position: absolute;
  bottom: 1.8rem;
  left: 1.8rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.9rem;
  background: rgba(10, 18, 48, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 2px solid var(--gold);
  font-weight: 500;
}

/* Bloc texte (droite) */
.editorial-text {
  padding: 5rem 5rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 580px;
}

.editorial-text .eyebrow {
  margin-bottom: 1rem;
}

.editorial-text h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.8rem;
}

.editorial-text h2 em {
  color: var(--gold);
  font-style: italic;
}

.editorial-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.editorial-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Bandeau "meta" en bas — les 3 normes */
.editorial-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.editorial-meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.editorial-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.editorial-meta span {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 1024px) {
  .editorial-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .editorial-image {
    aspect-ratio: 16 / 10;
    min-height: 400px;
  }
  .editorial-text {
    padding: 4rem 2rem;
    max-width: none;
  }
  .editorial-text h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .editorial-text {
    padding: 3rem 1.5rem;
  }
  .editorial-text h2 {
    font-size: 1.7rem;
  }
  .editorial-meta {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .editorial-caption {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.65rem;
  }
}
