﻿/* ============================================
   OCONOME.FR - Stylesheet principal
   Economiste de la construction - Hauts-de-France
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #004D7C;
  --primary-light: #1A6A99;
  --primary-dark: #003A5E;
  --accent: #E67E22;
  --accent-light: #F39C12;
  --accent-dark: #D35400;
  /* Orange assombri reserve au TEXTE sur fond clair : contraste 5,5:1 (WCAG AA).
     --accent reste la couleur des aplats, bordures et boutons. */
  --accent-text: #B34700;
  --text: #2C3E50;
  --text-light: #5D6D7E;
  /* #95A5A6 ne donnait que 2,55:1 sur fond blanc : sous le seuil WCAG AA. */
  --text-muted: #677475;
  --bg: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-alt: #EBF5FB;
  --border: #D5DBDB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Century Schoolbook', 'Century Schoolbook L', 'TeX Gyre Schola', Gelasio, Georgia, serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-text); }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-description {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-text); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #1B2A33;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--primary);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { top: 0; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.logo span { color: var(--accent-text); }

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

.nav-links a {
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,170.7C96,181,192,203,288,192C384,181,480,139,576,138.7C672,139,768,181,864,197.3C960,213,1056,203,1152,176C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom / cover;
  opacity: 0.5;
}

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

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
}

.hero-stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ============================================
   SERVICES CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 { margin-bottom: 12px; }

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
}
.service-card .service-link:hover { gap: 10px; }

/* ============================================
   ABOUT / VALUE PROPS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-content h2 { margin-bottom: 1rem; }

.values-list {
  list-style: none;
  margin-top: 24px;
}

.values-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.values-list .value-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ============================================
   PROJECTS / PORTFOLIO
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-image {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
  position: relative;
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-info {
  padding: 24px;
}

.project-info h3 { margin-bottom: 8px; }
.project-info p { color: var(--text-light); font-size: 0.9rem; }

.project-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent-text);
  opacity: 0.2;
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-alt), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.6;
}

.blog-card-content { padding: 24px; }
.blog-card-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card-content h3 { margin-bottom: 8px; font-size: 1.15rem; }
.blog-card-content p { color: var(--text-light); font-size: 0.9rem; }

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-detail h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-detail p { color: var(--text-light); margin: 0; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer p { font-size: 0.9rem; line-height: 1.7; }

.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  /* 0.75 et non 0.5 : a 0.5 le contraste sur le bleu du pied de page
     tombe a 4,16:1, sous le seuil WCAG AA de 4,5:1. */
  color: rgba(255,255,255,0.75);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 100px 0 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  gap: 8px;
  list-style: none;
  color: var(--text-muted);
}

.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--accent-text); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 140px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-stats { gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }

  .menu-toggle { display: flex; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }

  .services-grid,
  .projects-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section { padding: 48px 0; }
}

/* ============================================
   STATS BAR (homepage)
   ============================================ */
.stats-bar {
  background: rgba(0,0,0,0.2);
  padding: 24px 0;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.stat { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--accent-light); line-height: 1.2; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; }
.logo .logo-text { color: var(--primary); }
.logo .logo-accent { color: var(--accent-text); }

/* ============================================
   RÃ‰FÃ‰RENCES (v1.1 â€” charte OCONOME)
   ============================================ */
.ref-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.ref-filtres a { padding: 6px 16px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--primary); font-weight: 500; font-size: 0.9rem; background: var(--white); }
.ref-filtres a:hover { border-color: var(--accent); color: var(--primary); }
.ref-groupe { margin-bottom: 56px; scroll-margin-top: 96px; }
.ref-groupe h2 { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); margin-bottom: 24px; }
.ref-compte { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--text-light); }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ref-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow var(--transition); }
.ref-card:hover { box-shadow: var(--shadow-lg); }
.ref-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.ref-typo { font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #B34700; }
.ref-etat { font-size: 0.78rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius); background: var(--bg-alt); color: var(--primary); }
.ref-etat--remis { background: #FDF0E4; color: #8A3A00; }
.ref-card h3 { font-size: 1.2rem; margin: 0; }
.ref-lieu { margin: 0; font-weight: 600; color: var(--text); font-size: 0.95rem; }
.ref-desc { margin: 0; color: var(--text-light); font-size: 0.93rem; line-height: 1.6; flex: 1; }
.ref-mission { margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--text); }
.ref-mission span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }
.ref-note { margin-top: 8px; font-size: 0.85rem; color: var(--text-light); }
@media (max-width: 400px) { .ref-grid { grid-template-columns: 1fr; } }

/* ============================================
   COMPLÃ‰MENTS v1.1 (rÃ¨gles absentes de la feuille d'origine)
   ============================================ */
.footer address { font-style: normal; }
.footer address a { color: rgba(255,255,255,0.8); }
.footer address a:hover { color: var(--accent-light); }
.footer-logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--white); letter-spacing: 2px; margin-bottom: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; border-top: 4px solid var(--accent); }
.value-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }
.certifications { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.cert-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.cert-item ul { list-style: none; margin: 12px 0 0; }
.cert-item li { padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 0.95rem; }
.cert-item li:last-child { border-bottom: 0; }
.service-bullets { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px; margin: 16px 0 0; }
.service-bullets li { padding-left: 20px; position: relative; }
.service-bullets li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 3px; background: var(--accent); }

.form-rgpd { font-size: 0.82rem; line-height: 1.5; color: var(--text-light); margin: 8px 0 16px; }

/* ============================================
   MOBILE ET TABLETTE (v1.1 â€” refonte responsive)
   ============================================ */
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.logo { line-height: 1; }
.logo a { display: inline-block; padding: 8px 0; }
.nav { display: flex; }
.hero { flex-direction: column; align-items: stretch; justify-content: center; }
.hero > .container { width: 100%; }
.stats-bar { width: 100%; margin-top: 48px; }
.stats-grid { flex-wrap: wrap; }
.breadcrumb { padding: 88px 0 0; }
.page-hero ~ .breadcrumb, .page-hero ~ main .breadcrumb { padding-top: 16px; }
.breadcrumb + .page-hero, .breadcrumb + main .page-hero { padding-top: 56px; }
.breadcrumb ol, .breadcrumb ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb, .breadcrumb .container { color: var(--text-light); }
nav.breadcrumb:not(:has(.container)) { max-width: var(--max-width); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.menu-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
img, svg, video { max-width: 100%; height: auto; }
table { max-width: 100%; }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; transform: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; background: var(--white); box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
  .header { backdrop-filter: none; background: var(--white); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 104px 0 0; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.15; }
  .hero p { font-size: 1.02rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .stats-bar { margin-top: 36px; }
  .stats-grid { gap: 12px 24px; justify-content: space-around; }
  .stat { flex: 1 1 90px; }
  .page-hero { padding: 112px 0 40px; }
  .page-hero h1 { font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
  .breadcrumb + .page-hero, .breadcrumb + main .page-hero { padding-top: 40px; }
  h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .section-header { margin-bottom: 2rem; }
  .btn { padding: 14px 24px; }
  .footer-links a { display: inline-block; padding: 6px 0; }
  .footer-links li { margin-bottom: 4px; }
  .footer address a { display: inline-block; padding: 6px 0; }
  .footer-bottom .footer-links { flex-wrap: wrap; justify-content: center; }
  input, select, textarea { font-size: 16px !important; }
  .ref-filtres a { padding: 10px 14px; }
  .ref-groupe { scroll-margin-top: 84px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 16px; font-size: 0.9rem; color: var(--text-light); }
.page-hero .article-meta, .page-hero .article-meta span, .hero .article-meta span { color: rgba(255,255,255,0.85); }
.article-meta span + span::before { content: "Â·"; margin-right: 16px; }
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.article-body h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
.article-body h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.4rem; }
.article-body li { margin-bottom: 0.35rem; }
.article-body blockquote { margin: 1.5rem 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--bg-light); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.article-body th { background: var(--primary); color: var(--white); text-align: left; padding: 8px 12px; }
.article-body td { border: 1px solid var(--border); padding: 8px 12px; }
.article-retour { max-width: 720px; margin: 2rem auto 0; }

/* ============================================
   ZONES D'INTERVENTION
   ============================================ */
.zone-intro { max-width: 760px; margin: 0 auto 40px; color: var(--text-light); }
.zone-dep { margin-bottom: 48px; }
.zone-dep h2 { padding-bottom: 12px; border-bottom: 3px solid var(--accent); margin-bottom: 24px; }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.zone-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; }
.zone-item h3 { font-size: 1.1rem; margin: 0 0 6px; }
.zone-item p { margin: 0; color: var(--text-light); font-size: 0.93rem; line-height: 1.6; }
.zone-phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.zone-phase { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.zone-phase-tag { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #B34700; margin-bottom: 8px; }
.zone-phase h3 { margin: 0 0 10px; font-size: 1.15rem; }
.zone-phase p { margin: 0; color: var(--text-light); font-size: 0.95rem; line-height: 1.65; }
.zone-table-wrap { overflow-x: auto; }
.zone-table { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; background: var(--white); }
.zone-table th { background: var(--primary); color: var(--white); text-align: left; padding: 10px 14px; font-weight: 600; }
.zone-table td { border: 1px solid var(--border); padding: 8px 14px; }
.zone-table .num { text-align: right; white-space: nowrap; }
.zone-table caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: 0.82rem; color: var(--text-light); }
.zone-note { margin-top: 24px; color: var(--text-light); font-size: 0.95rem; }
.zone-item--ops { border-left: 4px solid var(--accent); }
.zone-ops { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--text); }
.zone-ops span { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #B34700; margin-bottom: 3px; }

/* ============================================
   ACCESSIBILITE - liens en plein texte
   WCAG 1.4.1 : un lien noye dans un paragraphe ne doit pas se distinguer
   par la seule couleur. On souligne les liens sans classe situes dans un
   paragraphe, une liste ou une definition, puis on annule le soulignement
   dans les zones de navigation (en-tete, pied de page, fil d'ariane).
   ============================================ */
p a:not([class]),
li a:not([class]),
dd a:not([class]),
.article-body a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
p a:not([class]):hover,
li a:not([class]):hover,
.article-body a:not([class]):hover {
  text-decoration-thickness: 2px;
}
/* Annulation dans les zones de navigation. Le :not([class]) est necessaire :
   sans lui la specificite est inferieure a celle de la regle ci-dessus et
   les liens de menu se retrouvent soulignes. */
.header a:not([class]),
.header li a:not([class]),
.footer a:not([class]),
.footer li a:not([class]),
.nav-links a:not([class]),
.nav-links li a:not([class]),
.breadcrumb a:not([class]),
.breadcrumb li a:not([class]),
.breadcrumb-list a:not([class]),
.breadcrumb-list li a:not([class]) {
  text-decoration: none;
}
