/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1.  VARIABLES (:ROOT)
   2.  FONTS & TYPOGRAPHY IMPORTS
   3.  RESET & GLOBAL STYLES
   4.  UTILITIES (Transitions, Shadows, etc.)
   5.  HEADER & NAVIGATION (Menu, Hamburger, Search)
   6.  SECTION: HERO (Desktop First & Animations)
   7.  SECTION: ARTICLE CONTENT (Typography, Badges, TOC, Figures)
   8.  SECTION: ASIDE & HIGHLIGHTS
   9.  SECTION: VIDEO PLAYER & CAROUSEL
   10. SECTION: RELATED ARTICLES
   11. SECTION: NAVIGATION GRIDS (Classic & Modern)
   12. SECTION: PARTNERS & TRUSTPILOT
   13. SECTION: SHARE & SOCIAL CARDS
   14. FOOTER
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES (:ROOT)
   ========================================================================== */
:root {
  /* Couleurs */
  --white: #ffffff;
  --black: #000000;
  --blue: #0056b3;
  --blue-hover: #005bb5;
  --darkblue: #00008B;
  --orange: #ff6600;
  --cyan: #00ffcc;
  --lightblue: #e0f0ff;
  --darkgray: #34495e;
  --gray: #1a1a1a;
  --rouge: #ff2c2c;
  
  /* Overlays */
  --overlay-dark: rgba(0, 0, 0, 0.55);
  --overlay-text-bg: rgba(0, 0, 0, 0.6);

  /* Fonts */
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Spacing - Article */
  --article-h2-margin: 40px;
  --article-h2-margin-mobile: 25px;
  --article-h2-margin-small: 30px;
  
  /* Spacing - Related */
  --related-section-h2-margin: 40px;
  --related-section-h2-margin-mobile: 25px;
  --related-section-h2-margin-small: 30px;

  /* Dimensions */
  --hero-height-min: 300px;
  --hero-height-max: 500px;
  --hero-height-vh: 40vh;
  --hero-padding: 15px 30px;
  --hero-padding-mobile: 10px 15px;
  --img-height-desktop: 250px;
  --img-height-mobile: 200px;

  /* UI Elements */
  --border-radius: 6px;
  --radius-small: 8px;
  --radius-large: 30px;
  --gap-default: 20px;
  --gap-small: 10px;
  --section-padding: 10px 15px 15px;

  /* Shadows */
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-aside: 0 4px 12px rgba(0, 0, 0, 0.05);

  /* Gradients */
  --hover-gradient: linear-gradient(135deg, #1e90ff, #ff6600);

  /* Typography Sizes (Overlays) */
  --overlay-title-size-desktop: 1.6rem;
  --overlay-text-size-desktop: 1.2rem;
  --overlay-title-size-tablet: 1.2rem;
  --overlay-text-size-tablet: 1rem;
  --overlay-title-size-mobile: 1.2rem;
  --overlay-text-size-mobile: 0.8rem;
}

/* ==========================================================================
   2. FONTS & TYPOGRAPHY IMPORTS
   ========================================================================== */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v49-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v49-latin_latin-ext-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin_latin-ext-700.woff2') format('woff2');
}

/* ==========================================================================
   3. RESET & GLOBAL STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, p, li {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--darkgray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--darkgray);
  margin: 30px 0;
  line-height: 1.3;
  text-align: center;
}

h4 {
  text-align: center;
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--darkblue);
}

button, .caption {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}

/* ==========================================================================
   4. UTILITIES
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
}

.transition { transition: all 0.3s ease; }
.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--shadow); }

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--black);
  border-bottom: 1px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo img {
  height: auto;
  width: 140px;
  display: block;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 50px;
  transition: all 0.4s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu Overlay */
.menu {
  position: fixed;
  top: 60px;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 900px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease, visibility 0.4s;
  z-index: 1001;
}

.menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu a {
  font-size: clamp(1.3rem, 3.8vw, 1.5rem);
  font-weight: 400;
  color: var(--darkgray);
  padding: 15px 20px;
  border-radius: 10px;
  text-align: left;
  display: block;
  width: 90%;
  max-width: 450px;
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.menu-footer-separator {
  width: 100%;
  height: 1px;
  margin: 5px 0;
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, var(--blue), #ff7a00) 1;
}

.menu a i { margin-right: 15px; color: var(--darkblue); }

.menu a:hover,
.menu a:focus-visible {
  color: var(--white);
  background-color: var(--blue);
  transform: scale(1.05);
}

.menu-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 5px 0 10px;
  width: 100%;
}

.menu-socials .menu-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 30%;
  background-color: transparent;
  border: 1px solid var(--darkgray);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu-socials .menu-social i { font-size: 1rem; color: var(--darkgray); }
.menu-socials .menu-social:hover { background-color: var(--darkgray); transform: scale(1.1); }
.menu-socials .menu-social:hover i { color: var(--white); }

.menu-footer-text {
  font-size: 0.75rem;
  color: var(--darkgray);
  text-align: center;
  margin-top: 1px;
  opacity: 0.8;
}

body.menu-open { overflow: hidden; }

/* Search Bar */
#search-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  z-index: 9980;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#search-bar-container {
  position: fixed;
  top: 50px; left: 50%;
  transform: translate(-50%, 0);
  width: 90vw; max-width: 500px;
  z-index: 9999;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

#search-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 35px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#search-input {
  flex: 1; border: none; outline: none;
  font-size: 0.95rem; padding: 6px 10px;
  border-radius: 25px; background: #f5f6f8; color: #222;
}

#search-close {
  background: none; border: none; color: #666;
  cursor: pointer; font-size: 1.2rem; margin-left: 8px;
}

#search-results-container {
  display: none; flex-direction: column;
  margin-top: 12px; max-height: 300px; overflow-y: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 10px; padding: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

#search-results-container::-webkit-scrollbar { width: 6px; }
#search-results-container::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.2); border-radius: 3px; }
#search-results-container::-webkit-scrollbar-track { background: transparent; }

.suggestion-item {
  display: flex; align-items: center;
  padding: 8px 10px; cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.2s, transform 0.15s;
}
.suggestion-item:hover { background-color: #eaf2ff; transform: translateX(2px); }
.suggestion-item img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; margin-right: 10px; border: 1px solid #ddd;
}
.suggestion-item i { color: #003366; margin-right: 6px; }
.suggestion-item span { flex: 1; font-size: 0.95rem; color: #222; }

/* ==========================================================================
   6. SECTION: HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 600px !important; /* Desktop par défaut */
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden; padding: 0.5rem;
  box-sizing: border-box;
  background: var(--black); color: #fff; z-index: 0;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,10,0.35) 0%, rgba(0,0,0,0.6) 60%);
}

.hero__content {
  position: relative; z-index: 5;
  max-width: 1100px; padding: 6rem 2rem;
  display: grid; gap: 1.25rem;
  align-items: start; text-align: left;
}

.hero__content .subtitle { color: #ffffff; }

/* Typography */
.eyebrow {
  font-size: .9rem; opacity: .85;
  letter-spacing: .08em; text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem,6vw,4rem);
  line-height: 1.2; margin-top: .15rem;
}

p.lead {
  font-size: 1.05rem; max-width: 70ch; opacity: .95;
}

/* Animations reveal */
.subtitle {
  transform: translateY(6px); opacity: 1;
  transition: transform .6s ease, opacity .6s ease;
  display: block;
}

.reveal { overflow: hidden; display: inline-block; }
.reveal span {
  display: inline-block; transform: translateY(110%);
  animation: slideUp 4s cubic-bezier(.15,.85,.1,1) forwards;
}
.reveal span:nth-child(1) { animation-delay: .05s; }
.reveal span:nth-child(2) { animation-delay: .12s; }
.reveal span:nth-child(3) { animation-delay: .18s; }
.reveal span:nth-child(4) { animation-delay: .25s; }

@keyframes slideUp { to { transform: none; } }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; left: 50%;
  transform: translateX(-50%); bottom: 100px;
  z-index: 6; display: none !important; /* Masqué par défaut sur desktop sauf media query */
  flex-direction: column; align-items: center;
  font-size: .85rem; opacity: .95;
}

.mouse {
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.6); border-radius: 16px;
  display: flex; align-items: flex-start;
  justify-content: center; padding-top: 6px;
}

.mouse-dot {
  width: 6px; height: 6px; background: #fff;
  border-radius: 50%; animation: mouseDot 1.6s infinite;
}

@keyframes mouseDot {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: .4; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .reveal span, .mouse-dot { animation: none; transition: none; }
}

@keyframes zoomRotate {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(0.2deg); }
}

/* Hero Responsive */
@media (max-width: 1023px) and (min-width: 768px) {
  .hero { height: 75dvh; justify-content: flex-start; }
  .scroll-indicator { display: flex !important; }
}

@media (max-width: 767px) {
  .hero { height: 100dvh !important; justify-content: flex-start; }
  .scroll-indicator { display: flex !important; }
}

/* ==========================================================================
   7. SECTION: ARTICLE CONTENT
   ========================================================================== */
.article-section {
  max-width: 900px; margin: 10px auto 10px;
  padding: 0 20px 10px; background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-strong); overflow: hidden;
}

/* Titres Article */
.article-section h2 {
  font-size: 2rem; font-weight: 700; color: var(--gray);
  margin-bottom: var(--article-h2-margin);
  position: relative; text-transform: none;
  letter-spacing: 1px; line-height: 1.2;
  font-family: var(--font-primary); scroll-margin-top: 100px;
}

.article-section h2::after {
  content: ''; position: absolute; left: 0; bottom: -12px;
  width: 100%; height: 2px; background: rgba(0, 0, 50, 0.08);
  border-radius: 4px; transform-origin: left; transition: transform 0.5s ease;
}
.article-section h2:hover::after { opacity: 0.8; }

.article-section h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700;
  margin-top: 20px; margin-bottom: 15px;
  color: var(--darkgray); text-align: left;
  scroll-margin-top: 100px;
}

/* Texte Article */
.article-section p {
  line-height: 1.9; margin-bottom: 30px;
  font-size: 1.15rem; color: var(--darkgray);
  text-align: left; hyphens: auto;
}

.article-section p a {
  text-decoration: underline; color: var(--darkblue);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}

.article-section a:hover { color: var(--blue-hover); text-decoration: none; }

@media (max-width: 768px) {
  .article-section h2 { font-size: 1.5rem; margin-bottom: var(--article-h2-margin-mobile); }
}
@media (max-width: 480px) {
  .article-section h2 { font-size: 1.2rem; margin-bottom: var(--article-h2-margin-small); }
}

/* Listes Article */
ul li {
  position: relative; padding-left: 25px; margin-bottom: 10px;
  font-size: 1.1em; line-height: 1.6; color: var(--darkgray);
}
ul li::before {
  content: "•"; position: absolute; left: 0;
  color: var(--blue); font-weight: bold; font-size: 1.2em;
}

ol { counter-reset: my-counter; padding-left: 0; margin: 1em 0; }
ol li {
  position: relative; padding-left: 35px; margin-bottom: 12px;
  font-size: 1.1em; line-height: 1.6; color: var(--darkgray);
}
ol li::before {
  counter-increment: my-counter; content: counter(my-counter) ".";
  position: absolute; left: 0; font-weight: bold; color: var(--orange);
}

ul ul, ol ol, ul ol, ol ul { padding-left: 20px; margin-top: 5px; }

/* Date Badge */
.date-container { display: flex; justify-content: center; margin: 24px 0; }
.date-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #000000, #4a4a4a);
  padding: 8px 16px; border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.date-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.date-badge i { font-size: 16px; color: #fff; }

/* Figures */
figure {
  display: flex; flex-direction: column; align-items: center;
  margin: 20px 0; text-align: center;
}
figure img { max-width: 100%; height: auto; border-radius: 8px; }
figure figcaption { margin-top: 8px; font-size: 0.9rem; color: #555; line-height: 1.4; }
figure figcaption a { color: var(--blue); text-decoration: none; }
figure figcaption a:hover { text-decoration: underline; }

/* Table of Contents */
.table-of-contents {
  max-width: 320px; background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--darkblue); border-radius: 14px;
  padding: 16px 20px; margin: 15px auto 25px auto;
  font-family: 'Roboto', sans-serif; font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.table-of-contents h2 {
  font-size: 1.2rem; font-weight: 700; color: var(--darkblue);
  margin: 0 0 14px 0; text-align: center;
  border-bottom: 2px solid var(--darkblue); padding-bottom: 6px;
}
.table-of-contents ul, .table-of-contents li { list-style: none !important; margin: 0; padding: 0; }
.table-of-contents li { margin: 6px 0; line-height: 1.4; position: relative; }
.table-of-contents li::before { content: none !important; }
.table-of-contents a {
  text-decoration: none; color: var(--darkblue); font-weight: 400;
  display: inline-block; transition: all 0.3s ease;
}
.table-of-contents a::after {
  content: ''; position: absolute; width: 0%; height: 2px;
  left: 0; bottom: -2px; background-color: #1e90ff; transition: width 0.3s ease;
}
.table-of-contents a:hover { color: #1e90ff; transform: translateX(4px); }
.table-of-contents a:hover::after { width: 100%; }
.table-of-contents .toggle {
  cursor: pointer; margin-right: 16px; display: inline-block;
  color: var(--darkblue); font-weight: 400; transition: transform 0.3s ease;
}
.table-of-contents ul li ul { display: none; padding-left: 18px; margin: 0; }
.table-of-contents ul li.active > ul { display: block; }

/* ==========================================================================
   8. SECTION: ASIDE & HIGHLIGHTS
   ========================================================================== */
.highlight {
  margin: 30px 0; padding: 20px;
  background-color: #f0f8ff; border-left: 4px solid #1e90ff;
  font-style: italic; color: #333;
}

aside {
  background: #f9fbfd; padding: 10px 15px;
  margin: 10px 0; margin-top: -20px;
  border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 50, 0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
aside:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 50, 0.08); }

aside h3 {
  margin: 0px 0 10px 0; font-size: 1.25em; font-weight: 400;
  color: var(--darkblue) !important; text-align: center !important;
  letter-spacing: 0.3px; border-bottom: 2px solid rgba(0, 0, 50, 0.08);
  padding-bottom: 6px;
}
aside ul { list-style: none; padding: 0; margin: 0; }
aside ul li {
  margin: 0; padding: 10px 0 10px 28px;
  position: relative; border-bottom: 1px solid rgba(0, 0, 50, 0.08);
}
aside ul li:last-child { border-bottom: none; }
aside ul li::before {
  content: "\f101"; font-family: "Font Awesome 7 Free"; font-weight: 900;
  position: absolute; left: 0; top: 11px; color: var(--darkblue);
  font-size: 0.9em; transition: color 0.3s, transform 0.3s;
}
aside ul li:hover::before { color: var(--orange); transform: translateX(3px); }
aside ul li a {
  text-decoration: none; color: var(--darkblue) !important;
  font-weight: 400; transition: color 0.3s, padding-left 0.3s;
}
aside ul li a:hover { color: var(--orange) !important; padding-left: 3px; }

/* ==========================================================================
   9. SECTION: VIDEO PLAYER & CAROUSEL
   ========================================================================== */
.video-section { margin: 2rem 0; }

#player-container {
  position: relative; width: 100%; max-width: 800px;
  margin: 0 auto 1rem; cursor: pointer; aspect-ratio: 16 / 9;
}
#player-container iframe {
  width: 100%; height: 100%; border: none;
  border-radius: var(--radius-small); display: block;
}
#player-container img { width: 100%; display: block; border-radius: 8px; }
#player-container button {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6); border: none;
  color: #fff; font-size: 2rem; border-radius: 50%;
  padding: 0.5rem 1rem; cursor: pointer;
}

.carousel-container {
  position: relative; display: flex; align-items: center;
  max-width: 100%; margin: 0 auto; overflow: hidden;
}

.video-row {
  display: flex; gap: 1rem; overflow-x: auto;
  scroll-behavior: smooth; padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.video-row::-webkit-scrollbar { display: none; }
.video-row a {
  flex: 0 0 auto; width: 200px; text-align: center;
  text-decoration: none; color: inherit; position: relative;
  border: 2px solid transparent;
}
.video-row a.active {
  outline: 2px solid var(--blue); border-radius: 6px; border-color: #ff4444;
}
.video-row img {
  width: 100%; border-radius: 6px; display: block;
  min-height: 90px; background: #f0f0f0;
}
.video-row img:hover { transform: scale(1.05); }
.video-row a p {
  position: absolute; bottom: 0; left: 0; width: 100%;
  margin: 0; padding: 5px 8px; background: var(--overlay-text-bg);
  color: var(--white); font-size: 14px; text-align: center;
}

.arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2rem; cursor: pointer; user-select: none;
  padding: 0 0.5rem; color: var(--black);
  background: rgba(255, 255, 255, 0.7); border-radius: 50%;
  width: 40px; height: 40px; text-align: center;
  line-height: 40px; z-index: 2;
}
.arrow:hover { background: rgba(255, 255, 255, 0.9); }
.arrow.left { left: 0; }
.arrow.right { right: 0; }

/* ==========================================================================
   10. SECTION: RELATED ARTICLES
   ========================================================================== */
.related-section {
  padding: var(--section-padding); max-width: 1200px; margin: auto;
}
.related-section h2 {
  font-size: 2rem; font-weight: 700; color: var(--gray);
  margin-bottom: var(--related-section-h2-margin);
  position: relative; text-transform: uppercase;
  letter-spacing: 1px; line-height: 1.2;
  font-family: var(--font-secondary);
}
.related-section h2::after {
  content: ''; position: absolute; left: 0; bottom: -12px;
  width: 100%; height: 2px; background: rgba(0, 0, 50, 0.08);
  border-radius: 4px; transform-origin: left; transition: transform 0.5s ease;
}
.related-section h2:hover::after { opacity: 0.8; }

.related-articles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-default);
}
.related-article {
  position: relative; overflow: hidden;
  border-radius: var(--border-radius); background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.related-image { position: relative; }
.related-image img {
  width: 100%; height: var(--img-height-desktop);
  object-fit: cover; display: block;
  border-radius: var(--border-radius); transition: transform 0.3s;
}
.related-article:hover img { transform: scale(1.05); }

.overlay-content {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 40%; padding: 12px;
  background: rgba(0, 0, 0, 0.4); color: #ffffff;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; gap: 10px;
}
.overlay-content h3 {
  font-size: var(--overlay-title-size-desktop);
  font-weight: 700; line-height: 1.2; margin: 0; color: #ffffff;
}
.overlay-content p {
  font-size: var(--overlay-text-size-desktop);
  line-height: 1.4; margin: 0; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
  .related-articles { grid-template-columns: 1fr; }
  .related-section h2 { font-size: 1.5rem; margin-bottom: var(--related-section-h2-margin-mobile); }
  .overlay-content h3 { font-size: var(--overlay-title-size-tablet); }
  .overlay-content p { font-size: var(--overlay-text-size-tablet); }
}

@media (max-width: 480px) {
  .related-section h2 { font-size: 1.3rem; margin-bottom: var(--related-section-h2-margin-small); }
  .related-image img { height: var(--img-height-mobile); }
  .overlay-content h3 { font-size: var(--overlay-title-size-mobile); }
  .overlay-content p { font-size: var(--overlay-text-size-mobile); }
}

/* ==========================================================================
   11. SECTION: NAVIGATION GRIDS
   ========================================================================== */
/* Standard Grid */
.nav-grid {
  display: grid; max-width: 1100px; margin: 2rem auto;
  gap: 1.5rem; grid-template-columns: 1fr 1fr;
}
.nav-button {
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem 1rem; min-height: 100px;
  text-decoration: none; color: #ffffff !important;
  font-weight: 700; font-size: 1.1rem; text-align: center;
  border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}
.nav-button:hover, .nav-button:focus {
  transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); outline: none;
}
/* Nav Gradients */
.nav-button:nth-child(1) { background: linear-gradient(135deg, #0077b6, #00b4d8); }
.nav-button:nth-child(2) { background: linear-gradient(135deg, #d00000, #e85d04); }
.nav-button:nth-child(3) { background: linear-gradient(135deg, #2a9d8f, #4d908e); }
.nav-button:nth-child(4) { background: linear-gradient(135deg, #5a189a, #9d4edd); }
.nav-button:nth-child(5) { background: linear-gradient(135deg, #f4a261, #e76f51); }
.nav-button:nth-child(6) { background: linear-gradient(135deg, #343a40, #495057); }

@media (min-width: 768px) {
  .nav-grid { grid-template-columns: 1fr 1fr 1fr; }
  .nav-button { padding: 2rem; font-size: 1.2rem; }
}

/* Modern Grid (SVG) */
.nav-grid-modern {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; max-width: 1200px; margin: 30px auto; padding: 0 10px;
}
.nav-card-item {
    display: flex; align-items: center; background-color: var(--white);
    padding: 20px; border-radius: 12px; text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; overflow: hidden;
}
.nav-icon {
    display: flex; justify-content: center; align-items: center;
    width: 50px; height: 50px; background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%; margin-right: 15px; flex-shrink: 0; transition: all 0.3s ease;
}
.nav-icon svg {
    width: 24px; height: 24px; color: var(--blue);
    transition: color 0.3s ease, transform 0.3s ease;
}
.nav-info { display: flex; flex-direction: column; flex-grow: 1; }
.nav-label {
    font-family: 'Roboto', sans-serif; font-size: 1.1rem;
    font-weight: 700; color: var(--darkgray); text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-desc {
    font-family: 'Inter', sans-serif; font-size: 0.85rem;
    color: #666; margin-top: 2px;
}
.nav-arrow-icon {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
}
.nav-arrow-icon svg {
    width: 20px; height: 20px; color: #ccc;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Modern Nav Hover */
.nav-card-item:hover {
    transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 86, 179, 0.15);
    border-color: rgba(0, 86, 179, 0.2);
}
.nav-card-item:hover .nav-icon {
    background-color: var(--blue); transform: scale(1.1);
}
.nav-card-item:hover .nav-icon svg { color: var(--white); }
.nav-card-item:hover .nav-arrow-icon svg { color: var(--blue); transform: translateX(5px); }

@media (max-width: 600px) {
    .nav-grid-modern { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .nav-card-item {
        flex-direction: column; justify-content: center; text-align: center;
        padding: 15px 10px; min-height: 130px;
    }
    .nav-icon { margin-right: 0; margin-bottom: 10px; width: 45px; height: 45px; }
    .nav-info { width: 100%; align-items: center; }
    .nav-label { font-size: 0.95rem; margin-bottom: 2px; line-height: 1.2; }
    .nav-desc { font-size: 0.75rem; line-height: 1.2; display: block; opacity: 0.8; }
    .nav-arrow-icon { display: none; }
}

/* ==========================================================================
   12. SECTION: PARTNERS & TRUSTPILOT
   ========================================================================== */
.partners-section {
  padding: 20px 10px 40px 10px; background: transparent; margin-top: 20px;
}
.partners-grid-modern {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 15px; margin-top: 15px;
}
@media (min-width: 768px) {
  .partners-grid-modern { grid-template-columns: repeat(4, 1fr); gap: 25px; }
}
.partner-card-modern {
  display: flex; flex-direction: column; align-items: center;
  background: var(--white); border-radius: 12px; text-decoration: none;
  border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 15px 10px; text-align: center; height: 100%;
}
.partner-card-modern:hover {
  transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 86, 179, 0.1);
  border-color: rgba(0, 86, 179, 0.2);
}
.partner-logo-box {
  width: 100%; height: 60px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 10px;
}
.partner-logo-box img {
  max-width: 80%; max-height: 100%; object-fit: contain;
  filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease;
}
.partner-card-modern:hover .partner-logo-box img { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.partner-content h3 {
  margin: 0; font-size: 0.95rem; font-weight: 700;
  color: #1a1a1a; text-transform: uppercase;
}
.partner-content p { margin: 4px 0 0 0; font-size: 0.75rem; color: #666; line-height: 1.2; }

@media (max-width: 480px) {
  .partners-grid-modern { gap: 10px; }
  .partner-card-modern { padding: 12px 5px; }
  .partner-logo-box { height: 45px; }
  .partner-content h3 { font-size: 0.85rem; }
  .partner-content p { font-size: 0.7rem; display: none; }
}

/* Trustpilot Widget */
.trustpilot-widget-container {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 5px; background-color: #f9f9f9;
  border: 1px solid rgba(0,0,0,0.05); border-radius: 12px;
  padding: 10px 10px; margin: 10px auto; max-width: 600px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease;
}
.trustpilot-widget-container:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.trustpilot-visual img {
  display: block; height: 90px; width: auto; max-width: 100%;
}
.trustpilot-btn {
  display: inline-block; background-color: var(--darkblue); color: #ffffff;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 12px 24px; border-radius: 6px; text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}
.trustpilot-btn:hover {
  background-color: var(--orange); transform: scale(1.05); color: #ffffff;
}

@media (max-width: 1024px) {
  .trustpilot-widget-container { flex-direction: column; gap: 10px; padding: 10px; }
  .trustpilot-visual img { height: 100px; }
  .trustpilot-btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   13. SECTION: SHARE & SOCIAL CARDS
   ========================================================================== */
.share {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: center;
  margin: 20px auto; text-align: center;
}
.share__btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 8px 12px; background: #f5f7fa;
  border: 1px solid #e0e6ef; border-radius: 8px;
  color: var(--blue); font-size: 15px; cursor: pointer;
  text-decoration: none; transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.share__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20, 30, 80, 0.06); }
.share__btn:focus { outline: 3px solid rgba(11, 105, 255, 0.18); outline-offset: 2px; }
.share__btn i { font-size: 16px; width: 16px; text-align: center; }
@media (max-width: 520px) { .share__label { display: none; } }

.share-contact-section {
  padding: 10px 0px; background-color: #fff; margin-top: 30px;
}
.share-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; align-items: stretch; max-width: 1100px; margin: 0 auto;
}
.share-column {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; background: #f9f9f9; border-radius: 15px; padding: 1px;
}
.share-image-wrapper { width: 100%; margin: 0 0 15px 0; padding: 0; }
.share-image-wrapper img {
  width: 100%; height: auto; max-height: none;
  object-fit: cover; display: block; border-radius: 8px;
}
.contact-column { display: flex; flex-direction: column; }

.contact-card {
    max-width: 750px; background-color: var(--white);
    margin: 15px auto; border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex; flex-direction: column;
}
.contact-card.compact {
  margin: 0; width: 100%; height: 100%; max-width: none;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-content {
    display: flex; flex-direction: column; align-items: center;
    padding: 20px; color: var(--white);
}
.contact-card.compact .card-content { flex-grow: 1; justify-content: center; padding: 20px 15px; }

.card-title {
    font-size: 1.3rem; font-weight: 700; margin: 0 0 50px 0;
    position: relative; padding: 0 25px; letter-spacing: 0.5px;
}
.contact-card.compact .card-title { font-size: 1.1rem; margin: 0 0 20px 0; }
.card-title::before, .card-title::after {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%);
    width: 4px; height: 100%; background-color: var(--darkblue);
}
.card-title::before { left: 0; }
.card-title::after { right: 0; }

.card-description {
    font-size: 1rem; line-height: 1.5; text-align: center;
    margin: 0 0 24px 0; opacity: 0.9;
}
.card-icon { color: #000; margin-bottom: 20px; }
.card-button {
    display: block; background-color: var(--darkblue); color: var(--white);
    padding: 18px; text-align: center; text-decoration: none;
    font-size: 1.1rem; font-weight: 600; transition: background-color 0.3s ease;
}
.card-button:hover { background-color: var(--orange); }

@media (min-width: 1024px) { .partners-section h2 { display: block; margin: 0 auto; text-align: center; } }
@media (min-width: 768px) { .partners-container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .share-contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .share-column, .contact-column { width: 100%; }
}

/* Social Network Cards */
.contact-card.social-card { background: var(--white); padding: 0; }
.social-network-list {
  width: 100%; display: flex; flex-direction: column; gap: 15px; margin-top: 10px;
}
.social-row {
  display: flex; align-items: center; justify-content: space-between;
  background-color: #f4f6f9; border: 1px solid #e1e4e8; border-radius: 10px;
  padding: 12px 15px; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative; overflow: hidden;
}
.social-row:hover {
  transform: translateX(5px); background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-color: transparent;
}
/* Social Specifics */
.social-row.fb:hover { border-left: 5px solid #1877f2; }
.social-row.fb .social-icon-box { background: #1877f2; color: #fff; }
.social-row.fb:hover .social-btn-action { background: #1877f2; color: #fff; border-color: #1877f2; }

.social-row.x:hover { border-left: 5px solid #000000; }
.social-row.x .social-icon-box { background: #000000; color: #fff; }
.social-row.x:hover .social-btn-action { background: #000000; color: #fff; border-color: #000000; }

.social-row.li:hover { border-left: 5px solid #0077b5; }
.social-row.li .social-icon-box { background: #0077b5; color: #fff; }
.social-row.li:hover .social-btn-action { background: #0077b5; color: #fff; border-color: #0077b5; }

.social-icon-box {
  width: 42px; height: 42px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.3s ease;
}
.social-icon-box svg { width: 22px; height: 22px; fill: currentColor; }
.social-meta {
  flex-grow: 1; padding: 0 15px;
  display: flex; flex-direction: column; justify-content: center;
}
.social-name {
  font-family: 'Roboto', sans-serif; font-weight: 700;
  font-size: 1rem; color: #1a1a1a; line-height: 1.2;
}
.social-stats {
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  color: #666; margin-top: 2px;
}
.highlight-stat { color: var(--orange); font-weight: 700; }
.social-btn-action {
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; padding: 6px 12px; border-radius: 20px;
  border: 1px solid #d0d0d0; color: #555; background: transparent;
  transition: all 0.3s ease; white-space: nowrap;
}
@media (max-width: 400px) {
  .social-meta { padding: 0 10px; }
  .social-stats { font-size: 0.7rem; }
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer {
  width: 100%; background-color: #0a0a0a; color: #ccc;
  text-align: center; margin-top: 1.5rem; padding: 2rem 1rem;
  box-sizing: border-box; overflow-x: hidden; font-family: system-ui, sans-serif;
}
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-logo img {
  max-width: 100px; height: auto; filter: brightness(1.2); margin-bottom: 1rem;
}
.footer-social {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.8rem; margin-bottom: 1.5rem;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: #ccc;
  font-size: 1.2rem; text-decoration: none;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease;
}
.share-btn:hover {
  transform: scale(1.15); color: #fff;
  background-color: #e53935; box-shadow: 0 0 12px rgba(229, 57, 53, 0.5);
}
.share-facebook:hover { background-color: #1877f2; box-shadow: 0 0 12px rgba(24, 119, 242, 0.5); }
.share-twitter:hover { background-color: #000; box-shadow: 0 0 12px rgba(0, 0, 0, 0.4); }
.share-linkedin:hover { background-color: #0077b5; box-shadow: 0 0 12px rgba(0, 119, 181, 0.5); }
.share-whatsapp:hover { background-color: #25d366; box-shadow: 0 0 12px rgba(37, 211, 102, 0.5); }
.share-instagram:hover {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 0 14px rgba(253, 89, 73, 0.6);
}

.footer-legal { font-size: 0.85rem; color: #fff; }
.footer-legal a { color: #fff; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .share-btn { width: 38px; height: 38px; font-size: 1rem; }
  .footer-legal { font-size: 0.8rem; }
}


/* Style pour le cercle du logo dans la carte contact */
.contact-logo-wrapper {
  width: 90px;               /* Taille du cercle */
  height: 90px;
  margin: 0 auto 20px auto;  /* Centré horizontalement + Marge basse */
  border-radius: 50%;        /* Rend le bloc parfaitement rond */
  background-color: #000; /* Fond blanc propre */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Ombre pour le relief */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;          /* Coupe l'image si elle dépasse */
  border: 2px solid rgba(0, 86, 179, 0.1); /* Légère bordure bleutée (optionnel) */
}

.contact-logo-wrapper img {
  width: 75%;                /* Taille du logo à l'intérieur du cercle */
  height: auto;
  object-fit: contain;
  display: block;
}
