/* ===============================
   RESET & GLOBAL
   =============================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #020617;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Performance optimizations */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #1e5cb3;
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background: #1e5cb3;
  color: #ffffff;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1e5cb3;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */

.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo a:hover img {
  opacity: 0.8;
}

.nav-item a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  position: relative;
  padding: 0 10px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #1e5cb3;
  transition: width 0.3s ease;
}

.nav-item a:hover::after {
  width: 100%;
}

.cta {
  padding: 12px 22px;
  background-color: #1e5cb3;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta:hover {
  background-color: #174a91;
  transform: translateY(-2px);
}

/* Header Container - Logo centered, hamburger on right */
/* Header Container - Desktop: centered layout with equal spacing */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}


.logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.logo img {
  height: 60px;
  display: block;
  transition: opacity 0.3s ease;
}

/* Nav Menu Container - Desktop: visible inline */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 80px;
}

.nav-menu .nav-item a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  position: relative;
  padding: 0;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-menu .nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #1e5cb3;
  transition: width 0.3s ease;
}

.nav-menu .nav-item a:hover::after {
  width: 100%;
}

/* Hamburger Button - Hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1f2937;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger Animation when active */
.hamburger.active .hamburger-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===============================
   RESPONSIVE HEADER - Mobile Menu
   =============================== */

@media (max-width: 900px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: #ffffff;
  }

  .header-container {
    justify-content: center;
    position: relative;
    padding: 20px;
    height: 80px;
    min-height: 80px;
  }

  /* Logo centered on mobile */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: unset;
  }

  /* Hamburger visible on mobile */
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    z-index: 1002;
  }

  /* Nav menu as fullscreen panel below header */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 30px;
    gap: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    z-index: 1000;
    border-top: none;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu .nav-item {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .nav-menu .nav-item a {
    display: block;
    padding: 25px 0;
    font-size: 22px;
    color: #000000;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
  }

  .nav-menu .nav-item a:hover {
    background-color: #f8f9fa;
  }

  .nav-menu .nav-item a::after {
    display: none;
  }

  .nav-menu .cta {
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin-top: 40px;
    padding: 18px 40px;
    font-size: 18px;
  }

  /* Remove overlay since menu is fullscreen */
  .nav-menu.active::before {
    display: none;
  }
}


/* ===============================
   MAIN CONTENT STRUCTURE
   =============================== */

main {
  min-height: calc(100vh - 200px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 20px;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #020617;
}

h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #020617;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #020617;
}

p {
  font-size: 18px;
  line-height: 1.7;
  color: #020617;
}



/* ===============================
   HERO SECTION
   =============================== */

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("../image/background_cyber.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding: 40px 20px;
  overflow: hidden;
}

/* Hero Home specific styles */
.hero.hero-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 80px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #e0edff 100%);
}

.hero.hero-home .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.95) 0%,
    rgba(240,247,255,0.9) 50%,
    rgba(30,92,179,0.15) 100%
  );
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #1e5cb3, #0ea5e9);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 15s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.hero-particles span:nth-child(2) { left: 30%; animation-delay: 2s; animation-duration: 18s; }
.hero-particles span:nth-child(3) { left: 50%; animation-delay: 4s; animation-duration: 22s; }
.hero-particles span:nth-child(4) { left: 70%; animation-delay: 1s; animation-duration: 16s; }
.hero-particles span:nth-child(5) { left: 90%; animation-delay: 3s; animation-duration: 19s; }

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(30, 92, 179, 0.1);
  border: 1px solid rgba(30, 92, 179, 0.2);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #1e5cb3;
  margin-bottom: 25px;
  animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #0ea5e9;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-cta-group .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-outline {
  display: inline-block;
  padding: 16px 32px;
  background: transparent;
  color: #1e5cb3;
  border: 2px solid #1e5cb3;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
  background: #1e5cb3;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Trust Indicators */
.hero-trust {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

.trust-item svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Hero Visual - Shield Animation */
.hero-visual {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  animation: fadeInRight 0.8s ease-out;
}

.hero-shield-container {
  position: relative;
  width: 280px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shield {
  width: 180px;
  height: 210px;
  filter: drop-shadow(0 25px 50px rgba(30, 92, 179, 0.35));
  animation: floatShieldHome 4s ease-in-out infinite;
}

@keyframes floatShieldHome {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Shield Rings */
.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(30, 92, 179, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}

.ring-1 {
  width: 220px;
  height: 220px;
  animation-delay: 0s;
}

.ring-2 {
  width: 280px;
  height: 280px;
  animation-delay: 0.5s;
  border-color: rgba(30, 92, 179, 0.15);
}

.ring-3 {
  width: 340px;
  height: 340px;
  animation-delay: 1s;
  border-color: rgba(30, 92, 179, 0.1);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    161deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.8) 43%,
    rgba(141,173,217,0.76) 72%,
    rgba(30,92,179,1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 40px;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #020617;
}

.proteger_demain {
  color: #1e5cb3;
  font-weight: 700;
  display: block;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #020617;
  opacity: 0.9;
}

.hero-left {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: fadeInRight 0.8s ease-out;
}

.hero-left img {
  width: 400px;
  height: auto;
  object-fit: contain;

}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* ===============================
   BUTTONS
   =============================== */

.btn-primary,
.btn-expert {
  display: inline-block;
  padding: 16px 36px;
  background-color: #1e5cb3;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(30, 92, 179, 0.25);
}

.btn-primary:hover,
.btn-expert:hover {
  background-color: #174a91;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 92, 179, 0.35);
}

.btn-primary:active,
.btn-expert:active {
  transform: translateY(0);
}



/* ===============================
   WHY-AUDIT SECTION
   =============================== */

.why-audit {
  background-color: #f8fafc;
}

.why-audit .container {
  text-align: center;
  max-width: 900px;
}

.why-audit h2 {
  margin-bottom: 30px;
}

.subtitle {
  font-size: 18px;
  color: #495057;
  opacity: 0.85;
  margin-bottom: 60px;
  line-height: 1.8;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.audit-item {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #1e5cb3;
}

.audit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 92, 179, 0.15);
}

/* SVG Icons for Audit Items */
.audit-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: #1e5cb3;
  transition: all 0.3s ease;
}

.audit-item:hover .audit-icon {
  transform: scale(1.1);
  color: #174a91;
}

.audit-item .icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  animation: bounce 2s infinite;
}

.audit-item h3 {
  color: #1e5cb3;
  margin-bottom: 15px;
}

.audit-item p {
  font-size: 16px;
  color: #495057;
  line-height: 1.7;
}

.audit-item strong {
  color: #1e5cb3;
  font-weight: 700;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}



/* ===============================
   EXPERTISE SECTION & CARDS
   =============================== */

.expertise {
  background-color: #ffffff;
}

.expertise .container {
  max-width: 1000px;
}

.expertise h2 {
  text-align: center;
  margin-bottom: 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background-color: #f8fafc;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border-left: 4px solid #1e5cb3;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(30, 92, 179, 0.12);
  background-color: #ffffff;
}

.card h3 {
  color: #1e5cb3;
  margin-bottom: 20px;
  font-size: 22px;
}

.card p {
  font-size: 16px;
  color: #495057;
  line-height: 1.8;
}



/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 1024px) {
  .hero-left img {
    width: 300px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .audit-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hero Home responsive */
  .hero.hero-home {
    padding: 100px 40px;
  }
  
  .hero-shield-container {
    width: 220px;
    height: 260px;
  }
  
  .hero-shield {
    width: 140px;
    height: 165px;
  }
  
  .ring-1 { width: 180px; height: 180px; }
  .ring-2 { width: 220px; height: 220px; }
  .ring-3 { width: 260px; height: 260px; }
}

@media (max-width: 768px) {
  /* Hero */
  .hero {
    padding: 20px;
    min-height: 80vh;
  }
  
  /* Hero Home mobile */
  .hero.hero-home {
    flex-direction: column;
    padding: 100px 20px 60px;
    text-align: center;
  }
  
  .hero.hero-home .hero-content {
    text-align: center;
    padding: 20px;
  }
  
  .hero-badge {
    margin: 0 auto 25px;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 40px;
  }
  
  .hero-shield-container {
    width: 180px;
    height: 220px;
  }
  
  .hero-shield {
    width: 120px;
    height: 140px;
  }
  
  .ring-1 { width: 150px; height: 150px; }
  .ring-2 { width: 180px; height: 180px; }
  .ring-3 { display: none; }
  
  .hero-particles {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-left {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 40px;
  }

  .hero-left img {
    width: 250px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  /* Sections */
  .section {
    padding: 60px 20px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .subtitle {
    font-size: 16px;
  }

  /* Cards */
  .cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .card {
    padding: 30px 25px;
  }

  /* Buttons */
  .btn-primary,
  .btn-expert {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 40px;
  }

  .footer-right h4,
  .footer-links {
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-legal {
    justify-content: center;
    gap: 15px;
  }

  .footer-logo img {
    height: 70px;
    margin-left: 0;
  }

  .footer-contact .contact-item {
    font-size: 15px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 10px;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .hero-left img {
    width: 180px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    padding: 40px 15px;
  }

  .audit-item {
    padding: 30px 20px;
  }

  .card {
    padding: 25px 20px;
  }

  .nav-item a {
    font-size: 14px;
  }

  .footer-logo img {
    height: 60px;
  }

  .footer {
    padding: 40px 15px 30px;
    font-size: 15px;
  }

  .footer-contact .contact-item {
    font-size: 13px;
  }
}




























/* ===============================
   INTRO SECTION (QUI SOMMES-NOUS)
   =============================== */

.section.intro {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.section.intro .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 500px;
  max-width: 600px;
  text-align: left;
  animation: fadeInUp 0.8s ease-out;
}

/* About Page Visual Design (replaces image) */
.about-visual {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  animation: fadeInRight 0.8s ease-out;
}

.visual-shield {
  position: relative;
  width: 180px;
  height: 210px;
}

.visual-shield svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(30, 92, 179, 0.3));
  animation: floatShield 4s ease-in-out infinite;
}

@keyframes floatShield {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.visual-stats {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 20px 25px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  min-width: 120px;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 92, 179, 0.15);
  border-color: #1e5cb3;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #1e5cb3;
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Legacy intro-image (kept for other uses) */
.intro-image {
  flex: 1 1 400px;
  text-align: right;
  animation: fadeInRight 0.8s ease-out;
}

.intro-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(30, 92, 179, 0.15);
  transition: transform 0.3s ease;
}

.intro-image img:hover {
  transform: scale(1.02);
}

.intro-subtitle {
  font-size: 16px;
  color: #1e5cb3;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.intro-accessible {
  font-size: 18px;
  color: #1e5cb3;
  line-height: 1.8;
  font-weight: 500;
  text-align: left;
  margin-bottom: 40px;
}

/* ===============================
   FOUNDERS SECTION
   =============================== */

.section.founders {
  background-color: #ffffff;
  position: relative;
}

.section.founders .container {
  max-width: 1000px;
}

.section.founders h1 {
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #020617 0%, #1e5cb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.founder-card {
  background: linear-gradient(145deg, #f8fafc, #ffffff);
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #1e5cb3;
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(30, 92, 179, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(30, 92, 179, 0.12);
}

.founder-card:hover::before {
  opacity: 1;
}

.founder-card h2 {
  font-size: 24px;
  color: #1e5cb3;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.founder-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

/* ===============================
   PRINCIPLES SECTION
   =============================== */

.section.principles {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section.principles .container {
  max-width: 900px;
}

.section.principles h1 {
  text-align: center;
  margin-bottom: 20px;
}

.principle {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  padding: 45px;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-top: 4px solid #1e5cb3;
  animation: slideInUp 0.6s ease-out;
}

.principle:nth-child(2) {
  animation-delay: 0.1s;
}

.principle:nth-child(3) {
  animation-delay: 0.2s;
}

.principle:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30, 92, 179, 0.15);
}

.principle-picto {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e6f0fc 0%, #d4e5f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.principle:hover .principle-picto {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #1e5cb3 0%, #174a91 100%);
}

.principle-picto img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.principle:hover .principle-picto img {
  filter: brightness(1.2) invert(1);
}

.principle-content h2 {
  font-size: 24px;
  color: #1e5cb3;
  margin-bottom: 15px;
  font-weight: 700;
}

.principle-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE - QUI SOMMES-NOUS
   =============================== */

@media (max-width: 768px) {
  .section.intro .container {
    flex-direction: column;
    gap: 40px;
  }

  .intro-text,
  .intro-image,
  .about-visual {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
  }

  .intro-image {
    text-align: center;
  }

  .intro-image img {
    max-width: 300px;
  }

  .intro-accessible {
    text-align: center;
  }

  /* About visual responsive */
  .visual-shield {
    width: 140px;
    height: 165px;
  }

  .visual-stats {
    gap: 15px;
  }

  .stat-item {
    padding: 15px 20px;
    min-width: 100px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 11px;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .founder-card {
    padding: 40px 30px;
  }

  .principle {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 25px;
    padding: 35px;
  }

  .principle-picto {
    width: 80px;
    height: 80px;
  }

  .principle-picto img {
    width: 45px;
    height: 45px;
  }

  .principle-content h2 {
    font-size: 22px;
  }

  .principle-content p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .section.intro {
    padding: 40px 15px;
  }

  .intro-image img {
    max-width: 200px;
  }

  .founder-card {
    padding: 30px 20px;
  }

  .founder-card h2 {
    font-size: 20px;
  }

  .founder-card p {
    font-size: 14px;
  }

  .principle {
    padding: 25px 20px;
  }

  .principle-picto {
    width: 70px;
    height: 70px;
  }

  .principle-content h2 {
    font-size: 18px;
  }

  .principle-content p {
    font-size: 14px;
  }
}

/* ===============================
   EXPERTISE PAGE STYLES
   =============================== */

.hero-expertise {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e5cb3 100%);
  display: flex;
  align-items: center;
  padding: 120px 20px 100px;
  text-align: left;
  overflow: hidden;
}

.hero-expertise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 85%, rgba(30, 92, 179, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Motif géométrique décoratif */
.hero-expertise::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: 
    linear-gradient(135deg, transparent 40%, rgba(30, 92, 179, 0.3) 40%, rgba(30, 92, 179, 0.3) 60%, transparent 60%),
    linear-gradient(45deg, transparent 40%, rgba(14, 165, 233, 0.2) 40%, rgba(14, 165, 233, 0.2) 60%, transparent 60%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 15s ease-in-out infinite;
  z-index: 1;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.hero-expertise .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 92, 179, 0.85) 0%,
    rgba(23, 74, 145, 0.9) 100%
  );
  z-index: 1;
}

.hero-expertise .hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  z-index: 2;
}

.hero-expertise .hero-content {
  position: relative;
  z-index: 3;
  max-width: 550px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-expertise h1 {
  font-size: 72px;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  animation: slideDown 0.8s ease-out;
}

.hero-expertise p {
  font-size: 20px;
  color: #ffffff;
  opacity: 0.98;
  font-weight: 500;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.8s ease-out 0.1s both;
  line-height: 1.6;
}

.hero-subtitle {
  font-size: 16px !important;
  margin-top: 20px !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
  animation: slideUp 0.8s ease-out 0.2s both;
  line-height: 1.6;
}

.hero-left {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: fadeInRight 0.8s ease-out;
  width: 450px;
  text-align: center;
}

.hero-left img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.hero-left img:hover {
  transform: scale(1.05);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   EXPERTISE OVERVIEW SECTION
   =============================== */

.expertise-overview {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.expertise-overview .container {
  max-width: 1100px;
}

.expertise-overview h2 {
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #020617 0%, #1e5cb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #495057;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.expertise-card {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 5px solid #1e5cb3;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

.expertise-card:nth-child(2) {
  animation-delay: 0.1s;
}

.expertise-card:nth-child(3) {
  animation-delay: 0.2s;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(30, 92, 179, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(30, 92, 179, 0.15);
}

.expertise-card:hover::before {
  opacity: 1;
}

.expertise-icon {
  font-size: 48px;
  margin-bottom: 25px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.expertise-card:hover .expertise-icon {
  transform: scale(1.2);
}

/* SVG Icons for Expertise Cards */
.expertise-card .icon-svg {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  display: block;
}

.expertise-card:hover .icon-svg {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(30, 92, 179, 0.3));
}

.expertise-card h3 {
  font-size: 24px;
  color: #1e5cb3;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.expertise-card p {
  font-size: 16px;
  color: #495057;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.expertise-list {
  list-style: none;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.expertise-list li {
  font-size: 15px;
  color: #495057;
  line-height: 2;
  padding-left: 25px;
  position: relative;
}

.expertise-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1e5cb3;
  font-weight: bold;
  font-size: 18px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background-color: transparent;
  color: #1e5cb3;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #1e5cb3;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-secondary:hover {
  background-color: #1e5cb3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 92, 179, 0.3);
}

/* ===============================
   EXPERTISE DETAIL SECTION
   =============================== */

.expertise-detail {
  background-color: #ffffff;
}

.expertise-detail .container {
  max-width: 950px;
}

.detail-block {
  margin-bottom: 80px;
  padding: 60px 50px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left: 5px solid #1e5cb3;
}

.detail-block:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 50px rgba(30, 92, 179, 0.1);
}

.detail-block h2 {
  font-size: 32px;
  color: #1e5cb3;
  margin-bottom: 25px;
}

.detail-block p {
  font-size: 17px;
  color: #495057;
  line-height: 1.8;
  margin-bottom: 30px;
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  font-size: 16px;
  color: #495057;
  line-height: 2;
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.detail-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1e5cb3;
  font-weight: bold;
  font-size: 20px;
}

.detail-list strong {
  color: #1e5cb3;
  font-weight: 700;
}

/* ===============================
   CTA SECTION
   =============================== */

.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e5cb3 100%);
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 42px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

.btn-large:hover {
  background-color: #ffffff;
  color: #1e5cb3;
}

.cta-section .btn-large {
  background-color: #ffffff;
  color: #1e5cb3;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-large:hover {
  background-color: #f0f0f0;
  color: #174a91;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* ===============================
   RESPONSIVE - EXPERTISE PAGE
   =============================== */

@media (max-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .detail-block {
    padding: 40px 30px;
  }

  /* Masquer les éléments décoratifs sur tablette */
  body.page-expertises .hero-expertise::after,
  body.page-expertises .hero-expertise .hero-content::after,
  body.page-expertises .hero-expertise .hero-content::before,
  body.page-methodology .hero-expertise .hero-content::before,
  body.page-methodology .hero-expertise .hero-content::after,
  body.page-methodology .hero-expertise .hero-overlay::before,
  body.page-methodology .hero-expertise .hero-overlay::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-expertise {
    min-height: 50vh;
    justify-content: center;
    text-align: center;
  }

  .hero-expertise .hero-content {
    max-width: 100%;
  }

  .hero-expertise h1 {
    font-size: 42px;
  }

  .hero-expertise p {
    font-size: 18px;
  }

  .hero-left {
    display: none;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .expertise-card {
    padding: 40px 30px;
  }

  .expertise-card h3 {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .detail-block {
    padding: 30px 25px;
    margin-bottom: 40px;
  }

  .detail-block h2 {
    font-size: 26px;
  }

  .detail-block p {
    font-size: 15px;
  }

  .detail-list li {
    font-size: 15px;
  }

  .cta-section {
    padding: 80px 20px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-expertise {
    height: 45vh;
    justify-content: center;
    text-align: center;
  }

  .hero-expertise .hero-content {
    max-width: 100%;
  }

  .hero-expertise h1 {
    font-size: 32px;
  }

  .hero-expertise p {
    font-size: 16px;
  }

  .hero-left {
    display: none;
  }

  .expertise-card {
    padding: 30px 20px;
  }

  .expertise-card h3 {
    font-size: 20px;
  }

  .expertise-icon {
    font-size: 40px;
  }

  .expertise-card p {
    font-size: 14px;
  }

  .expertise-list li {
    font-size: 13px;
  }

  .detail-block {
    padding: 20px 15px;
  }

  .detail-block h2 {
    font-size: 22px;
  }

  .detail-block p {
    font-size: 14px;
  }

  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 14px;
  }

  .btn-large {
    width: 100%;
  }
}

/* ===============================
   METHODOLOGY PAGE STYLES
   =============================== */

.methodology-overview {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.methodology-overview .container {
  max-width: 1100px;
}

.methodology-overview h2 {
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #020617 0%, #1e5cb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.methodology-timeline {
  margin-top: 80px;
  position: relative;
}

.methodology-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1e5cb3 0%, #174a91 100%);
  transform: translateX(-50%);
}

.methodology-step {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.methodology-step:nth-child(odd) {
  flex-direction: row;
}

.methodology-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e5cb3 0%, #174a91 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(30, 92, 179, 0.25);
  transition: transform 0.3s ease;
}

.methodology-step:hover .step-number {
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  padding: 40px 50px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin: 0 40px;
}

.methodology-step:hover .step-content {
  box-shadow: 0 15px 50px rgba(30, 92, 179, 0.12);
  transform: translateY(-5px);
}

.step-content h3 {
  font-size: 24px;
  color: #1e5cb3;
  margin-bottom: 15px;
}

.step-content p {
  font-size: 16px;
  color: #495057;
  line-height: 1.8;
}

/* ===============================
   METHODOLOGY DETAIL SECTION
   =============================== */

.methodology-detail {
  background-color: #ffffff;
}

.methodology-detail .container {
  max-width: 950px;
}

.methodology-detail h2 {
  text-align: center;
  margin-bottom: 70px;
  font-size: 42px;
  color: #020617;
}

.principles-methodology {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.principle-methodology {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(30, 92, 179, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #1e5cb3;
  text-align: left;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* SVG Icons - Professional Blue */
.icon-svg {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  display: block;
}

.principle-methodology:hover .icon-svg,
.tool-card:hover .icon-svg {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(30, 92, 179, 0.3));
}

.principle-methodology h3 {
  font-size: 22px;
  color: #1e5cb3;
  margin-bottom: 20px;
}

.principle-methodology p {
  font-size: 16px;
  color: #495057;
  line-height: 1.8;
}

/* ===============================
   TOOLS SECTION
   =============================== */

.tools-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.tools-section .container {
  max-width: 1100px;
}

.tools-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.tool-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  padding: 45px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(30, 92, 179, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #1e5cb3;
  animation: slideInUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(180deg, #1e5cb3 0%, #174a91 100%);
  transition: height 0.3s ease;
}

.tool-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(30, 92, 179, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:nth-child(2) {
  animation-delay: 0.1s;
}

.tool-card:nth-child(3) {
  animation-delay: 0.2s;
}

.tool-card:nth-child(4) {
  animation-delay: 0.3s;
}

.tool-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(30, 92, 179, 0.15);
  background: linear-gradient(145deg, #ffffff, #e6f0fc);
}

.tool-card:hover::before {
  height: 4px;
}

.tool-card:hover::after {
  opacity: 1;
}

.tool-card h3 {
  font-size: 22px;
  color: #1e5cb3;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.tool-card p {
  font-size: 16px;
  color: #495057;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ===============================
   RESPONSIVE - METHODOLOGY PAGE
   =============================== */

@media (max-width: 1024px) {
  .methodology-timeline::before {
    left: 60px;
  }

  .step-number {
    width: 100px;
    height: 100px;
    font-size: 36px;
    margin-top: 10px;
  }

  .step-content {
    margin: 0 30px;
    padding: 30px 35px;
  }

  .step-content h3 {
    font-size: 20px;
  }

  .step-content p {
    font-size: 15px;
  }

  .principles-methodology {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .methodology-timeline::before {
    left: 40px;
  }

  .methodology-step {
    flex-direction: column !important;
    margin-bottom: 50px;
  }

  .step-number {
    width: 90px;
    height: 90px;
    font-size: 32px;
    margin: 0 auto 30px;
    margin-top: 0;
  }

  .step-content {
    margin: 0;
    padding: 30px 25px;
  }

  .step-content h3 {
    font-size: 20px;
  }

  .step-content p {
    font-size: 14px;
  }

  .principle-methodology {
    padding: 40px 30px;
  }

  .principle-methodology h3 {
    font-size: 20px;
  }

  .principle-methodology p {
    font-size: 15px;
  }

  .tool-card {
    padding: 35px 25px;
  }

  .tool-card h3 {
    font-size: 20px;
  }

  .tool-card p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .methodology-timeline::before {
    left: 30px;
  }

  .step-number {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .step-content {
    padding: 25px 20px;
  }

  .step-content h3 {
    font-size: 18px;
  }

  .step-content p {
    font-size: 13px;
  }

  .principle-icon {
    font-size: 40px;
  }

  .principle-methodology {
    padding: 30px 20px;
  }

  .principle-methodology h3 {
    font-size: 18px;
  }

  .principle-methodology p {
    font-size: 13px;
  }

  .tool-card {
    padding: 25px 20px;
  }

  .tool-card h3 {
    font-size: 18px;
  }

  .tool-card p {
    font-size: 13px;
  }

  .methodology-detail h2 {
    font-size: 32px;
  }
}

/* ===============================
   FOOTER
   =============================== */

.footer {
  background-color: #1f2937;
  color: #ffffff;
  padding: 60px 20px 40px 20px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #1e5cb3;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 300px;
}

.footer-logo img {
  height: 90px;
  margin-left: 20px;
  transition: opacity 0.3s ease;
  filter: brightness(1.1);
}

.footer-logo a:hover img {
  opacity: 0.8;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  transition: transform 0.3s ease;
}

.footer-contact .contact-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(1) sepia(1) hue-rotate(180deg) saturate(0.7);
}

.footer-contact .contact-item:hover .contact-icon {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(1) sepia(1) hue-rotate(180deg) saturate(0.7) drop-shadow(0 0 3px #1e5cb3);
}

.footer-right {
  text-align: left;
}

.footer-right h4 {
  margin-bottom: 22px;
  font-size: 19px;
  font-weight: 600;
}

.footer-links {
  display: grid;
  grid-template-columns: auto;
  gap: 14px;
  font-size: 17px;
}

.footer-links a {
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 50px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 15px;
}

.footer-bottom p {
  margin: 0;
  color: #d1d5db;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a {
  font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-right h4, .footer-links {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-legal a {
    margin-left: 15px;
  }

  .footer-logo img {
    height: 70px; /* logo mobile réduit */
    margin-left: 0; /* centré sur mobile */
  }

  .footer-contact .contact-item {
    font-size: 15px;
  }

  .footer-links {
    font-size: 15px;
  }

  .footer-bottom {
    font-size: 14px;
  }
}

/* ===============================
   PAGE-SPECIFIC STYLES
   Variations visuelles par page
   =============================== */

/* PAGE: QUI SOMMES-NOUS - Tons chauds et accueillants */
body.page-about .section.intro {
  background: linear-gradient(135deg, #fefefe 0%, #f0f7ff 100%);
}

body.page-about .section.founders {
  background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 100%);
}

body.page-about .section.founders h1,
body.page-about .section.founders .intro-subtitle {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

body.page-about .section.founders .founder-card {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #0ea5e9;
  backdrop-filter: blur(10px);
}

body.page-about .section.founders .founder-card h2 {
  color: #60a5fa;
}

body.page-about .section.founders .founder-card p {
  color: rgba(255, 255, 255, 0.85);
}

body.page-about .section.founders .founder-card:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

body.page-about .section.principles {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

body.page-about .principle {
  border-left: 4px solid #0ea5e9;
}

body.page-about .principle:hover {
  border-left-color: #0284c7;
}

/* PAGE: EXPERTISES - Design tech avec grille et bouclier */
body.page-expertises .expertise-overview {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

body.page-expertises .hero-left,
body.page-methodology .hero-left {
  display: none;
}

body.page-expertises .hero-expertise .hero-content,
body.page-methodology .hero-expertise .hero-content {
  max-width: 700px;
}

/* EXPERTISES - Hero avec grille tech et bouclier */
body.page-expertises .hero-expertise {
  background: linear-gradient(160deg, #020617 0%, #0f172a 40%, #1e3a5f 100%);
}

body.page-expertises .hero-expertise::before {
  background: 
    /* Grille tech */
    linear-gradient(90deg, rgba(30, 92, 179, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(30, 92, 179, 0.1) 1px, transparent 1px),
    /* Lueurs */
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.3) 0%, transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(30, 92, 179, 0.25) 0%, transparent 35%);
  background-size: 60px 60px, 60px 60px, 100% 100%, 100% 100%;
}

body.page-expertises .hero-expertise::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 320px;
  background: transparent;
  border: 3px solid rgba(6, 182, 212, 0.4);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: shieldPulse 4s ease-in-out infinite;
  z-index: 1;
}

body.page-expertises .hero-expertise .hero-overlay {
  display: none;
}

/* Ajouter un deuxième bouclier intérieur */
body.page-expertises .hero-expertise .hero-content::after {
  content: "";
  position: absolute;
  right: calc(8% + 40px);
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 230px;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, rgba(30, 92, 179, 0.05) 100%);
  border: 2px solid rgba(30, 92, 179, 0.3);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: shieldPulse 4s ease-in-out infinite 0.5s;
  z-index: 1;
  pointer-events: none;
}

@keyframes shieldPulse {
  0%, 100% { 
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }
  50% { 
    opacity: 1;
    transform: translateY(-50%) scale(1.02);
  }
}

/* Points de connexion sur la grille */
body.page-expertises .hero-expertise .hero-content::before {
  content: "";
  position: absolute;
  right: 15%;
  top: 25%;
  width: 8px;
  height: 8px;
  background: #06b6d4;
  border-radius: 50%;
  box-shadow: 
    0 0 20px rgba(6, 182, 212, 0.8),
    120px 80px 0 rgba(30, 92, 179, 0.6),
    -60px 160px 0 rgba(6, 182, 212, 0.5),
    80px 200px 0 rgba(30, 92, 179, 0.7),
    180px 140px 0 rgba(6, 182, 212, 0.4);
  animation: dotsPulse 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes dotsPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

body.page-expertises .expertise-card {
  border-top: 5px solid #1e5cb3;
}

body.page-expertises .expertise-card:nth-child(2) {
  border-top-color: #0ea5e9;
}

body.page-expertises .expertise-card:nth-child(3) {
  border-top-color: #06b6d4;
}

body.page-expertises .detail-block:nth-child(1) {
  border-left-color: #1e5cb3;
}

body.page-expertises .detail-block:nth-child(2) {
  border-left-color: #0ea5e9;
}

body.page-expertises .detail-block:nth-child(3) {
  border-left-color: #06b6d4;
}

/* PAGE: METHODOLOGIE - Design avec cercles/étapes progressives */
body.page-methodology .hero-expertise {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #020617 100%);
}

body.page-methodology .hero-expertise::before {
  background: 
    radial-gradient(circle at 30% 70%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 40%);
}

body.page-methodology .hero-expertise::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: transparent;
  border: none;
  border-radius: 50%;
  z-index: 1;
  animation: none;
}

body.page-methodology .hero-expertise .hero-overlay {
  display: none;
}

/* Cercles concentriques représentant les étapes */
body.page-methodology .hero-expertise .hero-content::before {
  content: "01 02 03 04 05";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  box-shadow: 
    inset 0 0 60px rgba(99, 102, 241, 0.1),
    0 0 80px rgba(99, 102, 241, 0.15);
  animation: circleRotate 30s linear infinite;
  z-index: 1;
  pointer-events: none;
}

body.page-methodology .hero-expertise .hero-content::after {
  content: "";
  position: absolute;
  right: calc(5% + 60px);
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(14, 165, 233, 0.4);
  border-radius: 50%;
  animation: circleRotate 20s linear infinite reverse;
  z-index: 1;
  pointer-events: none;
}

@keyframes circleRotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Numéros d'étapes autour du cercle */
body.page-methodology .hero-expertise .hero-overlay::before {
  content: "";
  position: absolute;
  right: calc(5% + 140px);
  top: calc(50% - 140px);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  z-index: 2;
}

/* Lignes de connexion */
body.page-methodology .hero-expertise .hero-overlay::after {
  content: "";
  position: absolute;
  right: calc(5% + 160px);
  top: 50%;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
  transform: translateY(-50%);
  z-index: 1;
}

/* Points numérotés sur le cercle extérieur */
body.page-methodology .hero-expertise .hero-overlay {
  display: block;
  background: transparent;
}

body.page-methodology .methodology-overview {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

body.page-methodology .methodology-step:nth-child(odd) .step-number {
  background: linear-gradient(135deg, #1e5cb3 0%, #0ea5e9 100%);
}

body.page-methodology .methodology-step:nth-child(even) .step-number {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}

body.page-methodology .tools-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

body.page-methodology .tools-section h2 {
  color: #ffffff;
}

body.page-methodology .tool-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 5px solid #0ea5e9;
  backdrop-filter: blur(10px);
}

body.page-methodology .tool-card h3 {
  color: #60a5fa;
}

body.page-methodology .tool-card p {
  color: rgba(255, 255, 255, 0.8);
}

body.page-methodology .tool-card .icon-svg {
  color: #0ea5e9;
}

body.page-methodology .tool-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

/* PAGE: CONTACT - Tons professionnels et accessibles */
body.page-contact {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* ===============================
   CONTACT PAGE STYLES
   =============================== */

.contact-hero {
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e5cb3 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(30, 92, 179, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.contact-hero h1 {
  color: #ffffff;
  font-size: 52px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-content {
  padding: 80px 20px;
  background: #ffffff;
}

.contact-content .container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border-left: 4px solid #1e5cb3;
}

.contact-info h2 {
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: #ffffff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(30, 92, 179, 0.1);
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  color: #1e5cb3;
  flex-shrink: 0;
}

.contact-info-item a {
  color: #334155;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: #1e5cb3;
}

.contact-form-wrapper {
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 30px;
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #1e5cb3;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 92, 179, 0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #1e5cb3 0%, #174a91 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 92, 179, 0.35);
}

/* Responsive Contact */
@media (max-width: 768px) {
  .contact-content .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-hero h1 {
    font-size: 36px;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 30px;
  }
}

/* ===============================
   LEGAL PAGES STYLES
   (Cookies, Notice légale, Confidentialité)
   =============================== */

.legal-hero {
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e5cb3 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 90%, rgba(14, 165, 233, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
}

.legal-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.legal-hero .last-update {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-content {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.legal-content .container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 50px;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #1e5cb3;
  transition: all 0.3s ease;
}

.legal-section:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 40px rgba(30, 92, 179, 0.1);
}

.legal-section h2 {
  font-size: 26px;
  color: #1e5cb3;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section h2 .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1e5cb3 0%, #0ea5e9 100%);
  color: #ffffff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

.legal-section h3 {
  font-size: 20px;
  color: #0f172a;
  margin: 25px 0 15px;
}

.legal-section p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.legal-section ul li {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #1e5cb3 0%, #0ea5e9 100%);
  border-radius: 50%;
}

.legal-section a {
  color: #1e5cb3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal-section a:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

.legal-section .highlight-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fc 100%);
  padding: 20px 25px;
  border-radius: 12px;
  border-left: 4px solid #0ea5e9;
  margin: 20px 0;
}

.legal-section .highlight-box p {
  margin: 0;
  color: #1e3a5f;
}

.legal-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.legal-section table th,
.legal-section table td {
  padding: 15px 20px;
  text-align: left;
  font-size: 15px;
}

.legal-section table th {
  background: linear-gradient(135deg, #1e5cb3 0%, #1e3a5f 100%);
  color: #ffffff;
  font-weight: 600;
}

.legal-section table td {
  background: #ffffff;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.legal-section table tr:last-child td {
  border-bottom: none;
}

.legal-section table tr:hover td {
  background: #f8fafc;
}

/* Contact box dans les pages légales */
.legal-contact-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 50px;
}

.legal-contact-box h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 15px;
}

.legal-contact-box p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
}

.legal-contact-box a.btn-primary {
  background: #ffffff;
  color: #1e5cb3;
}

.legal-contact-box a.btn-primary:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
  .legal-hero {
    padding: 100px 20px 60px;
  }

  .legal-hero h1 {
    font-size: 32px;
  }

  .legal-content {
    padding: 50px 15px;
  }

  .legal-section {
    padding: 25px 20px;
    margin-bottom: 30px;
  }

  .legal-section h2 {
    font-size: 22px;
  }

  .legal-section h2 .section-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .legal-section table {
    font-size: 13px;
  }

  .legal-section table th,
  .legal-section table td {
    padding: 10px 12px;
  }

  .legal-contact-box {
    padding: 30px 20px;
  }
}

/* ===============================
   PERFORMANCE & UX ENHANCEMENTS
   =============================== */

/* Smooth page transitions */
.page-home main,
.page-about main,
.page-expertises main,
.page-methodology main,
.page-contact main,
.page-legal main {
  animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state for buttons */
.btn-primary.loading,
.btn-expert.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn-primary.loading::after,
.btn-expert.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary,
  .btn-expert,
  .cta {
    border: 2px solid currentColor;
  }
  
  .card,
  .audit-item,
  .expertise-card {
    border: 1px solid #020617;
  }
}

/* Print styles for clean printing */
@media print {
  .header,
  .footer,
  .btn-primary,
  .btn-expert,
  .cta,
  .hero-left {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .hero {
    min-height: auto;
    padding: 20px 0;
    background: none;
  }
  
  .hero-overlay {
    display: none;
  }
  
  h1, h2, h3 {
    color: #000;
    page-break-after: avoid;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn-primary,
  .btn-expert,
  .cta {
    padding: 18px 36px;
    min-height: 48px;
  }
  
  .nav-item a {
    padding: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .card:hover,
  .audit-item:hover,
  .expertise-card:hover {
    transform: none;
  }
}

/* Dark mode support (optional - prepared) */
@media (prefers-color-scheme: dark) {
  /* Uncomment to enable dark mode
  body {
    background-color: #0f172a;
    color: #e2e8f0;
  }
  
  .header {
    background-color: #1e293b;
    border-color: #334155;
  }
  
  .card,
  .audit-item {
    background-color: #1e293b;
    border-color: #334155;
  }
  */
}

/* Ensure proper spacing for mobile navigation */
@media (max-width: 768px) {
  .header-container {
    gap: 15px;
  }
  
  .logo {
    flex: 0 0 100%;
    text-align: center;
  }
  
  .logo img {
    height: 50px;
  }
  
  .nav-item {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* ===============================
   UTILITY CLASSES
   =============================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, #1e5cb3 0%, #1e3a5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
