/* =========================================
   AU CHARME DU BOIS DESIGN SYSTEM
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Momo+Trust+Display&family=Space+Grotesk:wght@300..700&display=swap" rel="stylesheet');

/* === VARIABLES === */
:root {
  --primary:        #4B5E55;
  --primary-dark:   #323E38;
  --primary-light:  #6B8078;
  --primary-muted:  #8A9E97;
  --bg:             #F0F0EB;
  --bg-section:     #E8E8E3;
  --white:          #FFFFFF;
  --dark:           #1C2820;
  --text:           #3A3A36;
  --text-muted:     #7A7A76;
  --accent:         #C4973A;
  --border:         #DEDEDB;
  --border-light:   #EBEBEB;
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --shadow-sm:      0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.13);
  --t:              0.3s ease;
  --font-head:      'Space Grotesk', sans-serif;
  --font-body:      'Neue Haas Grotesk Display Pro', sans-serif;
  --max-w:          1200px;
}

/* === 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);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-muted);
  margin-bottom: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 36px;
  background: var(--primary-muted);
  opacity: 0.5;
}

.section-header {
  text-align: center;
  margin: 0 auto 56px;
}
.section-header p { margin-top: 12px; }
.section-header .section-eyebrow { justify-content: center; }

/* === LAYOUT === */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-light { background: var(--bg); }
.section-white { background: var(--white); }
.section-dark { background: var(--primary-dark); color: white; }
.section-tinted { background: var(--bg-section); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);   /* ← était radius-xl (trop arrondi) */
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-dark);
  color: white;
  border: 1.5px solid var(--primary-dark);
}
.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(50,62,56,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: white;
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: white;
  color: var(--primary-dark);
}
.btn svg { width: 16px; height: 16px; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
}
.logo-mark span {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: white;
  line-height: 1;
  letter-spacing: 0.05em;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text .l1 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
}
.logo-text .l2 {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.navbar-nav a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
  position: relative;
}
.navbar-nav a:hover { color: var(--primary-dark); }
.navbar-nav a.active {
  color: var(--primary-dark);
  font-weight: 500;
}
.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--primary-dark);
  border-radius: 2px;
}
.navbar-cta .btn-primary {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: var(--radius-md);   /* ← était radius-xl */
}

/* Logo PNG */
.logo-img {
  height: 52px;      /* ajuste selon ton PNG */
  width: auto;
  display: block;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--t);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.95rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav a.active { color: var(--primary-dark); font-weight: 500; }
.mobile-nav .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* === HERO === */
.hero {
  margin-top: 76px;
  min-height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--primary); /* fallback */
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,40,32,0.85) 0%, rgba(75,94,85,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-content h1 { color: white; max-width: 640px; }
.hero-content p { color: rgba(255,255,255,0.8); max-width: 520px; margin-top: 16px; font-size: 0.98rem; }
.hero-btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* === STATS ROW === */
.stats-row {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  text-align: center;
  min-width: 100px;
}
.stat-card .num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.stat-card .label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* === ALTERNATING SECTIONS === */
.alt-section { padding: 80px 0; }
.alt-section:nth-child(even) { background: var(--white); }
.alt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.alt-inner.reverse { direction: rtl; }
.alt-inner.reverse > * { direction: ltr; }

.alt-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
}
.alt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  border-radius: 15px;
}
.num-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.num-badge.amber {
  background: var(--accent);
  color: white;
}
.img-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-icon svg { width: 16px; height: 16px; color: var(--primary-dark); }

.alt-text h3 { margin-bottom: 6px; }
.alt-text .subtitle {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-muted);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.alt-text p { margin-bottom: 24px; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px 16px;
  margin-top: 18px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text);
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-muted);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%234B5E55' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  border: 1px solid var(--border-light);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 20px; height: 20px; color: var(--primary); }
.card h4 { margin-bottom: 8px; }
.card p { font-size: 0.85rem; }

/* === SECTOR CARDS (Homepage) === */
.sector-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.sector-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-light);
  transition: transform 0.6s ease;
}
.sector-card:hover .sector-card-bg { transform: scale(1.06); }
.sector-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,40,32,0.85) 0%, rgba(28,40,32,0.1) 60%);
}
.sector-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
  color: white;
}
.sector-badge {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: white;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.sector-card-content h4 { color: white; font-size: 1rem; margin-bottom: 4px; }
.sector-card-content p { font-size: 0.78rem; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* === STEPS ROW === */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.step-icon svg { width: 22px; height: 22px; color: var(--primary); }
.step-item h4 { font-size: 0.92rem; margin-bottom: 6px; }
.step-item p { font-size: 0.78rem; }

/* === PROCESS connector === */
.process-connector {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0;
  color: var(--primary-muted);
  font-size: 1.2rem;
  padding-top: 16px;
}

/* === VALUES SECTION === */
.values-section { background: var(--primary-dark); }
.values-section .section-header h2 { color: white; }
.values-section .section-header p { color: rgba(255,255,255,0.65); }
.values-section .section-eyebrow { color: rgba(255,255,255,0.5); }
.values-section .section-eyebrow::before,
.values-section .section-eyebrow::after { background: rgba(255,255,255,0.3); }
.value-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px;
}
.value-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-3px);
}
.value-card .card-icon { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.value-card .card-icon svg { color: rgba(255,255,255,0.8); }
.value-card h4 { color: white; }
.value-card p { color: rgba(255,255,255,0.6); }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars span { color: var(--accent); font-size: 14px; }
.testimonial-card p { font-size: 0.85rem; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}
.author-info .name { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.author-info .role { font-size: 0.75rem; color: var(--text-muted); }

/* === CTA SECTION === */
.cta-section {
  background: var(--primary-dark);
  padding: 80px 0;
  text-align: center;
}
.cta-section .eyebrow-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === PRO/PARTICULIER === */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.audience-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  transition: transform 0.5s ease;
}
.audience-card:hover .audience-card-bg { transform: scale(1.04); }
.audience-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,40,32,0.8) 0%, rgba(28,40,32,0.1) 70%);
}
.audience-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 1;
}
.audience-card-content h3 { color: white; margin-bottom: 8px; font-size: 1.4rem; }
.audience-card-content p { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 18px; }
.audience-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* === MISSION 2-COL === */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mission-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.mission-box .card-icon { margin-bottom: 20px; }
.mission-box h3 { margin-bottom: 12px; }
.mission-box p { margin-bottom: 0; }
.mission-box strong { color: var(--dark); }

/* === USP ROW === */
.usp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usp-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.usp-item .card-icon { margin-bottom: 14px; }
.usp-item h4 { margin-bottom: 8px; font-size: 1rem; }
.usp-item p { font-size: 0.83rem; }

/* === TIMELINE ACCORDION === */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-muted);
  margin-bottom: 8px;
}
.timeline-item h3 { font-size: 1.4rem; margin-bottom: 12px; }
.timeline-item p { margin-bottom: 16px; }
.timeline-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.timeline-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-section);
  position: relative;
}
.timeline-photo img { width: 100%; height: 100%; object-fit: cover; }
.timeline-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 0.72rem;
  padding: 6px 10px;
}

/* === SECTORS LIST === */
.sectors-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.sectors-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.sectors-image img { width: 100%; display: block; }
.sectors-image-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(28,40,32,0.85);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
}
.sectors-image-label h3 { color: white; font-size: 1.2rem; }
.sectors-image-label p { color: rgba(255,255,255,0.75); font-size: 0.82rem; margin-top: 4px; }

.sectors-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.sector-col h5 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sector-col ul { display: flex; flex-direction: column; gap: 6px; }
.sector-col ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.sector-col ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-muted);
  flex-shrink: 0;
}

/* === FAB FR BOX === */
.fab-fr-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.fab-fr-box .card-icon { flex-shrink: 0; }
.fab-fr-box h3 { margin-bottom: 10px; font-size: 1.4rem; }

/* === REALISATIONS GRID === */
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.real-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--t), box-shadow var(--t);
}
.real-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.real-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-section);
}
.real-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.real-card:hover .real-card-img img { transform: scale(1.06); }
.real-year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark);
}
.real-card-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: white;
}
.real-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
}
.real-location svg { width: 11px; height: 11px; }
.real-card-meta h4 { color: white; font-size: 0.95rem; line-height: 1.25; }
.real-card-body { padding: 14px 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.72rem;
  color: var(--primary);
  background: rgba(75,94,85,0.08);
  border-radius: 20px;
  padding: 3px 10px;
  font-weight: 500;
}

/* === METHODOLOGY TIMELINE VERTICAL === */
.method-timeline {
  position: relative;
  padding-left: 48px;
}
.method-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 12px;
  width: 1.5px;
  background: var(--border);
}
.method-tl-item {
  position: relative;
  padding: 0 0 40px 36px;
}
.method-tl-item:last-child { padding-bottom: 0; }
.method-tl-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-muted);
  z-index: 1;
}
.method-tl-item h4 { font-size: 1rem; margin-bottom: 4px; }
.method-tl-item p { font-size: 0.82rem; }

/* === ENGAGEMENTS === */
.env-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.env-item { text-align: center; }
.env-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.env-icon svg { width: 22px; height: 22px; color: var(--primary); }
.env-item h4 { font-size: 0.92rem; margin-bottom: 6px; }
.env-item p { font-size: 0.8rem; }

.certif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.certif-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.certif-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}
.certif-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.certif-card p { font-size: 0.8rem; }

.impact-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.impact-stat .num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  display: block;
}
.impact-stat h4 { margin: 8px 0 4px; }
.impact-stat p { font-size: 0.82rem; }

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.contact-form-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.contact-form-box h3 { margin-bottom: 6px; }
.contact-form-box > p { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(75,94,85,0.12);
  background: white;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }
.form-required { color: var(--primary-muted); font-size: 0.72rem; margin-top: -8px; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.hours-box {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: white;
}
.hours-box h3 { color: white; font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hours-box h3 svg { width: 20px; height: 20px; color: rgba(255,255,255,0.7); }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: rgba(255,255,255,0.7); }
.hours-row .time { color: white; font-weight: 500; }
.hours-row .time.closed { color: rgba(255,255,255,0.4); }

.why-box {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.why-box h4 { margin-bottom: 16px; }
.why-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.why-item:last-child { border-bottom: none; padding-bottom: 0; }
.why-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 15px; height: 15px; color: var(--primary); }
.why-item h5 { font-size: 0.88rem; margin-bottom: 2px; }
.why-item p { font-size: 0.78rem; }

.contact-info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-info-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-info-card .card-icon { margin: 0 auto 14px; }
.contact-info-card h4 { margin-bottom: 6px; font-size: 1rem; }
.contact-info-card p { font-size: 0.83rem; }
.contact-info-card p strong { display: block; color: var(--dark); font-size: 0.9rem; margin-bottom: 2px; }

/* === FOOTER === */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-mark { background: rgba(255,255,255,0.15); }
.footer-brand .logo-mark span { color: white; }
.footer-brand .logo-text .l1 { color: white; }
.footer-brand .logo-text .l2 { color: rgba(255,255,255,0.5); }
.footer-brand .navbar-logo { margin-bottom: 16px; }
.footer-brand > p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.footer-newsletter { margin-top: 24px; }
.footer-newsletter p { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 10px; }
.newsletter-input {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.newsletter-input input {
  flex: 1;
  padding: 9px 14px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: white;
  font-family: var(--font-body);
  font-size: 0.82rem;
  outline: none;
}
.newsletter-input input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input button {
  background: rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.15);
  padding: 9px 14px;
  color: white;
  cursor: pointer;
  transition: background var(--t);
}
.newsletter-input button:hover { background: rgba(255,255,255,0.2); }
.newsletter-input button svg { width: 16px; height: 16px; display: block; }

.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: white; }
.footer-col .contact-line {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col .contact-line span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--t);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.social-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.social-btn svg { width: 14px; height: 14px; color: rgba(255,255,255,0.6); }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 24px; }
  .certif-grid { grid-template-columns: repeat(2, 1fr); }
  .env-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .alt-inner { grid-template-columns: 1fr; gap: 32px; }
  .alt-inner.reverse { direction: ltr; }
  .mission-grid { grid-template-columns: 1fr; }
  .usp-row { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: flex-start; }
  .steps-row::before { display: none; }
  .step-item { flex-direction: row; text-align: left; padding: 0; gap: 16px; }
  .sectors-showcase { grid-template-columns: 1fr; }
  .sectors-columns { grid-template-columns: 1fr 1fr; }
  .certif-grid { grid-template-columns: 1fr 1fr; }
  .impact-stats { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .section { padding: 64px 0; }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .real-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-content { padding: 60px 20px; }
}

/* ================================================================
   HERO VIDÉO YOUTUBE
================================================================ */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,40,32,0.82) 0%, rgba(75,94,85,0.65) 100%);
  z-index: 1;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

/* ================================================================
   ÉTAPES 5 CARDS (page accueil)
================================================================ */
.steps-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 22px 20px 26px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card-num {
  position: absolute;
  top: 8px; left: 14px;
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.step-card-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.step-card-icon svg { width: 17px; height: 17px; color: var(--primary-muted); }
.step-card h4 { font-size: 0.92rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; position: relative; z-index: 1; }
.step-card p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; position: relative; z-index: 1; }

@media (max-width: 1024px) { .steps-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .steps-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .steps-cards { grid-template-columns: 1fr; } }

/* ================================================================
   AVIS GOOGLE
================================================================ */
.reviews-summary {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 40px; padding: 20px 32px;
  background: var(--bg-section); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.reviews-score { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--dark); line-height: 1; }
.reviews-summary-right { display: flex; flex-direction: column; gap: 4px; }
.reviews-cta-link { font-size: 0.82rem; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.reviews-cta-link:hover { color: var(--primary-dark); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: white; border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.review-header { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 600; color: white;
  flex-shrink: 0; overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.review-author-name { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.review-date { font-size: 0.75rem; color: var(--text-muted); }
.review-stars span { color: #F4B400; font-size: 14px; }
.review-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.review-google-logo { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-muted); margin-top: auto; }
.review-google-logo svg { width: 16px; height: 16px; flex-shrink: 0; }
.review-skeleton { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px; }
.sk { background: var(--bg-section); border-radius: 4px; animation: sk-pulse 1.4s ease infinite; margin-bottom: 8px; display: block; }
.sk-circle { border-radius: 50%; }
@keyframes sk-pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
@media (max-width: 768px) { .reviews-grid { grid-template-columns: 1fr; } }
